Glassfish上EJB远程调用问题(不同JVM上的远程调用)

09-09-07 windgoogle

一个ear,一servlet访问同一ear中ejbA,ejbA远程调用另一机器上的ejbB

报以下异常:

[2009-09-07 15:30:57] [WARNING] [javax.enterprise.system.stream.err] [

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.receive_request(SecServerRequestInterceptor.java:586)

at com.sun.corba.ee.impl.interceptors.InterceptorInvoker.invokeServerInterceptorIntermediatePoint(InterceptorInvoker.java:627)

at com.sun.corba.ee.impl.interceptors.PIHandlerImpl.invokeServerPIIntermediatePoint(PIHandlerImpl.java:530)

at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.getServantWithPI(CorbaServerRequestDispatcherImpl.java:406)

at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispatch(

(以下略去 xx字,要不发不了贴)

什么原因呢,好像是安全的原因,但是怎么解决呢????????

]

banq
2009-09-07 21:29
跨JVM调用有安全设置要求,不过JBoss服务器都缺省设置了。

猜你喜欢