Hi Toby ,
Thanks for your feedback.
I am using RedHat 6.1 .
Run the client in the jbuilder with the following code :
Properties props = new Properties();
props.put(Context.INITIAL_CONTEXT_FACTORY,
"org.jnp.interfaces.NamingContextFactory");
props.put(Context.PROVIDER_URL, "localhost:1099");
InitialContext ctx = new InitialContext(props);
TatHome bh = (TatHome)PortableRemoteObject.narrow(
ctx.lookup("TatEJB"),TatHome.class);
TatSessionHome sh = (TatSessionHome)PortableRemoteObject.narrow(
ctx.lookup("TatSession"),TatSessionHome.class);
TatSession ts = sh.create(); <--here is ok , i am using narrow
method in the bean(intra-bean)
TatJB tatjb = ts.getTatJB("2"); <-- here , it give my the error
message.
System.out.println(tatjb.getId());
System.out.println(tatjb.getName());
Classpath ? Do you mean the classpath in the JBuilder ? Thanks
Toby Allsopp wrote:
>
> On Thu, Mar 01, 2001 at 10:12:52AM +0800, Ricky wrote:
> >
> > Hi all , I am using Linux6.1 and jboss-FINAL.
>
> Grrr. I assume you mean Redhat 6.1.
>
> > [TatSession] TRANSACTION ROLLBACK EXCEPTION:null; nested exception is:
> > java.lang.ExceptionInInitializerError
> > [TatSession] java.lang.ExceptionInInitializerError:
> > java.lang.RuntimeException: Unable to load
> > javax.rmi.PortableRemoteObject implementation
> > com.inprise.vbroker.rmi.CORBA.PortableRemoteObjectImpl
>
> VisiBroker? Check your classpath.
>
> Toby.
>
> --
> --------------------------------------------------------------
> To subscribe: [EMAIL PROTECTED]
> To unsubscribe: [EMAIL PROTECTED]
> List Help?: [EMAIL PROTECTED]
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
List Help?: [EMAIL PROTECTED]