← Back to team overview

dhis2-devs team mailing list archive

Re: Tomcat ConnectException

 

Make sure the system hostname points to a valid IP address in /etc/hosts
On Sun, Sep 25, 2011 at 11:29 PM, Knut Staring <knutst@xxxxxxxxx> wrote:

> Dapo, maybe the discussion in the following link will help with the problem
> you logged below:
> https://bugs.launchpad.net/ubuntu/+source/tomcat6/+bug/299866
>
> Has anyone else encountered this?
>
> Sep 22, 2011 4:36:40 AM org.apache.coyote.http11.Http11Protocol pause
> INFO: Pausing Coyote HTTP/1.1 on http-8080
> Sep 22, 2011 4:36:40 AM org.apache.catalina.connector.Connector pause
> SEVERE: Protocol handler pause failed
> java.net.ConnectException: Connection refused
>     at java.net.PlainSocketImpl.socketConnect(Native Method)
>     at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351)
>     at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213)
>     at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200)
>     at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
>     at java.net.Socket.connect(Socket.java:529)
>     at java.net.Socket.connect(Socket.java:478)
>     at java.net.Socket.<init>(Socket.java:375)
>     at java.net.Socket.<init>(Socket.java:218)
>     at
> org.apache.jk.common.ChannelSocket.unLockSocket(ChannelSocket.java:492)
>     at org.apache.jk.common.ChannelSocket.pause(ChannelSocket.java:288)
>     at org.apache.jk.server.JkMain.pause(JkMain.java:726)
>     at org.apache.jk.server.JkCoyoteHandler.pause(JkCoyoteHandler.java:153)
>     at org.apache.catalina.connector.Connector.pause(Connector.java:1037)
>     at
> org.apache.catalina.core.StandardService.stop(StandardService.java:578)
>     at
> org.apache.catalina.core.StandardServer.stop(StandardServer.java:788)
>     at org.apache.catalina.startup.Catalina.stop(Catalina.java:662)
>     at org.apache.catalina.startup.Catalina.start(Catalina.java:629)
>     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.start(Bootstrap.java:289)
>     at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
> Sep 22, 2011 4:36:41 AM org.apache.catalina.core.StandardService stop
> INFO: Stopping service Catalina
> Sep 22, 2011 4:36:41 AM org.apache.catalina.loader.WebappClassLoader
> clearReferencesJdbc
> SEVERE: The web application [/dhis] registered the JDBC driver
> [org.h2.Driver] but failed to unregister it when the web application was
> stopped. To prevent a memory leak, the JDBC Driver has been forcibly
> unregistered.
>
>


-- 
Knut Staring
Informatics, U. of Oslo
http://hisp.uio.no
+4791880522

References