Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Java Open Source > Apache Tomcat
Apache Tomcat General discussion of the Apache Tomcat servlet container. For discussions specific to the Professional Apache Tomcat book, please see the book discussion forum for that book.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Apache Tomcat section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old February 9th, 2009, 01:00 AM
Registered User
Join Date: Feb 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default JNDIRealm[Catalina]: Exception performing authentication javax.naming.ServiceUnavaila


We are using Tomcat5 along with Weblogic8.1. In our application
when user login by using there LDAP user id/pwd sometime they
are getting error message like Invalid UserID/PWD even though they
enter correct user/pwd. and when they again try to login they wll be able to login to the application. Following are the error that we are getting :

JNDIRealm[Catalina]: lookupUser(ravindra.paliwal)
JNDIRealm[Catalina]: dn=uid=ravindra.paliwal,ou=Equant ,ou=People,o=globalone.net
JNDIRealm[Catalina]: validating credentials by binding as the user
JNDIRealm[Catalina]: binding as uid=ravindra.paliwal,ou=Equant ,ou=People,o=globalone.net
JNDIRealm[Catalina]: Exception performing authentication
javax.naming.ServiceUnavailableException: cod.dc.iad.equant.com:389; socket closed; remaining name ''
at com.sun.jndi.ldap.Connection.readReply(Connection. java:410)
at com.sun.jndi.ldap.LdapClient.ldapBind(LdapClient.j ava:340)
at com.sun.jndi.ldap.LdapClient.authenticate(LdapClie nt.java:193)
at com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:264 0)
at com.sun.jndi.ldap.LdapCtx.ensureOpen(LdapCtx.java: 2549)
at com.sun.jndi.ldap.LdapCtx.ensureOpen(LdapCtx.java: 2523)
at com.sun.jndi.ldap.LdapCtx.doSearch(LdapCtx.java:19 04)
at com.sun.jndi.ldap.LdapCtx.doSearchOnce(LdapCtx.jav a:1896)
at com.sun.jndi.ldap.LdapCtx.c_getAttributes(LdapCtx. java:1289)
at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_get Attributes(

JNDIRealm[Catalina]: Closing directory context

Can someone help us in find the solution for this problem.
Thanks in advance.


Similar Threads
Thread Thread Starter Forum Replies Last Post
Exception in thread "main" javax.xml.transform.Tra XSLTUser XSLT 1 December 29th, 2007 04:59 AM
javax.servlet.ServletException: Exception creating frozen84 Servlets 9 January 29th, 2007 09:13 AM
Naming Exception in Tomcat5.x enjay Apache Tomcat 3 August 12th, 2005 05:55 AM
Local Interface (javax.naming.NameNotFoundExcepti) d_chandra78 J2EE 0 January 27th, 2005 02:56 AM
tomcat JNDIRealm authentication not working umeshk Apache Tomcat 0 April 7th, 2004 06:56 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.