Bugs item #633223, was opened at 2002-11-04 11:58
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=633223&group_id=22866

Category: JBossServer
Group: CVS HEAD
Status: Open
Resolution: None
Priority: 5
Submitted By: Benjamin Schmid (bschmid2)
Assigned to: Nobody/Anonymous (nobody)
Summary: Port ignored on Context.PROVIDER_URL

Initial Comment:
NamingContext.lookup failed back to default port without 
any notification when I used a provider url with trailing 
spaces (by accident).

Below the result of my inserted log message:
java.lang.NumberFormatException: 29099 
at java.lang.Integer.parseInt(Unknown Source)
at java.lang.Integer.parseInt(Unknown Source)
at org.jnp.interfaces.NamingContext.checkRef
(NamingContext.java:906)
at org.jnp.interfaces.NamingContext.lookup
(NamingContext.java:366)
at org.jnp.interfaces.NamingContext.lookup
(NamingContext.java:359)
at javax.naming.InitialContext.lookup
(InitialContext.java:350)

A trim() on the URL or at least a warning on using 
fallback values would solve this problem.

Cheers!


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

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


-------------------------------------------------------
This SF.net email is sponsored by: ApacheCon, November 18-21 in
Las Vegas (supported by COMDEX), the only Apache event to be
fully supported by the ASF. http://www.apachecon.com
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to