This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
i'm trying to look up a helloworld test statemess session bean from a remote jboss server when i telnet to port 1099 on the jboss server i can connect but when i try to lookup the jndi namen in my client with :
Context context = new InitialContext(); HelloWorld helloWorld = (HelloWorld)context.lookup("java:comp/env/ejb/HelloWorld");
when i use a non-existing host it give another exception saying it can't get a connection to any of the given urls (as they are non-existing), just did this to make sure java uses the correct jndi.properties an it finds my remote server [ August 23, 2005: Message edited by: pj malfait ]
Joined: Aug 23, 2005
it works now apparently port 1098 was blocked by the jboss server and needed for rmi, the admin fixed it for me [ August 23, 2005: Message edited by: pj malfait ]