[jboss-user] [EJB3] - Re: invalid invocation

Siddhartha Kapil do-not-reply at jboss.com
Wed Jun 29 07:06:14 EDT 2011


Siddhartha Kapil [http://community.jboss.org/people/siddharthakapil] created the discussion

"Re: invalid invocation"

To view the discussion, visit: http://community.jboss.org/message/612504#612504

--------------------------------------------------------------
Hi, I am new to this community. I am facing problem when migrating my EJB's from JBoss4.2 to Jboss6.0. The EJB jars working fine in Jboss 4.2 but when same build is deployed on Jboss 6.0 Exception is coming. I have searched on the Internet communities and forums but didn't find solution for this.
Please help me as this is hampering my schedule here. 
EJB jars deployed successfully on the server but error comes when I try to access my application. 

Please find the error stacktrace below:


SessionHome.create() throws javax.ejb.CreateException,java.rmi.RemoteException:: javax.ejb.EJBExcept
ion: Invalid invocation, check your deployment packaging, 
throws javax.ejb.CreateException,java.rmi.RemoteException
        at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invokeHome(StatelessSessionC
ontainer.java:172) [:6.0.0.Final]
        at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invokeHome(CachedConnect
ionInterceptor.java:187) [:6.0.0.Final]
        at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invokeHome(StatelessSessionInst
anceInterceptor.java:97) [:6.0.0.Final]
        at org.jboss.ejb.plugins.CallValidationInterceptor.invokeHome(CallValidationInterceptor.java
:56) [:6.0.0.Final]
        at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:125) [:
6.0.0.Final]
        at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:350) [:6
.0.0.Final]
        at org.jboss.ejb.plugins.TxInterceptorCMT.invokeHome(TxInterceptorCMT.java:161) [:6.0.0.Fina
l]
        at org.jboss.ejb.plugins.SecurityInterceptor.process(SecurityInterceptor.java:230) [:6.0.0.F
inal]
        at org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.java:205) [:6.0.
0.Final]
        at org.jboss.ejb.plugins.security.PreSecurityInterceptor.process(PreSecurityInterceptor.java
:99) [:6.0.0.Final]
        at org.jboss.ejb.plugins.security.PreSecurityInterceptor.invokeHome(PreSecurityInterceptor.j
ava:88) [:6.0.0.Final]
        at org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:132) [:6.0.0.Final]
        at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invokeHome(ProxyFactoryFinderIntercep
tor.java:107) [:6.0.0.Final]
        at org.jboss.ejb.SessionContainer.internalInvokeHome(SessionContainer.java:639) [:6.0.0.Fina
l]
        at org.jboss.ejb.Container.invoke(Container.java:1089) [:6.0.0.Final]
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.6.0]
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [:1.6.0]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [:1
.6.0]
        at java.lang.reflect.Method.invoke(Method.java:597) [:1.6.0]
        at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157) [:6.0.0
.GA]
        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96) [:6.0.0.GA]
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) [:6.0.0.GA]
        at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:271) [:6.0.0.GA
]
        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:670) [:6.0.0.GA]
        at org.jboss.invocation.local.LocalInvoker$MBeanServerAction.invoke(LocalInvoker.java:169) [
:6.0.0.Final]
        at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:118) [:6.0.0.Final]
        at org.jboss.invocation.InvokerInterceptor.invokeLocal(InvokerInterceptor.java:209) [:6.0.0.
Final]
        at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:195) [:6.0.0.Final
]
        at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:61) [:6.0.0.Fin
al]
        at org.jboss.proxy.ejb.SecurityContextInterceptor.invoke(SecurityContextInterceptor.java:64)
 [:6.0.0.Final]
        at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:68) [:6.0.0.Final]
        at org.jboss.proxy.ejb.HomeInterceptor.invoke(HomeInterceptor.java:184) [:6.0.0.Final]
        at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:101) [:6.0.0.Final]
        at $Proxy287.create(Unknown Source)     

--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/612504#612504]

Start a new discussion in EJB3 at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2029]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110629/16e95cbd/attachment.html 


More information about the jboss-user mailing list