Jan Kowalik wrote:
2009/5/9 David Encinas <[email protected]>:
I am having the same problem. Check calatalina.out in the logs file, you may
have some thing like in my case:
Well, you are right I have following exception in my catalina.out file :
This is most likely caused by an incorrect configuration of the Realm element in the Tomcat context file for Jetspeed, and specifically the
useContextClassLoader attribute.
The difficulty is that the right configuration depends on the version of Tomcat.
With Tomcat version <= 5.5.23 this attribute requires value "true":
useContextClassLoader="true"
With Tomcat veresion >= 5.5.27 (and >= 6.0.18) you need to configure value
"false":
useContextClassLoader="false"
Note, I "excluded" Tomcat version 5.5.24/25/26 in the above, don't use them.
They are either broken or too buggy to rely upon.
HTH,
Ate
=========================================================
org.apache.catalina.realm.JAASRealm authenticate
WARNING: Login exception authenticating username "admin"
javax.security.auth.login.LoginException: unable to find LoginModule
class: org.apache.jetspeed.security.impl.DefaultLoginModule
at javax.security.auth.login.LoginContext.invoke(LoginContext.java:808)
at
javax.security.auth.login.LoginContext.access$000(LoginContext.java:186)
at javax.security.auth.login.LoginContext$4.run(LoginContext.java:683)
at java.security.AccessController.doPrivileged(Native Method)
at
javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680)
at javax.security.auth.login.LoginContext.login(LoginContext.java:579)
at org.apache.catalina.realm.JAASRealm.authenticate(JAASRealm.java:366)
at
org.apache.catalina.authenticator.FormAuthenticator.authenticate(FormAuthenticator.java:258)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:417)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:875)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
at java.lang.Thread.run(Thread.java:595)
=========================================================
but do any one know how can I fix it ??
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]