Bugs item #1067836, was opened at 2004-11-16 22:09
Message generated for change (Settings changed) made by starksm
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=1067836&group_id=22866

>Category: JBossServer
Group: v4.0
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: shuchan (shuchan)
>Assigned to: Scott M Stark (starksm)
Summary: HA-JNDI auto-discovery failed with java.lang.IllegalArgument

Initial Comment:
With the clustered environment using JBoss 4.0.0/4.0.
1RC1, the HA-JNDI auto-discovery runs into "java.lang.
IllegalArgumentException: hostname can't be null". 

A workaround is to configure 'jnp.localAddress' property 
before generating an InitialContext object.

A possible fix is to apply a patch in the attachment.

Environments :

[OS] Windows XP Pro SP1
[JDK] Sun J2SDK 1.4.2_06
[Exception stack traces]
Stack traces in the client side are in the attached 
file(trace-patch.txt). server.log has no special exception.

[Steps to reproduce the bug]
Run codes like this on a remote jvm :

java.util.Hashtable props = new Hashtable();
props.put(Context.INITIAL_CONTEXT_FACTORY,
         "org.jnp.interfaces.NamingContextFactory");
props.put(Context.URL_PKG_PREFIXES,
         "org.jboss.naming:org.jnp.interfaces");
javax.naming.Context ctx = new javax.naming.
InitialContext(props);
Object obj = ctx.lookup("Counter");



----------------------------------------------------------------------

>Comment By: Scott M Stark (starksm)
Date: 2004-11-19 19:29

Message:
Logged In: YES 
user_id=175228

This has been fixed for 4.0.1

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=1067836&group_id=22866


-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to