0 Replies Latest reply on Dec 9, 2005 12:06 PM by sai_nukala

    javax.ejb.EJBException: Invalid invocation.. Message..Sugges

    sai_nukala Newbie

      Hi
      Jboss is throwing following exception when my Quartz Job (Calls EJB Methods) is using Scheduler Instance started by Quartz MBean Service under JBoss.

      If executed from outside JBOSS, everything works. I understand that this is due to caller and EJB itself using different ClassLoaders.

      How do i fix this. Basically Quartz Service is started by JBoss so how can it be different class loader with this error??? Any suggestions..


      Caused by: javax.ejb.EJBException: Invalid invocation, check your deployment packaging, method=public abstract com.nykline.customs.canada.business.interfaces.FlowFacadeMgr com.nykline.customs.canada.business.interfaces.FlowFacadeMgrHome.create() throws javax.ejb.CreateException,java.rmi.RemoteException
      at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invokeHome(StatelessSessionContainer.java:161)
      at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invokeHome(CachedConnectionInterceptor.java:180)
      at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invokeHome(StatelessSessionInstanceInterceptor.java:83)
      at org.jboss.ejb.plugins.AbstractInterceptor.invokeHome(AbstractInterceptor.java:90)
      at org.jboss.ejb.plugins.CallValidationInterceptor.invokeHome(CallValidationInterceptor.java:41)
      at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:110)
      at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:335)
      at org.jboss.ejb.plugins.TxInterceptorCMT.invokeHome(TxInterceptorCMT.java:146)
      at org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.java:130)
      at org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:121)