Hi Sumeet,

First of all I am not a web logic specialist. But looks like I can share my knowledge in application servers here. :-)

For me it looks like a class loading issue created from web logic side. I assume you just deployed axis2 1.1 war inside the WL (not in EAR or some complex situation). If this is the case you may have to change the default class loading behavior of the WAR file by adding weblogic.xml with necessary configurations.

Thanks,
Lasantha Ranaweera
sumeet gupta wrote:
Hi All,
we are deploying our webservices on weblogic 9.0 but it is continously giving an error which i am mentioning below.can anybody please tell me is axis2-1.1 compatible with weblogic9.0 or not?? <Nov 28, 2006 7:31:29 PM GMT+05:30> <Error> <HTTP> <BEA-101017> <[weblogic.servl [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> - name: 'axis2.war', context-path: '/ax
is2'] Root cause of ServletException.
java.lang.NoSuchMethodError: javax.xml.stream.XMLOutputFactory.newInstance(Ljava
/lang/String;Ljava/lang/ClassLoader;)Ljavax/xml/stream/XMLOutputFactory;
at org.apache.axiom.om.util.StAXUtils.getXMLOutputFactory(StAXUtils.java
:97)
at org.apache.axiom.om.util.StAXUtils.createXMLStreamWriter(StAXUtils.ja
va:111)
at org.apache.axiom.om.impl.llom.OMNodeImpl.serialize (OMNodeImpl.java:38
1)
at org.apache.axis2.description.AxisService.getWSDL(AxisService.java:732
)
at org.apache.axis2.description.AxisService.printWSDL(AxisService.java:6
01)
        Truncated. see log file for complete stacktrace
>
<Nov 28, 2006 7:31:36 PM GMT+05:30> <Error> <HTTP> <BEA-101017> <[weblogic.servl [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> - name: 'axis2.war', context-path: '/ax
is2'] Root cause of ServletException.
java.lang.NoSuchMethodError: javax.xml.stream.XMLOutputFactory.newInstance(Ljava
/lang/String;Ljava/lang/ClassLoader;)Ljavax/xml/stream/XMLOutputFactory;
at org.apache.axiom.om.util.StAXUtils.getXMLOutputFactory(StAXUtils.java
:97)
at org.apache.axiom.om.util.StAXUtils.createXMLStreamWriter(StAXUtils.ja
va:123)
at org.apache.axiom.om.impl.MTOMXMLStreamWriter .<init>(MTOMXMLStreamWrit
er.java:74)
at org.apache.axiom.om.impl.llom.OMNodeImpl.serializeAndConsume(OMNodeIm
pl.java:410)
at org.apache.axis2.transport.http.SOAPOverHTTPSender$AxisSOAPRequestEnt
ity.handleOMOutput(SOAPOverHTTPSender.java:190)
        Truncated. see log file for complete stacktrace
Many Thanks Sumeet

Reply via email to