Closed GoogleCodeExporter closed 8 years ago
Hello,
After starting the plugin, is it listening on the connector mentionned in the
run.sh file ?
Can you please try to remove the redirection at the end of the starting command
(i.e. "> /dev/null 2>&1") ? The startup script should display some useful
information about the issue.
Original comment by yann.lambret@gmail.com
on 26 Feb 2013 at 6:45
Thanks Yann.
Just after posting the issue. I figured out, that JAVA_HOME which I had set had
a typing mistake. Everything is running as expected.
Though, when I am trying this thing from NagiosXI, it is not taking "&" in a
proper way and terminates string at hostname=myserver, which in turn gives
MalFormed URL exception from the plugin.
Please let me know, if you have face this situation with NagiosXI. I know,
there is some sort of escaping which happens from NagiosXI, which is different
from NagiosCore while editing cfg files.
Thank you for your quick response to my query.
Original comment by doshihar...@gmail.com
on 26 Feb 2013 at 9:50
Based on issue 17, I guess I can also close this one.
Original comment by yann.lambret@gmail.com
on 17 Jul 2013 at 7:49
hi yann
i am currently using weblogic 12c. when i trying to run ./run.sh i got an error
./run.sh
2014-11-19 12:17:38.291:INFO:oejs.Server:jetty-7.6.2.v20120308
2014-11-19 12:17:38.322:INFO:oejsh.ContextHandler:started
o.e.j.s.ServletContextHandler{/wlsagent,null}
2014-11-19 12:17:38.329:WARN:oejuc.AbstractLifeCycle:FAILED
SelectChannelConnector@myserver:7001: java.net.BindException: Address already
in use
java.net.BindException: Address already in use
at sun.nio.ch.Net.bind0(Native Method)
at sun.nio.ch.Net.bind(Net.java:444)
at sun.nio.ch.Net.bind(Net.java:436)
at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:214)
at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)
at org.eclipse.jetty.server.nio.SelectChannelConnector.open(SelectChannelConnector.java:182)
at org.eclipse.jetty.server.AbstractConnector.doStart(AbstractConnector.java:311)
at org.eclipse.jetty.server.nio.SelectChannelConnector.doStart(SelectChannelConnector.java:260)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
at org.eclipse.jetty.server.Server.doStart(Server.java:272)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
at net.wait4it.nagios.wlsagent.core.WLSAgent.main(Unknown Source)
2014-11-19 12:17:38.330:WARN:oejuc.AbstractLifeCycle:FAILED
org.eclipse.jetty.server.Server@7239c5c6: java.net.BindException: Address
already in use
java.net.BindException: Address already in use
at sun.nio.ch.Net.bind0(Native Method)
at sun.nio.ch.Net.bind(Net.java:444)
at sun.nio.ch.Net.bind(Net.java:436)
at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:214)
at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)
at org.eclipse.jetty.server.nio.SelectChannelConnector.open(SelectChannelConnector.java:182)
at org.eclipse.jetty.server.AbstractConnector.doStart(AbstractConnector.java:311)
at org.eclipse.jetty.server.nio.SelectChannelConnector.doStart(SelectChannelConnector.java:260)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
at org.eclipse.jetty.server.Server.doStart(Server.java:272)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
at net.wait4it.nagios.wlsagent.core.WLSAgent.main(Unknown Source)
Exception in thread "main" java.net.BindException: Address already in use
at sun.nio.ch.Net.bind0(Native Method)
at sun.nio.ch.Net.bind(Net.java:444)
at sun.nio.ch.Net.bind(Net.java:436)
at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:214)
at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)
at org.eclipse.jetty.server.nio.SelectChannelConnector.open(SelectChannelConnector.java:182)
at org.eclipse.jetty.server.AbstractConnector.doStart(AbstractConnector.java:311)
at org.eclipse.jetty.server.nio.SelectChannelConnector.doStart(SelectChannelConnector.java:260)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
at org.eclipse.jetty.server.Server.doStart(Server.java:272)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
at net.wait4it.nagios.wlsagent.core.WLSAgent.main(Unknown Source)
ps ax|grep wlsagent
7780 pts/4 Sl 0:01 /u01/jdk1.7.0_51/bin/java -Xmx32m -cp .:wlsagent-r185.jar:lib/servlet-api-2.5.jar:lib/jetty-servlet-7.6.2.v20120308.jar:lib/wlclient.jar:lib/wljmxclient.jar:lib/wlfullclient.jar net.wait4it.nagios.wlsagent.core.WLSAgent myserver 7001
when i going to run
./wlsagent.sh
'hostname=myserver&port=7001&username=weblogic&password=****&jvm=UsedMemory,90,9
5'
its showing northing .. could you please let me know what is the issue..
Original comment by gopi.a.w...@gmail.com
on 19 Nov 2014 at 5:47
Hi ,
when i am running ./run.sh its giving me output
[root@XYZ.abc.kj wlsagent]# ./run.sh
2015-03-25 16:58:43.786:INFO:oejs.Server:jetty-7.6.2.v20120308
2015-03-25 16:58:43.865:INFO:oejsh.ContextHandler:started
o.e.j.s.ServletContextHandler{/wlsagent,null}
2015-03-25 16:58:43.928:INFO:oejs.AbstractConnector:Started
SelectChannelConnector@0.0.0.0:9090
But when i am running ./wlsagent with argumets its showing me nothing.(blank)
Please help me.
Thanks
Arvinder.
Original comment by arvinder...@gmail.com
on 25 Mar 2015 at 7:09
Original issue reported on code.google.com by
doshihar...@gmail.com
on 26 Feb 2013 at 6:07