Skip to main content



      Home
Home » Newcomers » Newcomers » tomcat plugin
tomcat plugin [message #112282] Wed, 26 October 2005 11:43 Go to next message
Eclipse UserFriend
hi all

Is there a plugin so i can stop/start tomcat from the eclipse ide?


can someone tell me how i run tomcat as an ordinary appl from within
eclipse. I've read i need to put bootstrap.jar on the launch classpath -
where is this? and then pass -Dcatalina.home=<home install> as a VM arg and
start as app arg, but don't know where to do this from eclipse

can anyone help

many thanks
Re: tomcat plugin [message #112298 is a reply to message #112282] Wed, 26 October 2005 11:57 Go to previous messageGo to next message
Eclipse UserFriend
Create an External tool launch short configuration for tomcat

Top Run menu>External Tools>External Tools...
Click New

Set the name to "Start Tomcat"

On the main tab set the location to your tomcat bat file. For example:
C:\jakarta-tomcat-5.5.9\bin\catalina.bat

On the main tab, in arguments add:
start

Press Run

For stopping tomcat create another launch configuration for tomcat
and set the arguments to:
stop

You can then start and stop tomcat using the external tools tool bar drop
down.

HTH
Darins

"plork123" <plork123@hotmail.com> wrote in message
news:djo87v$r09$1@news.eclipse.org...
>
>
> hi all
>
> Is there a plugin so i can stop/start tomcat from the eclipse ide?
>
>
> can someone tell me how i run tomcat as an ordinary appl from within
> eclipse. I've read i need to put bootstrap.jar on the launch classpath -
> where is this? and then pass -Dcatalina.home=<home install> as a VM arg
and
> start as app arg, but don't know where to do this from eclipse
>
> can anyone help
>
> many thanks
>
>
Re: tomcat plugin [message #112309 is a reply to message #112298] Wed, 26 October 2005 12:17 Go to previous messageGo to next message
Eclipse UserFriend
hi thanks for that


i get the error

The CATALINA_HOME environment variable is not defined correctly

This environment variable is needed to run this program

The system cannot find the path specified.

do i have to set something in the classpath environment variables


"Darin Swanson" <Darin_Swanson@us.ibm.com> wrote in message
news:djo91i$s9e$1@news.eclipse.org...
> Create an External tool launch short configuration for tomcat
>
> Top Run menu>External Tools>External Tools...
> Click New
>
> Set the name to "Start Tomcat"
>
> On the main tab set the location to your tomcat bat file. For example:
> C:\jakarta-tomcat-5.5.9\bin\catalina.bat
>
> On the main tab, in arguments add:
> start
>
> Press Run
>
> For stopping tomcat create another launch configuration for tomcat
> and set the arguments to:
> stop
>
> You can then start and stop tomcat using the external tools tool bar drop
> down.
>
> HTH
> Darins
>
> "plork123" <plork123@hotmail.com> wrote in message
> news:djo87v$r09$1@news.eclipse.org...
>>
>>
>> hi all
>>
>> Is there a plugin so i can stop/start tomcat from the eclipse ide?
>>
>>
>> can someone tell me how i run tomcat as an ordinary appl from within
>> eclipse. I've read i need to put bootstrap.jar on the launch classpath -
>> where is this? and then pass -Dcatalina.home=<home install> as a VM arg
> and
>> start as app arg, but don't know where to do this from eclipse
>>
>> can anyone help
>>
>> many thanks
>>
>>
>
>
Re: tomcat plugin [message #112352 is a reply to message #112309] Wed, 26 October 2005 13:54 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: weconsul.ptd.net

plork123 wrote:
> hi thanks for that
>
>
> i get the error
>
> The CATALINA_HOME environment variable is not defined correctly
>
> This environment variable is needed to run this program
>
> The system cannot find the path specified.
>
> do i have to set something in the classpath environment variables
>
>

snip..

To run Tomcat 4.0 this is one of requirements. Set an environment
variable CATALINA_HOME to the path of the directory into which you have
installed.

--


Thanks in Advance...
IchBin, Pocono Lake, Pa, USA
http://weconsultants.servebeer.com/JHackerAppManager
____________________________________________________________ ______________

'If there is one, Knowledge is the "Fountain of Youth"'
-William E. Taylor, Regular Guy (1952-)
Re: tomcat plugin [message #112400 is a reply to message #112352] Wed, 26 October 2005 15:11 Go to previous messageGo to next message
Eclipse UserFriend
Sorry about that oversight.
You will need both CATALINA_HOME and JAVA_HOME defined.

see the catalina.bat file for full details.

Darins

"IchBin" <weconsul@ptd.net> wrote in message
news:djog11$6f7$1@news.eclipse.org...
> plork123 wrote:
> > hi thanks for that
> >
> >
> > i get the error
> >
> > The CATALINA_HOME environment variable is not defined correctly
> >
> > This environment variable is needed to run this program
> >
> > The system cannot find the path specified.
> >
> > do i have to set something in the classpath environment variables
> >
> >
>
> snip..
>
> To run Tomcat 4.0 this is one of requirements. Set an environment
> variable CATALINA_HOME to the path of the directory into which you have
> installed.
>
> --
>
>
> Thanks in Advance...
> IchBin, Pocono Lake, Pa, USA
> http://weconsultants.servebeer.com/JHackerAppManager
> ____________________________________________________________ ______________
>
> 'If there is one, Knowledge is the "Fountain of Youth"'
> -William E. Taylor, Regular Guy (1952-)
Re: tomcat plugin [message #112530 is a reply to message #112400] Thu, 27 October 2005 05:53 Go to previous message
Eclipse UserFriend
Thanks - i've now got that working but i it dosemn't alllow me to add
project to the source so i can debug

"Darin Swanson" <Darin_Swanson@us.ibm.com> wrote in message
news:djokdq$cj7$1@news.eclipse.org...
> Sorry about that oversight.
> You will need both CATALINA_HOME and JAVA_HOME defined.
>
> see the catalina.bat file for full details.
>
> Darins
>
> "IchBin" <weconsul@ptd.net> wrote in message
> news:djog11$6f7$1@news.eclipse.org...
>> plork123 wrote:
>> > hi thanks for that
>> >
>> >
>> > i get the error
>> >
>> > The CATALINA_HOME environment variable is not defined correctly
>> >
>> > This environment variable is needed to run this program
>> >
>> > The system cannot find the path specified.
>> >
>> > do i have to set something in the classpath environment variables
>> >
>> >
>>
>> snip..
>>
>> To run Tomcat 4.0 this is one of requirements. Set an environment
>> variable CATALINA_HOME to the path of the directory into which you have
>> installed.
>>
>> --
>>
>>
>> Thanks in Advance...
>> IchBin, Pocono Lake, Pa, USA
>> http://weconsultants.servebeer.com/JHackerAppManager
>> ____________________________________________________________ ______________
>>
>> 'If there is one, Knowledge is the "Fountain of Youth"'
>> -William E. Taylor, Regular Guy (1952-)
>
>
Previous Topic:How do I add Window Preferences
Next Topic:eclipse javadocs
Goto Forum:
  


Current Time: Wed Jul 16 12:45:53 EDT 2025

Powered by FUDForum. Page generated in 0.11019 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top