Skip to Content
avatar image
Former Member

Corba and EJB

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

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

4 Answers

  • Mar 03, 2004 at 01:34 PM

    > Now there is the Deploy IIOP Suport button 😊

    Where did you find this? I got to follow what and how you do it. The error doesn't tell me anything.

    > 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.

    This may be. But differently then for sneak preview I, now we have a real implementation of iiop stuff, as there is now a large application using it.

    > Is this a known Problem?

    Not to me.

    > Is there a workaround?

    dito

    > Will there be a patch for the Sneak Preview?

    Definitely not. We will have a new sneak preview in the future, but no patches or else.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      > > Now there is the Deploy IIOP Suport button 😊

      >

      > Where did you find this? I got to follow what and how

      > you do it. The error doesn't tell me anything.

      Like described in the other thread and in the help of WAS 630. The Button is in the Visual Administrator:

      You have to start the IIOP Provider service for the server and for the dispatcher. And then you go to your EJB application

      Server -> Services -> EJB Container

      then you choose your Application, not the Bean itself. There is the button.

      After that you should be able to use the Client which is posted in the other thread to lookup the Bean via CosNaming/CORBA and that is RMI over IIOP.

      >

      > > 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.

      > This may be. But differently then for sneak preview

      > I, now we have a real implementation of iiop stuff,

      > as there is now a large application using it.

      I just can't get it why he can't find some classes which must be in the WAS itself.

      Regards,

      Christian

  • avatar image
    Former Member
    Mar 04, 2004 at 11:00 AM

    Hello Christian, forget about this ClassNotFoundException - it's just a warning

    Is there any stacktrace of the CanotProceed exception ?

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Mar 04, 2004 at 11:02 AM

    Hello Christian, forget about this ClassNotFoundException - it's just a warning

    Is there any stacktrace of the CanotProceed exception ?

    Regards Nikolai

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Mar 10, 2004 at 08:02 AM

    Hi Christian,

    At the moment we're overrun with a couple of "finish by yesterday" tasks. As soon as some of the team is free we'll get to your issue.

    Best regards

    Nikolai

    Add comment
    10|10000 characters needed characters exceeded