java.net.ConnectException: Connection refused

Pentaho BI Platform Tracking | Jem Matzan | 8 years ago
  1. 0

    linux 32000 files limitation | Alfresco Forums

    alfresco.com | 8 months ago
    java.net.ConnectException: Connection refused
  2. 0

    If you run start-pentaho.sh, then run stop-pentaho.sh later, sometimes there is a connection error. This doesn't always happen. It may be that I'm stopping the server too quickly; if this is the case, then there needs to be some kind of a "wait" function that doesn't release the user back to the command line until the server is fully operational. Again if this is the case, aside from failing the stop script, users could also try to access the Web app through a browser too quickly and get a 404 or 500 error. valour@valour-work:~/Desktop/biserver-ee$ ./start-pentaho.sh Using CATALINA_BASE: /home/valour/Desktop/biserver-ee/tomcat Using CATALINA_HOME: /home/valour/Desktop/biserver-ee/tomcat Using CATALINA_TMPDIR: /home/valour/Desktop/biserver-ee/tomcat/temp Using JRE_HOME: /usr/lib/jvm/java-6-sun valour@valour-work:~/Desktop/biserver-ee$ ./stop-pentaho.sh Using CATALINA_BASE: /home/valour/Desktop/biserver-ee/tomcat Using CATALINA_HOME: /home/valour/Desktop/biserver-ee/tomcat Using CATALINA_TMPDIR: /home/valour/Desktop/biserver-ee/tomcat/temp Using JRE_HOME: /usr/lib/jvm/java-6-sun Sep 23, 2008 12:02:51 PM org.apache.catalina.startup.Catalina stopServer SEVERE: Catalina.stop: java.net.ConnectException: Connection refused at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366) at java.net.Socket.connect(Socket.java:519) at java.net.Socket.connect(Socket.java:469) at java.net.Socket.<init>(Socket.java:366) at java.net.Socket.<init>(Socket.java:180) at org.apache.catalina.startup.Catalina.stopServer(Catalina.java:395) 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:597) at org.apache.catalina.startup.Bootstrap.stopServer(Bootstrap.java:344) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:435)

    Pentaho BI Platform Tracking | 8 years ago | Jem Matzan
    java.net.ConnectException: Connection refused
  3. 0

    If you run start-pentaho.sh, then run stop-pentaho.sh later, sometimes there is a connection error. This doesn't always happen. It may be that I'm stopping the server too quickly; if this is the case, then there needs to be some kind of a "wait" function that doesn't release the user back to the command line until the server is fully operational. Again if this is the case, aside from failing the stop script, users could also try to access the Web app through a browser too quickly and get a 404 or 500 error. valour@valour-work:~/Desktop/biserver-ee$ ./start-pentaho.sh Using CATALINA_BASE: /home/valour/Desktop/biserver-ee/tomcat Using CATALINA_HOME: /home/valour/Desktop/biserver-ee/tomcat Using CATALINA_TMPDIR: /home/valour/Desktop/biserver-ee/tomcat/temp Using JRE_HOME: /usr/lib/jvm/java-6-sun valour@valour-work:~/Desktop/biserver-ee$ ./stop-pentaho.sh Using CATALINA_BASE: /home/valour/Desktop/biserver-ee/tomcat Using CATALINA_HOME: /home/valour/Desktop/biserver-ee/tomcat Using CATALINA_TMPDIR: /home/valour/Desktop/biserver-ee/tomcat/temp Using JRE_HOME: /usr/lib/jvm/java-6-sun Sep 23, 2008 12:02:51 PM org.apache.catalina.startup.Catalina stopServer SEVERE: Catalina.stop: java.net.ConnectException: Connection refused at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366) at java.net.Socket.connect(Socket.java:519) at java.net.Socket.connect(Socket.java:469) at java.net.Socket.<init>(Socket.java:366) at java.net.Socket.<init>(Socket.java:180) at org.apache.catalina.startup.Catalina.stopServer(Catalina.java:395) 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:597) at org.apache.catalina.startup.Bootstrap.stopServer(Bootstrap.java:344) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:435)

    Pentaho BI Platform Tracking | 8 years ago | Jem Matzan
    java.net.ConnectException: Connection refused
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    java.net.ConnectException: Connection refused

    Coderanch | 8 years ago | preethi Ayyappan
    java.net.ConnectException: Connection refused
  6. 0

    oozie-stop.sh is oblivious to 'catalina.sh stop' failing

    GitHub | 5 years ago | rvs
    java.net.ConnectException: Connection refused

  1. Kialandei 1 times, last 1 month ago
  2. DoktorDoener666 41 times, last 2 weeks ago
  3. kjhdofjosvs 2 times, last 1 month ago
  4. marcbouvierdav 1 times, last 2 months ago
  5. linxiaolong 37 times, last 6 days ago
22 more registered users
65 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.net.ConnectException

    Connection refused

    at java.net.PlainSocketImpl.socketConnect()
  2. Java RT
    Socket.<init>
    1. java.net.PlainSocketImpl.socketConnect(Native Method)
    2. java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
    3. java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
    4. java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
    5. java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
    6. java.net.Socket.connect(Socket.java:519)
    7. java.net.Socket.connect(Socket.java:469)
    8. java.net.Socket.<init>(Socket.java:366)
    9. java.net.Socket.<init>(Socket.java:180)
    9 frames
  3. Glassfish Core
    Catalina.stopServer
    1. org.apache.catalina.startup.Catalina.stopServer(Catalina.java:395)
    1 frame
  4. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    4. java.lang.reflect.Method.invoke(Method.java:597)
    4 frames
  5. Glassfish Core
    Bootstrap.main
    1. org.apache.catalina.startup.Bootstrap.stopServer(Bootstrap.java:344)
    2. org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:435)
    2 frames