[jboss-user] Howto config tomcat 5.5.17 to lookup Jboss 4.0.4's ejb on another machine?

Him vivalama at yahoo.com
Tue Aug 22 05:28:58 EDT 2006


I tried Jbuilder2006, jboss và apache run on 1 pc, and run web site by  Jbuilder. Only add some lines is enough before lookup Jboss ejb:
  
   System.setProperty("java.naming.factory.url.pkgs",
                         "org.jboss.namingrg.jnp.interfaces");
      System.setProperty("java.naming.factory.initial",
                         "org.jnp.interfaces.NamingContextFactory");
      System.setProperty("java.naming.provider.url", 10.0.92.6:1099);
  
  But when i want JBoss server run on pc - ip: 10.0.92.6.
  Jbuilder create war file then i'll deploy that file in Apache tomcat 5.5.17  run on pc - ip: 10.0.92.116
  
  But with the same code,my servlet have error:  cannot lookup ejb.
  
  Anybody can help me?
  
 __________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20060822/858cc96f/attachment.html 


More information about the jboss-user mailing list