jboss doesn't use the IIOP wire protocol so calls to
javax.rmi.PortableRemoteObject.narrow are not (technically) needed.
However, as you've found, EJB clients written for other containers (or
to be run against any container) do need the javax.rmi stuff. 

jboss doesn't currently contain any of the javax.rmi classes. I resolved
this as you indicate, by including a jar from j2ee (I may have used a
jar from another j2ee server, but the effect is the same)

danch

Carlos Garc�a Jurado S. wrote:
> 
> Hello,
> 
> I am trying to run a client application using jboss but I have some missing
> classes problem. My question is, do I have to include j2ee.jar from
> j2sdkee1.2? if not, where, in jboss's jars is the javax.rmi package located.
> 
> I have seen in the archives that the only files I have to put in the clients
> classpath are jboss-client.jar, jnpclient.jar and jnpserver.jar. However, if
> I just do that I get NoClassDefFoundExceptions.
> 
> Please help me as neither in the documentacion nor in the faq area
> explanations on how to run client apps.
> 
> I am using jboss 2.0
> 
> Carlos Garcia Jurado
> ________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
> 
> --
> --------------------------------------------------------------
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> Problems?:           [EMAIL PROTECTED]


--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to