invork the ejb problem? - Websphere

This is a discussion on invork the ejb problem? - Websphere ; i have two enterprise java application A and B , A and B at the same Server,A has jndi name:"com/dwl/base/requestHandler/beans/DWLServiceController",when a java bean acess the javabean(com/dwl/base/requestHandler/beans/DWLServiceController)at A,but cant find the DWLServiceControllerHome: error info is: [2009/7/17 14:28:22:909 CST] 00000119 PivotHandlerW W ...

+ Reply to Thread
Results 1 to 2 of 2

Thread: invork the ejb problem?

  1. invork the ejb problem?

    i have two enterprise java application A and B , A and B at the same Server,A has jndi name:"com/dwl/base/requestHandler/beans/DWLServiceController",when a java bean acess the javabean(com/dwl/base/requestHandler/beans/DWLServiceController)at A,but cant find the DWLServiceControllerHome:
    error info is:


    [2009/7/17 14:28:22:909 CST] 00000119 PivotHandlerW W org.apache.commons.logging.impl.Jdk14Logger warn WSWS3734W: *告:對 com.ibm.ws.webservices.engine.dispatchers.java.Jav aBeanDispatcher 呼叫時捕捉到異常狀況。
    WebServicesFault
    faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.generalException
    faultString: java.lang.NoClassDefFoundError: com.dwl.base.requestHandler.beans.DWLServiceContro llerHome
    faultActor: null
    faultDetail:

    java.lang.NoClassDefFoundError: com.dwl.base.requestHandler.beans.DWLServiceContro llerHome
    at com.ibm.ws.webservices.engine.WebServicesFault.mak eFault(WebServicesFault.java:189)
    at com.ibm.ws.webservices.engine.dispatchers.java.Ses sionDispatcher.invoke(SessionDispatcher.java:213)
    at com.ibm.ws.webservices.engine.PivotHandlerWrapper. invoke(PivotHandlerWrapper.java:227)
    at com.ibm.ws.webservices.engine.handlers.jaxrpc.JAXR PCHandler.invoke(JAXRPCHandler.java:152)
    at com.ibm.ws.webservices.engine.handlers.WrappedHand ler.invoke(WrappedHandler.java:64)
    at com.ibm.ws.webservices.engine.PivotHandlerWrapper. invoke(PivotHandlerWrapper.java:227)
    at com.ibm.ws.webservices.engine.PivotHandlerWrapper. invoke(PivotHandlerWrapper.java:227)
    at com.ibm.ws.webservices.engine.WebServicesEngine.in voke(WebServicesEngine.java:332)
    at com.ibm.ws.webservices.engine.transport.http.WebSe rvicesServlet.doPost(WebServicesServlet.java:736)
    at javax.servlet.http.HttpServlet.service(HttpServlet .java:763)
    at com.ibm.ws.webservices.engine.transport.http.WebSe rvicesServletBase.service(WebServicesServletBase.j ava:341)
    at javax.servlet.http.HttpServlet.service(HttpServlet .java:856)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.ser vice(ServletWrapper.java:966)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.han dleRequest(ServletWrapper.java:478)
    at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.h andleRequest(ServletWrapper.java:463)
    at com.ibm.ws.webcontainer.webapp.WebApp.handleReques t(WebApp.java:3129)
    at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequ est(WebGroup.java:238)
    at com.ibm.ws.webcontainer.WebContainer.handleRequest (WebContainer.java:811)
    at com.ibm.ws.wswebcontainer.WebContainer.handleReque st(WebContainer.java:1433)
    at com.ibm.ws.webcontainer.channel.WCChannelLink.read y(WCChannelLink.java:93)
    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLi nk.handleDiscrimination(HttpInboundLink.java:465)
    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLi nk.handleNewInformation(HttpInboundLink.java:394)
    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLi nk.ready(HttpInboundLink.java:274)
    at com.ibm.ws.tcp.channel.impl.NewConnectionInitialRe adCallback.sendToDiscriminators(NewConnectionIniti alReadCallback.java:214)
    at com.ibm.ws.tcp.channel.impl.NewConnectionInitialRe adCallback.complete(NewConnectionInitialReadCallba ck.java:113)
    at com.ibm.ws.tcp.channel.impl.AioReadCompletionListe ner.futureCompleted(AioReadCompletionListener.java :152)
    at com.ibm.io.async.AbstractAsyncFuture.invokeCallbac k(AbstractAsyncFuture.java:213)
    at com.ibm.io.async.AbstractAsyncFuture.fireCompletio nActions(AbstractAsyncFuture.java:195)
    at com.ibm.io.async.AsyncFuture.completed(AsyncFuture .java:136)
    at com.ibm.io.async.ResultHandler.complete(ResultHand ler.java:194)
    at com.ibm.io.async.ResultHandler.runEventProcessingL oop(ResultHandler.java:741)
    at com.ibm.io.async.ResultHandler$2.run(ResultHandler .java:863)
    at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.j ava:1510)
    Caused by: java.lang.NoClassDefFoundError: com.dwl.base.requestHandler.beans.DWLServiceContro llerHome
    at com.foxconn.com.Group.DWLAddGroup(Group.java:171)
    at com.foxconn.com.Group.addSubGroup(Group.java:133)
    at org.example.http://www.AddGroupSOAPImpl.addGroup...APImpl.java:29)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:64)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:615)
    at com.ibm.ws.webservices.engine.dispatchers.java.Jav aDispatcher.invokeMethod(JavaDispatcher.java:178)
    at com.ibm.ws.webservices.engine.dispatchers.java.Jav aDispatcher.invokeOperation(JavaDispatcher.java:14 1)
    at com.ibm.ws.webservices.engine.dispatchers.SoapRPCP rocessor.processRequestResponse(SoapRPCProcessor.j ava:447)
    at com.ibm.ws.webservices.engine.dispatchers.SoapRPCP rocessor.processMessage(SoapRPCProcessor.java:412)
    at com.ibm.ws.webservices.engine.dispatchers.BasicDis patcher.processMessage(BasicDispatcher.java:134)
    at com.ibm.ws.webservices.engine.dispatchers.java.Ses sionDispatcher.invoke(SessionDispatcher.java:204)
    ... 31 more

    [2009/7/17 14:28:23:034 CST] 00000119 UserException E WSWS3228E: 錯誤:異常狀況:WebServicesFault
    faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.generalException
    faultString: java.lang.NoClassDefFoundError: com.dwl.base.requestHandler.beans.DWLServiceContro llerHome
    faultActor: null
    faultDetail:

    java.lang.NoClassDefFoundError: com.dwl.base.requestHandler.beans.DWLServiceContro llerHome
    at com.ibm.ws.webservices.engine.WebServicesFault.mak eFault(WebServicesFault.java:189)
    at com.ibm.ws.webservices.engine.dispatchers.java.Ses sionDispatcher.invoke(SessionDispatcher.java:213)
    at com.ibm.ws.webservices.engine.PivotHandlerWrapper. invoke(PivotHandlerWrapper.java:227)
    at com.ibm.ws.webservices.engine.handlers.jaxrpc.JAXR PCHandler.invoke(JAXRPCHandler.java:152)
    at com.ibm.ws.webservices.engine.handlers.WrappedHand ler.invoke(WrappedHandler.java:64)
    at com.ibm.ws.webservices.engine.PivotHandlerWrapper. invoke(PivotHandlerWrapper.java:227)
    at com.ibm.ws.webservices.engine.PivotHandlerWrapper. invoke(PivotHandlerWrapper.java:227)
    at com.ibm.ws.webservices.engine.WebServicesEngine.in voke(WebServicesEngine.java:332)
    at com.ibm.ws.webservices.engine.transport.http.WebSe rvicesServlet.doPost(WebServicesServlet.java:736)
    at javax.servlet.http.HttpServlet.service(HttpServlet .java:763)
    at com.ibm.ws.webservices.engine.transport.http.WebSe rvicesServletBase.service(WebServicesServletBase.j ava:341)
    at javax.servlet.http.HttpServlet.service(HttpServlet .java:856)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.ser vice(ServletWrapper.java:966)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.han dleRequest(ServletWrapper.java:478)
    at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.h andleRequest(ServletWrapper.java:463)
    at com.ibm.ws.webcontainer.webapp.WebApp.handleReques t(WebApp.java:3129)
    at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequ est(WebGroup.java:238)
    at com.ibm.ws.webcontainer.WebContainer.handleRequest (WebContainer.java:811)
    at com.ibm.ws.wswebcontainer.WebContainer.handleReque st(WebContainer.java:1433)
    at com.ibm.ws.webcontainer.channel.WCChannelLink.read y(WCChannelLink.java:93)
    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLi nk.handleDiscrimination(HttpInboundLink.java:465)
    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLi nk.handleNewInformation(HttpInboundLink.java:394)
    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLi nk.ready(HttpInboundLink.java:274)
    at com.ibm.ws.tcp.channel.impl.NewConnectionInitialRe adCallback.sendToDiscriminators(NewConnectionIniti alReadCallback.java:214)
    at com.ibm.ws.tcp.channel.impl.NewConnectionInitialRe adCallback.complete(NewConnectionInitialReadCallba ck.java:113)
    at com.ibm.ws.tcp.channel.impl.AioReadCompletionListe ner.futureCompleted(AioReadCompletionListener.java :152)
    at com.ibm.io.async.AbstractAsyncFuture.invokeCallbac k(AbstractAsyncFuture.java:213)
    at com.ibm.io.async.AbstractAsyncFuture.fireCompletio nActions(AbstractAsyncFuture.java:195)
    at com.ibm.io.async.AsyncFuture.completed(AsyncFuture .java:136)
    at com.ibm.io.async.ResultHandler.complete(ResultHand ler.java:194)
    at com.ibm.io.async.ResultHandler.runEventProcessingL oop(ResultHandler.java:741)
    at com.ibm.io.async.ResultHandler$2.run(ResultHandler .java:863)
    at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.j ava:1510)
    Caused by: java.lang.NoClassDefFoundError: com.dwl.base.requestHandler.beans.DWLServiceContro llerHome
    at com.foxconn.com.Group.DWLAddGroup(Group.java:171)
    at com.foxconn.com.Group.addSubGroup(Group.java:133)
    at org.example.http://www.AddGroupSOAPImpl.addGroup...APImpl.java:29)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:64)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:615)
    at com.ibm.ws.webservices.engine.dispatchers.java.Jav aDispatcher.invokeMethod(JavaDispatcher.java:178)
    at com.ibm.ws.webservices.engine.dispatchers.java.Jav aDispatcher.invokeOperation(JavaDispatcher.java:14 1)
    at com.ibm.ws.webservices.engine.dispatchers.SoapRPCP rocessor.processRequestResponse(SoapRPCProcessor.j ava:447)
    at com.ibm.ws.webservices.engine.dispatchers.SoapRPCP rocessor.processMessage(SoapRPCProcessor.java:412)
    at com.ibm.ws.webservices.engine.dispatchers.BasicDis patcher.processMessage(BasicDispatcher.java:134)
    at com.ibm.ws.webservices.engine.dispatchers.java.Ses sionDispatcher.invoke(SessionDispatcher.java:204)
    ... 31 more

    best regards

  2. Re: invork the ejb problem?

    Hello,

    I don't quite understand this scenario, but I don't see any EJB container logic in the stack trace. From your description of the problem, it sounds like you may need to create a shared library so that the local and home interfaces of the EJB can be accessible to multiple applications.

    Hope this helps,

    Andy

+ Reply to Thread