This week's book giveaway is in the Testing forum.
We're giving away four copies of Practical Unit Testing with TestNG and Mockito and have Tomek Kaczanowski on-line!
See this thread for details.
The moose likes IDEs, Version Control and other tools and the fly likes Eclipse-Lomboz SocketException in Standalone Tomcat Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of Practical Unit Testing with TestNG and Mockito this week in the Testing forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Reply Bookmark "Eclipse-Lomboz SocketException in Standalone Tomcat" Watch "Eclipse-Lomboz SocketException in Standalone Tomcat" New topic
Author

Eclipse-Lomboz SocketException in Standalone Tomcat

Rafael Lee
Greenhorn

Joined: Sep 06, 2003
Posts: 23
I am running a sample jsp app via eclipse's run menu or the 'deploy' command (rt-click->deploy) in Lomboz J2ee view. Why is it that the following error occurs when eclipse/lomboz 'runs' or 'deploys' to the targeted server tomcat?
---------------------------
Catalina.stop: java.net.SocketException: Network is down: connect
java.net.SocketException: Network is down: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:295)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:161)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:148)
at java.net.Socket.connect(Socket.java:425)
at java.net.Socket.connect(Socket.java:375)
at java.net.Socket.<init>(Socket.java:290)
at java.net.Socket.<init>(Socket.java:118)
at org.apache.catalina.startup.Catalina.stop(Catalina.java:831)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:683)
at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)
----------------------------
During the first 'run' or 'deploy' of the jsp app after the launching of eclipse, the eclipse/lomboz system successfully opens a browser showing the page, but in subsequent re-'runs' or re-'deploys', the error above keeps on occurring. The tomcat server is standalone.
To do an error-free execution, I had to launch tomcat outside eclipse, open a new browser window then execute with the proper url.
I'd appreciate your comments.
 
 
subject: Eclipse-Lomboz SocketException in Standalone Tomcat
 
Threads others viewed
Another shutting down problem
Error while Shutting down Tomcat 4.1
Tomcat Shutdown problem
Tomcat installation problem
connection refused on tomcat web server
MyEclipse, The Clear Choice