users@glassfish.java.net

Non-clustered GlassFish 2.1.1 PRLB - StackOverflowError in

From: <forums_at_java.net>
Date: Fri, 17 Jun 2011 05:44:31 -0500 (CDT)

 Hi,

we are using *GlassFish 2.1.1 in cluster* mode and enabled*
request-per-load-balancing*. Our client app is rolled out via Java Web
Start. All works fine as long as the EAR is deployed on a clustered
GlassFish. Our development environment consists of a single GlassFish
instance which is set to development profile. Deployment is fine, interaction
within server processes is fine.. however if we try to start our *web start
client* from the *developer GlassFish instance* we always get the following
exception:

17.06.2011 11:30:37 com.sun.appserv.naming.RoundRobinPolicy
setClusterInstanceInfo

INFO: endpoint.weight after checking isWeight = 10

17.06.2011 11:30:37 com.sun.appserv.naming.RoundRobinPolicy
setClusterInstanceInfo

INFO: endpoint.weight after checking isWeight = 10

17.06.2011 11:30:37 com.sun.appserv.naming.RoundRobinPolicy
setClusterInstanceInfo

INFO: sumOfAllWeights = 20

17.06.2011 11:30:37 com.sun.appserv.naming.S1ASCtxFactory getCorbalocURL

INFO: list[i] ==>xxx019576.bxxx-.group:3700

17.06.2011 11:30:37 com.sun.appserv.naming.S1ASCtxFactory getCorbalocURL

INFO: corbaloc url ==> iiop:1.2_at_xxx019576.bxxx-.group:3700

17.06.2011 11:30:38 com.sun.appserv.naming.S1ASCtxFactory getCorbalocURL

INFO: list[i] ==> xxx.xx.53.103:3700

17.06.2011 11:30:38 com.sun.appserv.naming.S1ASCtxFactory getCorbalocURL

INFO: list[i] ==> fe80:0

17.06.2011 11:30:38 com.sun.appserv.naming.S1ASCtxFactory getCorbalocURL

INFO: corbaloc url ==> iiop:1.2_at_xxx.xx.53.103:3700,iiop:1.2_at_fe80:0

*java.lang.StackOverflowError*

at java.util.AbstractList.listIterator(Unknown Source)

at java.util.AbstractSequentialList.iterator(Unknown Source)

at
com.sun.corba.ee.impl.transport.CorbaContactInfoListIteratorImpl.hasNext(CorbaContactInfoListIteratorImpl.java:198)

at
com.sun.corba.ee.impl.transport.CorbaContactInfoListIteratorImpl.hasNext(CorbaContactInfoListIteratorImpl.java:201)

at
com.sun.corba.ee.impl.transport.CorbaContactInfoListIteratorImpl.hasNext(CorbaContactInfoListIteratorImpl.java:201)

        ...

Sure PRLB in a single instance is quite useless but we develop in this
environment and want PRLB enabled in a clustered GlassFish. Any idea how we
can circumvent it?

Thx.

Dirk

 

 

 

 


--
[Message sent by forum member 'dmanske']
View Post: http://forums.java.net/node/813086