GeeCON Prague 2014*
The moose likes EJB and other Java EE Technologies and the fly likes EJBREMOTEJBOSS Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "EJBREMOTEJBOSS" Watch "EJBREMOTEJBOSS" New topic
Author

EJBREMOTEJBOSS

Dura Hurtado
Ranch Hand

Joined: Feb 16, 2011
Posts: 120
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




 
GeeCON Prague 2014
 
subject: EJBREMOTEJBOSS