Bug 1129847

Summary: Accessing a terminal shell from the admin console error raises an exception 2 out of 3 times
Product: [JBoss] JBoss Fuse Service Works 6 Reporter: Len DiMaggio <ldimaggi>
Component: ConfigurationAssignee: Julian Coleman <jcoleman>
Status: NEW --- QA Contact: Matej Melko <mmelko>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.1.0CC: soa-p-jira
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Len DiMaggio 2014-08-13 19:17:05 UTC
Description of problem:

The exception is:



http://localhost:8181/hawtio/index.html#/gogo?view=services&hideUnused=true

14:06:55,287 | INFO  | pool-8-thread-2  | ServerSession                    | 30 - org.apache.sshd.core - 0.9.0 | Session created from /127.0.0.1:47641
14:06:55,288 | INFO  | pool-8-thread-2  | Nio2Session                      | 30 - org.apache.sshd.core - 0.9.0 | Exception handler threw exception, closing the session
java.lang.IllegalStateException: No session available
	at org.apache.sshd.common.AbstractSessionIoHandler.exceptionCaught(AbstractSessionIoHandler.java:49)[30:org.apache.sshd.core:0.9.0]
	at org.apache.sshd.common.io.nio2.Nio2Session.exceptionCaught(Nio2Session.java:130)[30:org.apache.sshd.core:0.9.0]
	at org.apache.sshd.common.io.nio2.Nio2Session.access$100(Nio2Session.java:48)[30:org.apache.sshd.core:0.9.0]
	at org.apache.sshd.common.io.nio2.Nio2Session$1.failed(Nio2Session.java:150)[30:org.apache.sshd.core:0.9.0]
	at sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:128)[:1.7.0_55]
	at sun.nio.ch.Invoker.invokeDirect(Invoker.java:157)[:1.7.0_55]
	at sun.nio.ch.UnixAsynchronousSocketChannelImpl.implWrite(UnixAsynchronousSocketChannelImpl.java:736)[:1.7.0_55]
	at sun.nio.ch.AsynchronousSocketChannelImpl.write(AsynchronousSocketChannelImpl.java:381)[:1.7.0_55]
	at sun.nio.ch.AsynchronousSocketChannelImpl.write(AsynchronousSocketChannelImpl.java:398)[:1.7.0_55]
	at java.nio.channels.AsynchronousSocketChannel.write(AsynchronousSocketChannel.java:560)[:1.7.0_55]
	at org.apache.sshd.common.io.nio2.Nio2Session.startWriting(Nio2Session.java:143)[30:org.apache.sshd.core:0.9.0]
	at org.apache.sshd.common.io.nio2.Nio2Session.write(Nio2Session.java:119)[30:org.apache.sshd.core:0.9.0]
	at org.apache.sshd.common.session.AbstractSession.writePacket(AbstractSession.java:372)[30:org.apache.sshd.core:0.9.0]
	at org.apache.sshd.server.session.ServerSession.writePacket(ServerSession.java:129)[30:org.apache.sshd.core:0.9.0]
	at org.apache.sshd.common.session.AbstractSession.sendKexInit(AbstractSession.java:711)[30:org.apache.sshd.core:0.9.0]
	at org.apache.sshd.server.session.ServerSession.sendKexInit(ServerSession.java:352)[30:org.apache.sshd.core:0.9.0]
	at org.apache.sshd.server.session.ServerSession.<init>(ServerSession.java:91)[30:org.apache.sshd.core:0.9.0]
	at org.apache.sshd.server.session.SessionFactory.doCreateSession(SessionFactory.java:43)[30:org.apache.sshd.core:0.9.0]
	at org.apache.sshd.common.session.AbstractSessionFactory.createSession(AbstractSessionFactory.java:38)[30:org.apache.sshd.core:0.9.0]
	at org.apache.sshd.common.AbstractSessionIoHandler.sessionCreated(AbstractSessionIoHandler.java:36)[30:org.apache.sshd.core:0.9.0]
	at org.apache.sshd.common.io.nio2.Nio2Acceptor$AcceptCompletionHandler.completed(Nio2Acceptor.java:137)[30:org.apache.sshd.core:0.9.0]
	at org.apache.sshd.common.io.nio2.Nio2Acceptor$AcceptCompletionHandler.completed(Nio2Acceptor.java:118)[30:org.apache.sshd.core:0.9.0]
	at sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:126)[:1.7.0_55]
	at sun.nio.ch.Invoker$2.run(Invoker.java:218)[:1.7.0_55]
	at sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)[:1.7.0_55]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)[:1.7.0_55]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)[:1.7.0_55]
	at java.lang.Thread.run(Thread.java:744)[:1.7.0_55]
Caused by: java.io.IOException: Broken pipe
	at sun.nio.ch.FileDispatcherImpl.write0(Native Method)[:1.7.0_55]
	at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:47)[:1.7.0_55]
	at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:93)[:1.7.0_55]
	at sun.nio.ch.IOUtil.write(IOUtil.java:65)[:1.7.0_55]
	at sun.nio.ch.UnixAsynchronousSocketChannelImpl.implWrite(UnixAsynchronousSocketChannelImpl.java:691)[:1.7.0_55]
	... 21 more
14:06:57,020 | INFO  | 0.redhat-379/etc | fileinstall                      | 7 - org.apache.felix.fileinstall - 3.3.11.redhat-610379 | Updated /jboss/local/SOA_servers/FSW61/DR1/jboss-fuse-6.1.0.redhat-379/etc/org.apache.karaf.shell.cfg
14:06:57,022 | INFO  | 0.redhat-379/etc | fileinstall                      | 7 - org.apache.felix.fileinstall - 3.3.11.redhat-610379 | Updated /jboss/local/SOA_servers/FSW61/DR1/jboss-fuse-6.1.0.redhat-379/etc/org.apache.karaf.management.cfg

It's possible to retry this and connect to the terminal shell.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info: