From: SourceForge.net <no...@so...> - 2003-06-05 15:08:21
|
Bugs item #749586, was opened at 2003-06-05 17:08 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=376685&aid=749586&group_id=22866 Category: Clustering Group: v3.2 Status: Open Resolution: None Priority: 5 Submitted By: Martin Renner (martinrenner) Assigned to: Nobody/Anonymous (nobody) Summary: jnp.discoveryPort is not evaluated correctly Initial Comment: Hi. The following code sequence is leading to a CommunicationException with JBoss 3.2.1 (although JBoss is listening on port 12345): Properties env = new Properties(); env.put("jnp.discoveryPort", "12345"); Context ctx = new InitialContext(env); ctx.lookup("something"); The cause for this exception is in the file org.jnp.interfaces.NamingContext in the method "discoverServer()": In line 1003, the value of "jnp.discoveryPort" is assigned to the local variable "group". It should be "port". A workaround is to specify env.put("jnp.discoveryPort", "230.0.0.4:12345"); In this case, the value of the port is assigned correctly to the local variable "port". ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=376685&aid=749586&group_id=22866 |