Hi Achim,
it's not a Decanter issue but a Karaf instance warning.
Let me explain.
Decanter JMX collector retrieves all MBeans in the MBean server and get
all attributes on the MBeans.
Especially, it gets the Karaf InstanceMBean, and it gets the "instances"
attribute (returning a tabular data of all Karaf instances, including
the root instance).
When we call "instances" attribute (even using jconsole or any JMX
client), the InstanceMBean connects using ssh on the instances to get
their current status (started or not).
So, the warning you are seeing is actually the log when the Decanter JMX
collector call the "instances" attribute on the InstanceMBean.
To avoid this, you can:
- if you don't care about this MBean, you can exclude the InstanceMBean
object name in the Decanter JMX collector configuration
- just turn OFF (or use WARN) for the logger (in
etc/org.ops4j.pax.logging.cfg, you just add
log4j.logger.org.apache.sshd.core=WARN)
Regards
JB
On 08/02/2016 10:51 AM, Achim Finke wrote:
Are there any updates on this? I have the same issue on Windows running
Decanter 1.1.0 on Karaf 4.0.5.
I did run the following statements
feature repo:add decanter 1.1.0
feature:install decanter-collector-jmx
I already tryed to change the url from local to service:jmx:rmi... but
the warning still occurs.
Thanks
2016-02-23 22:21 GMT+01:00 Leschke, Scott <[email protected]
<mailto:[email protected]>>:
This is running on my Windows XP laptop in sort of a test mode. I am
running 4.0.4 though. This issue didn’t exist until I installed
Decanter for whatever reason. I guess I could just uninstall
everything that came with Decanter and see if the problem goes
away. I’ll hold off on that for a bit and see if anybody else has
thoughts.____
__ __
Thanks____
__ __
*From:*Morgan [mailto:[email protected]
<mailto:[email protected]>]
*Sent:* Tuesday, February 23, 2016 3:16 PM
*To:* [email protected] <mailto:[email protected]>
*Subject:* Re: Decanter dashboard?____
__ __
Scott,
I just tested on a fresh Karaf 4.0.4 and I'm not having any errors.
i.e.:
2016-02-23 22:12:15,816 | INFO | 1]-nio2-thread-9 |
ServerSession | 1 - org.apache.sshd.core - 0.14.0
| Server session created from /127.0.0.1:59006 <http://127.0.0.1:59006>
2016-02-23 22:12:20,955 | INFO | 1]-nio2-thread-1 |
ServerSession | 1 - org.apache.sshd.core - 0.14.0
| Server session created from /127.0.0.1:59007 <http://127.0.0.1:59007>
- Maybe a firewall blocking it or something?
- I'm on linux, you're maybe on another OS?
I'm not experienced enough with sshd, if the 2 above are not a
problem or the same as me. We will need to wait for someone else :)
Regards,
Morgan____
On 2016-02-23 21:57, Leschke, Scott wrote:____
Sure,____
____
From the installation page linked from downloads, for the 4.x
container version, with a slight mod to get the 1.0.1 version____
____
feature:repo-add decanter 1.0.1____
feature:install elasticsearch____
feature:install kibana____
feature:install decanter-appender-elasticsearch____
feature:install decanter-collector-log____
feature:install decanter-collector-jmx____
____
____
*From:*Morgan [mailto:[email protected]]
*Sent:* Tuesday, February 23, 2016 2:54 PM
*To:* [email protected] <mailto:[email protected]>
*Subject:* Re: Decanter dashboard?____
____
Scott,
Can you tell us what features you exactly installed? (or
commands you executed)
Since "Decanter / ElasticSearch / Kibana" is a little vague..
Regards,
Morgan____
On 2016-02-23 19:20, Leschke, Scott wrote:____
OK, that seems to have resolved my issue with the exception
that the Operating System pane seems to be just spinning
it’s wheels. I’m guessing I’m missing a collector?____
____
Also, since I’ve installed Decanter / ElasticSearch /
Kibana, I’m seeing a bunch of these pairs in in my log,
occurring about every 8 sec. Thoughts on this?____
____
2016-02-23 12:16:31,471 | INFO | e]-nio2-thread-4 |
ServerSession | 1 - org.apache.sshd.core
- 0.14.0 | Server session created from /127.0.0.1:59368
<http://127.0.0.1:59368>____
2016-02-23 12:16:31,473 | WARN | e]-nio2-thread-4 |
ServerSession | 1 - org.apache.sshd.core
- 0.14.0 | Exception caught____
java.io.IOException: An established connection was aborted
by the software in your host machine____
at
sun.nio.ch.WindowsAsynchronousSocketChannelImpl.read0(Native
Method)[:1.8.0_71]____
at
sun.nio.ch.WindowsAsynchronousSocketChannelImpl.access$700(Unknown
Source)[:1.8.0_71]____
at
sun.nio.ch.WindowsAsynchronousSocketChannelImpl$ReadTask.run(Unknown
Source)[:1.8.0_71]____
at
sun.nio.ch.WindowsAsynchronousSocketChannelImpl.implRead(Unknown
Source)[:1.8.0_71]____
at
sun.nio.ch.AsynchronousSocketChannelImpl.read(Unknown
Source)[:1.8.0_71]____
at
sun.nio.ch.AsynchronousSocketChannelImpl.read(Unknown
Source)[:1.8.0_71]____
at
java.nio.channels.AsynchronousSocketChannel.read(Unknown
Source)[:1.8.0_71]____
at
org.apache.sshd.common.io.nio2.Nio2Session.startReading(Nio2Session.java:170)[1:org.apache.sshd.core:0.14.0]____
at
org.apache.sshd.common.io.nio2.Nio2Acceptor$AcceptCompletionHandler.onCompleted(Nio2Acceptor.java:135)[1:org.apache.sshd.core:0.14.0]____
at
org.apache.sshd.common.io.nio2.Nio2Acceptor$AcceptCompletionHandler.onCompleted(Nio2Acceptor.java:120)[1:org.apache.sshd.core:0.14.0]____
at
org.apache.sshd.common.io.nio2.Nio2CompletionHandler$1.run(Nio2CompletionHandler.java:32)____
at
java.security.AccessController.doPrivileged(Native
Method)[:1.8.0_71]____
at
org.apache.sshd.common.io.nio2.Nio2CompletionHandler.completed(Nio2CompletionHandler.java:30)[1:org.apache.sshd.core:0.14.0]____
at
sun.nio.ch.Invoker.invokeUnchecked(Unknown
Source)[:1.8.0_71]____
at sun.nio.ch.Invoker$2.run(Unknown
Source)[:1.8.0_71]____
at
sun.nio.ch.AsynchronousChannelGroupImpl$1.run(Unknown
Source)[:1.8.0_71]____
at
java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown
Source)[:1.8.0_71]____
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown
Source)[:1.8.0_71]____
at java.lang.Thread.run(Unknown
Source)[:1.8.0_71]____
____
*From:*Morgan [mailto:[email protected]]
*Sent:* Monday, February 22, 2016 10:56 AM
*To:* [email protected] <mailto:[email protected]>
*Subject:* Re: Decanter dashboard?____
____
Scott,
As you see here: http://karaf.apache.org/download.html#decanter
the last version is 1.0.1
Regards,
Morgan____
On 2016-02-22 17:50, Leschke, Scott wrote:____
Yes, it is the 3.0.0.SNAPSHOT version which I assumed
was the latest version as I just did: feature:install
–v decanter-feature-name____
____
So what would the latest version(s) be?____
____
*From:*Achim Nierbeck [mailto:[email protected]]
*Sent:* Saturday, February 20, 2016 2:22 AM
*To:* [email protected] <mailto:[email protected]>
*Subject:* Re: Decanter dashboard?____
____
Can you tell us which version of decanter is installed?
In case of 3.0 snapshot, that is a rather old version
and is not the latest, as we decided to detach the
decanter versioning from the karaf base versioning. ____
In that case make sure you have the latest released
version installed. ____
Regards, Achim____
sent from mobile device____
Am 20.02.2016 12:42 vorm. schrieb "Jamie G."
<[email protected]
<mailto:[email protected]>>:____
Depending on which appenders/alerters/etc that
you've installed, there
should be a list of dashboards available. Can you
attach a screen shot
of what you're seeing?
On Fri, Feb 19, 2016 at 6:23 PM, Leschke, Scott
<[email protected] <mailto:[email protected]>>
wrote:
> I’ve installed Decanter per the install examples
with the ElasticsSeach
> appender, Kibana, Log Collector etc. How does one
see the default Karaf
> dashboard in Kibana. I just get the Kibana intro
page. At
> localhost:8181/kibana____
____
____
__ __
--
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com