Hallo!
Wenn ich meine Client-Anwendung local ausführe (auf gleichem Rechner wo auch JBoss läuft) ist es alles OK.
Wenn ich das vom Remote-Rechner versuche gibt es Fehlermeldung:
javax.naming.CommunicationException: Could not obtain connection to any of these urls: Rational:1099 and discovery failed with error: javax.naming.CommunicationException: Receive timed out .....
Rational ist ja Name von Rechner mit JBoss.
Code-Ausschitt von Client-Aplication:
Properties p = new Properties();
p.put("java.naming.factory.initial", "org.jnp.interfaces.NamingContextFactory");
p.put("java.naming.factory.url.pkgs", "=org.jboss.namingrg.jnp.interfaces");
p.put("java.naming.provider.url", "jnp://Rational:1099");
Ich habe auch mit IP versucht, funktioniert nicht.
Benutze Jboss-4.2.1.GA, EJB3 und MyEclipse5.5. Auf Remote Rechner - nur MyEclipse.
Wo lieg mein Fehler? Hat jemand eine Idee?
Danke in voraus.
isch
Wenn ich meine Client-Anwendung local ausführe (auf gleichem Rechner wo auch JBoss läuft) ist es alles OK.
Wenn ich das vom Remote-Rechner versuche gibt es Fehlermeldung:
javax.naming.CommunicationException: Could not obtain connection to any of these urls: Rational:1099 and discovery failed with error: javax.naming.CommunicationException: Receive timed out .....
Rational ist ja Name von Rechner mit JBoss.
Code-Ausschitt von Client-Aplication:
Properties p = new Properties();
p.put("java.naming.factory.initial", "org.jnp.interfaces.NamingContextFactory");
p.put("java.naming.factory.url.pkgs", "=org.jboss.namingrg.jnp.interfaces");
p.put("java.naming.provider.url", "jnp://Rational:1099");
Ich habe auch mit IP versucht, funktioniert nicht.
Benutze Jboss-4.2.1.GA, EJB3 und MyEclipse5.5. Auf Remote Rechner - nur MyEclipse.
Wo lieg mein Fehler? Hat jemand eine Idee?
Danke in voraus.
isch
Comment