• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

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

 
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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:
 
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
I promise I will be the best, most loyal friend ever! All for this tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic