Hi List,
I am testing tomcat 4.1.28 under omvs.
servlets/jsp are running fine, but we have problems:
(1) with the admin application: can log in, but requesting user/group/roles/user
database info
gives nothing besides error messages ("The server encountered an internal error (Error
retrieving attribute users) that prevented it from fulfilling this request")
(2) with the manager application: lets me fill in and send login request - and nothing
more, what
I get then is a blank white screen in the browser and following Exception in the
catalina-log:
"
2003-11-10 12:51:45 CoyoteAdapter An exception or error occurred in the container
during the request processing
java.lang.ArrayIndexOutOfBoundsException
at org.apache.catalina.util.Base64.decode(Base64.java:288)
at
org.apache.catalina.authenticator.BasicAuthenticator.parseUsername(BasicAuthenticator.java:201)
at
org.apache.catalina.authenticator.BasicAuthenticator.authenticate(BasicAuthenticator.java:159)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:528)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2416)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:193)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:780)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:549)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:578)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:666)
at java.lang.Thread.run(Thread.java:512)
"
The manager-log says:
"
Authenticator[/manager]: Security checking request GET /manager/html
Authenticator[/manager]: Subject to constraint SecurityConstraint[HTMLManager and
Manager]
Authenticator[/manager]: Calling checkUserData()
Authenticator[/manager]: Calling authenticate()
Authenticator[/manager]: Failed authenticate() test
Authenticator[/manager]: Security checking request GET /manager/html
Authenticator[/manager]: Subject to constraint SecurityConstraint[HTMLManager and
Manager]
Authenticator[/manager]: Calling checkUserData()
Authenticator[/manager]: Calling authenticate()
"
It seems that authentication runs fine - because I can enter the admin appl, and the
roles admin and manager are defined in the same file (tomcat-users.xml). I have no
idea what the problem is.
But may be the admin- and the manager-problems are inter-dependent - admin cannot
show me user/group/role-information, and this is supposedly connected somehow to the
manager-appl-problem ... I don't know
[[
Another "very silly" question (i always wanted to ask and never dared :-)))
from a mainframe "addict":
the directory structure of tomcat has under ../server/webapps/admin a whole
sub-structure
with a lot of different files. Under ../server/webapps/admin I only find three images
and
one single web.xml-file. How does the manager appl work at all??
]]
Anna Fuhrmann
Systemprogrammierung Mainframe
MA 14-ADV * Magistrat der Stadt Wien
+43 1 4000 91639
mailto:[EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]