Linux下weblogic11g报错
警告: Registering oracle.j2ee.ws.wsdl.extensions.addressing.AddressingExtensionRegistry extension failed; java.lang.ClassNotFoundException: oracle.j2ee.ws.wsdl.extensions.addressing.AddressingExtensionRegistry
2011-10-19 13:53:19 weblogic.wsee.jaxws.spi.WLSServiceDelegate addWsdlDefinitionFeature
严重: Failed to create WsdlDefinitionFeature for wsdl location: http://192.168.1.26:8081/CommonService?wsdl, error: com.sun.xml.ws.wsdl.parser.InaccessibleWSDLException, message: 2 counts of InaccessibleWSDLException.
这是什么警告阿,对程序运行有影响吗?
<2011-10-19 下午02时01分19秒 CST> <Error> <HTTP> <BEA-101020> <[ServletContext@348436068[app:portal module:WebRoot path:/portal spec-version:null]] Servlet failed with Exception
java.lang.NullPointerException
at com.mixky.system.ContextHolder.getBean(ContextHolder.java:53)
at com.mixky.engine.certification.MixkyUserCertification.instance(MixkyUserCertification.java:17)
at com.softwarementors.extjs.djn.router.processor.standard.json.JsonRequestProcessor.process(JsonRequestProcessor.java:106)
at com.softwarementors.extjs.djn.router.RequestRouter.processJsonRequest(RequestRouter.java:111)
at com.softwarementors.extjs.djn.servlet.DirectJNgineServlet.doPost(DirectJNgineServlet.java:388)
Truncated. see log file for complete stacktrace
>
我在Linux系统中用weblogic11g部署了一个项目,每次点击查看图片(把图片下载到本地再打开)时就这个报错误。接下来再操作其它的页面就报:
Error 500--Internal Server Error
java.lang.NullPointerException
at com.mixky.system.ContextHolder.getBean(ContextHolder.java:53)
at com.mixky.app.ApplicationParameters.instance(ApplicationParameters.java:39)
at com.mixky.portal.action.PortalHomeAction.handleRequest(PortalHomeAction.java:22)
at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:875)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:809)
at com.mixky.spring.MixkyDispatcherServlet.doService(MixkyDispatcherServlet.java:25)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571)
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:501)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:183)
at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:526)
at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:253)
at weblogic.servlet.jsp.PageContextImpl.forward(PageContextImpl.java:159)
at jsp_servlet.__index._jspService(__index.java:74)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:183)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3717)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
报错过程大概就是这样的,希望给予帮助。
[解决办法]
您好,我也遇到了相应的问题,在我进行调用对方webservice接口时,报除了相应的警告警告:
Registering oracle.j2ee.ws.wsdl.extensions.addressing.AddressingExtensionRegistry extension failed; java.lang.ClassNotFoundException: oracle.j2ee.ws.wsdl.extensions.addressing.AddressingExtensionRegistry
weblogic.wsee.jaxws.spi.WLSServiceDelegate addWsdlDefinitionFeature
严重: Failed to create WsdlDefinitionFeature for wsdl location: http://192.165.58.59:4444/SynchronizeCustomerInfo/SourceCRM?wsdl, error: com.sun.xml.ws.wsdl.parser.InaccessibleWSDLException, message: 2 counts of InaccessibleWSDLException.
这个错误你是怎么解决的?拜求...
[解决办法]
我也碰到同样的问题,不过暂时没影响。不知道怎么解决。谁解决了麻烦告知一声。
[解决办法]
这个问题我也不知道如何解决!
[解决办法]
weblogic与cxf的jar冲突,可以设定优先使用工程的class文件来解决,即在web.xml同级增加weblogic配置文件weblogic.xml:
<container-descriptor>
<prefer-web-inf-classes>true</prefer-web-inf-classes>
</container-descriptor>