Guys,

I created a session stateless
bean(Hello.class,HelloHome.class,HelloBean.class), packaged these three into
.jar File and Deployed into the Weblogic 5.1 server with the JNDI Name
"MyHell".
DEPLOYMENT SUCCESSFUL....

In the file HelloClient.java I refer to this JNDI Name ("MyHell") and invoke
a method on the remote Bean. This is the code for Client file.

           try{
           System.out.println( "Started :" );
           Context ctx = new InitialContext();
           System.out.println( "Obtained Initial Context :" );
           Object objref = ctx.lookup("MyHell");
           System.out.println( "Obtained Lookup :" );
           HelloHome home = (HelloHome)
javax.rmi.PortableRemoteObject.narrow(objref,HelloHome.class);
           Hello hello = home.create();
           String s = hello.Hello();
           System.out.println(s);
           } catch ( Exception ex ) { }


When I try to run the file, it gives me output as

started
ERROR! Shared Library ioser12 could not be found.

Can someone help me please in this. Its very urgent. What am I doing wrong
here?? Thanks in advance.

Srinivas.

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to