[gatein-issues] [JBoss JIRA] (GTNMGMT-33) CLI not accessible - IllegalStateException: No session available
Boleslaw Dawidowicz (Commented) (JIRA)
jira-events at lists.jboss.org
Thu Nov 24 15:17:40 EST 2011
[ https://issues.jboss.org/browse/GTNMGMT-33?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12645497#comment-12645497 ]
Boleslaw Dawidowicz commented on GTNMGMT-33:
--------------------------------------------
1) This error is actually related to OpenJDK. Matt confirmed that it goes away with Sun JVM. However it will give NPE like this:
ERROR [PortalLoginModule] org.exoplatform.web.security.PortalLoginModule at e3eed0f
java.lang.NullPointerException
at org.exoplatform.web.security.PortalLoginModule.login(PortalLoginModule.java:96)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
This is reproducable in gatein trunk and EPP_5_2_Branch
2) I managed to fix it in EPP_5_2_0_CR01 tag by doing 3 reverts:
svn merge -r 8077:8076 https://svn.jboss.org/repos/gatein/epp/portal/branches/EPP_5_2_Branch
svn merge -r 8071:8070 https://svn.jboss.org/repos/gatein/epp/portal/branches/EPP_5_2_Branch
svn merge -r 8070:8069 https://svn.jboss.org/repos/gatein/epp/portal/branches/EPP_5_2_Branch
Those refer to commits from 15th Nov
source.jboss.org/changelog/GateIn/epp/portal/branches/EPP_5_2_Branch
- JBEPP-1361 introduced JBossClusteredSSOValveFilter for easier integration of JBoss SSO valve
- JBEPP-729 - Problem with credentials in HTTP session
- JBEPP-1361 Cleaner approach with using valve instead of filter
I probably reverted too much though...
Marek will let you to figure out what is the right stuff to revert to fix this.
> CLI not accessible - IllegalStateException: No session available
> ----------------------------------------------------------------
>
> Key: GTNMGMT-33
> URL: https://issues.jboss.org/browse/GTNMGMT-33
> Project: GateIn Management
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: cli
> Affects Versions: 1.0.0-GA
> Environment: EPP-5.2.0.CR1
> Reporter: Tomas Kyjovsky
> Assignee: Nick Scavelli
> Priority: Critical
> Attachments: no-session-available.txt
>
>
> ssh -P 2000 root@<host>
> 12:59:39,960 WARN [DefaultIoFilterChain] Unexpected exception from exceptionCaught handler.
> java.lang.IllegalStateException: No session available
> at org.apache.sshd.common.AbstractSessionIoHandler.exceptionCaught(AbstractSessionIoHandler.java:52)
> ...
> Caused by: java.lang.IllegalStateException: BouncyCastle must be registered as a JCE provider
> at org.crsh.ssh.term.URLKeyPairProvider.loadKeys(URLKeyPairProvider.java:52)
> ...
> 12:59:39,968 WARN [DefaultIoFilterChain] Unexpected exception from exceptionCaught handler.
> java.lang.IllegalStateException: No session available
> at org.apache.sshd.common.AbstractSessionIoHandler.exceptionCaught(AbstractSessionIoHandler.java:52)
> ...
> Caused by: java.lang.IllegalStateException: No session available
> at org.apache.sshd.common.session.AbstractSession.getSession(AbstractSession.java:170)
> ...
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the gatein-issues
mailing list