java/186636: java/openjdk7 Throws "sun.net.PortConfig: unknown OS" Exception when Creating a JMX Connector
Ryan Frederick
ryanrfrederick at gmail.com
Mon Feb 10 20:10:00 UTC 2014
>Number: 186636
>Category: java
>Synopsis: java/openjdk7 Throws "sun.net.PortConfig: unknown OS" Exception when Creating a JMX Connector
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-java
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Mon Feb 10 20:10:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator: Ryan Frederick
>Release: 9.1-RELEASE
>Organization:
>Environment:
FreeBSD system.name 9.1-RELEASE-p10 FreeBSD 9.1-RELEASE-p10 #0: Sun Jan 12 10:32:09 UTC 2014 root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386
>Description:
When attempting to start a Java application using java/openjdk7 7.51.13,1 the following exception is thrown when the application attempts to create a JMX connector:
Exception in thread "main" java.lang.InternalError: sun.net.PortConfig: unknown OS
at sun.net.PortConfig$1.run(PortConfig.java:59)
at sun.net.PortConfig$1.run(PortConfig.java:45)
at java.security.AccessController.doPrivileged(Native Method)
at sun.net.PortConfig.<clinit>(PortConfig.java:44)
at java.net.SocketPermission$1.run(SocketPermission.java:1217)
at java.net.SocketPermission$1.run(SocketPermission.java:1209)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.SocketPermission.initEphemeralPorts(SocketPermission.java:1208)
at java.net.SocketPermission.<clinit>(SocketPermission.java:235)
at sun.security.util.SecurityConstants.<clinit>(SecurityConstants.java:259)
at java.lang.Class.getProtectionDomain(Class.java:2181)
at javax.management.remote.rmi.RMIConnector$1.run(RMIConnector.java:2108)
at javax.management.remote.rmi.RMIConnector$1.run(RMIConnector.java:2104)
at java.security.AccessController.doPrivileged(Native Method)
at javax.management.remote.rmi.RMIConnector.<clinit>(RMIConnector.java:2138)
at com.sun.jmx.remote.protocol.rmi.ClientProvider.newJMXConnector(ClientProvider.java:46)
at javax.management.remote.JMXConnectorFactory.newJMXConnector(JMXConnectorFactory.java:369)
at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:267)
at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:227)
at org.nagios.JMXQuery.connect(JMXQuery.java:53)
at org.nagios.JMXQuery.main(JMXQuery.java:75)
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-java
mailing list