!!! Connection refused !!!
Hi Friends !
I 've written code for a simple stateless session bean . And trying to access the bean in the Servlet Client....as
Object obj=Naming.lookup("ejb/com/nucleus/classic/mypack/CustomerHome");
cdhome=(CustomerHome)PortableRemoteObject.narrow(obj,CustomerHome.class);
cdremote=cdhome.create();
cdremote.getName();
but I'm unable to get the reference of the Home interface........
After executing the lookup() , it throwing an exception......
java.net.ConnectionException : connection refused.
I'm trying to run it on Websphere5.0 in IBM websphere IDE 5.1
1) Server is running.
2)port is also correct.. (http://locahost:9080/.........)
what might be the reason.............?

