File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes Problem deploying struts app in Tomcat Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Problem deploying struts app in Tomcat" Watch "Problem deploying struts app in Tomcat" New topic

Problem deploying struts app in Tomcat

Chris Boldon
Ranch Hand

Joined: Aug 10, 2006
Posts: 190
I'm having a problem deploying a struts app in tomcat.

It spits out the following, regardless of debug level, and hangs:
Jan 12, 2007 11:23:36 AM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Java\jdk_1.5\bin;C:\Program Files\Apache Software Foundation\Tomcat 5.5\bin
Jan 12, 2007 11:23:36 AM org.apache.coyote.http11.Http11BaseProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Jan 12, 2007 11:23:36 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 796 ms
Jan 12, 2007 11:23:37 AM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Jan 12, 2007 11:23:37 AM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.20
Jan 12, 2007 11:23:37 AM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled

This app has been working for months now, I made a change and deployed. It did this. I then reverted my changes back, by pulling out fresh code from subversion which I know works, and its still happening. Tomcat isnt spitting out any logs either. If I remove my application context path from struts-config.xml it loads. When I add garbage to my applicationContext.xml it crashes, so I know it's reading the context.

It isnt just my PC. It does the same thing on 3 PCs I've tried and on a server.

The thing that is really throwing me for a look is the fact that I can revert code versions and its still happening.

Any advice is greatly appreciated. Thanks.

Does anyone ahve any ideas where to look?
Jan Groth
Ranch Hand

Joined: Feb 03, 2004
Posts: 456
hm, looks like something is wrong with the tomcat installation / setup. but you probably figured that one out already ;-)

i would try to completely reinstall tomcat (because it just takes an hour or so)... see what comes out then.

but anyhow - there is a tomcat forum here, i think the guys there might be able to give you more help. provide version information though.

hope it helps,
I agree. Here's the link:
subject: Problem deploying struts app in Tomcat
It's not a secret anymore!