java axis2 web service显示500内部错误

时间:2017-07-27 12:32:57

标签: java web-services wsdl

今天,我的网络服务显示错误。它来自我的webServices的迁移(从weblogic 10.3.4上的JDK6到weblogic 12.1.3上的JDK7)。这让我非常害怕。我不确定它是代码程序还是Weblogic服务器问题?

Error 500--Internal Server Error

java.lang.ClassCastException: org.apache.axis2.wsdl.util.WSDLDefinitionWrapper cannot be cast to oracle.j2ee.ws.wsdl.DefinitionImpl
    at oracle.j2ee.ws.wsdl.xml.WSDLWriterImpl.writeWSDL(WSDLWriterImpl.java:87)
    at org.apache.axis2.description.AxisService.printDefinitionObject(AxisService.java:1031)
    at org.apache.axis2.description.AxisService.printUserWSDL(AxisService.java:1058)
    at org.apache.axis2.description.AxisService.printWSDL(AxisService.java:1332)
    at org.apache.axis2.transport.http.ListingAgent.processListService(ListingAgent.java:198)
    at org.apache.axis2.transport.http.AxisServlet.doGet(AxisServlet.java:258)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:844)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:280)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:254)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:136)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:346)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:243)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3432)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3402)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:57)
    at weblogic.servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2285)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2201)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1572)
    at weblogic.servlet.provider.ContainerSupportProviderImpl$WlsRequestExecutor.run(ContainerSupportProviderImpl.java:255)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:311)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:263)

0 个答案:

没有答案