Issue Type: Bug Bug
Assignee: Unassigned
Components: core
Created: 26/Feb/15 10:26 AM
Description:

I want to use jolokia <http://jolokia.org/> to access JMX via HTTP.

Jolokia cannot listen port when start Jenkins with --daemon option.

# sudo -H -u jenkins /usr/bin/java -javaagent:/usr/local/app/jolokia/jolokia-jvm-agent.jar=port=8781,host=0.0.0.0 -DJENKINS_HOME=/var/lib/jenkins -jar /usr/lib/jenkins/jenkins.war --daemon
I> No access restrictor found, access to all MBean is allowed
Jolokia: Agent started with URL http://10.6.25.200:8781/jolokia/
Forking into background to run as a daemon.
Use --logfile to redirect output to a file
Could not start Jolokia agent: java.net.BindException: Address already in use

$ curl -m 3 http://10.6.25.200:8781/jolokia/
curl: (56) Failure when receiving data from the peer

Does this issue relate on https://issues.jenkins-ci.org/browse/JENKINS-14529 ?

Environment: - Linux, CentOS 6.5 x86_64
- Java(TM) SE Runtime Environment (build 1.7.0_76-b13)
- Jenkins 1.599
- Jolokia 1.2.3
Project: Jenkins
Priority: Minor Minor
Reporter: Masaaki HIROSE
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to