users@glassfish.java.net

Re: JNDI Lookup from domain2 in domain1

From: <forums_at_java.net>
Date: Mon, 6 Jun 2011 08:07:13 -0500 (CDT)

Hi,

thank you both for the replies, but I wasn't able to get it working.

In the standard installation of domain1, which I try to access, there are
already IIOP Listeners installed, these are:

orb-listener-1: Network adress=0.0.0.0, port= 7037

and two SSL Listeners: Network adress=0.0.0.0, port= 7038 and 7039 resp. with
security enabled.

So why do I need to configure/deploy more?

@cf126330

I am using for the lookup:

corbaname:iiop:localhost:7037#global/earApp/ejbApp/MyService!de.mycompany.service.MyServiceRemote
This is what I understood from the FAQ.

But still getting:

org.omg.CORBA.NO_PERMISSION: ----------BEGIN server-side stack
trace----------org.omg.CORBA.NO_PERMISSION: vmcid: 0x0 minor code: 0
completed: No at
com.sun.enterprise.iiop.security.SecServerRequestInterceptor.handle_null_service_context(SecServerRequestInterceptor.java:421)
at
com.sun.enterprise.iiop.security.SecServerRequestInterceptor.receive_request(SecServerRequestInterceptor.java:443)
at
com.sun.corba.ee.impl.interceptors.InterceptorInvoker.invokeServerInterceptorIntermediatePoint(InterceptorInvoker.java:612)
at
com.sun.corba.ee.impl.interceptors.PIHandlerImpl.invokeServerPIIntermediatePoint(PIHandlerImpl.java:612)
at
com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.getServantWithPI(CorbaServerRequestDispatcherImpl.java:333)
at
com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispatch(CorbaServerRequestDispatcherImpl.java:196)
at
com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequestRequest(CorbaMessageMediatorImpl.java:1624)
at
com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:1486)
at
com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleInput(CorbaMessageMediatorImpl.java:990)
at
com.sun.corba.ee.impl.protocol.giopmsgheaders.RequestMessage_1_2.callback(RequestMessage_1_2.java:214)
at
com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:742)
at
com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.dispatch(CorbaMessageMediatorImpl.java:539)
at
com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.doWork(CorbaMessageMediatorImpl.java:2324)
at
com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.performWork(ThreadPoolImpl.java:497)
at
com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:540)
----------END server-side stack trace---------- vmcid: 0x0 minor code: 0
completed: No
What am I doing wrong? Can anyone help? Thanks!

Regards


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