jminix on Weblogic Server

54 views
Skip to first unread message

Jürgen Weber

unread,
May 10, 2013, 10:06:32 AM5/10/13
to jminix...@googlegroups.com
Hi,

I managed to build a war with jminix and run it on Weblogic Server. It works, but only with the JDK MBean Server. But the jminix GUI is really cool.

I'd like to connect the war to Weblogics MBeanServer.

I understand that you can give a serverConnectionProvider init parameter to the servlet. But how can you specify parameters to this serverConnectionProvider, especially the JMXServiceURL? I'd prefer not to need Spring.

The way to connect to Weblogics MBeanServer with JConsole is given here:
https://blogs.oracle.com/WebLogicServer/entry/sample_weblogic_jmx_client

Basically you have to set -Djmx.remote.protocol.provider.pkgs=weblogic.management.remote
use wljmxclient.jar and set this URL:
service:jmx:iiop://127.0.0.1:7001/jndi/weblogic.management.mbeanservers.runtime

But how do you configure this with jminix?


Thx,
Juergen

Laurent Bovet

unread,
May 14, 2013, 2:27:16 AM5/14/13
to jminix...@googlegroups.com
I suggest that you write your own ServerConnectionProvider that resolves the Server Connection similarly to the code in your first link. To make it configurable, it should read the URL from either a properties file or a system property.


2013/5/10 Jürgen Weber <web...@gmail.com>

--
 
---
Vous recevez ce message, car vous êtes abonné au groupe Google Groupes jminix-users.
Pour vous désabonner de ce groupe et ne plus recevoir d'e-mails le concernant, envoyez un e-mail à l'adresse jminix-users...@googlegroups.com.
Pour plus d'options, visitez le site https://groups.google.com/groups/opt_out .
 
 

Jürgen Weber

unread,
May 14, 2013, 9:21:34 AM5/14/13
to jminix...@googlegroups.com, lbo...@windmaster.ch
Thanks, I did as you suggested and it works.
Reply all
Reply to author
Forward
0 new messages