cancel
Showing results for 
Search instead for 
Did you mean: 

Alfresco 2.9B with Tomcat: No WebApplicationContext found

stijndereede
Champ in-the-making
Champ in-the-making
Hi all,

I'm trying to install Alfresco Community 2.9B with Tomcat bundled on a Windows 2003 server, but I'm getting an error.

There is an JBoss Application server (also with Tomcat? I'm not familiar with it) running op port 8080, so I changed the port of the Tomcat server of Alfreso to 8081 in the file /tomcat/conf/server.xml.

Launching Alfresco seems to go just fine: Tomcat starts up, alfresco.war is deployed, no errors at all.
Opening http://localhost:8081 gives the Tomcat Welcome page, but visiting http://localhost:8081/alfresco produces this error:

org.apache.jasper.JasperException: No WebApplicationContext found: no ContextLoaderListener registered?
   org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:476)
   org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:383)
   org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:315)
   org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
   javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

I'm running Java SDK 1.6
My suspicion is that this JBoss server gets in the way of Alfresco, but I've got no idea how. As I said, I've got no experience with the JBoss Application server.

Regards,

Stijn
1 REPLY 1

stijndereede
Champ in-the-making
Champ in-the-making
Hi all,

I solved the problem myself. Apparently, the alfresco.war file wasn't deployed properly, as some files were missing from the alfresco dir. For example, I was the file \alfresco\WEB-INF\web.xml as described in this topic.
Removing the alfresco dir and redeploying fixed everything.

Regards,

Stijn