1 Reply Latest reply on Jul 1, 2011 3:05 AM by Wolf-Dieter Fink

    EJB 2.1 Packaging Exception in JBoss 6.0

    Siddhartha Kapil Newbie

      Hi,

         We have an application which was running on Jboss 4.2 with EJB 2.1. Now we are migrating the build to Jboss 6.0.

      After doing all the known chanegs in the build for new deployment we tried to deploy and it was deployed successfuly but when we access the application an exception as below is thrown. I am confused here what to do to package the EJB jars.

       

      Please help me out as it is urgent for my project schedule...

       

       

              javax.ejb.EJBException: Invalid invocation, check your deployment packaging, method=public a
      bstract com.siemens.ashley.acrm.session.ejb.SessionMgmtSession com.siemens.ashley.acrm.session.ejb.S
      essionMgmtSessionHome.create() throws javax.ejb.CreateException,java.rmi.RemoteException
              at org.jboss.ejb.plugins.LogInterceptor.handleException(LogInterceptor.java:365)
              at org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:136)
              at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invokeHome(ProxyFactoryFinderIntercep
      tor.java:107)
              at org.jboss.ejb.SessionContainer.internalInvokeHome(SessionContainer.java:639)
              at org.jboss.ejb.Container.invoke(Container.java:1089)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:597)
              at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
              at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
              at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
              at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:271)
              at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:670)
              at org.jboss.invocation.local.LocalInvoker$MBeanServerAction.invoke(LocalInvoker.java:169)
              at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:118)
              at org.jboss.invocation.InvokerInterceptor.invokeLocal(InvokerInterceptor.java:209)
              at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:195)
              at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:61)
              at org.jboss.proxy.ejb.SecurityContextInterceptor.invoke(SecurityContextInterceptor.java:64)
              at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:68)
              at org.jboss.proxy.ejb.HomeInterceptor.invoke(HomeInterceptor.java:184)
              at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:101)
              at $Proxy304.create(Unknown Source)
              at com.siemens.ashley.acrm.wrapper.SessionMgmt.getSessionMgmtSession(SessionMgmt.java:230)
              at com.siemens.ashley.acrm.wrapper.SessionMgmt.login(SessionMgmt.java:85)
              at com.siemens.ashley.acrm.session.action.LoginAction.execute(LoginAction.java:182)
              at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
              at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
              at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
              at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:754)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j
      ava:324)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242)
              at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
              at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
              at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.ja
      va:181)
              at org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.event(CatalinaContext.
      java:285)
              at org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.invoke(CatalinaContext
      .java:261)
              at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:88)
              at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEst
      ablishmentValve.java:100)
              at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
              at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
              at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:
      158)
              at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
              at org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.invoke(ActiveRequest
      ResponseCacheValve.java:53)
              at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:362)
              at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)
              at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.ja
      va:654)
              at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:951)
              at java.lang.Thread.run(Thread.java:619)
      Caused by: javax.ejb.EJBException: Invalid invocation, check your deployment packaging, method=publi
      c abstract com.siemens.ashley.acrm.session.ejb.SessionMgmtSession com.siemens.ashley.acrm.session.ej
      b.SessionMgmtSessionHome.create() throws javax.ejb.CreateException,java.rmi.RemoteException
              at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invokeHome(StatelessSessionC
      ontainer.java:172)
              at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invokeHome(CachedConnect
      ionInterceptor.java:187)
              at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invokeHome(StatelessSessionInst
      anceInterceptor.java:97)
              at org.jboss.ejb.plugins.CallValidationInterceptor.invokeHome(CallValidationInterceptor.java
      :56)
              at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:125)
              at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:350)
              at org.jboss.ejb.plugins.TxInterceptorCMT.invokeHome(TxInterceptorCMT.java:161)
              at org.jboss.ejb.plugins.SecurityInterceptor.process(SecurityInterceptor.java:230)
              at org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.java:205)
              at org.jboss.ejb.plugins.security.PreSecurityInterceptor.process(PreSecurityInterceptor.java
      :99)
              at org.jboss.ejb.plugins.security.PreSecurityInterceptor.invokeHome(PreSecurityInterceptor.j
      ava:88)
              at org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:132)
              ... 50 more