Salut !

Which version of JBOss are you using ?
migrating from 2.2 to 3.0 I get into similar trouble,
with the classpath (seems that jar in ext lib are no longuer
part of the ejb class path)
I solved it using a 'service' file containing :

<server>
<classpath codebase="file:/home/classlib/" 
archives="myidl.jar,jacorb.jar,xerces.jar,castor.jar,ejb.jar,ejb2.0.jar,jaas.jar,jbosssx.jar"/>
</server>

thanks to an advice of a mysterious and fabulous (*)member of the team

but I'm using jacorb 1.3.3  and not sun orb

jc

(*) which I do not remember the name (Thanks again to him !)

> > It seems that orb.string_to_object() cannot find the IIOP
> > stub it needs to
> > generate a CORBA object reference. It attempts to extract a
> > codebase from
> > your IOR, but there is no codebase component in the IOR:
> >
> >     ------IOR components-----
> >     TypeId  :       IDL:eLila/LilaFactory:1.0
> >     TAG_INTERNET_IOP Profiles:
> >             Profile Id   :          IIOP Version :  1.0
> >             Host    :       maui.idt.cdc.fr
> >             Port    :       6789
> >             Object key (URL):      lila
> >             Object key (hex):    0x6C 69 6C 61
> >
> > Try to include in your EJB jar the class files for all IIOP
> > stubs needed
> > by your application.
>
> what are the names of these "codebase" classes ?
> what is their purpose ?
>
> why does this works as an application, but not as an EJB
> with a "should-be-the same" classpath?
>
> I've included all that is generated by the idlj compiler
> in the ejb jar, in particular:
>
> eLila/gridHelper.class
> eLila/gridHolder.class
> eLila/LilaFactory.class
> eLila/LilaFactoryHelper.class
> eLila/LilaFactoryHolder.class
> eLila/LilaFactoryOperations.class
> eLila/LilaObject.class
> eLila/LilaObjectHelper.class
> eLila/LilaObjectHolder.class
> eLila/LilaObjectOperations.class
> eLila/lineHelper.class
> eLila/lineHolder.class
> eLila/_LilaFactoryImplBase.class
> eLila/_LilaFactoryStub.class
> eLila/_LilaObjectImplBase.class
> eLila/_LilaObjectStub.class
>
> what may have been forgotten ?
>
> thanks in advance.

Salut !





_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to