[
https://issues.jboss.org/browse/GTNMGMT-33?page=com.atlassian.jira.plugin...
]
Marek Posolda commented on GTNMGMT-33:
--------------------------------------
I fixed the issue with NPE in PortalLoginModule. During CLI login, HttpServletRequest is
not available in PolicyContext, which is causing NPE. Before I did not never test login
scenario with CLI, my bad :-(
The second issue with "BouncyCastle must be registered as a JCE provider" is
something different, which I am also seeing to happen only on signed jars on CR01 with Sun
JVM.
Some points - during startup of unsigned EPP build from latest EPP 5.2 branch, I am seeing
this in server log:
08:16:39,960 INFO [SecurityUtils] Trying to register BouncyCastle as a JCE provider
08:16:40,948 INFO [SecurityUtils] Registration succeeded
During startup of signed EPP 5.2 CR1 on Sun JVM, I am seeing this:
INFO [SecurityUtils] Trying to register BouncyCastle as a JCE provider
INFO [SecurityUtils] BouncyCastle not found, using default JCE provider
which is later causing the exception mentioned in description of this JIRA.
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: Marek Posolda
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