When I try to run a client on Solaris, it gives me an error
ERROR! Shared library ioser12 could not be found.
The Client Code is:
import java.util.*;
import java.rmi.*;
import javax.naming.*;
import sales.*;
import javax.ejb.*;
import javax.rmi.*;
import org.omg.CORBA.*;
public class SalesChannelClient{
public static void main(
String args[]){
//Hashtable env=new Hashtable();
try {
Properties env = new Properties();
System.out.println("1");
env.put(javax.naming.Context.PROVIDER_URL,"iiop://192.9.44.28");
System.out.println("2");
env.put(javax.naming.Context.INITIAL_CONTEXT_FACTORY,"com.ibm.ejs.ns.jndi.CNInitialContextFactory");
System.out.println("3");
javax.naming.InitialContext ctx = new javax.naming.InitialContext(env);
System.out.println("4");
java.lang.Object obj = ctx.lookup("SalesChannel");
System.out.println("5");
sales.SalesChannelHome home = (sales.SalesChannelHome)PortableRemoteObject.narrow((org.omg.CORBA.Object)obj,sales.SalesChannelHome.class);
System.out.println("6");
sales.SalesChannel rem = home.create("0","1");
System.out.println("7");
}
catch(Exception e){
//System.out.println(e);
e.printStackTrace();
}
}
}
Can anyone help please!!!
Thanks and Regards