Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Cannot Access EJB server thru client... plz help

 
krsna Lee
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic