• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Question about: javax.naming.NameNotFoundException: FooBean/remote

 
Thomas Chang
Ranch Hand
Posts: 65
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I create an ejb3 running on Jboss according to (http://javahowto.blogspot.com/2007/11/simple-ejb-3-on-jboss-application.html)

First I start the Jboss AS locally on my PC and I run the Client also successful.

Later I deployed the ejb-jar to a remote Jboss AS on a LINUX machine. And I can find the jndi in the JNDIView of jmx-console as follow.



This means the deployment is successful.

Though I've changed the IP in the jndi.properties, I got exception as I start the Client.



What could be the problem?

The jndi.properties looks as follow:
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What version of JBoss AS are you using? That tutorial is a really old one and things have changed greatly since 5.0.0.Beta2! Here is the latest tutorial: http://docs.jboss.org/ejb3/docs/tutorial/1.0.7/html/index.html
 
Thomas Chang
Ranch Hand
Posts: 65
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Peter Johnson wrote:What version of JBoss AS are you using? That tutorial is a really old one and things have changed greatly since 5.0.0.Beta2! Here is the latest tutorial: http://docs.jboss.org/ejb3/docs/tutorial/1.0.7/html/index.html


Many thanks.

I solved the problem. It was the problem of firewall, i.e. the firewall block the communication between the two machines.


But I am still looking for example for testing the clustering of Web Application. The example in your book is about testing or playing clustering with EJB.
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic