当前位置: 代码迷 >> WebSphere >> WebSphere 项目启动时抱错解决方法
  详细解决方案

WebSphere 项目启动时抱错解决方法

热度:331   发布时间:2016-05-02 06:16:16.0
WebSphere 项目启动时抱错
项目相关jar包都加进去了,启动还是抱错:java.lang.ClassNotFoundException: org.apache.log4j.PropertyConfigurator
我的log4j.jar是以UserLibrary方式加进去的。求大神指导,给出个解决方案,困扰很久了,一直没找到原因。
出错信息如下:
[9-05-14 10:21:45:498 CST] 00000035 WebServicesSe E com.ibm.ws.webservices.engine.transport.http.WebServicesServlet doPost WSWS3227E:  Error: Exception:
                                 WebServicesFault
 faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.generalException
 faultString: WSWS3400I: Info: unexpected exception.
 faultActor: null
 faultDetail: 

WSWS3400I: Info: unexpected exception.
at com.ibm.ws.webservices.engine.PivotHandlerWrapper.bindExceptionToResponse(PivotHandlerWrapper.java:425)
at com.ibm.ws.webservices.engine.PivotHandlerWrapper.invoke(PivotHandlerWrapper.java:309)
at com.ibm.ws.webservices.engine.handlers.jaxrpc.JAXRPCHandler.invoke(JAXRPCHandler.java:152)
at com.ibm.ws.webservices.engine.handlers.WrappedHandler.invoke(WrappedHandler.java:64)
at com.ibm.ws.webservices.engine.PivotHandlerWrapper.invoke(PivotHandlerWrapper.java:228)
at com.ibm.ws.webservices.engine.PivotHandlerWrapper.invoke(PivotHandlerWrapper.java:228)
at com.ibm.ws.webservices.engine.WebServicesEngine.invoke(WebServicesEngine.java:336)
at com.ibm.ws.webservices.engine.transport.http.WebServicesServlet.doPost(WebServicesServlet.java:831)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
at com.ibm.ws.webservices.engine.transport.http.WebServicesServletBase.service(WebServicesServletBase.java:341)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1103)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:570)
at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:486)
at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3440)
at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:267)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:815)
at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1461)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:118)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:458)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:387)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:283)
at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214)
at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113)
at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:195)
at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:743)
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:873)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1473)
Caused by: java.lang.NoClassDefFoundError: com.metlife.us.ins.product.disability.dpa.websvc.work.services.WorkListWSBindingImpl (initialization failure)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:132)
at java.lang.Class.forNameImpl(Native Method)
at java.lang.Class.forName(Class.java:163)
at com.ibm.ws.webservices.engine.utils.ClassUtils$2.run(ClassUtils.java:234)
at com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java:63)
at com.ibm.ws.webservices.engine.utils.ClassUtils.loadClass(ClassUtils.java:210)
at com.ibm.ws.webservices.engine.utils.ClassUtils.forName(ClassUtils.java:181)
at com.ibm.ws.webservices.engine.dispatchers.java.JavaBeanDispatcher.getServiceClass(JavaBeanDispatcher.java:180)
at com.ibm.ws.webservices.engine.dispatchers.java.JavaBeanDispatcher.createServiceObject(JavaBeanDispatcher.java:198)
at com.ibm.ws.webservices.engine.dispatchers.java.SessionDispatcher.createAndInitServiceObject(SessionDispatcher.java:253)
at com.ibm.ws.webservices.engine.dispatchers.java.SessionDispatcher.invoke(SessionDispatcher.java:201)
at com.ibm.ws.webservices.engine.PivotHandlerWrapper.invoke(PivotHandlerWrapper.java:228)
... 30 more
Caused by: java.lang.NoClassDefFoundError: org.apache.log4j.PropertyConfigurator
at com.metlife.ins.util.bwlog.log4j.BwLogProvider.configure(BwLogProvider.java:32)
at com.metlife.ins.util.bwlog.BwLogFactory._configure(BwLogFactory.java:65)
at com.metlife.ins.util.bwlog.BwLogFactory._create(BwLogFactory.java:129)
at com.metlife.ins.util.bwlog.BwLogFactory.create(BwLogFactory.java:183)
at com.metlife.us.ins.product.disability.utilities.DisabilityBwLogFactory.getBwLog(DisabilityBwLogFactory.java:23)
at com.metlife.us.ins.product.disability.dpa.utilities.DPABwLogFactory.getBwLog(DPABwLogFactory.java:19)
  相关解决方案