I'm developing web application. Everything was working fine till yesterday.
Something happened yesterday (no idea what exactly) and Eclipse is not deploying my application any more.
I'm using spring and maven, but it worked before, so I think there is no problem in this.
When I'm starting my application there is this in startup log:
7.9.2012 12:39:23 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\jdk1.6.0_31\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:/Program Files (x86)/Java/jre6/bin/client;C:/Program Files (x86)/Java/jre6/bin;C:/Program Files (x86)/Java/jre6/lib/i386;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files (x86)\CVSNT\;c:\Programs\apache-ant-1.8.1\bin;C:\Program Files (x86)\Common Files\Teleca Shared;C:\SSD\Oracle11g\product\11.2.0\dbhome_3\bin;C:\SSD\Oracle11g\product\11.2.0\dbhome_1\bin;C:\Program Files (x86)\Groovy\Groovy-1.8.6\bin;C:\Programs\TortoiseSVN-1.7.7\bin;c:\Programs\apache-ant-1.8.1\bin;c:\Program Files\Java\jdk1.6.0_31\bin;c:\Programs\cygwin\bin;c:\Programs\apache-maven-2.2.1\bin;C:\SSD\Mudrc\Eclipse;;. 7.9.2012 12:39:23 org.apache.tomcat.util.digester.SetPropertiesRule begin WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:MudrcWeb2' did not find a matching property. 7.9.2012 12:39:23 org.apache.coyote.AbstractProtocol init INFO: Initializing ProtocolHandler ["http-bio-9091"] 7.9.2012 12:39:23 org.apache.coyote.AbstractProtocol init INFO: Initializing ProtocolHandler ["ajp-bio-8009"] 7.9.2012 12:39:23 org.apache.catalina.startup.Catalina load INFO: Initialization processed in 491 ms 7.9.2012 12:39:23 org.apache.catalina.core.StandardService startInternal INFO: Starting service Catalina 7.9.2012 12:39:23 org.apache.catalina.core.StandardEngine startInternal INFO: Starting Servlet Engine: Apache Tomcat/7.0.29 7.9.2012 12:39:24 org.apache.coyote.AbstractProtocol start INFO: Starting ProtocolHandler ["http-bio-9091"] 7.9.2012 12:39:24 org.apache.coyote.AbstractProtocol start INFO: Starting ProtocolHandler ["ajp-bio-8009"] 7.9.2012 12:39:24 org.apache.catalina.startup.Catalina start INFO: Server startup in 693 ms
While I'm using spring, there should be at least context initialization in log.
I read several similar questions here
but nothing helped
I tried adding new server to Eclipse, renaming project, cleaning and still it is the same.
When I build it with maven I can deploy it to Tomcat and it works.
Most common issue with Tomcat note starting is that Java is not configured properly, user trying to start Tomcat does not have permissions to do so, or another program is using port 8080 on that server.
Have you check your deploy path in Server Locations? May be your tomcat deploy path changed and Eclipse is not deploying your application.
In eclipse.
- Window -> Show View -> Servers.
- Double click to your server.
In Tomcat Server's Overview.
3.1 check your Server Path
3.2 check your Deploy Path
Maybe the deploy Maven assembly in project properties is missing:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With