DO NOT REPLY [Bug 19864] - JNDIRealm NullPointerException / CommunicationException when Context Closed

2003-12-31 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19864

JNDIRealm NullPointerException / CommunicationException when Context Closed

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|RESOLVED|CLOSED

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 19864] - JNDIRealm NullPointerException / CommunicationException when Context Closed

2003-08-04 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19864

JNDIRealm NullPointerException / CommunicationException when Context Closed

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED



--- Additional Comments From [EMAIL PROTECTED]  2003-08-05 00:59 ---
Patched in HEAD of 4.1. Please test and so I may port to 5.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 19864] - JNDIRealm NullPointerException / CommunicationException when Context Closed

2003-08-04 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19864

JNDIRealm NullPointerException / CommunicationException when Context Closed





--- Additional Comments From [EMAIL PROTECTED]  2003-08-04 23:59 ---
If it is:
if (e.toString().indexOf("closed") < 0)
throw(e);

That should take care of the problem of the error being "Connection closed" as 
well.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 19864] - JNDIRealm NullPointerException / CommunicationException when Context Closed

2003-06-20 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19864

JNDIRealm NullPointerException / CommunicationException when Context Closed





--- Additional Comments From [EMAIL PROTECTED]  2003-06-20 11:23 ---
When I encouter these problems the e.getMessage() returns "simple bind failed: 
10.1.1.3:389", while e.toString() 
returns "javax.naming.CommunicationException: simple bind failed: 
10.1.1.3:389.  Root exception is java.net.SocketException: Socket closed".

I replaced e.getMessage() with e.toString(), and now it works as expected and 
attemptes a second login:

if (e.toString().indexOf("Socket closed") < 0)
throw(e);

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]