You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by ramaj <ra...@gmail.com> on 2007/10/01 23:36:38 UTC

SEVERE: Catalina.stop:java.net.BindException: Address already in use

hi ,
i have installed jetspeed 2.1 
i changed port in server.xml,
as:
<!-- Define a non-SSL HTTP/1.1 Connector on port 8080 -->
    <Connector port="80" maxHttpHeaderSize="8192"
               maxThreads="600" minSpareThreads="125" maSpareThreads="250"
               enableLookups="false" redirectPort="8443" acceptCount="500"
               connectionTimeout="20000" disableUploadTimeout="true" />

NOTE : one process listening on this port.

When i tried to shutdown this application i got following error:

[root@spa13 conf]# sh /webportal/bin/shutdown.sh
Using CATALINA_BASE:   /webportal
Using CATALINA_HOME:   /webportal
Using CATALINA_TMPDIR: /webportal/temp
Using JRE_HOME:       /usr/local/jdk1.5.0_11
Oct 1, 2007 4:31:58 PM org.apache.catalina.startup.Catalina stopServer
SEVERE: Catalina.stop:
java.net.BindException: Address already in use
        at java.net.PlainSocketImpl.socketBind(Native Method)
        at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:359)
        at java.net.Socket.bind(Socket.java:565)
        at java.net.Socket.<init>(Socket.java:364)
        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.java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at
org.apache.catalina.startup.Bootstrap.stopServer(Bootstrap.java:343)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:434)

plz help me

Thanks ramj
-- 
View this message in context: http://www.nabble.com/SEVERE%3A-Catalina.stop%3Ajava.net.BindException%3A-Address-already-in-use-tf4551313.html#a12988465
Sent from the Jetspeed - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org


RE: SEVERE: Catalina.stop:java.net.BindException: Address already in use

Posted by "Timony, Michael" <Mi...@FMR.COM>.
There is already a process running on that port, possibly an errant
Tomcat process.

Try killing all your java processes and see if you can Tomcat to start. 



-----Original Message-----
From: ramaj [mailto:ramjmeter@gmail.com] 
Sent: Monday, October 01, 2007 5:37 PM
To: jetspeed-user@portals.apache.org
Subject: SEVERE: Catalina.stop:java.net.BindException: Address already
in use


hi ,
i have installed jetspeed 2.1
i changed port in server.xml,
as:
<!-- Define a non-SSL HTTP/1.1 Connector on port 8080 -->
    <Connector port="80" maxHttpHeaderSize="8192"
               maxThreads="600" minSpareThreads="125"
maSpareThreads="250"
               enableLookups="false" redirectPort="8443"
acceptCount="500"
               connectionTimeout="20000" disableUploadTimeout="true" />

NOTE : one process listening on this port.

When i tried to shutdown this application i got following error:

[root@spa13 conf]# sh /webportal/bin/shutdown.sh
Using CATALINA_BASE:   /webportal
Using CATALINA_HOME:   /webportal
Using CATALINA_TMPDIR: /webportal/temp
Using JRE_HOME:       /usr/local/jdk1.5.0_11
Oct 1, 2007 4:31:58 PM org.apache.catalina.startup.Catalina stopServer
SEVERE: Catalina.stop:
java.net.BindException: Address already in use
        at java.net.PlainSocketImpl.socketBind(Native Method)
        at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:359)
        at java.net.Socket.bind(Socket.java:565)
        at java.net.Socket.<init>(Socket.java:364)
        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:343)
        at
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:434)

plz help me

Thanks ramj
--
View this message in context:
http://www.nabble.com/SEVERE%3A-Catalina.stop%3Ajava.net.BindException%3
A-Address-already-in-use-tf4551313.html#a12988465
Sent from the Jetspeed - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org