I have an EJB Enterprise application that was previously running under
BES 5.2 / Visibroker and which I am porting to JBoss 3.0.6 with tomcat
4.1.18.
I already ported some EJB and that seems to go OK. 

This application also uses some stand-alone Java servers. 
Some of these servers are implemented by extending
javax.rmi.PortableRemoteObject.

With Visibroker I had to define the javax.rmi.CORBA.StubClass and
javax.rmi.CORBA.UtilClass as respectively
com.inprise.vbroker.rmi.CORBA.StubImpl and
com.inprise.vbroker.rmi.CORBA.UtilImpl

Now of course the values of these properties can't be right (as they are
Visibroker specifc).

When I remove them the javax.rmi.PortableRemoteObject.exportObject
method thows a StubNotFoundException when my implementation of the
javax.rmi.PortableRemoteObject gets instantiated. The construction
invokes the sun.rmi.server. getStub method itself invoked by the
sun.rmi.server.UnicastServerRef..setSkeleton method which is called
during the construction of the javax.rmi.PortableRemoteObject.

Has anyone any idea what the differences are that I have to account for
in order to successfully implement a remote Server (which is implemented
as an extension of a PortableRemoteObject) and what properties (or
whatever other stuff) has to be defined.

Once the Server is instantiated it will bind itself using the
InitialContext. (created with the properties
java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces).

The idea is to have stand-alone java client look this server up and use
it and that this server can attach and use EJB (Session) Beans deployed
in the JBoss server.

Thanks for any suggestion.

Percy Christian

[EMAIL PROTECTED]


-------------------------------------------------------
This SF.net email is sponsored by: ValueWeb: 
Dedicated Hosting for just $79/mo with 500 GB of bandwidth! 
No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to