Skip to main content



      Home
Home » Newcomers » Newcomers » Tomcat 5.5.6
Tomcat 5.5.6 [message #27291] Tue, 08 February 2005 16:39 Go to next message
Eclipse UserFriend
Originally posted by: gwiggs.orcastech.com

Trying to use Tomcat 5.5.6 as an external tool with Eclipse 3.0. No
startup or shutdown .bat files anymore.

I've configured the external tools as follows:
For Startup
Location: ${Tomcat}\bin\tomcat5.exe
Working directory: ${Tomcat}
Arguements:
//RS//Tomcat

For Shutdown
Location: ${Tomcat}\bin\tomcat5.exe
Working directory: ${Tomcat}
Arguements:
//SS//Tomcat

When I run either external tool I get the error:

[2005-02-08 13:38:52] [1197 prunsrv.c] [error]
Load configuration failed

Anyone else have this experience? Or a solution?

Geoff
Re: Tomcat 5.5.6 [message #27591 is a reply to message #27291] Tue, 15 February 2005 13:14 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: first_dot_last.somanetworks.com

Do you have the TOMCAT_HOME environment variable set? You can set it in
the external tools environment tab. The external command (tool) will run
with the same environment set as the eclipse IDE is running with, so, if
you do not have it set before you start eclipse, you need to set it in
the tool setup dialog. Run->External Tools->External Tools... to get the
dialog up.

Hope this helps,
ronw

Geoff wrote:
> Trying to use Tomcat 5.5.6 as an external tool with Eclipse 3.0. No
> startup or shutdown .bat files anymore.
> I've configured the external tools as follows:
> For Startup
> Location: ${Tomcat}\bin\tomcat5.exe
> Working directory: ${Tomcat}
> Arguements:
> //RS//Tomcat
>
> For Shutdown
> Location: ${Tomcat}\bin\tomcat5.exe
> Working directory: ${Tomcat}
> Arguements:
> //SS//Tomcat
>
> When I run either external tool I get the error:
>
> [2005-02-08 13:38:52] [1197 prunsrv.c] [error] Load configuration failed
>
> Anyone else have this experience? Or a solution?
>
> Geoff
>
Tomcat 5.5.7: Works from Cmd Line Fails from Eclipse [message #28675 is a reply to message #27291] Mon, 21 February 2005 19:05 Go to previous message
Eclipse UserFriend
Originally posted by: j_s_nightingale.yahoo.co.uk

Slightly related to the foregoing: I have Tomcat 5.5.7,
with JAVA_HOME = c:\Program Files\Java\jdk1.5.0_01
and CATALINA_HOME = c:\Program Files\Java\jakarta-tomcat-5.5.7
Running Win XP on Vaio T1XP/L (nice little machine)
When started from the DOS Command Line, I can point the Browser at
localhost:8080 and see the Tomcat Home page.

I have Eclipse 3.0, with the Sysdeo Tomcat Plugin installed, and from the
handy icons I can start Tomcat: but the when I point the Browser at
localhost:8080 I get "The Connection was Refused when Attempting to
Contact Localhost:8080". Same Tomcat, Same Environment Variables, no?

More mysteriously still, when I shutdown from the Tomcat icon I get a
java.net.ConnectException as per below.

Differences at the process level, view3ed from Task Manager, are that the
DOS startup uses Java while the Eclipse startup uses Javaw.

I wonder if anyone can kindly shed light on this misbehaviour?

Regards,

Stephen Nightingale.


SEVERE: Protocol handler pause failed
java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at org.apache.jk.common.ChannelSocket.unLockSocket(ChannelSocke t.java:460)
at org.apache.jk.common.ChannelSocket.pause(ChannelSocket.java: 272)
at org.apache.jk.server.JkMain.pause(JkMain.java:677)
at org.apache.jk.server.JkCoyoteHandler.pause(JkCoyoteHandler.j ava:208)
at org.apache.catalina.connector.Connector.pause(Connector.java :933)
at org.apache.catalina.core.StandardService.stop(StandardServic e.java:491)
at org.apache.catalina.core.StandardServer.stop(StandardServer. java:717)
at org.apache.catalina.startup.Catalina.stop(Catalina.java:586)
at org.apache.catalina.startup.Catalina.start(Catalina.java:561 )
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:2 71)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:40 9)
21-Feb-2005 23:46:59 org.apache.catalina.core.StandardService stop
INFO: Stopping service Catalina




Geoff wrote:

> Trying to use Tomcat 5.5.6 as an external tool with Eclipse 3.0. No
> startup or shutdown .bat files anymore.

> I've configured the external tools as follows:
> For Startup
> Location: ${Tomcat}bintomcat5.exe
> Working directory: ${Tomcat}
> Arguements:
> //RS//Tomcat

> For Shutdown
> Location: ${Tomcat}bintomcat5.exe
> Working directory: ${Tomcat}
> Arguements:
> //SS//Tomcat

> When I run either external tool I get the error:

> [2005-02-08 13:38:52] [1197 prunsrv.c] [error]
> Load configuration failed

> Anyone else have this experience? Or a solution?

> Geoff
Previous Topic:newbie needs urgent help please
Next Topic:help with projects in workspace
Goto Forum:
  


Current Time: Sun Jun 08 12:20:15 EDT 2025

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

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

Back to the top