This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

jconsole to weblogic using t3s  RSS feed

Jukka Nevalainen
Posts: 9
  • Mark post as helpful
  • send pies
  • 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 -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
- 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
Vic Pezzolla
Posts: 9
  • Mark post as helpful
  • send pies
  • 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:/ !> ls()
-rw- CompatibilityMBeanServerEnabled true
-rw- DomainMBeanServerEnabled true
-rw- EditMBeanServerEnabled true
-rw- InvocationTimeoutSeconds 0
-rw- ManagementEJBEnabled true
-rw- Name
-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)
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!