0 Replies Latest reply on Sep 19, 2008 7:55 AM by ajanz

    No CurrentSessionContext configured!

    ajanz

      i got some trouble deploying jbpm enterprise on jboss 4.2.2 ga with seam.

      i removed jbpm-jpdl.jar from the jbpm-enterprise.ear and put it in the servers lib

      now class loadings seems no problem any more.

      but now i got No CurrentSessionContext configured!

      stacktrace


      13:55:12,707 ERROR [LogInterceptor] TransactionRolledbackException in method: pu
      blic abstract java.lang.Object org.jbpm.ejb.RemoteCommandService.execute(org.jbp
      m.command.Command) throws java.rmi.RemoteException, causedBy:
      org.hibernate.HibernateException: No CurrentSessionContext configured!
       at org.hibernate.impl.SessionFactoryImpl.getCurrentSession(SessionFactor
      yImpl.java:542)
       at org.jbpm.persistence.db.DbPersistenceService.getSession(DbPersistence
      Service.java:105)
       at org.jbpm.persistence.db.DbPersistenceService.getGraphSession(DbPersis
      tenceService.java:345)
       at org.jbpm.JbpmContext.getGraphSession(JbpmContext.java:571)
       at org.jbpm.command.GetProcessDefinitionsCommand.execute(GetProcessDefin
      itionsCommand.java:30)
       at org.jbpm.ejb.impl.CommandServiceBean.execute(CommandServiceBean.java:
      146)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
      java:39)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:597)
       at org.jboss.invocation.Invocation.performCall(Invocation.java:359)
       at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(S
      tatelessSessionContainer.java:237)
       at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invo
      ke(CachedConnectionInterceptor.java:158)
       at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(Stat
      elessSessionInstanceInterceptor.java:169)
       at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidation
      Interceptor.java:63)
       at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInte
      rceptor.java:121)
       at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxIntercep
      torCMT.java:350)
       at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:1
      81)
       at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.
      java:168)
       at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)
       at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFacto
      ryFinderInterceptor.java:138)
       at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:6
      48)
       at org.jboss.ejb.Container.invoke(Container.java:960)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
      java:39)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:597)
       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
      er.java:155)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
      java:264)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
       at org.jboss.invocation.local.LocalInvoker$MBeanServerAction.invoke(Loca
      lInvoker.java:169)
       at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:118)
      
       at org.jboss.invocation.InvokerInterceptor.invokeLocal(InvokerIntercepto
      r.java:209)
       at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.jav
      a:195)
       at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.
      java:61)
       at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:7
      0)
       at org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke(StatelessSessi
      onInterceptor.java:112)
       at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:100)
       at $Proxy124.execute(Unknown Source)