My Oracle Support Banner

How to run Acollect tool on Agile PLM 9.3.6 and above with JMX port setting (Doc ID 2500710.1)

Last updated on APRIL 15, 2024

Applies to:

Oracle Agile PLM Framework - Version 9.3.6.0 and later
Information in this document applies to any platform.

Goal

How to run Acollect tool on Agile PLM 9.3.6 and above with JMX port setting?

Would like to avoid Acollect failure with "Failed to retrieve RMIServer stub" error below:

exec-jvm:
[JvmCollector] customer.name=xxxxxxx sanitized name=xxxxxxxx_Corporation
[JvmCollector] File @Acollect-home@:\ACollect\acollect\bin\..\logs\JVM_Info.txt was deleted
[JvmCollector] File @Acollect-home@:\ACollect\acollect\bin\..\logs\JVM_Info.txt was created
[JvmCollector] File @Acollect-home@:\ACollect\acollect\bin\..\logs\Thread_Dumps.txt was deleted
[JvmCollector] File @Acollect-home@:\ACollect\acollect\bin\..\logs\Thread_Dumps.txt was created
[JvmCollector] Exception occurred while getting connection to JMX server. Error: Failed to retrieve RMIServer stub: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: localhost; nested exception is:

[JvmCollector] java.net.ConnectException: Connection refused: connect]
[JvmCollector] java.io.IOException: Failed to retrieve RMIServer stub: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: localhost; nested exception is:

[JvmCollector] java.net.ConnectException: Connection refused: connect]
[JvmCollector] at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:317)
[JvmCollector] at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:248)
[JvmCollector] at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:207)
[JvmCollector] at com.agile.tools.acollect.util.JvmPlatformMbeanConnectionHelper.initJvmPlatformMbeanConnection(JvmPlatformMbeanConnectionHelper.java:68)
[JvmCollector] at com.agile.tools.acollect.task.JvmCollector.execute(JvmCollector.java:122)
[JvmCollector] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
[JvmCollector] at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
[JvmCollector] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[JvmCollector] at java.lang.reflect.Method.invoke(Method.java:585)
[JvmCollec
 

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.