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.
Eclipse-Lomboz SocketException in Standalone Tomcat
Rafael Lee
Greenhorn
Joined: Sep 06, 2003
Posts: 23
posted
0
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