Hello

I am using the form based authentication example provided in the
examples sub directory of the JBoss-Tomcat installation.

The authentication works correctly in tomcat alone but with JBoss I get
the following error 
(stack trace below points to 
org.jboss.tomcat.security.JBossSecurityMgrRealm.authenticate
doing something wrong. I cant even find this file under the src
subfolder):


[EmbeddedTomcatSX] Error during authenticate
[EmbeddedTomcatSX] javax.naming.NameNotFoundException: env not bound
[EmbeddedTomcatSX]      at 
org.jnp.server.NamingServer.getBinding(NamingServer.java:473)
[EmbeddedTomcatSX]      at 
org.jnp.server.NamingServer.getBinding(NamingServer.java:481)
[EmbeddedTomcatSX]      at org.jnp.server.NamingServer.getObject(NamingServer.java:487)
[EmbeddedTomcatSX]      at org.jnp.server.NamingServer.lookup(NamingServer.java:253)
[EmbeddedTomcatSX]      at 
org.jnp.interfaces.NamingContext.lookup(NamingContext.java:349)
[EmbeddedTomcatSX]      at 
org.jnp.interfaces.NamingContext.lookup(NamingContext.java:457)
[EmbeddedTomcatSX]      at 
org.jnp.interfaces.NamingContext.lookup(NamingContext.java:333)
[EmbeddedTomcatSX]      at javax.naming.InitialContext.lookup(Unknown Source)
[EmbeddedTomcatSX]      at 
org.jboss.tomcat.security.JBossSecurityMgrRealm.authenticate(JBossSecurit
yMgrRealm.java:102)
[EmbeddedTomcatSX]      at 
org.apache.tomcat.core.ContextManager.doAuthenticate(ContextManager.java:
837)
[EmbeddedTomcatSX]      at 
org.apache.tomcat.core.RequestImpl.getRemoteUser(RequestImpl.java:341)

Daljeet Singh 
ecExperts India 
Ph:- (O) +91-11-4670906
(R) +91-11-7125680 
ICQ:- 75129600
Yahoo:- daljeetsinghmaken 

_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to