[jboss-user] [JBoss jBPM] - ClassCastException: org.jbpm.msg.jms.JmsMessageServiceFactor

Wash do-not-reply at jboss.com
Tue May 29 03:37:34 EDT 2007


Hi guys,

We are currently trying to deploy a process into jBPM 3.2 GA over WebLogic 9.2 SA and we are encountering the following exception. The process definition (processdefinition.xml) is a simple node with an async state. We can't find this class JmsMessageServiceFactoryImpl.

Any ideas ?

Thanks,
Wash

Failed to start process: org.jbpm.msg.jms.JmsMessageServiceFactoryImpl
  | java.lang.ClassCastException: org.jbpm.msg.jms.JmsMessageServiceFactoryImpl
  |         at org.jbpm.svc.Services.getServiceFactory(Services.java:122)
  |         at org.jbpm.svc.Services.getService(Services.java:139)
  |         at org.jbpm.svc.Services.getCurrentService(Services.java:88)
  |         at org.jbpm.svc.Services.getCurrentService(Services.java:81)
  |         at org.jbpm.graph.def.Node.enter(Node.java:314)
  |         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:585)
  |         at org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.invoke(CGLIBLazyInitializer.java:147)
  | 
  | 
  |         at org.jbpm.graph.def.Node$$EnhancerByCGLIB$$da1614b7.enter(<generated>)
  |         at org.jbpm.graph.def.Transition.take(Transition.java:151)
  |         at org.jbpm.graph.def.Node.leave(Node.java:393)
  |         at org.jbpm.graph.node.StartState.leave(StartState.java:70)
  |         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:585)
  |         at org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.invoke(CGLIBLazyInitializer.java:147)
  | 
  | 
  |         at org.jbpm.graph.def.Node$$EnhancerByCGLIB$$da1614b7.leave(<generated>)
  |         at org.jbpm.graph.exe.Token.signal(Token.java:194)
  |         at org.jbpm.graph.exe.Token.signal(Token.java:165)
  |         at org.jbpm.webapp.bean.ProcessBean.startInstance(ProcessBean.java:162)
  |         at org.jbpm.webapp.bean.ProcessBean$StartInstanceListener.processAction(ProcessBean.java:123
  | 
  | )
  |         at javax.faces.event.ActionEvent.processListener(ActionEvent.java:77)
  |         at javax.faces.component.UIComponentBase.broadcast(UIComponentBase.java:758)
  |         at javax.faces.component.UICommand.broadcast(UICommand.java:368)
  |         at javax.faces.component.UIData.broadcast(UIData.java:854)
  |         at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:448)
  |         at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:752)
  |         at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:97)
  |         at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:248)
  |         at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)
  |         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)
  |         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.
  | 
  | java:223)
  |         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
  |         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
  |         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
  |         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
  |         at org.jbpm.webapp.filter.LogFilter.doFilter(LogFilter.java:59)
  |         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
  |         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:26)
  |         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
  |         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletC
  | 
  | ontext.java:3243)
  |         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
  |         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
  |         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2
  | 
  | 003)
  |         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1909)
  |         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1359)
  |         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
  |         at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)> 
  | org.jbpm.JbpmException: setRollbackOnly was invoked while configuration specifies user managed trans
  | 
  | actions
  |         at org.jbpm.persistence.db.DbPersistenceService.close(DbPersistenceService.java:203)
  |         at org.jbpm.svc.Services.close(Services.java:222)
  |         at org.jbpm.JbpmContext.close(JbpmContext.java:139)
  |         at org.jbpm.webapp.bean.JbpmBean.closeJbpmContext(JbpmBean.java:35)
  |         at org.jbpm.webapp.listener.JbpmPhaseListener.afterPhase(JbpmPhaseListener.java:113)
  |         at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:278)
  |         at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)
  |         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)
  |         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.
  | 
  | java:223)
  |         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
  |         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
  |         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
  |         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
  |         at org.jbpm.webapp.filter.LogFilter.doFilter(LogFilter.java:59)
  |         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
  |         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:26)
  |         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
  |         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletC
  | 
  | ontext.java:3243)
  |         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
  |         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
  |         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2
  | 
  | 003)
  |         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1909)
  |         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1359)
  |         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
  |         at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4049206#4049206

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4049206



More information about the jboss-user mailing list