This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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




 
jQuery in Action, 2nd edition
 
subject: EJBREMOTEJBOSS
 
Similar Threads
EJB Standalone Client Remote Lookup Problem
Using a Configuration Setting
Getting remote EJB when asking for local
logout event
@EJB REMOTE