|Re: Tomcat Server Startup Configuration [message #535800 is a reply to message #535788]
||Tue, 25 May 2010 16:42
| Larry Isaacs
Registered: July 2009
> I am having an issue deploying a portlet in a Liferay/Tomcat
> installation when I start up Tomcat via the startup.bat script.
> However, the portlet deploys fine when I start up Tomcat via Eclipse.
> So, I'm thinking there's some config that Eclipse does on start up that
> is different that allows the portlet to be deployed. I'm trying to
> figure out what that difference is.
> I have added a Server in Eclipse with this run config arguments:
> Program arguments: run
> VM arguments:
> Files\liferay-portal-5.2.3-tomcat-6.0\tomcat-6.0.18\endorsed "
> Does Eclipse use the startup.bat and shutdown.bat scripts which is what
> I use when starting Tomcat manually? If not, what does it use?
You can start the Tomcat server in Eclipse, switch to the Debug
perspective and in the Debug view, right-click on the "javaw.exe" item
and select Properties. The dialog that appears will show the command
line Eclipse used to spawn the JVM that runs the server. You can also,
edit the catalina.bat file to duplicate the line that starts the JVM,
then put "echo " at the beginning of that line so the command executed
by the startup.bat is also displayed. You can then compare the two to
see if there are any differences that matter.
The Tomcat support in Eclipse doesn't attempt to use the batch scripts.
For details about the Tomcat support in WTP, see the WTP Tomcat FAQ.
Powered by FUDForum
. Page generated in 0.03081 seconds