Logo 
Search:

Java Answers

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds
  Question Asked By: Willie Howell   on Oct 06 In Java Category.

  
Question Answered By: Cesara Fernandez   on Oct 06

I think you should have another property in your JNDI props such as:

prop.setProperty("java.naming.provider.url","192.168.1.2:3700");

from your statcktrace it seems that you are still trying to connect to localhost whereas you set to connect to 192.68.1.2 (or may be 192.168.1.2) .

Share: 

 

This Question has 2 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on swing application with ejb3 framework Or get search suggestion and latest updates.


Tagged: