I need to start work on a web application project for which I installed Eclipse Indigo and Tomcat 7.0. The environment also has JRE 7, the Android SDK. But whenever I start the server, it ends!
In addition, I can start the server outside of Eclipse and successfully execute the web application in the browser. But for debugging, I would prefer it in Eclipse.
Error message:
Server Tomcat v7.0 Server at localhost was unable to start within 45 seconds. If the server requires more time, try increasing the timeout in the server editor.
In the console, I get:
Mar 14, 2012 11:51:18 PM org.apache.catalina.core.AprLifecycleListener init INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\program files\Java\jre7\bin;C:\WINNT\Sun\Java\bin;C:\WINNT\system32;C:\WINNT;C:/Program Files/Java/jre7/bin/client;C:/Program Files/Java/jre7/bin;C:/Program Files/Java/jre7/lib/i386;C:\oracle\product\11.1.0\BIN\;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\Program Files\Executive Software\Diskeeper\;C:\Program Files\Pointsec\Pointsec Media Encryption\Program\;C:\Program Files\Windows Imaging\;C:\oracle\product\11.1.0\BIN;C:\Program Files\Reflection\;C:\eclipse;;. Mar 14, 2012 11:51:18 PM org.apache.tomcat.util.digester.SetPropertiesRule begin WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:AUDI_ASSIST_v2.0_WS_REDESIGN_Interceptor' did not find a matching property. Mar 14, 2012 11:51:18 PM org.apache.coyote.AbstractProtocol init INFO: Initializing ProtocolHandler ["http-bio-9080"] Mar 14, 2012 11:51:18 PM org.apache.coyote.AbstractProtocol init INFO: Initializing ProtocolHandler ["ajp-bio-9009"] Mar 14, 2012 11:51:18 PM org.apache.catalina.startup.Catalina load INFO: Initialization processed in 504 ms Mar 14, 2012 11:51:18 PM org.apache.catalina.core.StandardService startInternal INFO: Starting service Catalina Mar 14, 2012 11:51:18 PM org.apache.catalina.core.StandardEngine startInternal INFO: Starting Servlet Engine: Apache Tomcat/7.0.26 Mar 14, 2012 11:51:18 PM org.apache.catalina.util.SessionIdGenerator createSecureRandom INFO: Creation of SecureRandom instance for session ID generation using [SHA1PRNG] took [109] milliseconds. Mar 14, 2012 11:51:18 PM org.apache.catalina.loader.WebappClassLoader validateJarFile INFO: validateJarFile(D:\documents and settings\fahmf\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp2\wtpwebapps\AUDI_ASSIST_v2.0_WS_REDESIGN_Interceptor\WEB-INF\lib\com.ibm.ws.webservices.thinclient_7.0.0.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class Mar 14, 2012 11:51:20 PM org.apache.coyote.AbstractProtocol start INFO: Starting ProtocolHandler ["http-bio-9080"] Mar 14, 2012 11:51:20 PM org.apache.coyote.AbstractProtocol start INFO: Starting ProtocolHandler ["ajp-bio-9009"] Mar 14, 2012 11:51:20 PM org.apache.catalina.startup.Catalina start INFO: Server startup in 1697 ms
I tried the solutions proposed in other issues on this forum, such as increasing the timeout, changing port numbers, removing and reinstalling Tomcat, changing the "publising" option for the server, but nothing works.
Any help would be truly appreciated. Thanks in advance...
Ahmed
source share