hello ,

i will be really grateful if someone can help me on this. 

i have my realm configuration in server.xml, every thing is fine i can
login. but when i try to login the next morning it gives error 

SEVERE: Exception performing authentication
javax.naming.NoInitialContextException: Need to specify class name in
environment or system property, or as an applet parameter, or in an
application resource file: java.naming.factory.initial at
javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:645)

first i thought the cause of error is "JNDIRealm fails when server
disconnects after time". Then I looked at the jndirealm code from apache
there i found out "on connection close it reconnects". 

i am very puzzled by this situation, it finds the ldap initial context
first time,but not second time.



---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to