[JBoss jBPM] - Lazy Initaslization Error
by saurabh.khattar
I have made a small BPM web application. In one of the methods in servlet I am getting the instances for a particular user:
private void getProcessDetails(HttpServletRequest request, HttpServletResponse response) {
|
| HttpSession session = request.getSession();
|
| List jbpmTaskInstances = new ArrayList();
|
| JbpmConfiguration jbpmConfiguration = JbpmEncompassConfiguration.instance().getJbpmConfiguration();
| JbpmContext jbpmContext = jbpmConfiguration.createJbpmContext();
|
|
| Session jbpmContextSession = jbpmContext.getSession();
|
|
| String actorPmId = new String("PM");
| String actorCordId = new String("Coordinator");
|
| List actorsList = new ArrayList();
| actorsList.add(actorPmId);
| List pooledPmTaskInstances = jbpmContext.getTaskMgmtSession().findTaskInstances(actorsList);
| List jbpmPmTaskInstanceList = jbpmContextSession.createQuery("from org.jbpm.taskmgmt.exe.TaskInstance ti where ti.start is null and ti.end is null and actorId = '"+actorPmId+"'").list();
| //add pooledTaskInstances to taskList
| jbpmPmTaskInstanceList.addAll(pooledPmTaskInstances);
| jbpmTaskInstances.addAll(jbpmPmTaskInstanceList);
|
| actorsList = new ArrayList();
| actorsList.add(actorCordId);
| List pooledCordTaskInstances = jbpmContext.getTaskMgmtSession().findTaskInstances(actorsList);
| List jbpmCordTaskInstanceList = jbpmContextSession.createQuery("from org.jbpm.taskmgmt.exe.TaskInstance ti where ti.start is null and ti.end is null and actorId = '"+actorCordId+"'").list();
| //add pooledTaskInstances to taskList
| jbpmCordTaskInstanceList.addAll(pooledCordTaskInstances);
| jbpmTaskInstances.addAll(jbpmCordTaskInstanceList);
|
| Iterator iAll = jbpmTaskInstances.iterator();
| Iterator iPm = jbpmPmTaskInstanceList.iterator();
| Iterator iCord = jbpmCordTaskInstanceList.iterator();
|
| List jbpmProcessInstances = new ArrayList();
|
| while(iAll.hasNext()){
| TaskInstance ti = (TaskInstance) iAll.next();
| ProcessInstance processInstance = ti.getProcessInstance();
| jbpmProcessInstances.add(processInstance);
| }
|
|
|
| session.setAttribute("pmTaskList", jbpmPmTaskInstanceList);
| session.setAttribute("cordTaskList", jbpmCordTaskInstanceList);
| session.setAttribute("allTaskList", jbpmProcessInstances);
|
|
|
| //jbpmContextSession.close();
| jbpmContext.close();
|
| }
|
|
I set arraylist of process instances in the session. But when I try to access process instances in jsp it gives the following error:
|
| 10:13:39,214 ERROR [LazyInitializationException] could not initialize proxy - the owning Session was closed
| org.hibernate.LazyInitializationException: could not initialize proxy - the owning Session was closed
| at org.hibernate.proxy.AbstractLazyInitializer.initialize(AbstractLazyInitializer.java:60)
| at org.hibernate.proxy.AbstractLazyInitializer.getImplementation(AbstractLazyInitializer.java:111)
| at org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.invoke(CGLIBLazyInitializer.java:172)
| at org.jbpm.graph.exe.ProcessInstance$$EnhancerByCGLIB$$614637f6.getContextInstance(<generated>)
| at org.apache.jsp.jsp.index_jsp._jspService(index_jsp.java:121)
| at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
| at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
| at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:334)
| at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
| at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
| at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
| at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
| at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
| at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
| at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
| at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
| at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
| at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
| at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
| at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
| at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
| at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
| at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
| at java.lang.Thread.run(Thread.java:595)
Please some one help me....
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4169056#4169056
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4169056
16 years, 4 months
[JBoss jBPM] - JBMP application redeployment fails to start
by xnejp03
Hi,
I have an ear appliaction including JBPM and Seam. It's pretty simple at the moment. It basically works, only problem I have is when I have JBoss running the application and I build a new ear and replace the current one with it (redeploy), JBPM cannot start properly because it cannot locate jbpm.conf.xml file. It looks like Seam is actually starting JBPM in this case, could it be a classloading problem?
It is fixed by restarting JBoss, which is a bit annoying, especially during development.
Anyone can help?
SEVERE: Error Rendering View[/roleList.xhtml]
| org.jboss.seam.InstantiationException: Could not instantiate Seam component: org.jboss.seam.bpm.jbpmContext
| at org.jboss.seam.Component.newInstance(Component.java:1986)
| at org.jboss.seam.Component.getInstance(Component.java:1876)
| at org.jboss.seam.Component.getInstance(Component.java:1855)
| at org.jboss.seam.Component.getInstance(Component.java:1832)
| at org.jboss.seam.Component.getInstance(Component.java:1827)
| at org.jboss.seam.bpm.ManagedJbpmContext.instance(ManagedJbpmContext.java:165)
| at org.jboss.seam.bpm.PooledTaskInstanceList.getPooledTaskInstanceList(PooledTaskInstanceList.java:37)
| 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.jboss.seam.util.Reflections.invoke(Reflections.java:21)
| at org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:31)
| at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56)
| at org.jboss.seam.transaction.RollbackInterceptor.aroundInvoke(RollbackInterceptor.java:31)
| at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
| at org.jboss.seam.bpm.BusinessProcessInterceptor.aroundInvoke(BusinessProcessInterceptor.java:49)
| at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
| at org.jboss.seam.transaction.TransactionInterceptor$1.work(TransactionInterceptor.java:38)
| at org.jboss.seam.util.Work.workInTransaction(Work.java:41)
| at org.jboss.seam.transaction.TransactionInterceptor.aroundInvoke(TransactionInterceptor.java:32)
| at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
| at org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:42)
| at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
| at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:107)
| at org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:166)
| at org.jboss.seam.intercept.JavaBeanInterceptor.invoke(JavaBeanInterceptor.java:102)
| at org.jboss.seam.bpm.PooledTaskInstanceList_$$_javassist_9.getPooledTaskInstanceList(PooledTaskInstanceList_$$_javassist_9.java)
| 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.jboss.seam.util.Reflections.invoke(Reflections.java:21)
| at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:125)
| at org.jboss.seam.Component.callComponentMethod(Component.java:2092)
| at org.jboss.seam.Component.unwrap(Component.java:2118)
| at org.jboss.seam.Component.getInstance(Component.java:1890)
| at org.jboss.seam.Component.getInstance(Component.java:1843)
| at org.jboss.seam.Namespace.getComponentInstance(Namespace.java:55)
| at org.jboss.seam.Namespace.getComponentInstance(Namespace.java:50)
| at org.jboss.seam.el.SeamELResolver.resolveBase(SeamELResolver.java:177)
| at org.jboss.seam.el.SeamELResolver.getValue(SeamELResolver.java:53)
| at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:53)
| at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:72)
| at org.jboss.el.parser.AstIdentifier.getValue(AstIdentifier.java:44)
| at org.jboss.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:186)
| at com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:71)
| at javax.faces.component.UIData.getValue(UIData.java:608)
| at javax.faces.component.UIData.getDataModel(UIData.java:1112)
| at javax.faces.component.UIData.setRowIndex(UIData.java:450)
| at com.sun.faces.renderkit.html_basic.TableRenderer.encodeBegin(TableRenderer.java:77)
| at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:808)
| at javax.faces.component.UIData.encodeBegin(UIData.java:950)
| at javax.faces.component.UIComponent.encodeAll(UIComponent.java:934)
| at javax.faces.render.Renderer.encodeChildren(Renderer.java:148)
| at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:832)
| at javax.faces.component.UIComponent.encodeAll(UIComponent.java:936)
| at javax.faces.component.UIComponent.encodeAll(UIComponent.java:942)
| at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:592)
| at org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:108)
| at org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:189)
| at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:109)
| at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
| at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
| at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
| at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
| at org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:68)
| at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
| at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:85)
| at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
| at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
| at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
| at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
| at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
| at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:154)
| at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:260)
| at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:366)
| at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:493)
| at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:60)
| at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
| at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58)
| at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
| at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
| at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
| at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
| at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
| at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
| at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:524)
| at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
| 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:157)
| at org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:393)
| at org.apache.catalina.core.Sta
| 13:04:29,274 ERROR [STDERR] ndardEngineValve.invoke(StandardEngineValve.java:109)
| at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
| at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
| at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
| at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
| at java.lang.Thread.run(Thread.java:595)
| Caused by: org.jbpm.JbpmException: couldn't parse jbpm configuration from resource 'jbpm.cfg.xml'
| at org.jbpm.JbpmConfiguration.getInstance(JbpmConfiguration.java:292)
| at org.jbpm.JbpmConfiguration.getInstance(JbpmConfiguration.java:257)
| at org.jboss.seam.bpm.Jbpm.initJbpmConfiguration(Jbpm.java:102)
| at org.jboss.seam.bpm.Jbpm.getJbpmConfiguration(Jbpm.java:93)
| at org.jboss.seam.bpm.ManagedJbpmContext.create(ManagedJbpmContext.java:55)
| 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.jboss.seam.util.Reflections.invoke(Reflections.java:21)
| at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:125)
| at org.jboss.seam.Component.callComponentMethod(Component.java:2092)
| at org.jboss.seam.Component.callCreateMethod(Component.java:2015)
| at org.jboss.seam.Component.newInstance(Component.java:1976)
| ... 104 more
| Caused by: org.jbpm.JbpmException: jbpm configuration resource 'jbpm.cfg.xml' is not available
| at org.jbpm.JbpmConfiguration.getInstance(JbpmConfiguration.java:286)
| ... 117 more
Thanks,
Petr
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4169015#4169015
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4169015
16 years, 4 months
[JBoss jBPM] - Error when using jpdl-enterprise.jar classes
by xnejp03
Hi,
I'm writing an app using jBPM (jPDL) and want to use the provided enterprise package. I have set up Seam integration as well. I don't see any errors during deployment, but when I want to display list of tasks (using Seam's component #{pooledTaskInstanceList} ), JBPM gets initialized, jbpmContext is about to be created, but I'm getting back "ejb (or jms) not bound" exception. I guess it's because there is no resource-ref in whatever bean is initializing JBPM in this instance.
Is there a way of making this work?
My jbpm.cong.xml:
...
| <service name="message" factory="org.jbpm.msg.jms.JmsMessageServiceFactoryImpl" />
| <service name="scheduler" factory="org.jbpm.scheduler.ejbtimer.EntitySchedulerServiceFactory" />
| ...
The exception:
12:48:16,494 ERROR [EntitySchedulerServiceFactory] ejb timer entity lookup problem
| javax.naming.NameNotFoundException: ejb not bound
| at org.jnp.server.NamingServer.getBinding(NamingServer.java:529)
| at org.jnp.server.NamingServer.getBinding(NamingServer.java:537)
| at org.jnp.server.NamingServer.getObject(NamingServer.java:543)
| at org.jnp.server.NamingServer.lookup(NamingServer.java:267)
| at org.jnp.server.NamingServer.lookup(NamingServer.java:270)
| at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:667)
| at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:774)
| at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:627)
| at javax.naming.InitialContext.lookup(InitialContext.java:351)
| at org.jbpm.scheduler.ejbtimer.EntitySchedulerServiceFactory.<init>(EntitySchedulerServiceFactory.java:46)
| at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
| at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
| at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
| at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
| at java.lang.Class.newInstance0(Class.java:350)
| at java.lang.Class.newInstance(Class.java:303)
| at org.jbpm.configuration.BeanInfo.createObject(BeanInfo.java:86)
| at org.jbpm.configuration.JbpmContextInfo.createObject(JbpmContextInfo.java:129)
| at org.jbpm.configuration.ObjectFactoryImpl.getObject(ObjectFactoryImpl.java:146)
| at org.jbpm.configuration.ObjectFactoryImpl.createObject(ObjectFactoryImpl.java:103)
| at org.jbpm.configuration.ObjectFactoryImpl.createObject(ObjectFactoryImpl.java:78)
| at org.jbpm.JbpmConfiguration.createJbpmContext(JbpmConfiguration.java:394)
| at org.jbpm.JbpmConfiguration.getServiceFactory(JbpmConfiguration.java:406)
| at org.jbpm.JbpmConfiguration.getServiceFactory(JbpmConfiguration.java:401)
| at org.jboss.seam.bpm.Jbpm.initJbpmConfiguration(Jbpm.java:116)
| at org.jboss.seam.bpm.Jbpm.getJbpmConfiguration(Jbpm.java:93)
| at org.jboss.seam.bpm.ManagedJbpmContext.create(ManagedJbpmContext.java:55)
| 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.jboss.seam.util.Reflections.invoke(Reflections.java:21)
| at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:125)
| at org.jboss.seam.Component.callComponentMethod(Component.java:2092)
| at org.jboss.seam.Component.callCreateMethod(Component.java:2015)
| at org.jboss.seam.Component.newInstance(Component.java:1976)
| at org.jboss.seam.Component.getInstance(Component.java:1876)
| at org.jboss.seam.Component.getInstance(Component.java:1855)
| at org.jboss.seam.Component.getInstance(Component.java:1832)
| at org.jboss.seam.Component.getInstance(Component.java:1827)
| at org.jboss.seam.bpm.ManagedJbpmContext.instance(ManagedJbpmContext.java:165)
| at org.jboss.seam.bpm.PooledTaskInstanceList.getPooledTaskInstanceList(PooledTaskInstanceList.java:37)
| 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.jboss.seam.util.Reflections.invoke(Reflections.java:21)
| at org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:31)
| at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56)
| at org.jboss.seam.transaction.RollbackInterceptor.aroundInvoke(RollbackInterceptor.java:31)
| at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
| at org.jboss.seam.bpm.BusinessProcessInterceptor.aroundInvoke(BusinessProcessInterceptor.java:49)
| at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
| at org.jboss.seam.transaction.TransactionInterceptor$1.work(TransactionInterceptor.java:38)
| at org.jboss.seam.util.Work.workInTransaction(Work.java:41)
| at org.jboss.seam.transaction.TransactionInterceptor.aroundInvoke(TransactionInterceptor.java:32)
| at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
| at org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:42)
| at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
| at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:107)
| at org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:166)
| at org.jboss.seam.intercept.JavaBeanInterceptor.invoke(JavaBeanInterceptor.java:102)
| at org.jboss.seam.bpm.PooledTaskInstanceList_$$_javassist_3.getPooledTaskInstanceList(PooledTaskInstanceList_$$_javassist_3.java)
| 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.jboss.seam.util.Reflections.invoke(Reflections.java:21)
| at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:125)
| at org.jboss.seam.Component.callComponentMethod(Component.java:2092)
| at org.jboss.seam.Component.unwrap(Component.java:2118)
| at org.jboss.seam.Component.getInstance(Component.java:1890)
| at org.jboss.seam.Component.getInstance(Component.java:1843)
| at org.jboss.seam.Namespace.getComponentInstance(Namespace.java:55)
| at org.jboss.seam.Namespace.getComponentInstance(Namespace.java:50)
| at org.jboss.seam.el.SeamELResolver.resolveBase(SeamELResolver.java:177)
| at org.jboss.seam.el.SeamELResolver.getValue(SeamELResolver.java:53)
| at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:53)
| at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:72)
| at org.jboss.el.parser.AstIdentifier.getValue(AstIdentifier.java:44)
| at org.jboss.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:186)
| at com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:71)
| at javax.faces.component.UIData.getValue(UIData.java:608)
| at javax.faces.component.UIData.getDataModel(UIData.java:1112)
| at javax.faces.component.UIData.setRowIndex(UIData.java:450)
| at com.sun.faces.renderkit.html_basic.TableRenderer.encodeBegin(TableRenderer.java:77)
| at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:808)
| at javax.faces.component.UIData.encodeBegin(UIData.java:950)
| at javax.faces.component.UIComponent.encodeAll(UIComponent.java:934)
| at javax.faces.render.Renderer.encodeChildren(Renderer.java:148)
| at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:832)
| at javax.faces.component.UIComponent.encodeAll(UIComponent.java:936)
| at javax.faces.component.UIComponent.encodeAll(UIComponent.java:942)
| at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:592)
| at org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:108)
| at org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:189)
| at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:109)
| at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
| at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
| at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
| at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
| at org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:68)
| at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
| at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:85)
| at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
| at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
| at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
| at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
| at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
| at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:154)
| at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:260)
| at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:366)
| at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:493)
| at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:60)
| at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
| at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58)
| at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
| at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
| at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
| at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
| at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
| at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
| at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:524)
| at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
| 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:157)
| at org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:393)
| at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
| at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
| at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
| at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
| at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
| at java.lang.Thread.run(Thread.java:595)
| 12:48:16,510 ERROR [STDERR] 06-Aug-2008 12:48:16 com.sun.facelets.FaceletViewHandler handleRenderException
| SEVERE: Error Rendering View[/roleList.xhtml]
| org.jboss.seam.InstantiationException: Could not instantiate Seam component: org.jboss.seam.bpm.jbpmContext
| at org.jboss.seam.Component.newInstance(Component.java:1986)
| at org.jboss.seam.Component.getInstance(Component.java:1876)
| at org.jboss.seam.Component.getInstance(Component.java:1855)
| at org.jboss.seam.Component.getInstance(Component.java:1832)
| at org.jboss.seam.Component.getInstance(Component.java:1827)
| at org.jboss.seam.bpm.ManagedJbpmContext.instance(ManagedJbpmContext.java:165)
| at org.jboss.seam.bpm.PooledTaskInstanceList.getPooledTaskInstanceList(PooledTaskInstanceList.java:37)
| 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.jboss.seam.util.Reflections.invoke(Reflections.java:21)
| at org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:31)
| at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56)
| at org.jboss.seam.transaction.RollbackInterceptor.aroundInvoke(RollbackInterceptor.java:31)
| at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
| at org.jboss.seam.bpm.BusinessProcessInterceptor.aroundInvoke(BusinessProcessInterceptor.java:49)
| at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
| at org.jboss.seam.transaction.TransactionInterceptor$1.work(TransactionInterceptor.java:38)
| at org.jboss.seam.util.Work.workInTransaction(Work.java:41)
| at org.jboss.seam.transaction.TransactionInterceptor.aroundInvoke(TransactionInterceptor.java:32)
| at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
| at org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:42)
| at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
| at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:107)
| at org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:166)
| at org.jboss.seam.intercept.JavaBeanInterceptor.invoke(JavaBeanInterceptor.java:102)
| at org.jboss.seam.bpm.PooledTaskInstanceList_$$_javassist_3.getPooledTaskInstanceList(PooledTaskInstanceList_$$_javassist_3.java)
| 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.jboss.seam.util.Reflections.invoke(Reflections.java:21)
| at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:125)
| at org.jboss.seam.Component.callComponentMethod(Component.java:2092)
| at org.jboss.seam.Component.unwrap(Component.java:2118)
| at org.jboss.seam.Component.getInstance(Component.java:1890)
| at org.jboss.seam.Component.getInstance(Component.java:1843)
| at org.jboss.seam.Namespace.getComponentInstance(Namespace.java:55)
| at org.jboss.seam.Namespace.getComponentInstance(Namespace.java:50)
| at org.jboss.seam.el.SeamELResolver.resolveBase(SeamELResolver.java:177)
| at org.jboss.seam.el.SeamELResolver.getValue(SeamELResolver.java:53)
| at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:53)
| at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:72)
| at org.jboss.el.parser.AstIdentifier.getValue(AstIdentifier.java:44)
| at org.jboss.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:186)
| at com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:71)
| at javax.faces.component.UIData.getValue(UIData.java:608)
| at javax.faces.component.UIData.getDataModel(UIData.java:1112)
| at javax.faces.component.UIData.setRowIndex(UIData.java:450)
| at com.sun.faces.renderkit.html_basic.TableRenderer.encodeBegin(TableRenderer.java:77)
| at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:808)
| at javax.faces.component.UIData.encodeBegin(UIData.java:950)
| at javax.faces.component.UIComponent.encodeAll(UIComponent.java:934)
| at javax.faces.render.Renderer.encodeChildren(Renderer.java:148)
| at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:832)
| at javax.faces.component.UIComponent.encodeAll(UIComponent.java:936)
| at javax.faces.component.UIComponent.encodeAll(UIComponent.java:942)
| at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:592)
| at org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:108)
| at org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:189)
| at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:109)
| at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
| at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
| at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
| at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
| at org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:68)
| at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
| at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:85)
| at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
| at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
| at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
| at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
| at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
| at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:154)
| at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:260)
| at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:366)
| at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:493)
| at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:60)
| at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
| at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58)
| at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
| at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
| at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
| at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
| at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
| at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
| at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:524)
| at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
| 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:157)
| at org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:393)
| at org.apache.catalina.core.Sta
| 12:48:16,510 ERROR [STDERR] ndardEngineValve.invoke(StandardEngineValve.java:109)
| at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
| at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
| at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
| at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
| at java.lang.Thread.run(Thread.java:595)
| Caused by: org.jbpm.JbpmException: couldn't instantiate bean 'null' of type 'org.jbpm.scheduler.ejbtimer.EntitySchedulerServiceFactory'
| at org.jbpm.configuration.BeanInfo.createObject(BeanInfo.java:88)
| at org.jbpm.configuration.JbpmContextInfo.createObject(JbpmContextInfo.java:129)
| at org.jbpm.configuration.ObjectFactoryImpl.getObject(ObjectFactoryImpl.java:146)
| at org.jbpm.configuration.ObjectFactoryImpl.createObject(ObjectFactoryImpl.java:103)
| at org.jbpm.configuration.ObjectFactoryImpl.createObject(ObjectFactoryImpl.java:78)
| at org.jbpm.JbpmConfiguration.createJbpmContext(JbpmConfiguration.java:394)
| at org.jbpm.JbpmConfiguration.getServiceFactory(JbpmConfiguration.java:406)
| at org.jbpm.JbpmConfiguration.getServiceFactory(JbpmConfiguration.java:401)
| at org.jboss.seam.bpm.Jbpm.initJbpmConfiguration(Jbpm.java:116)
| at org.jboss.seam.bpm.Jbpm.getJbpmConfiguration(Jbpm.java:93)
| at org.jboss.seam.bpm.ManagedJbpmContext.create(ManagedJbpmContext.java:55)
| 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.jboss.seam.util.Reflections.invoke(Reflections.java:21)
| at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:125)
| at org.jboss.seam.Component.callComponentMethod(Component.java:2092)
| at org.jboss.seam.Component.callCreateMethod(Component.java:2015)
| at org.jboss.seam.Component.newInstance(Component.java:1976)
| ... 104 more
| Caused by: org.jbpm.JbpmException: ejb timer entity lookup problem
| at org.jbpm.scheduler.ejbtimer.EntitySchedulerServiceFactory.<init>(EntitySchedulerServiceFactory.java:49)
| at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
| at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
| at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
| at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
| at java.lang.Class.newInstance0(Class.java:350)
| at java.lang.Class.newInstance(Class.java:303)
| at org.jbpm.configuration.BeanInfo.createObject(BeanInfo.java:86)
| ... 123 more
| Caused by: javax.naming.NameNotFoundException: ejb not bound
| at org.jnp.server.NamingServer.getBinding(NamingServer.java:529)
| at org.jnp.server.NamingServer.getBinding(NamingServer.java:537)
| at org.jnp.server.NamingServer.getObject(NamingServer.java:543)
| at org.jnp.server.NamingServer.lookup(NamingServer.java:267)
| at org.jnp.server.NamingServer.lookup(NamingServer.java:270)
| at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:667)
| at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:774)
| at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:627)
| at javax.naming.InitialContext.lookup(InitialContext.java:351)
| at org.jbpm.scheduler.ejbtimer.EntitySchedulerServiceFactory.<init>(EntitySchedulerServiceFactory.java:46)
| ... 130 more
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4169012#4169012
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4169012
16 years, 4 months