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:[EMAIL PROTECTED]
Sent: 16 June 2003 12:05
To: [EMAIL PROTECTED]
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to