Search the web
Sign In
New User? Sign Up
wlshell
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
JVMRuntime problem with Weblogic 9 and wlshell-2.1.0-beta-2   Message List  
Reply | Forward Message #635 of 675 |
Re: JVMRuntime problem with Weblogic 9 and wlshell-2.1.0-beta-2

Hi

This was the basis of my earlier question about wlshell support for
WL9.
I never really worked out a proper solution and others it appears
have reverted to direct java queries (as you describe).

Paco - any thoughts/comments?

JC

--- In wlshell@yahoogroups.com, "neowu0326" <neowu0326@...> wrote:
>
> Hi, All
> It seems the structure of Weblogic9 MBeans change a lot.
> I can't access JVMRuntime anymore. (with latest wlshell)
>
> say. Now I have to use:
> "get runtime.com.bea:/ServerRuntime/$Server/State"
> to get state rather than "get /ServerRuntime/$Server/State"
>
> and there is no JVMRuntime under first level as well as
ServerRuntime
> I can't use "get /JVMRuntime/$Server/HeapFreeCurrent"
> and neither "get /ServerRuntime/$Server/JVMRuntime/HeapFreeCurrent"
>
> Is there any way to support it in wlshell?
>
> BTW: I can get this by Java Code:
>
> ObjectName runtimeService = new
> ObjectName
("com.bea:Name=DomainRuntimeService,Type=weblogic.management.mbeanserv
ers.domainruntime.DomainRuntimeServiceMBean");
> //MBeanInfo info = conn.getMBeanInfo(runtimeService);
> ObjectName[] serverRuntimes = (ObjectName[])
> conn.getAttribute(runtimeService, "ServerRuntimes");
> ObjectName jvmRuntime = (ObjectName)
> conn.getAttribute(serverRuntime, "JVMRuntime");
> Long heapFree = (Long) conn.getAttribute(jvmRuntime,
> "HeapFreeCurrent");
> }
>
> Thanks!
> Neo
>





Wed Apr 4, 2007 7:07 pm

conroyj
Offline Offline
Send Email Send Email

Forward
Message #635 of 675 |
Expand Messages Author Sort by Date

Hi, All It seems the structure of Weblogic9 MBeans change a lot. I can't access JVMRuntime anymore. (with latest wlshell) say. Now I have to use: "get...
neowu0326
Offline Send Email
Apr 3, 2007
3:39 pm

Hi This was the basis of my earlier question about wlshell support for WL9. I never really worked out a proper solution and others it appears have reverted to...
conroyj
Offline Send Email
Apr 5, 2007
5:53 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help