Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Glassfish V3 lookup exception
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  6 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Rentius Engelbrecht  
View profile  
 More options Feb 6 2012, 2:25 pm
From: Rentius Engelbrecht <rentius2...@gmail.com>
Date: Mon, 6 Feb 2012 21:25:37 +0200
Local: Mon, Feb 6 2012 2:25 pm
Subject: Glassfish V3 lookup exception

Hi Everyone

We've separated our war from the ejb. They are on different servers and
deployed on glassfish V3.1 build 43.
When we try to do an remote lookup to the ejb from the war we get the
following error:

javax.naming.CommunicationException: Communication exception for
SerialContext[myEnv={org.omg.CORBA.ORBInitialPort=49254,
java.naming.factory.initial=com.sun.enterprise.naming.SerialInitContextFact ory,
org.omg.CORBA.ORBInitialHost=10.0.0.***,
java.naming.factory.state=com.sun.corba.ee.impl.presentation.rmi.JNDIStateF actoryImpl,
java.naming.factory.url.pkgs=com.sun.enterprise.naming} [Root exception is
java.lang.SecurityException: Credential list size is not 1.]

                at
com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:542)

                at
com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:455)

                at
javax.naming.InitialContext.lookup(InitialContext.java:392)

                at
javax.naming.InitialContext.lookup(InitialContext.java:392)

                at
za.co.kineto.utils.FacadeLookup.lookupSystemFascadeRemote(FacadeLookup.java :241)

                at
za.co.kineto.aam.util.StanleyGeneratorUtil.generate(StanleyGeneratorUtil.ja va:17)

                at
za.co.kineto.aam.quartz.DebitOrderJob.execute(DebitOrderJob.java:77)

                at org.quartz.core.JobRunShell.run(JobRunShell.java:199)

                at
org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:54 6)

Caused by: java.lang.SecurityException: Credential list size is not 1.

                at
com.sun.enterprise.iiop.security.SecClientRequestInterceptor.getCred(SecCli entRequestInterceptor.java:145)

                at
com.sun.enterprise.iiop.security.SecClientRequestInterceptor.send_request(S ecClientRequestInterceptor.java:321)

Anybody got an idea what might cause the error? Played around with the IIOP
listener setting and been searching on the internet but got nothing.

We have multiple apps connecting(lookup) to the ejb's.

Kind regards

Rentius


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Carl Woermann  
View profile  
 More options Feb 7 2012, 2:26 am
From: Carl Woermann <carlwoerm...@gmail.com>
Date: Tue, 7 Feb 2012 09:26:09 +0200
Local: Tues, Feb 7 2012 2:26 am
Subject: Re: [CTJUG Forum] Glassfish V3 lookup exception

Just a guess -

Maybe check whether the versions of java are the same (vendor and version)
on both boxes - it could be a case of one jvm attempting to make a secure
connection to another version - most newer linux distros ship with java
versions other than sun/ oracle, and for some reason the security stuffs
seems to fail.  ( in our case its rmi, not corba nd our webstart rmi calls
only work with the sun/ oracle version).

good luck
Carl

On Mon, Feb 6, 2012 at 9:25 PM, Rentius Engelbrecht
<rentius2...@gmail.com>wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Rentius Engelbrecht  
View profile  
 More options Feb 7 2012, 3:03 am
From: Rentius Engelbrecht <rentius2...@gmail.com>
Date: Tue, 7 Feb 2012 10:03:00 +0200
Subject: Re: [CTJUG Forum] Glassfish V3 lookup exception

Hi Carl, thank you for the response.

I've checked and they run on the same version of Windows 2008 R2 Version
6.1 Build 7600 and java 1.6.0_26-b03.
The windows and java is 64bit and they are hosted on vmware virtual
machines.

I'm not sure what may be causing the issue. On Glassfish V2 it
worked flawlessly.

Kind regards
Rentius

On Tue, Feb 7, 2012 at 9:26 AM, Carl Woermann <carlwoerm...@gmail.com>wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Carl Woermann  
View profile  
 More options Feb 7 2012, 3:52 am
From: Carl Woermann <carlwoerm...@gmail.com>
Date: Tue, 7 Feb 2012 10:52:17 +0200
Local: Tues, Feb 7 2012 3:52 am
Subject: Re: [CTJUG Forum] Glassfish V3 lookup exception

Ok -- i have no experience with windows... but I wonder if you should check
how your war deployment knows where to find the server it is connecting to.
I hav'nt done any ejb dev in years so I'm lost as to the current state of
deployment options...

On Tue, Feb 7, 2012 at 10:03 AM, Rentius Engelbrecht
<rentius2...@gmail.com>wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Bruce Stewart  
View profile  
 More options Feb 8 2012, 4:56 am
From: Bruce Stewart <bandi.stew...@gmail.com>
Date: Wed, 8 Feb 2012 11:56:01 +0200
Local: Wed, Feb 8 2012 4:56 am
Subject: Re: [CTJUG Forum] Glassfish V3 lookup exception

The root cause appears to be a security issue. What sort of security
settings are you using?

Did you find this in your googling?
http://www.java.net/forum/topic/glassfish/glassfish/remote-ejb-call-p...


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Rentius Engelbrecht  
View profile  
 More options Feb 8 2012, 5:10 am
From: Rentius Engelbrecht <rentius2...@gmail.com>
Date: Wed, 8 Feb 2012 12:10:50 +0200
Local: Wed, Feb 8 2012 5:10 am
Subject: Re: [CTJUG Forum] Glassfish V3 lookup exception

Hi Bruce
Thanks.
Yes, got the link when I googled for the issue.
Trying to setup it the same way, but not 100% sure how to setup security
correctly for the lookups and on glassfish V3.

Also getting the following error while trying to sort out the credential
list error. This exception actually happens on startup before the
credential list size exception.
*
javax.enterprise.resource.corba.org.glassfish.enterprise.iiop.impl|_ThreadI D=100;_ThreadName=Thread-1;|enterprise_util.excep_in_createorb
*
*java.lang.IllegalStateException: Invalid iiop-listener orb-listener-1.
Lazy-init not supported for SSL iiop-listeners*

The top exception is a known issue:
http://docs.oracle.com/cd/E18930_01/html/821-2434/ggrvi.html#gkwxs

When we follow the workaround we get the credential list size not 1
security exception

Regards
Rentius

On Wed, Feb 8, 2012 at 11:56 AM, Bruce Stewart <bandi.stew...@gmail.com>wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »