mx4j and weblogic problems!
"Zahid Ebrahim" <[email protected]>
| Newsgroups | gmane.comp.java.mx4j.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi All, Doe snayone knwo how to force weblogic to use mx4j rather than its own implementation of jmx? I have a web application running on weblogic. In the WEB-INF/lib directory of the web app I have my mx4j jar files. One of the Classes is ObjectName which I am using to try and invoke methods on a remote MBeanServer. when I try and run the code I get a exceptions thrown telling me the serialVersionUID of my local ObjectName claass deos not mathc that of my remote ObjectNAme class. I am using mx4j on my remote application. I am pretty sure that weblogic is using its own ObjectName class found in weblogic.jar rather than the one in the mx4j jar files in the WEB-INF lib directory. BElow are my questions: - Does anyone know how I can get output on the weblogic console to show me which jar file is used when the ClassLoader loads ObjectName ? I have tried running -verbose but this jsut outputs javax.management.ObjectName (which is the package for both implementations weblogic and mx4j)? -Does anyone know how I can force weblogic to use mx4j rather than its own implementation. I think when the weblogic server starts, it uses its own ObjectName class to do whatever jmx stuff it does. thus the class is already loaded and it doesnt go to the mx4j jars. - AM I missing something really simple? I have also tried to create an endorsed directory when starting weblogic server in the startup.cmd file in the hope of forsince weblogic to look in there first but with no joy.. ... -Djava.endorsed.dir=C:\bea\endorsed weblogic.Server Can anyone shed any light on this matter? Many thanks to all you lovely mx4j people! Zahid ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf