cancel
Showing results for 
Search instead for 
Did you mean: 

WAR file for the Alfresco Tomcat

z3r0
Champ in-the-making
Champ in-the-making
Hello,
I have a project and created a WAR file. Then I copy the WAR file in the folder C: \ Alfresco \ tomcat \ webapps. The TomcatSever unzipped the file. The Hello World text is not displayed! On a normal Tomcat server without Alfresco, the text is displayed. Why?  :?:
7 REPLIES 7

mrogers
Star Contributor
Star Contributor
Have a look in Tomcat's log files.

z3r0
Champ in-the-making
Champ in-the-making
Hi,

the log file catalina.2009-09-26.log is clean, only infos, no warning or errors. You can see, that i delete the warporject and then i copy it again. Tomcat depoly it but the text isn't visible.

26.09.2009 17:28:30 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.18
26.09.2009 17:28:32 org.apache.catalina.core.StandardContext addApplicationListener
INFO: The listener "org.apache.myfaces.webapp.StartupServletContextListener" is already configured for this context. The duplicate definition has been ignored.
26.09.2009 17:29:50 org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive mobile.war
26.09.2009 17:29:53 org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive share.war
26.09.2009 17:29:57 org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive studio.war
26.09.2009 17:33:03 org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive warpoject.war
26.09.2009 17:33:03 org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
26.09.2009 17:33:03 org.apache.catalina.startup.Catalina start
INFO: Server startup in 273714 ms
26.09.2009 17:35:03 org.apache.catalina.startup.HostConfig checkResources
INFO: Undeploying context [/warpoject]
26.09.2009 17:35:13 org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive warpoject.war

z3r0
Champ in-the-making
Champ in-the-making
Hi,
since nobody has an idea?

mrogers
Star Contributor
Star Contributor
No.   Without some clue from the log files there's nothing to go on.

There should be no interaction between your WAR file and the Alfresco WAR file.

If you have a "normal" tomcat server.   Then use that one and install Alfresco.   The only additions that Alfresco needs to make are a) add the "extensions" class path to the class loader b: some tweaks to the Java command line to increase memory settings.

norgan
Champ in-the-making
Champ in-the-making
I do have one idea - can it be, that you are working with the Root path (http://localhost:8080/)? Alfresco Share uses that, as far as I know.

try to put your app on another path.
Norgan

mikeh
Star Contributor
Star Contributor
I do have one idea - can it be, that you are working with the Root path (http://localhost:8080/)? Alfresco Share uses that, as far as I know.

Norgan
Used to, doesn't any more. Anyway, it'll get the path of the .war file name by default.

To z3r0: Go back to basics: try accessing a simple static resource in your webapp to see if that works.

Mike

eddiem
Champ in-the-making
Champ in-the-making
Hi,
Are you sure port 8080 is open? Had similar issue using amazon ec2 instance.

Cheers
Eddie