• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • paul wheaton
  • Devaka Cooray
  • Jeanne Boyarsky
  • Tim Cooke
  • Liutauras Vilda
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Piet Souris
  • salvin francis
  • Mikalai Zaikin
  • Himai Minh

jconsole to weblogic using t3s

Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi there

I'm trying to get my jconsole connected to a weblogic (hotspot) instance in order to control an mbean. The mbeans is being registered, as the wls console logs the registration.
I've started the server using the following properties:

Besides, I'm starting my jConsole like that:
jconsole.exe -J-Djava.class.path=C:\path\to\java\jdk160_16\lib\tools.jar;C:\path\to\java\jdk160_16\lib\jconsole.jar;C:\path\to\wls\bin\wl10.3b\wlserver\server\lib\wlfullclient.jar;C:\path\to\wls\bin\wl10.3b\modules\com.bea.core.descriptor.wl_1.2.0.0.jar -J-Djmx.remote.protocol.provider.pkgs=weblogic.management.remote -debug

I created the wlfullclient.jar with some kinda jarbuilder.jar.. (was somewhere included by the weblogic).

So then the JConsole Connection GUI is showing and I enter: localhost:7091 as the remote JMX Server. I actually can connect, but there are only four folders visible in the MBeans part, which are:
- JMImplementation
- com.sun.management
- java.lang
- java.util.logging

I also tried this URL: service:jmx:rmi:///jndi/rmi:// but nor does this one show any further mbeans.

I read on many sites on the internet about a similar problem accessing custom MBeans but nothing fixed my particular issue.

Help of any kind is appreciated.


@Edit: It's doesn't necessarily need to be t3s as protocol. but that's the one i'm usually using
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have a similar problem and found a problem a couple of weblogic parameters being set to false. I made them true and was able to connect locally to my mbeans.

wls:/cds2.dev/edit/JMX/cds2.dev !> ls()
-rw- CompatibilityMBeanServerEnabled true
-rw- DomainMBeanServerEnabled true
-rw- EditMBeanServerEnabled true
-rw- InvocationTimeoutSeconds 0
-rw- ManagementEJBEnabled true
-rw- Name cds2.dev
-rw- Notes null
-rw- PlatformMBeanServerEnabled false <-------------------- set to false
-rw- PlatformMBeanServerUsed false <-------------------- set to false
-rw- RuntimeMBeanServerEnabled true
-r-- Type JMX

-r-x freezeCurrentValue Void : String(attributeName)
-r-x isSet Boolean : String(propertyName)
-r-x restoreDefaultValue Void : String(attributeName)
-r-x unSet Void : String(propertyName)
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
    Bookmark Topic Watch Topic
  • New Topic