jetspeed2.2 cluster login is error(session is null)
---------------------------------------------------
Key: JS2-1051
URL: https://issues.apache.org/jira/browse/JS2-1051
Project: Jetspeed 2
Issue Type: Bug
Components: Other
Affects Versions: 2.2.0
Environment: OS:windows xp
database:oracle92
server:tomcat6(jetspeed-installer-minimal-2.2.0.jar self)
http:Apache2.2
Reporter: hongkunan
I follow jetspeed2.2
config(link:http://portals.apache.org/jetspeed-2/deployguide/config-cluster.html)
but,when i try login by cluster (username:admin,password:admin)
the first server display : LoginProxyServlet.java print username is
admin,password is admin
and the session value is not null
the second server display:
jetspeed\WEB-INF\templates\login\html\login.jsp
<input type='hidden' name='j_username' value='NULL'/>
<input type='hidden' name='j_password' value='NULL'/>
Apache config :
worker.controller.sticky_session=false
why session is null??
the error message:
2009-7-31 14:42:13 org.apache.catalina.realm.JAASRealm authenticate
Warn: Login exception authenticating username "null"
javax.security.auth.login.LoginException: The user null does not exist.
at
org.apache.jetspeed.security.impl.DefaultLoginModule.login(DefaultLoginModule.java:258)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at javax.security.auth.login.LoginContext.invoke(LoginContext.java:769)
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:363)
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:128)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.ha.session.JvmRouteBinderValve.invoke(JvmRouteBinderValve.java:209)
at
org.apache.catalina.ha.tcp.ReplicationValve.invoke(ReplicationValve.java:347)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:767)
at
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:697)
at
org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:889)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)
at java.lang.Thread.run(Thread.java:595)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]