I'm getting an internal server error when accessing the version services WSDL.
 
I've downloaded the 1.0 axis2.war ( http://ws.apache.org/axis2/download/1_0/download.cgi ) and deployed it in Weblogic 8.1 after making the following modifications:
 
1.  Added weblogic.xml to axis2.war's WEB-INF as described here ( http://ws.apache.org/axis/java/install.html )
2.  Tweaked HappyAxis.jsp to help debug classpath issues.
 
According to the HappyAxis.jsp page, it can access the version web service, however, when I click the link in the web console to view the services wsdl file, I get an "Internal Server Error" and the following is in the weblogic console:
 
<Aug 14, 2006 3:52:21 PM EDT> <Error> <HTTP> <BEA-101017> <[ServletContext(id=28303739
,name=axis2,context-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.java:1006)
        at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)
        at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315)
        at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6718)
        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:3764)
        at weblogic.servlet.internal.ServletRequestImpl.execute (ServletRequestImpl.java:2644)
        at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
        at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
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)
        ... 16 more
>
 
Here is some potentially pertinent info:
 
Found TransformerFactory (javax.xml.transform.TransformerFactory) at C:\bea81\weblogic81\samples\domains\examples\examplesServer\.wlnotdelete\extract\examplesServer__appsdir_axis2_war_axis2\jarfiles\WEB-INF\lib\xml- apis-1.3.02.jar
 
Servlet version2.3 PlatformWebLogic Server 8.1 SP4 Mon Nov 29 16:21:29 PST 2004 471647
 
sun.boot.class.path=c:\bea81\jdk142_05\jre\lib\rt.jar;c:\bea81\jdk142_05\jre\lib\i18n.jar;c:\bea81\jdk142_05\jre\lib\sunrsasign.jar;c:\bea81\jdk142_05\jre\lib\jsse.jar;c:\bea81\jdk142_05\jre \lib\jce.jar;c:\bea81\jdk142_05\jre\lib\charsets.jar;c:\bea81\jdk142_05\jre\classes

Reply via email to