Skip to Content
0
Former Member
Mar 03, 2004 at 01:11 PM

Corba and EJB

166 Views

Hi,

My goal is to connect via CORBA to an EJB.

Like described in Web AS 6.3 CORBA and EJB there were ome issues in WAS630 Sneak so I wanted to test it again.

Now there is the Deploy IIOP Suport button 😊

But now even the way from a java client doesn't work.

When i try to resolve my Namecomponent

NameComponent[] nComps = {new NameComponent ("kundenVerwaltungEJBSF", "")};

ejbHome = initCtx.resolve(nComps);

I catch an CannotProceed Exception. I have not found any hint what maybe could be the cause. So i searched in the Log files of the WAS.

And ther is some entry in the defaultTrace.trc.0:

#1.5#0030050CF9B20091000000C8000007380003D4A6C5327611#1078237668212#com.sap.engine.services.iiop.server.CorbaServiceFrame##com.sap.engine.services.iiop.server.CorbaServiceFrame#Administrator#85#####SAPEngine_Application_Thread[impl:3]_38##0#0#Warning##Plain###Cannot load tie class for com.sap.engine.services.jndi.implserver._ServerContextImpl_Tie.

java.lang.ClassNotFoundException: com.sap.engine.services.jndi.implserver._ServerContextImpl_Tie

at com.sap.engine.services.iiop.server.IIOPProvider.loadObject(IIOPProvider.java:195)

at com.sap.engine.services.iiop.server.IIOPProvider.exportObject(IIOPProvider.java:98)

at com.sap.engine.services.cross.PortableRemoteObjectContainer.exportObject(PortableRemoteObjectContainer.java:44)

at com.sap.engine.system.PortableRemoteObjectProxy.exportObject(PortableRemoteObjectProxy.java:12)

at javax.rmi.PortableRemoteObject.exportObject(PortableRemoteObject.java:84)

at javax.rmi.PortableRemoteObject.<init>(PortableRemoteObject.java:68)

at com.sap.engine.services.jndi.implserver.AbstractServerContextImpl.<init>(AbstractServerContextImpl.java:30)

at com.sap.engine.services.jndi.implserver.ServerContextImpl.<init>(ServerContextImpl.java:131)

at com.sap.engine.services.jndi.pool.ServerContextImplPool.getObject(ServerContextImplPool.java:80)

at com.sap.engine.services.jndi.implserver.ServerContextImpl.lookup(ServerContextImpl.java:593)

at com.sap.engine.services.jndi.implclient.ClientContext.lookup(ClientContext.java:326)

at com.sap.engine.services.jndi.implclient.ClientContext.lookup(ClientContext.java:558)

at com.sap.engine.services.ejb.util.AdminJNDIUtils.createSubcontext(AdminJNDIUtils.java:63)

.

.

.

There are much more lines to go.

Its quite long, but as i can see there is no class of mine involved so I think thats a Problem in the WAS itself.

Is this a known Problem?

Is there a workaround?

Will there be a patch for the Sneak Preview?

Anyway the new Developer studio works great, and EJB Creation is really well thought out.

Regards

Christian