ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » setting up Xbootclasspath for WMB

Post new topic  Reply to topic Goto page 1, 2  Next
 setting up Xbootclasspath for WMB « View previous topic :: View next topic » 
Author Message
bprasana
PostPosted: Mon Jul 25, 2011 8:57 am    Post subject: setting up Xbootclasspath for WMB Reply with quote

Disciple

Joined: 18 Apr 2005
Posts: 179

Hi,
Can anyone tell me if there is a way to setup Xbootclasspath parameter for JVMs running under WMB 6.1 broker.

I am setting up a HP probe(please ignore my generic post sent earlier) for WMB 6.1 on AIX, which needs this parameter to be set up during 'broker startup script'.

Regards,
Prasanna
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Mon Jul 25, 2011 9:31 am    Post subject: Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

You can use the mqsichangeproperties command to pass along JVM arguments to the JVM. If your arguments have spaces, use hockey sticks rather than double quotes. ie. `
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
bprasana
PostPosted: Mon Jul 25, 2011 11:25 am    Post subject: Reply with quote

Disciple

Joined: 18 Apr 2005
Posts: 179

Thanks. I should have read this thread.
http://www.mqseries.net/phpBB/viewtopic.php?p=287791&sid=a484901183c2c483d1d65a37a12ccda4

If i setup a probe at each EG jvm. Does it only profile just the java code?
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Mon Jul 25, 2011 11:57 am    Post subject: Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

HP Probe is a connectionless network instrumentation tool designed to provide the name-to-address mapping information between HP nodes using Network Services on HP Data Communications and Terminal Controllers. It uses TCP/IP as the transport, IP and link-level station (MAC) addresses to address packets between nodes.

What value does it provide your business to integrate this function into WMB?
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
bprasana
PostPosted: Mon Jul 25, 2011 12:19 pm    Post subject: Reply with quote

Disciple

Joined: 18 Apr 2005
Posts: 179

Sorry, I meant HP Diagnostics Probes which caputre events such as method invocations, beginning and end of business transactions and method invocations from applications.
I am using the Java Agent to collect the performance stats.

I just wanted to know how a java probing agent works with WMB generally.

say for eg: Netbeans agent, does it collect all the info of a WMB code or just the java portion of it. Little confused.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Mon Jul 25, 2011 12:45 pm    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

What business value are you attempting to reach by configuring this?

Are you attempting to monitor the performance of your own Java code running in a JCN or as external procedures?

Are you attempting to monitor the broker's internal JVM and java usage? This is not valuable, as there is not a lot that you can then do to tune it.
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Mon Jul 25, 2011 12:48 pm    Post subject: Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

Java Virtual Machine does not have access to the C binary compiled memory objects or run-time stats. Any data you would get is restricted to JVM stats, which is only half the story.

WebSphere Business Monitor (WBM) is usually the tool of choice for collecting business transactional statistics from WMB. WMB has built-in support for that tool, and emits events using XML data packets to the WBM repository.

Was there something about WBM that did not meet your need?
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
bprasana
PostPosted: Mon Jul 25, 2011 12:49 pm    Post subject: Reply with quote

Disciple

Joined: 18 Apr 2005
Posts: 179

I am attempting to monitor the performance of my own Java Code running in a JCn as well as ESQL code.
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Mon Jul 25, 2011 12:50 pm    Post subject: Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

bprasana wrote:
I am attempting to monitor the performance of my own Java Code running in a JCn as well as ESQL code.


JMX is the tool of choice for this task. You can implement JMX very easily with about 20 lines of code for each of your Java objects you want to monitor.
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
Vitor
PostPosted: Mon Jul 25, 2011 1:04 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

lancelotlinc wrote:
bprasana wrote:
I am attempting to monitor the performance of my own Java Code running in a JCn as well as ESQL code.


JMX is the tool of choice for this task. You can implement JMX very easily with about 20 lines of code for each of your Java objects you want to monitor.


Does it work for ESQL as well? Seriously. I'm asking if it gets past the limitation you mentioned earlier with compiled C binary not visible to the JVM.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
bprasana
PostPosted: Mon Jul 25, 2011 3:45 pm    Post subject: Reply with quote

Disciple

Joined: 18 Apr 2005
Posts: 179

We are just testing out HP tool first since its already being used for .NET and other java applications. We did not get a chance to look into WBM or JMX.
will WMB Accouting and Statistics provide the same data?

Meanwhile i was trying mqsichangeproperties command. I get a very silly error.
mqsichangeproperties HP2 -e HP2 -o ComIbmJVMManage
r -n jvmSystemProperty -v Xbootclasspath=C:\MercuryDiagnostics\JavaAgent\DiagnosticsAgent\classes\IBM\1.5.0;


I am running WMB 6.1.0.3 with MQ 7.x on windows xp.
the error i am getting is this

BIP2210E: Invalid configuration message: attribute name 'jvmSystemProperty' not
valid for target object 'ComIbmJVMManager'.
Back to top
View user's profile Send private message
smdavies99
PostPosted: Mon Jul 25, 2011 10:21 pm    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

bprasana wrote:


I am running WMB 6.1.0.3 with MQ 7.x on windows xp.
the error i am getting is this

BIP2210E: Invalid configuration message: attribute name 'jvmSystemProperty' not
valid for target object 'ComIbmJVMManager'.


Perhaps the version of broker is trhe reason for the error. 6.1.0.3 is pretty long in the tooth. The property may well have been added in a later release. You might be so out of luck with this one.
_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Tue Jul 26, 2011 4:39 am    Post subject: Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

Vitor wrote:
lancelotlinc wrote:
bprasana wrote:
I am attempting to monitor the performance of my own Java Code running in a JCn as well as ESQL code.


JMX is the tool of choice for this task. You can implement JMX very easily with about 20 lines of code for each of your Java objects you want to monitor.


Does it work for ESQL as well? Seriously. I'm asking if it gets past the limitation you mentioned earlier with compiled C binary not visible to the JVM.


Yes, Java Singletons are callable from ESQL. I put all my performance management code in a Jar located in $MQSI_WORKPATH/shared-classes that then gets called by my compute nodes.
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
lancelotlinc
PostPosted: Tue Jul 26, 2011 4:40 am    Post subject: Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

bprasana wrote:
We are just testing out HP tool first since its already being used for .NET and other java applications. We did not get a chance to look into WBM or JMX.
will WMB Accouting and Statistics provide the same data?

Meanwhile i was trying mqsichangeproperties command. I get a very silly error.
mqsichangeproperties HP2 -e HP2 -o ComIbmJVMManage
r -n jvmSystemProperty -v Xbootclasspath=C:\MercuryDiagnostics\JavaAgent\DiagnosticsAgent\classes\IBM\1.5.0;


I am running WMB 6.1.0.3 with MQ 7.x on windows xp.
the error i am getting is this

BIP2210E: Invalid configuration message: attribute name 'jvmSystemProperty' not
valid for target object 'ComIbmJVMManager'.


You have to enclose your path in hockey sticks, as was mentioned before.
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
mqjeff
PostPosted: Tue Jul 26, 2011 4:47 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

lancelotlinc wrote:
bprasana wrote:
We are just testing out HP tool first since its already being used for .NET and other java applications. We did not get a chance to look into WBM or JMX.
will WMB Accouting and Statistics provide the same data?

Meanwhile i was trying mqsichangeproperties command. I get a very silly error.
mqsichangeproperties HP2 -e HP2 -o ComIbmJVMManage
r -n jvmSystemProperty -v Xbootclasspath=C:\MercuryDiagnostics\JavaAgent\DiagnosticsAgent\classes\IBM\1.5.0;


I am running WMB 6.1.0.3 with MQ 7.x on windows xp.
the error i am getting is this

BIP2210E: Invalid configuration message: attribute name 'jvmSystemProperty' not
valid for target object 'ComIbmJVMManager'.


You have to enclose your path in hockey sticks, as was mentioned before.


Except, of course, jvmSystemProperty does not exist in 6.1.0.3, as mentioned before.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Goto page 1, 2  Next Page 1 of 2

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » setting up Xbootclasspath for WMB
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.