Question : Class Conflict  - WebLogic 10.3, Java 6

Hi All,

I'm running into an issue with an application running on WebLogic 10.3.0 and Java 6. The application that runs fine standalone, but when it tries to access other applications running on WebLogic Server 10.0 and Java 5 via SOAP, I get the error below. There seems to be a conflict between a class in webservices.jar (WebLogic) and saaj.jar (Java 6). Does anyone have any ideas as to how to resolve this issue?

Stack Trace::

FINER: Error reaching site cluster-twls-13-07-win2k
java.lang.ClassCastException: weblogic.webservice.core.soap.SOAPMessageImpl cannot be cast to com.sun.xml.messaging.saaj.soap.MessageImpl
at com.sun.xml.rpc.client.StubBase._postSendingHook(StubBase.java:248)
at com.dcgs.mdf.webservice.ddms.query.CatalogQueryServicePort_Stub._postSendingHook(CatalogQueryServicePort_Stub.java:820)
at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:341)
at com.dcgs.mdf.webservice.ddms.query.CatalogQueryServicePort_Stub.getLocalSiteName(CatalogQueryServicePort_Stub.java:492)
at com.dcgs.mdf.webservice.ddms.site.DDMSWebServiceSite.checkConnection(DDMSWebServiceSite.java:337)
at com.dcgs.mdf.site.AbstractCatalogSite.updateStatus(AbstractCatalogSite.java:247)
at com.dcgs.mdf.site.CatalogSiteFactory$CheckConnectionCallable.call(CatalogSiteFactory.java:792)
at com.dcgs.mdf.site.CatalogSiteFactory$CheckConnectionCallable.call(CatalogSiteFactory.java:782)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
at java.lang.Thread.run(Thread.java:619)

Answer : Class Conflict  - WebLogic 10.3, Java 6

Random Solutions  
 
programming4us programming4us