Win a copy of Machine Learning Systems: Designs that scale this week in the Scala forum
or Xamarin in Action: Creating native cross-platform mobile apps in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

java.lang.ClassCastException: org.apache.axis.message.Detail  RSS feed

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I get the below error while running a webservice in weblogic 9.2

<faultstring>Exception during processing: java.lang.ClassCastException: org.apache.axis.message.Detail (see Fault Detail for stacktrace)</faultstring>
<detail>
<bea_fault:stacktrace xmlns:bea_fault="http://www.bea.com/servers/wls70/webservice/fault/1.0.0">java.lang.ClassCastException: org.apache.axis.message.Detail
at weblogic.webservice.core.soap.SOAPElementImpl.addChildElement(SOAPElementImpl.java:136)
at weblogic.webservice.core.soap.SOAPFaultImpl.setDetail(SOAPFaultImpl.java:52)
at weblogic.webservice.util.FaultUtil.fillFault(FaultUtil.java:129)
at weblogic.webservice.util.FaultUtil.exception2Fault(FaultUtil.java:190)
at weblogic.webservice.core.handler.InvokeHandler.serializeFault(InvokeHandler.java:203)
at weblogic.webservice.core.handler.InvokeHandler.handleRequest(InvokeHandler.java:159)
at weblogic.webservice.core.HandlerChainImpl.handleRequest(HandlerChainImpl.java:144)

I have the below classpath set to weblogic

[color=red]CLASSPATH=:/home/lonicet/ICE/test/runtime/bin/SmallSTep/lib/commons/xbean.jar:/home/lonicet/ICE/test/runtime/bin/SmallSTep/lib/axis/axis-1.4.jar:/home/lonicet/ICE/test/runtime/bin/SmallSTep/lib/axis/commons-discovery-0.2.jar:/home/lonicet/ICE/test/runtime/bin/SmallSTep/lib/axis/commons-logging.jar:/home/lonicet/ICE/test/runtime/bin/SmallSTep/lib/axis/jaxrpc.jar:/home/lonicet/ICE/test/runtime/bin/SmallSTep/lib/axis/saaj.jar:/home/lonicet/ICE/test/runtime/bin/SmallSTep/lib/axis/log4j-1.2.9.jar:/home/lonicet/ICE/test/runtime/bin/SmallSTep/lib/axis/xml-apis.jar:/home/lonicet/ICE/test/runtime/bin/SmallSTep/lib/axis/xercesImpl.jar:/home/lonicet/ICE/test/runtime/bin/SmallSTep/lib/hibernate/antlr-2.7.6.jar:/home/lonicet/ICE/test/runtime/bin/SmallSTep/lib/commons/tibjms.jar:/home/lonicet/ICE/test/runtime/bin/SmallSTep/lib/commons/jconn2.jar::/opt/bealicense/9.2:::/opt/beawls/9.2.MP1/weblogic92/server/lib/weblogic.jar:/opt/sunjdk/1.5.0_10-b03-amd64/lib/tools.jar:/opt/beawls/9.2.MP1/weblogic92/server/lib/ojdbc14.jar:/opt/sunjdk/1.5.0_10-b03-amd64/jre/lib/rt.jar:/opt/beawls/9.2.MP1/weblogic92/server/lib/webservices.jar[/color]

What could be the reason? I put the jar files in the order mentioned in axis website. Any help would be appreciated much.

Thanks
Sathish
 
And then we all jump out and yell "surprise! we got you this tiny ad!"
free 1 hour java lesson
https://coderanch.com/t/695988/free-hour-java-lesson
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!