• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Tomcat7-manager configuration issue

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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!



 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic