Author |
Message
|
bprasana |
Posted: Mon Jul 25, 2011 8:57 am Post subject: setting up Xbootclasspath for WMB |
|
|
 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 |
|
 |
lancelotlinc |
Posted: Mon Jul 25, 2011 9:31 am Post subject: |
|
|
 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 |
|
 |
bprasana |
Posted: Mon Jul 25, 2011 11:25 am Post subject: |
|
|
 Disciple
Joined: 18 Apr 2005 Posts: 179
|
|
Back to top |
|
 |
lancelotlinc |
Posted: Mon Jul 25, 2011 11:57 am Post subject: |
|
|
 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 |
|
 |
bprasana |
Posted: Mon Jul 25, 2011 12:19 pm Post subject: |
|
|
 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 |
|
 |
mqjeff |
Posted: Mon Jul 25, 2011 12:45 pm Post subject: |
|
|
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 |
|
 |
lancelotlinc |
Posted: Mon Jul 25, 2011 12:48 pm Post subject: |
|
|
 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 |
|
 |
bprasana |
Posted: Mon Jul 25, 2011 12:49 pm Post subject: |
|
|
 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 |
|
 |
lancelotlinc |
Posted: Mon Jul 25, 2011 12:50 pm Post subject: |
|
|
 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 |
|
 |
Vitor |
Posted: Mon Jul 25, 2011 1:04 pm Post subject: |
|
|
 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 |
|
 |
bprasana |
Posted: Mon Jul 25, 2011 3:45 pm Post subject: |
|
|
 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 |
|
 |
smdavies99 |
Posted: Mon Jul 25, 2011 10:21 pm Post subject: |
|
|
 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 |
|
 |
lancelotlinc |
Posted: Tue Jul 26, 2011 4:39 am Post subject: |
|
|
 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 |
|
 |
lancelotlinc |
Posted: Tue Jul 26, 2011 4:40 am Post subject: |
|
|
 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 |
|
 |
mqjeff |
Posted: Tue Jul 26, 2011 4:47 am Post subject: |
|
|
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 |
|
 |
|