aspose file tools
The moose likes Tomcat and the fly likes Tomcat7-manager configuration issue Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA Java SE 8 Programmer I Study Guide 1Z0-808 this week in the OCAJP forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat7-manager configuration issue" Watch "Tomcat7-manager configuration issue" New topic
Author

Tomcat7-manager configuration issue

alessandro bresolin
Greenhorn

Joined: Jun 07, 2012
Posts: 3
Hi,
i am trying to configure Tomcat7(v. 7.0.29) manager to authenticate users using Windows active directory but after putting the username and the password i have the following exception:



HTTP Status 500 - 0 >= 0

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

type Exception report

message 0 >= 0

description The server encountered an internal error (0 >= 0) that prevented it from fulfilling this request.

exception

java.lang.ArrayIndexOutOfBoundsException: 0 >= 0
java.util.Vector.elementAt(Vector.java:427)
javax.naming.NameImpl.get(NameImpl.java:534)
javax.naming.CompositeName.get(CompositeName.java:364)
org.apache.catalina.realm.JNDIRealm.getDistinguishedName(JNDIRealm.java:2372)
org.apache.catalina.realm.JNDIRealm.getRoles(JNDIRealm.java:1801)
org.apache.catalina.realm.JNDIRealm.authenticate(JNDIRealm.java:1189)
org.apache.catalina.realm.JNDIRealm.authenticate(JNDIRealm.java:1070)
org.apache.catalina.authenticator.BasicAuthenticator.authenticate(BasicAuthenticator.java:158)
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:544)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1001)
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:585)
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
java.lang.Thread.run(Thread.java:619)

note The full stack trace of the root cause is available in the Apache Tomcat/7.0.29 logs.




I am using the same jndi realm settings that are working in our old tomcat6 server.
Could you please help me to solve this issue?

Thanks!



 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Tomcat7-manager configuration issue