tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Abid Ali Teepo" <abid.ali.te...@mogul.com>
Subject RE: I get an exception when i stop tomcat ?
Date Mon, 16 Jun 2003 11:40:55 GMT
Hi again

Yes, i'm sure that tomcat starts up properly and i can see the start page as well as other
pages linked fom there.

I have been using tomcat for a while, i just reinstalled it today and
got this error when i stopped. But i have never seen all the attribute
info you have written ?? I'm using version 4.1.24 ??

Regards,
Abid

-----Original Message-----
From: Thomas, Kevin [mailto:KEVIN.THOMAS@saic.com]
Sent: 16. juni 2003 13:09
To: 'Tomcat Users List'
Subject: RE: I get an exception when i stop tomcat ?


Hi there.

It looks by the output that Tomcat isn't even managing to start properly but
you say you managed to see the start page? The log doesn't show any
indication of tomcat actually being started completely. You would expect (I
think) something like:

[INFO] Registry - -Loading registry information
[INFO] Registry - -Creating new Registry instance
[INFO] Registry - -Creating MBeanServer
[INFO] Http11Protocol - -Attribute port: 8080
[INFO] Http11Protocol - -Attribute maxThreads: 75
[INFO] Http11Protocol - -Attribute backlog: 10
[INFO] Http11Protocol - -Attribute tcpNoDelay: true
[INFO] Http11Protocol - -Attribute soTimeout: 20000
[INFO] Http11Protocol - -Attribute timeout: 20000
[INFO] Http11Protocol - -Attribute secure: false
[INFO] Http11Protocol - -Initializing Coyote HTTP/1.1 protocol handler on
port 8080
<snip>
[INFO] Http11Protocol - -Starting Coyote HTTP/1.1 protocol handler on port
8080
Starting service Tomcat-Apache
Apache Tomcat/4.1

Cheers,
Kev.

-----Original Message-----
From: Abid Ali Teepo [mailto:abid.ali.teepo@mogul.com]
Sent: 16 June 2003 12:05
To: tomcat-user@jakarta.apache.org
Subject: I get an exception when i stop tomcat ?


Hi

I get a java.net.BindException : Cannot assign requested address when i stop
tomcat. I have only installed it yet and done nothing else then a start and
a stop. The version is 4.1.24. I use the start and stop scripts that are
included in the installation.

Everything works, i can see the tomcat page on localhost port 8080, and i
even changed
the port to 9090, and it still works, so i don't think this is a port number
issue.

When i doubleclick the stop script i get this message in the window that
started tomcat :

F:\acs>E:\Java\jdk1.3.1\bin\java.exe -jar -Duser.dir="E:\Program
Files\Apache Gr
oup\Tomcat 4.1" "E:\Program Files\Apache Group\Tomcat 4.1\bin\bootstrap.jar"
start
[INFO] Registry - -Loading registry information
[INFO] Registry - -Creating new Registry instance
[INFO] Registry - -Creating MBeanServer
[INFO] Http11Protocol - -Initializing Coyote HTTP/1.1 on port 9090 
Starting service Tomcat Standalone Apache Tomcat/4.1.24
[INFO] Http11Protocol - -Starting Coyote HTTP/1.1 on port 9090
[INFO] ChannelSocket - -JK2: ajp13 listening on 0.0.0.0/0.0.0.0:8009
[INFO] JkMain - -Jk running ID=0 time=10/130  config=E:\Program Files\Apache
Gro
up\Tomcat 4.1\conf\jk2.properties
Stopping service Tomcat-Standalone
java.net.BindException: Cannot assign requested address: connect
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:320)
        at
java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:133)
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:120)
        at java.net.Socket.<init>(Socket.java:273)
        at java.net.Socket.<init>(Socket.java:127)
        at
org.apache.jk.common.ChannelSocket.destroy(ChannelSocket.java:384)
        at org.apache.jk.server.JkMain.stop(JkMain.java:308)
        at
org.apache.jk.server.JkCoyoteHandler.destroy(JkCoyoteHandler.java:179)
        at
org.apache.coyote.tomcat4.CoyoteConnector.stop(CoyoteConnector.java:1166)
        at
org.apache.catalina.core.StandardService.stop(StandardService.java:546)
        at
org.apache.catalina.core.StandardServer.stop(StandardServer.java:2225)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:543)
        at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
        at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
        at java.lang.reflect.Method.invoke(Native Method)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)

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

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

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


Mime
View raw message