aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes Cannot Access EJB server thru client... plz help Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Cannot Access EJB server thru client... plz help" Watch "Cannot Access EJB server thru client... plz help" New topic
Author

Cannot Access EJB server thru client... plz help

krsna Lee
Greenhorn

Joined: Feb 20, 2006
Posts: 3
Hello..

I cud deploy a simple session less bean.. it runs fine.. But i got stuck accessing the Bean from client..I use java app server.. i have all the requiste files in classpath.. the only problem it gives is connectionException.. connection refused... i entered netstat -a to see the port no where iiop is running.. i dont see any iiop running.. cud any one plz resolve this.. is naming.provider.url=iiop://localhost:1091 is this string correct..


java -Djava.naming.factory.initial=com.sun.jndi.rmi.registry.RegistryContextFactory -Djava.naming.provider.url=iiop://localhost:1091 hello.HellC
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Cannot Access EJB server thru client... plz help