This week's book giveaway is in the OCAJP forum.
We're giving away four copies of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) and have Khalid A Mughal & Rolf W Rasmussen on-line!
See this thread for details.
Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

EJBREMOTEJBOSS

 
Dura Hurtado
Ranch Hand
Posts: 120
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi , I have an app working fine in a Jboss server, I have done it in a remote way just for testing, but now I want testing if my app which works in a JBoss server, could connect with another EJB working in another JBoss server in the same machine.

The error I get is:

Caused by: java.lang.Exception: Port 8083 already in use.

DEPLOYMENTS IN ERROR:
Deployment "vfsfile:/C:/jboss/jboss5/server/default/conf/jboss-service.xml" is in error due to the following reason(s): java.net.BindException: Address already in use: JVM_Bind


I am connecting from my server (client) this way :

Properties properties = new Properties();

properties.put("java.naming.factory.initial",
"org.jnp.interfaces.NamingContextFactory");
properties.put("java.naming.factory.url.pkgs",
"=org.jboss.namingrg.jnp.interfaces");

properties.put("java.naming.provider.url", "localhost:1010");

┬┐Could anybody tell me what way could I do it works?

Thanks




 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic