Oracle Weblogic Server (MOSC)

MOSC Banner

Connect to adminserver using JMX client via t3s

edited Sep 17, 2013 10:51PM in Oracle Weblogic Server (MOSC) 3 commentsAnswered
Hi,

how can i connect to adminserver by using JMX client via t3s. The following calls failed with java errors:

String serviceUrl ="service:jmx:t3s://xyz.com:7002/jndi/weblogic.management.mbeanservers.domainruntime";

or

String serviceUrl ="service:jmx:iiops://xyz.com:7002/jndi/weblogic.management.mbeanservers.domainruntime";

JMXServiceURL serviceURL = new JMXServiceURL(serviceUrl);

Hashtable h = new Hashtable();

h.put(Context.SECURITY_PRINCIPAL, username);

h.put(Context.SECURITY_CREDENTIALS, password);

h.put(JMXConnectorFactory.PROTOCOL_PROVIDER_PACKAGES, "weblogic.management.remote");

JMXConnector connector = JMXConnectorFactory.connect(serviceURL, h);

MBeanServerConnection connection = connector.getMBeanServerConnection();

return connection;

Where can i found a documentation or how to do?

Thanks - Alexis

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center