tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Murthy Chelankuri <kmurt...@gmail.com>
Subject Re: getting SEVERE: Catalina.stop: java.net.ConnectException: Connection refused error
Date Wed, 30 Jan 2008 08:41:37 GMT

Seems to be port you are using is being used another process or the user 
don't have permissions to use that port. In linux os normal user can't 
use port no <1024 not sure on sun os . To bind the port <1024 for non 
root user use jsvc.


Meir Yanovich wrote:
> Hello all
> Im running with my tomcat 5.5 on SunOS 9 , but when I start tomcat im
> getting this error The tomcat keeps running fine , but I like to know
> how to eliminate this error :
> 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:179)
>         at
> org.apache.catalina.startup.Catalina.stopServer(Catalina.java:394)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
> a:39)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
> Impl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at
> org.apache.catalina.startup.Bootstrap.stopServer(Bootstrap.java:344)
>         at
> org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:435)
>
> Thanks 
>
>
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
>   


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message