MyEclipse: MyEclipse/Tomcat 4.1.24 does not start webapp
srau - Jun 27, 2003 - 09:37 PM
Post subject: MyEclipse/Tomcat 4.1.24 does not start webapp
Hello - I downloaded EW yesterday and created a web module project with it. I imported the java sources and the jsp files into the project. I also deployed the project from the 'MyEclipse->Deploy' option.
When I start Tomcat, it does not start my application ie., call the listeners configured in my project's web.xml. (The server.xml has a context configured for this project.)
Any pointers on what I am missing ?
support-scott - Jun 27, 2003 - 09:43 PM
You're probably missing deployment. Shutdown Tomcat and then right-click on your project in the Package Explorer and select MyEclipse->Deploy...
The deployment wizard will walk you through deployment. Once deployed, restart Tomcat. Your project will be deployed with it's project name as the context root.
srau - Jun 27, 2003 - 10:01 PM
Hi - I had deployed the project but there was no entry created by MyEclipse in the server.xml file. Also, how do you make it so that the project is deployed under $TOMCAT_HOME/webapps/ROOT ?
support-scott - Jun 27, 2003 - 10:19 PM
In the EA2 release, all projects are deployed using their project name when deploying as an exploded war. The webapp context name is only used for setting up an EAR. However, this will change in the GA release and the context will be respected for exploded webapp deployment too.
The only workaround right now is to either reference your application under it's project name (ie. http://localhost:8080/<projectname>/<whatever>) or to rename your project ROOT. But that's a little iffy in my book. ;-)
In any event, this will be addressed in the GA release on 7/15.
All times are GMT - 6 Hours
Powered by PNphpBB2
© 2003-2004 The PNphpBB GroupCredits