geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Trygve Hardersen" <try...@hardersen.net>
Subject Re: remote ejb scalability issue
Date Wed, 16 Apr 2008 22:30:01 GMT
I checked out the 2.1.1 branch that is using openejb 3.0, but I'm
still getting the error. It seems less frequent though, but it's still
bad. The stack trace is different, but the root cause is the same:

org.apache.openejb.client.StickToLastServerConnectionFactoryStrategy connect
WARNING: Cannot connect to server(s): localhost:4201 Exception:
java.io.IOException: Cannot connect to server:
'ejbd://localhost:4201'.  Exception: java.net.BindException : Address
already in use: connect
	at org.apache.openejb.client.SocketConnectionFactory$SocketConnection.open(SocketConnectionFactory.java:58)
	at org.apache.openejb.client.SocketConnectionFactory.getConnection(SocketConnectionFactory.java:35)
	at org.apache.openejb.client.ConnectionManager.getConnection(ConnectionManager.java:43)
	at org.apache.openejb.client.StickToLastServerConnectionFactoryStrategy.connect(StickToLastServerConnectionFactoryStrategy.java:70)
	at org.apache.openejb.client.StickToLastServerConnectionFactoryStrategy.connect(StickToLastServerConnectionFactoryStrategy.java:47)
	at org.apache.openejb.client.ServerMetaData.connect(ServerMetaData.java:57)
	at org.apache.openejb.client.Client.processRequest(Client.java:58)
	at org.apache.openejb.client.Client.request(Client.java:42)
	at org.apache.openejb.client.JNDIContext.request(JNDIContext.java:87)
	at org.apache.openejb.client.JNDIContext.lookup(JNDIContext.java:234)
	at javax.naming.InitialContext.lookup(Unknown Source)
	at BankClientScalabilityTest$BankClientTest.call(BankClientScalabilityTest.java:86)
	at BankClientScalabilityTest$BankClientTest.call(BankClientScalabilityTest.java:1)
	at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
	at java.util.concurrent.FutureTask.run(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)
javax.naming.NamingException: Cannot lookup
'/BankManagerFacadeBeanRemote'. [Root exception is
java.rmi.RemoteException: Cannot connect to any servers: Server #0:
ejbd://localhost:4201]
	at org.apache.openejb.client.JNDIContext.lookup(JNDIContext.java:240)
	at javax.naming.InitialContext.lookup(Unknown Source)
	at BankClientScalabilityTest$BankClientTest.call(BankClientScalabilityTest.java:86)
	at BankClientScalabilityTest$BankClientTest.call(BankClientScalabilityTest.java:1)
	at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
	at java.util.concurrent.FutureTask.run(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)
Caused by: java.rmi.RemoteException: Cannot connect to any servers:
Server #0: ejbd://localhost:4201
	at org.apache.openejb.client.StickToLastServerConnectionFactoryStrategy.connect(StickToLastServerConnectionFactoryStrategy.java:66)
	at org.apache.openejb.client.ServerMetaData.connect(ServerMetaData.java:57)
	at org.apache.openejb.client.Client.processRequest(Client.java:58)
	at org.apache.openejb.client.Client.request(Client.java:42)
	at org.apache.openejb.client.JNDIContext.request(JNDIContext.java:87)
	at org.apache.openejb.client.JNDIContext.lookup(JNDIContext.java:234)

Trygve

On 16/04/2008, Trygve Hardersen <trygve@hardersen.net> wrote:
> Thanks, I'll take it for a spin....
>
>
>  Trygve
>
>
>  On 16/04/2008, Manu George <manu.t.george@gmail.com> wrote:
>  > Hi,
>  >       AFAIK this should be solved in G 2.1.1 which uses the recently
>  >  released openejb 3.0.
>  >
>  >  Regards
>  >
>  > Manu
>

Mime
View raw message