MBean View is not displayed.
1 posts in topic
Flat View  Flat View

Posted By:   meenakshi_bapat
Posted On:   Thursday, August 28, 2003 02:46 AM

I am trying to run the HelloWorld sample program from The JMX Way book. I am using WSAD 5.0.
Aftre runing the agent, it gets terminated and the Tmx4j_1
file contains following message

"JMXcr0012W Unable to find either the jmx .properties file on the Classpath or its BootstrapPropsURL key."

I am not able to figure out why this error is comming.

Re: MBean View is not displayed.

Posted By:   Christian_Ebaugh  
Posted On:   Saturday, November 15, 2003 07:57 PM

While I can't pretent to be an expert in either websphere or jmx, I have gotten my programs to run.

I copied the launchClient.sh from inside the websphere directories and hacked it up so I could build and run my attempts at jmx.

Here is a copy of what I use. I called it simply "run" and to compile my program I enter "run -c", while to run my program I enter "run". (I guess I'm not too complex!) Obviously, Was5jxm.java is my program!






. "$WAS_ROOT/DeploymentManager/bin/setupCmdLine.sh"



if [ "$1" = "-c" ]; then

$JAVA_HOME/bin/javac -classpath $JMX Was5jmx.java


















-classpath .:$JMX:$WAS_CLASSPATH Was5jmx


exit $?

Hope this helps a little. If it doesn't copy right, or you have questions about this script, just e-me and I'll email it too you.

Christian M. Ebaugh Jr.

Production Middleware Suport

Walt Disney World

Have a Disney Day. :~}

About | Sitemap | Contact