[JIRA] (JENKINS-14529) BindException when using --daemon with JMX

2020-02-27 Thread staruch.and...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Andrej Staruch commented on  JENKINS-14529  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: BindException when using --daemon with JMX   
 

  
 
 
 
 

 
 Hi, I think that this problem still occurs in Java 11. 

 

$ java --version
openjdk 11.0.6 2020-01-14
OpenJDK Runtime Environment (build 11.0.6+10-post-Ubuntu-1ubuntu118.04.1)
OpenJDK 64-Bit Server VM (build 11.0.6+10-post-Ubuntu-1ubuntu118.04.1, mixed mode, sharing)

 

 Jenkins: 

 

Jenkins ver. 2.204.2  

   Running Jenkins as daemon due to JMX: 

 

$ ps aux | grep daemon
jenkins  30792  0.0  0.0  1909624 ?SFeb26   0:00 /usr/bin/daemon --name=jenkins --inherit --env=JENKINS_HOME=/var/lib/jenkins --output=/var/log/jenkins/jenkins.log --pidfile=/var/run/jenkins/jenkins.pid -- /usr/bin/java -Djava.awt.headless=true -Dhudson.security.csrf.DefaultCrumbIssuer.EXCLUDE_SESSION_ID=true -Dhudson.model.ParametersAction.keepUndefinedParameters=true -Dhudson.remoting.ClassFilter=org.jenkinsci.plugins.fstrigger.triggers.FolderContentTrigger,org.jenkinsci.lib.xtrigger.AbstractTrigger -Dhudson.model.DirectoryBrowserSupport.CSP= -Xms2G -Xmx2G -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=9010 -Dcom.sun.management.jmxremote.local._only_=false -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -jar /usr/share/jenkins/jenkins.war --webroot=/var/cache/jenkins/war --httpPort=8080 --ajp13Port=-1
  

 Restarting Jenkins: 

 

sudo service jenkins restart  

 Log: 

 

Error: Exception thrown by the agent : java.rmi.server.ExportException: Port already in use: 9010; nested exception is: 
	java.net.BindException: Address already in use (Bind failed)
jdk.internal.agent.AgentConfigurationError: java.rmi.server.ExportException: Port already in use: 9010; nested exception is: 
	java.net.BindException: Address already in use (Bind failed)
	at jdk.management.agent/sun.management.jmxremote.ConnectorBootstrap.startRemoteConnectorServer(ConnectorBootstrap.java:491)
	at jdk.management.agent/jdk.internal.agent.Agent.startAgent(Agent.java:447)
	at jdk.management.agent/jdk.internal.agent.Agent.startAgent(Agent.java:599)
Caused by: java.rmi.server.ExportException: Port already in use: 9010; nested exception is: 
	java.net.BindException: Address already in use (Bind failed)
	at java.rmi/sun.rmi.transport.tcp.TCPTransport.listen(TCPTransp

[JIRA] (JENKINS-14529) BindException when using --daemon with JMX

2013-01-30 Thread jgl...@cloudbees.com (JIRA)














































Jesse Glick
 commented on  JENKINS-14529


BindException when using --daemon with JMX















Note: fix only available in JDK 7u4+: http://bugs.sun.com/view_bug.do?bug_id=7110104



























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 jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 


[JIRA] (JENKINS-14529) BindException when using --daemon with JMX

2013-01-22 Thread dogf...@java.net (JIRA)














































dogfood
 commented on  JENKINS-14529


BindException when using --daemon with JMX















Integrated in  jenkins_main_trunk #2209
 [FIXED JENKINS-14529] BindException when using --daemon with JMX. (Revision 61d46127be97545368b6a95bf0cb05d01aa80663)

 Result = SUCCESS
Jesse Glick : 61d46127be97545368b6a95bf0cb05d01aa80663
Files : 

	changelog.html
	core/pom.xml





























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






[JIRA] (JENKINS-14529) BindException when using --daemon with JMX

2013-01-22 Thread scm_issue_l...@java.net (JIRA)















































SCM/JIRA link daemon
 resolved  JENKINS-14529 as Fixed


BindException when using --daemon with JMX
















Change By:


SCM/JIRA link daemon
(22/Jan/13 11:52 PM)




Status:


In Progress
Resolved





Resolution:


Fixed



























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






[JIRA] (JENKINS-14529) BindException when using --daemon with JMX

2013-01-22 Thread scm_issue_l...@java.net (JIRA)














































SCM/JIRA link daemon
 commented on  JENKINS-14529


BindException when using --daemon with JMX















Code changed in jenkins
User: Jesse Glick
Path:
 changelog.html
 core/pom.xml
http://jenkins-ci.org/commit/jenkins/61d46127be97545368b6a95bf0cb05d01aa80663
Log:
  [FIXED JENKINS-14529] BindException when using --daemon with JMX.































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






[JIRA] (JENKINS-14529) BindException when using --daemon with JMX

2013-01-22 Thread jgl...@cloudbees.com (JIRA)














































Jesse Glick
 commented on  JENKINS-14529


BindException when using --daemon with JMX















https://github.com/kohsuke/akuma/pull/4



























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






[JIRA] (JENKINS-14529) BindException when using --daemon with JMX

2013-01-22 Thread jgl...@cloudbees.com (JIRA)














































Jesse Glick
 started work on  JENKINS-14529


BindException when using --daemon with JMX
















Change By:


Jesse Glick
(22/Jan/13 7:28 PM)




Status:


Open
In Progress



























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






[JIRA] (JENKINS-14529) BindException when using --daemon with JMX

2012-10-11 Thread marko.aspl...@gmail.com (JIRA)














































marko asplund
 commented on  JENKINS-14529


BindException when using --daemon with JMX















I'm facing the same problem when trying to analyze performance issues (with jvisualvm) with our Jenkins installation.
Has there been any progress on this issue?
Does a workaround exist?



























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






[JIRA] (JENKINS-14529) BindException when using --daemon with JMX

2012-07-23 Thread nospam...@gmx.net (JIRA)














































Georg Sash
 updated  JENKINS-14529


BindException when using --daemon with JMX
















Change By:


Georg Sash
(23/Jul/12 1:20 PM)




Summary:


BindException
 whhen
 when
 using --daemon with JMX



























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