JBoss Community

Problem running ejb3 tutorial examples

reply from jaikiran pai in EJB 3.0 - View the full discussion

Daniel Cullender wrote:

 

I found it odd that he had an incomplete url specified in the properties file "java.naming.provider.url=localhost" which may be causing the exception (unless it defaults to port 1099?).

Hi Daniel,

 

Yes, it does default to 1099 :) However, I didn't mean to sideline your answer (infact, I didn't even notice that the URL wasn't containing the port)

 

but like I said the problem still remains and I'm not able to find  anywhere a URL could be missing...

 

Are there any other config files that I  could have overseen?

Eivind, I still suspect that it might have something to do with your machine hostname. From the command prompt, please run the following command and post the output here:

 

hostname

Reply to this message by going to Community

Start a new discussion in EJB 3.0 at Community