Archive for the ‘Eclipse Juno’ Category

eclipse juno wtp servers and tomcat, get server 404 error …

March 23, 2013 Leave a comment

gawd damn waste of an hour – hope this saves you that someday

with eclipse juno, when you create a new server for apache tomcat (i was using tomcat7) it fails to copy the tomcat ROOT folder into the eclipse config area in <eclipse>\.metadata\.plugins\org.eclipse.wst.server.core\tmp<num>\wtpwebapps

so when you start the server and try to connect to port 8080 (default) you get a http 404 error.

That tells you at least that the server is up and working !

so now you have to go to your downloaded tomcat installation and copy the ROOT folder and paste into the file above in your eclipse config and restart.

then you have to copy the manager, docs etc web apps and copy them into the

<eclipse>\.metadata\.plugins\org.eclipse.wst.server.core\tmp<num>\webapps folder

now when you connect to localhost:8080 you get your default tomcat pages.

this site was what got me straightened out – i hope they fix this is eclipse its a bit rubbish and for new people starting out very disheartening when they cant get it to work

Categories: Eclipse Juno, Tomcat Tags: , ,
%d bloggers like this: