Bug 1129847 - Accessing a terminal shell from the admin console error raises an exception 2 out of 3 times
Summary: Accessing a terminal shell from the admin console error raises an exception 2...
Keywords:
Status: NEW
Alias: None
Product: JBoss Fuse Service Works 6
Classification: JBoss
Component: Configuration
Version: 6.1.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: ---
Assignee: Julian Coleman
QA Contact: Matej Melko
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-08-13 19:17 UTC by Len DiMaggio
Modified: 2015-11-02 08:09 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug


Attachments (Terms of Use)

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:


Note You need to log in before you can comment on or make changes to this bug.