I am using the built in tomcat server in eclipse for my debugging and for some reason it stopped working.
I don't know how to start debugging this.
The apache is running (when I go to my servers address (on local host) port 8080 I get an error that is clearly from the apachie server (its a 404).
but it just behaves as if I did not compile anything ...
any ideas on what I should to to step by step debug this situation?
I guess this is because
C:\Users\myuser\Workspaces\projectName\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\webapps\projectName
is empty.
however C:\Users\myuser\Workspaces\projectName\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps
does seem to hold a complied version of my web app.
when I right click the server icon on the servers pane and go to properties - general,
there is a "location" value and a change location button.
clicking the button switches the location back and forth between [workspace metadata]
and "/Servers/Tomcat v6.0 Server at localhost.server"
- what doesthose two mean and which is the right one for me?
when I choose build all (after clearing "build automatically" nothing shows up on the console.
another thing I just noticed is that when starting the server I get the following warning:
WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:projectName' did not find a matching property.
UPDATE: after removing the project from the server (right click on project in the servers pane), it started working again.
but one or two builds after it I got the following message:
Publishing failed with multiple errors
Could not delete C:/Users/epeleg/Workspaces/projectName/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/wtpwebapps/projectName/WEB-INF/lib. May be locked by another process.
Could not delete C:/Users/epeleg/Workspaces/projectName/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/wtpwebapps/projectName/WEB-INF. May be locked by another process.
and it went back into the same situation with 404's on any request. remove and re-add of the project did the trick again but I wander why could this be happening.
This should do.