You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Jin Bal <ji...@hotmail.com> on 2002/03/08 11:22:33 UTC

Re: running two instances of resin

Looks like they're both trying to bind to port 80 Resin won't allow that
----- Original Message -----
From: "Egger Oliver" <ol...@ecofin.ch>
To: "Struts Users Mailing List" <st...@jakarta.apache.org>
Sent: Friday, March 08, 2002 10:17 AM
Subject: running two instances of resin


> hello,
>
> testing with cactus-ant.jar v1.2
>
> I have to use two instances of resin for developing a webservice
> application. I can run each sepearte instance from within ant seperatly,
> but when I use them together an expection is thrown. Did anybody have
> the same problem and yes, did he find a solution for that problem?
>
> Thanks for any help
> Oliver
>
> (tomcat -> resin no problem)
> (resin -> tomcat no porblem)
> (nothing -> resin no problem)
> (resin -> nothing not porblem)
> (resin -> resin fails ...)
>
> start_resin_20:
>      [java] Resin 2.0.4 (built Thu Nov 15 17:56:24 PST 2001)
>      [java] Copyright(c) 1998-2001 Caucho Technology.  All rights
reserved.
>      [java]
>      [java] Starting Resin on Fri, 08 Mar 2002 11:06:24 +0100 (CET)
>      [java] http listening to *:8081
>      [java] srun listening to 127.0.0.1:6802
>      [java] [2002-03-08 11:06:25.215] initializing application /axis
>      [java] [2002-03-08 11:06:25.245] initializing application /
>
> start_resin_20:
>      [java] Resin 2.0.4 (built Thu Nov 15 17:56:24 PST 2001)
>      [java] Copyright(c) 1998-2001 Caucho Technology.  All rights
reserved.
>      [java]
>      [java] Starting Resin on Fri, 08 Mar 2002 11:07:43 +0100 (CET)
>      [java] http listening to *:80
>      [java] srun listening to 127.0.0.1:6812
>      [java] [2002-03-08 11:07:51.078] initializing application
/quoteclient
>      [java] [2002-03-08 11:08:18.528] initializing application /
>      [java] java.net.BindException: Address in use: JVM_Bind
>      [java]     at java.net.PlainSocketImpl.socketBind(Native Method)
>      [java]     at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:405)
>      [java]     at java.net.ServerSocket.<init>(ServerSocket.java:170)
>      [java]     at java.net.ServerSocket.<init>(ServerSocket.java:82)
>      [java]     at
>
org.apache.cactus.ant.AbstractServerRun.setUpListenerSocket(AbstractServerRu
> n.java:250)
>      [java]     at
> org.apache.cactus.ant.AbstractServerRun.run(AbstractServerRun.java:205)
>      [java]     at java.lang.Thread.run(Thread.java:484)
>      [java] java.lang.RuntimeException: Error setting up the server
listener
> socket
>      [java]     at
>
org.apache.cactus.ant.AbstractServerRun.setUpListenerSocket(AbstractServerRu
> n.java:253)
>      [java]     at
> org.apache.cactus.ant.AbstractServerRun.run(AbstractServerRun.java:205)
>      [java]     at java.lang.Thread.run(Thread.java:484)
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>
>
>

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>