Hi Friends,

I've downloaded the axis2.war
(http://ws.apache.org/axis2/download/1_0/download.cgi ) and deployed
it in Weblogic 8.1 after adding & making  the necessary modifications in
weblogic.xml.

<container-descriptor>
<prefer-web-inf-classes>true</prefer-web-inf-classes>
</container-descriptor>

Then when iam trying to get the WSDL file for the published webservice
(http://localhost:7001/axis2/services/version?wsdl) Iam getting the
below error.

<Nov 14, 2006 6:04:36 PM IST> <Error> <HTTP> <BEA-101017>
<[ServletContext(id=6006030,name=axis2,c
text-path=/axis2)] Root cause of ServletException.
org.apache.axis2.AxisFault: null; nested exception is:
      java.lang.ClassCastException
      at org.apache.axis2.description.AxisService.getWSDL(AxisService.java:558)
      at 
org.apache.axis2.description.AxisService.printWSDL(AxisService.java:533)
      at 
org.apache.axis2.transport.http.ListingAgent.processListService(ListingAgent.java:144)
      at 
org.apache.axis2.transport.http.ListingAgent.handle(ListingAgent.java:89)
      at org.apache.axis2.transport.http.AxisServlet.doGet(AxisServlet.java:109)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at 
weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.j
a:1077)
      at 
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:465)
      at 
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:348)
      at 
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServle
ontext.java:7047)
      at 
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
      at 
weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
      at 
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:
02)
      at 
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2773)
      at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
      at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
Caused by: java.lang.ClassCastException
      at javax.xml.transform.TransformerFactory.newInstance(Unknown Source)
      at 
org.apache.ws.commons.schema.XmlSchema.serialize_internal(XmlSchema.java:214)
      at org.apache.ws.commons.schema.XmlSchema.write(XmlSchema.java:200)
      at 
org.apache.axis2.description.AxisService2OM.generateOM(AxisService2OM.java:147)
      at org.apache.axis2.description.AxisService.getWSDL(AxisService.java:553)


Your help will be highly appreciated. But the same axis.war works fine
with Tomcat server. I have already tried by loading the
xml-apis-1.3.02.jar before weblogic.jar

Thanks,
Bhaskar

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to