There are pieces of sample code available in the internet about how to communicate with MQ server using Java. However, you'll find out if you use MQ API, it will not work, always complaining about ClassDefNotFound, even after you include com.ibm.mq.jar and connector.jar in your classpath !!!
In order to resolve such a problem, you need to include com.ibm.mq.jar in the JVM bootstrap entries. It can be easily done using Eclipse!
To get more information about Java class loading mechanism. Here are a couple of interesting entries:
Internals of Java Class Loading
Understanding the Java Classloading Mechanism
Showing posts with label jvm. Show all posts
Showing posts with label jvm. Show all posts
Friday, March 07, 2008
Thursday, October 18, 2007
Java stack size
Java stack size can be set using the command option with Java. It takes effects on all the threads of a Java process.
"Insufficient stack size"
More information on how to set is is available in:jvm-tuning
"Insufficient stack size"
More information on how to set is is available in:jvm-tuning
Tuesday, October 09, 2007
thread dump
2 articles about Java stack trace and thread dump:
An Introduction to Java Stack Traces ,
Of Thread dumps and stack traces ...
An Introduction to Java Stack Traces ,
Of Thread dumps and stack traces ...
Subscribe to:
Posts (Atom)