[JBoss JIRA] Created: (JBPM-1930) NullPointerException in jbpm-console when viewing running process
by Joakim Sandström (JIRA)
NullPointerException in jbpm-console when viewing running process
-----------------------------------------------------------------
Key: JBPM-1930
URL: https://jira.jboss.org/jira/browse/JBPM-1930
Project: JBoss jBPM
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Console
Affects Versions: jBPM 3.2.2
Reporter: Joakim Sandström
2008-12-18 10:39:11,928 ERROR [javax.enterprise.resource.webcontainer.jsf.lifecycle] JSF1054: (Phase ID: RENDER_RESPONSE 6, View ID: /sa/procins.xhtml) Exception thrown during phase execution: javax.faces.event.PhaseEvent[source=com.sun.
faces.lifecycle.LifecycleImpl@1946a32]
2008-12-18 10:39:11,946 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/jbpm-console].[Faces Servlet]] Servlet.service() for servlet Faces Servlet threw exception
java.lang.NullPointerException
at java.lang.String.compareTo(String.java:1168)
at java.lang.String.compareTo(String.java:92)
at org.jboss.gravel.data.action.SortActionListener$ELComparator.compare(SortActionListener.java:140)
at java.util.Arrays.mergeSort(Arrays.java:1270)
at java.util.Arrays.sort(Arrays.java:1210)
at java.util.Collections.sort(Collections.java:159)
at org.jboss.gravel.data.action.SortActionListener.processAction(SortActionListener.java:83)
at javax.faces.event.ActionEvent.processListener(ActionEvent.java:88)
at javax.faces.component.UIComponentBase.broadcast(UIComponentBase.java:771)
at javax.faces.component.UICommand.broadcast(UICommand.java:372)
at org.jboss.gravel.action.handler.ResponseActionsHandler.onComponentPopulated(ResponseActionsHandler.java:24)
at com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:180)
at com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
at com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(ComponentHandler.java:314)
at com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:169)
at com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
at com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(ComponentHandler.java:314)
at com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:169)
at org.jboss.gravel.common.handler.CollectionHandler.applyNextHandler(CollectionHandler.java:155)
at com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:169)
at com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
at com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(ComponentHandler.java:314)
at com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:169)
at com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
at com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(ComponentHandler.java:314)
at com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:169)
at com.sun.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:49)
at com.sun.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:25)
at com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:248)
at com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:294)
at com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:273)
at com.sun.facelets.impl.DefaultFaceletContext.includeFacelet(DefaultFaceletContext.java:143)
at com.sun.facelets.tag.ui.DecorateHandler.apply(DecorateHandler.java:105)
at com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
at com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(ComponentHandler.java:314)
at com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:169)
at com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
at com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(ComponentHandler.java:314)
at com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:169)
at com.sun.facelets.tag.ui.DefineHandler.apply(DefineHandler.java:58)
at com.sun.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:128)
at com.sun.facelets.impl.DefaultFaceletContext$TemplateManager.apply(DefaultFaceletContext.java:306)
at com.sun.facelets.impl.DefaultFaceletContext.includeDefinition(DefaultFaceletContext.java:279)
at com.sun.facelets.tag.ui.InsertHandler.apply(InsertHandler.java:68)
at com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
at com.sun.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:49)
at com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
at com.sun.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:25)
at com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:248)
at com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:294)
at com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:273)
at com.sun.facelets.impl.DefaultFaceletContext.includeFacelet(DefaultFaceletContext.java:143)
at com.sun.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:113)
at com.sun.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:49)
at com.sun.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:25)
at com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:248)
at com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:294)
at com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:273)
at com.sun.facelets.impl.DefaultFaceletContext.includeFacelet(DefaultFaceletContext.java:143)
at com.sun.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:113)
at com.sun.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:49)
at com.sun.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:25)
at com.sun.facelets.impl.DefaultFacelet.apply(DefaultFacelet.java:95)
at com.sun.facelets.FaceletViewHandler.buildView(FaceletViewHandler.java:503)
at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:546)
at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.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.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:182)
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.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:619)
2008-12-18 10:39:19,410 ERROR [STDERR] Dec 18, 2008 10:39:19 AM com.sun.facelets.FaceletViewHandler handleRenderException
SEVERE: Error Rendering View[/sa/procins.xhtml]
java.lang.NullPointerException
at java.lang.String.compareTo(String.java:1168)
at java.lang.String.compareTo(String.java:92)
at org.jboss.gravel.data.action.SortActionListener$ELComparator.compare(SortActionListener.java:140)
at java.util.Arrays.mergeSort(Arrays.java:1270)
at java.util.Arrays.sort(Arrays.java:1210)
at java.util.Collections.sort(Collections.java:159)
at org.jboss.gravel.data.action.SortActionListener.processAction(SortActionListener.java:83)
at javax.faces.event.ActionEvent.processListener(ActionEvent.java:88)
at javax.faces.component.UIComponentBase.broadcast(UIComponentBase.java:771)
at javax.faces.component.UICommand.broadcast(UICommand.java:372)
at org.jboss.gravel.action.handler.ResponseActionsHandler.onComponentPopulated(ResponseActionsHandler.java:24)
at com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:180)
at com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
at com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(ComponentHandler.java:314)
at com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:169)
at com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
at com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(ComponentHandler.java:314)
at com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:169)
at org.jboss.gravel.common.handler.CollectionHandler.applyNextHandler(CollectionHandler.java:155)
at com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:169)
at com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
at com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(ComponentHandler.java:314)
at com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:169)
at com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
at com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(ComponentHandler.java:314)
at com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:169)
at com.sun.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:49)
at com.sun.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:25)
at com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:248)
at com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:294)
at com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:273)
at com.sun.facelets.impl.DefaultFaceletContext.includeFacelet(DefaultFaceletContext.java:143)
at com.sun.facelets.tag.ui.DecorateHandler.apply(DecorateHandler.java:105)
at com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
at com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(ComponentHandler.java:314)
at com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:169)
at com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
at com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(ComponentHandler.java:314)
at com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:169)
at com.sun.facelets.tag.ui.DefineHandler.apply(DefineHandler.java:58)
at com.sun.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:128)
at com.sun.facelets.impl.DefaultFaceletContext$TemplateManager.apply(DefaultFaceletContext.java:306)
at com.sun.facelets.impl.DefaultFaceletContext.includeDefinition(DefaultFaceletContext.java:279)
at com.sun.facelets.tag.ui.InsertHandler.apply(InsertHandler.java:68)
at com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
at com.sun.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:49)
at com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
at com.sun.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:25)
at com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:248)
at com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:294)
at com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:273)
at com.sun.facelets.impl.DefaultFaceletContext.includeFacelet(DefaultFaceletContext.java:143)
at com.sun.facelets.tag.ui.DecorateHandler.apply(DecorateHandler.java:105)
at com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
at com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(ComponentHandler.java:314)
at com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:169)
at com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
at com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(ComponentHandler.java:314)
at com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:169)
at com.sun.facelets.tag.ui.DefineHandler.apply(DefineHandler.java:58)
at com.sun.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:128)
at com.sun.facelets.impl.DefaultFaceletContext$TemplateManager.apply(DefaultFaceletContext.java:306)
at com.sun.facelets.impl.DefaultFaceletContext.includeDefinition(DefaultFaceletContext.java:279)
at com.sun.facelets.tag.ui.InsertHandler.apply(InsertHandler.java:68)
at com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
at com.sun.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:49)
at com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
at com.sun.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:25)
at com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:248)
at com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:294)
at com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:273)
at com.sun.facelets.impl.DefaultFaceletContext.includeFacelet(DefaultFaceletContext.java:143)
at com.sun.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:113)
at com.sun.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:49)
at com.sun.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:25)
at com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:248)
at com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:294)
at com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:273)
at com.sun.facelets.impl.DefaultFaceletContext.includeFacelet(DefaultFaceletContext.java:143)
at com.sun.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:113)
at com.sun.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:49)
at com.sun.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:25)
at com.sun.facelets.impl.DefaultFacelet.apply(DefaultFacelet.java:95)
at com.sun.facelets.FaceletViewHandler.buildView(FaceletViewHandler.java:503)
at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:546)
at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.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.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:182)
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.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:619)
2008-12-18 10:39:19,736 ERROR [javax.enterprise.resource.webcontainer.jsf.lifecycle] JSF1054: (Phase ID: RENDER_RESPONSE 6, View ID: /sa/procins.xhtml) Exception thrown during phase execution: javax.faces.event.PhaseEvent[source=com.sun.faces.lifecycle.LifecycleImpl@1946a32]
2008-12-18 10:39:19,954 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/jbpm-console].[Faces Servlet]] Servlet.service() for servlet Faces Servlet threw exception
java.lang.NullPointerException
at java.lang.String.compareTo(String.java:1168)
at java.lang.String.compareTo(String.java:92)
at org.jboss.gravel.data.action.SortActionListener$ELComparator.compare(SortActionListener.java:140)
at java.util.Arrays.mergeSort(Arrays.java:1270)
at java.util.Arrays.sort(Arrays.java:1210)
at java.util.Collections.sort(Collections.java:159)
at org.jboss.gravel.data.action.SortActionListener.processAction(SortActionListener.java:83)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 7 months
[JBoss JIRA] Created: (JBPM-2874) SubProcess not ended when signaling its state node from main process instance
by Maciej Swiderski (JIRA)
SubProcess not ended when signaling its state node from main process instance
-----------------------------------------------------------------------------
Key: JBPM-2874
URL: https://jira.jboss.org/browse/JBPM-2874
Project: jBPM
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: jBPM 4.3
Reporter: Maciej Swiderski
Assignee: Maciej Swiderski
Fix For: jBPM 4.4
There is a potential risk of wrong usage of sub process execution that seems like it was not tested.
Please consider following scenario:
- there are two processes (main and sub)
- both of them have states somewhere in the execution
- subprocess goes into wait state
- user wants to signal it but there is no reference to it available via public API
- user tries to signal using main process instance
- no exception is thrown
Potential misuse would be to call signal method using main process instance which will in fact move on with execution leaving unfinished sub process instance.
Solution to this issue could be as follows:
- expose method getSubProcessInstance on Execution (public API)
- disable direct signal on sub process activity from the API when it is in active state
- create an example and document it in user guide
I have already tested that and it seems to work properly.
If no objections, will finish with docs and examples and put it to repository.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 7 months
[JBoss JIRA] Created: (JBPM-2710) jbpm-4.3 Spring integration failled
by Tom Nguyen (JIRA)
jbpm-4.3 Spring integration failled
-----------------------------------
Key: JBPM-2710
URL: https://jira.jboss.org/jira/browse/JBPM-2710
Project: jBPM
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: jBPM 4.3
Environment: Spring 3.0, Hibernate 3.3.2
Reporter: Tom Nguyen
Fix For: jBPM 4.3
Spring integration failed.
Caused by: org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'repositoryService': Requested bean is currently in creation: Is there an unresolvable circular reference?
applicationContext-jbpm.xml
-------------------
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:p="http://www.springframework.org/schema/p" xmlns:context="http://www.springframework.org/schema/context"
xmlns:jee="http://www.springframework.org/schema/jee" xmlns:tx="http://www.springframework.org/schema/tx" xmlns:aop="http://www.springframework.org/schema/aop"
xsi:schemaLocation="
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.0.xsd
http://www.springframework.org/schema/jee http://www.springframework.org/schema/jee/spring-jee-3.0.xsd
http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-3.0.xsd
http://www.springframework.org/schema/aop
http://www.springframework.org/schema/aop/spring-aop-3.0.xsd"
default-autowire="byName">
<bean id="springHelper" class="org.jbpm.pvm.internal.processengine.SpringHelper">
<property name="jbpmCfg">
<value>jbpm/jbpm.cfg.xml</value>
</property>
</bean>
<bean id="processEngine" factory-bean="springHelper" factory-method="createProcessEngine" />
<bean id="repositoryService" factory-bean="processEngine" factory-method="getRepositoryService" />
<bean id="executionService" factory-bean="processEngine" factory-method="getExecutionService" />
<bean id="transactionManager"
class="org.springframework.orm.hibernate3.HibernateTransactionManager">
<property name="sessionFactory">
<ref local="sessionFactory" />
</property>
</bean>
<bean id="dataSource" class="org.apache.commons.dbcp.BasicDataSource" destroy-method="close">
<property name="driverClassName" value="${database.driver}" />
<property name="url" value="${database.url}" />
<property name="username" value="${database.username}" />
<property name="password" value="${database.password}" />
</bean>
<bean id="sessionFactory" class="org.springframework.orm.hibernate3.LocalSessionFactoryBean">
<property name="configLocation" value="classpath:jbpm.hibernate.cfg.xml" />
<!-- A best practice should be to keep split the config into multiple files
<property name="configLocations" value="hibernate.cfg.xml, hibernate.jbpm.cfg.xml" />
-->
<property name="dataSource" ref="dataSource" />
</bean>
</beans>
------------------------------------------
jbpm.hibernate.cfg.xml
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE hibernate-configuration PUBLIC
"-//Hibernate/Hibernate Configuration DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
<hibernate-configuration>
<session-factory>
<property name="hibernate.dialect">org.hibernate.dialect.MySQL5InnoDBDialect</property>
<property name="hibernate.format_sql">true</property>
<property name="hibernate.hbm2ddl.auto">create-drop</property>
<mapping resource="jbpm.repository.hbm.xml" />
<mapping resource="jbpm.execution.hbm.xml" />
<mapping resource="jbpm.history.hbm.xml" />
<mapping resource="jbpm.task.hbm.xml" />
<mapping resource="jbpm.identity.hbm.xml" />
</session-factory>
</hibernate-configuration>
_______________________________________________________
jbpm.cfg.xml
<?xml version="1.0" encoding="UTF-8"?>
<jbpm-configuration spring="enabled">
<import resource="jbpm.default.cfg.xml" />
<import resource="jbpm.jpdl.cfg.xml" />
<import resource="jbpm.bpmn.cfg.xml" />
<import resource="jbpm.identity.cfg.xml" />
<import resource="jbpm.businesscalendar.cfg.xml" />
<import resource="jbpm.console.cfg.xml" />
<!-- Spring specific configuration -->
<process-engine-context>
<command-service name="newTxRequiredCommandService">
<retry-interceptor />
<environment-interceptor policy="requiresNew" />
<spring-transaction-interceptor policy="requiresNew" />
</command-service>
<command-service name="txRequiredCommandService">
<retry-interceptor />
<environment-interceptor />
<spring-transaction-interceptor/>
</command-service>
</process-engine-context>
<transaction-context>
<transaction type="spring" />
<hibernate-session current="true" />
</transaction-context>
</jbpm-configuration>
________________________________
Stack trace
31/12/2009 3:10:21 PM org.apache.tomcat.util.digester.SetPropertiesRule begin
WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:linearBpms' did not find a matching property.
31/12/2009 3:10:21 PM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\bin\java\jdk1.6.0_17\bin;.;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:/Program Files/Java/jre6/bin/client;C:/Program Files/Java/jre6/bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\bin\java\jdk1.6.0_17\bin;C:\Program Files\Common Files\Nero\Lib\
31/12/2009 3:10:21 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
31/12/2009 3:10:21 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 439 ms
31/12/2009 3:10:21 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
31/12/2009 3:10:21 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.20
31/12/2009 3:10:38 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring root WebApplicationContext
15:10:38,808 INFO [ContextLoader:182] Root WebApplicationContext: initialization started
15:10:38,861 INFO [XmlWebApplicationContext:447] Refreshing Root WebApplicationContext: startup date [Thu Dec 31 15:10:38 EST 2009]; root of context hierarchy
15:10:38,963 INFO [XmlBeanDefinitionReader:315] Loading XML bean definitions from file [C:\dev\workspace2\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\linearBpms\WEB-INF\classes\applicationContext-captcha.xml]
15:10:39,067 INFO [XmlBeanDefinitionReader:315] Loading XML bean definitions from file [C:\dev\workspace2\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\linearBpms\WEB-INF\classes\applicationContext-common.xml]
15:10:39,088 INFO [XmlBeanDefinitionReader:315] Loading XML bean definitions from file [C:\dev\workspace2\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\linearBpms\WEB-INF\classes\applicationContext-jbpm.xml]
15:10:39,103 INFO [XmlBeanDefinitionReader:315] Loading XML bean definitions from file [C:\dev\workspace2\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\linearBpms\WEB-INF\classes\applicationContext-security.xml]
15:10:39,231 INFO [XmlBeanDefinitionReader:315] Loading XML bean definitions from file [C:\dev\workspace2\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\linearBpms\WEB-INF\classes\applicationContext.xml]
15:10:40,926 INFO [PropertyPlaceholderConfigurer:177] Loading properties file from class path resource [application.properties]
15:10:41,134 INFO [DefaultListableBeanFactory:533] Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@158f1fa: defining beans [imageEngine,captchaFactory,wordgen,filedict,wordtoimage,fontGenRandom,fontArial,backGenUni,simpleWhitePaster,colorGreen,imageCaptchaService,saltSource,passwordEncoder,springHelper,processEngine,repositoryService,executionService,filterChainProxy,authenticationManager,daoAuthenticationProvider,cacheManager,userCacheBackend,userCache,exceptionTranslationFilter,authenticationProcessingFilterEntryPoint,authenticationProcessingFilter,rememberMeProcessingFilter,rememberMeServices,rememberMeAuthenticationProvider,httpSessionContextIntegrationFilter,logoutFilter,securityContextHolderAwareRequestFilter,roleVoter,httpRequestAccessDecisionManager,filterInvocationInterceptor,org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,org.springframework.context.annotation.internalPersistenceAnnotationProcessor,accountDao,advisorDao,assetTypeDao,familyGroupDao,individualBusinessGroupDao,individualGroupDao,individualPersonGroupDao,investmentBenchmarkDao,investmentGroupDao,investorDao,legalEntityDao,portfolioDao,portfolioModelDao,securityDao,securityPositionDao,securityTypeDao,taxParcelDao,transactionDao,processDeployService,processExecutionService,processInformationService,accountService,advisorService,assetTypeService,investmentGroupService,investorService,legalEntityService,portfolioService,portfolioModelService,securityService,securityTypeService,taxParcelService,transactionService,groupDao,membershipDao,userDao,groupService,userDetailsService,userService,org.springframework.aop.config.internalAutoProxyCreator,org.springframework.transaction.annotation.AnnotationTransactionAttributeSource#0,org.springframework.transaction.interceptor.TransactionInterceptor#0,org.springframework.transaction.config.internalTransactionAdvisor,transactionManager,hibernateTemplate,dataSource,sessionFactory,propertyConfigurer,mailSender,simpleMailMessage]; root of factory hierarchy
15:10:42,430 INFO [GenericManageableCaptchaService:42] Init com.octo.captcha.service.captchastore.FastHashMapCaptchaStore
15:10:42,500 TRACE [WireParser:74] loading wire bindings from resource: jar:file:/C:/dev/workspace2/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/linearBpms/WEB-INF/lib/jbpm.jar!/jbpm.wire.bindings.xml
15:10:42,510 TRACE [BindingParser:74] adding wire binding for org.jbpm.pvm.internal.wire.binding.TrueBinding
15:10:42,515 TRACE [BindingParser:74] adding wire binding for org.jbpm.pvm.internal.wire.binding.FalseBinding
15:10:42,519 TRACE [BindingParser:74] adding wire binding for org.jbpm.pvm.internal.wire.binding.CharBinding
15:10:42,523 TRACE [BindingParser:74] adding wire binding for org.jbpm.pvm.internal.wire.binding.DoubleBinding
15:10:42,525 TRACE [BindingParser:74] adding wire binding for org.jbpm.pvm.internal.wire.binding.FloatBinding
15:10:42,527 TRACE [BindingParser:74] adding wire binding for org.jbpm.pvm.internal.wire.binding.IntBinding
15:10:42,529 TRACE [BindingParser:74] adding wire binding for org.jbpm.pvm.internal.wire.binding.ShortBinding
15:10:42,532 TRACE [BindingParser:74] adding wire binding for org.jbpm.pvm.internal.wire.binding.ByteBinding
15:10:42,535 TRACE [BindingParser:74] adding wire binding for org.jbpm.pvm.internal.wire.binding.LongBinding
15:10:42,537 TRACE [BindingParser:74] adding wire binding for org.jbpm.pvm.internal.wire.binding.StringBinding
15:10:42,539 TRACE [BindingParser:74] adding wire binding for org.jbpm.pvm.internal.wire.binding.NullBinding
15:10:42,540 TRACE [BindingParser:74] adding wire binding for org.jbpm.pvm.internal.wire.binding.ClassBinding
15:10:42,541 TRACE [BindingParser:74] adding wire binding for org.jbpm.pvm.internal.wire.binding.ObjectBinding
15:10:42,543 TRACE [BindingParser:74] adding wire binding for org.jbpm.pvm.internal.wire.binding.RefBinding
15:10:42,545 TRACE [BindingParser:74] adding wire binding for org.jbpm.pvm.internal.wire.binding.JndiBinding
15:10:42,546 TRACE [BindingParser:74] adding wire binding for org.jbpm.pvm.internal.wire.binding.ListBinding
15:10:42,551 TRACE [BindingParser:74] adding wire binding for org.jbpm.pvm.internal.wire.binding.SetBinding
15:10:42,553 TRACE [BindingParser:74] adding wire binding for org.jbpm.pvm.internal.wire.binding.MapBinding
15:10:42,555 TRACE [BindingParser:74] adding wire binding for org.jbpm.pvm.internal.wire.binding.PropertiesBinding
15:10:42,556 TRACE [BindingParser:74] adding wire binding for org.jbpm.pvm.internal.wire.binding.ProcessEngineRefBinding
15:10:42,558 TRACE [BindingParser:74] adding wire binding for org.jbpm.pvm.internal.wire.binding.EnvRefBinding
15:10:42,559 TRACE [BindingParser:74] adding wire binding for org.jbpm.pvm.internal.wire.binding.EnvBinding
15:10:42,560 TRACE [BindingParser:74] adding wire binding for org.jbpm.pvm.internal.wire.binding.ContextRefBinding
15:10:42,561 TRACE [BindingParser:74] adding wire binding for org.jbpm.pvm.internal.wire.binding.TransactionRefBinding
15:10:42,564 TRACE [BindingParser:74] adding wire binding for org.jbpm.pvm.internal.wire.binding.TransactionBinding
15:10:42,565 TRACE [BindingParser:74] adding wire binding for org.jbpm.pvm.internal.wire.binding.JobExecutorBinding
15:10:42,569 TRACE [BindingParser:74] adding wire binding for org.jbpm.pvm.internal.wire.binding.JobTestHelperBinding
15:10:42,570 TRACE [BindingParser:74] adding wire binding for org.jbpm.pvm.internal.wire.binding.ScriptManagerBinding
15:10:42,571 TRACE [BindingParser:74] adding wire binding for org.jbpm.pvm.internal.wire.binding.BusinessCalendarBinding
15:10:42,573 TRACE [BindingParser:74] adding wire binding for org.jbpm.pvm.internal.wire.binding.IdComposerBinding
15:10:42,574 TRACE [BindingParser:74] couldn't instantiate binding org.jbpm.pvm.internal.wire.binding.IdComposerBinding
15:10:42,576 TRACE [BindingParser:74] adding wire binding for org.jbpm.pvm.internal.wire.binding.MailTemplateBinding
15:10:42,577 TRACE [BindingParser:74] adding wire binding for org.jbpm.pvm.internal.wire.binding.AddressResolverBinding
15:10:42,579 TRACE [BindingParser:74] adding wire binding for org.jbpm.pvm.internal.wire.binding.HibernateConfigurationBinding
15:10:42,581 TRACE [BindingParser:74] adding wire binding for org.jbpm.pvm.internal.wire.binding.SeamHibernateSessionBinding
15:10:42,583 TRACE [BindingParser:74] adding wire binding for org.jbpm.pvm.internal.wire.binding.HibernateSessionBinding
15:10:42,584 TRACE [BindingParser:74] adding wire binding for org.jbpm.pvm.internal.wire.binding.HibernateSessionFactoryBinding
15:10:42,586 TRACE [BindingParser:74] adding wire binding for org.jbpm.pvm.internal.wire.binding.DbSessionBinding
15:10:42,587 TRACE [BindingParser:74] adding wire binding for org.jbpm.pvm.internal.wire.binding.MessageSessionBinding
15:10:42,589 TRACE [BindingParser:74] adding wire binding for org.jbpm.pvm.internal.wire.binding.TimerSessionBinding
15:10:42,590 TRACE [BindingParser:74] adding wire binding for org.jbpm.pvm.internal.wire.binding.HistorySessionsBinding
15:10:42,591 TRACE [BindingParser:74] adding wire binding for org.jbpm.pvm.internal.wire.binding.IdentitySessionBinding
15:10:42,592 TRACE [BindingParser:74] adding wire binding for org.jbpm.pvm.internal.wire.binding.JbossIdmIdentitySessionFactoryBinding
15:10:42,594 TRACE [BindingParser:74] adding wire binding for org.jbpm.pvm.internal.wire.binding.JbossIdmIdentitySessionBinding
15:10:42,595 TRACE [BindingParser:74] adding wire binding for org.jbpm.pvm.internal.wire.binding.RepositorySessionBinding
15:10:42,596 TRACE [BindingParser:74] adding wire binding for org.jbpm.pvm.internal.wire.binding.MailSessionBinding
15:10:42,597 TRACE [BindingParser:74] adding wire binding for org.jbpm.pvm.internal.wire.binding.TypesBinding
15:10:42,604 TRACE [BindingParser:74] adding wire binding for org.jbpm.pvm.internal.wire.binding.CommandServiceBinding
15:10:42,611 TRACE [BindingParser:74] adding wire binding for org.jbpm.pvm.internal.wire.binding.ExecutionServiceBinding
15:10:42,612 TRACE [BindingParser:74] adding wire binding for org.jbpm.pvm.internal.wire.binding.ManagementServiceBinding
15:10:42,613 TRACE [BindingParser:74] adding wire binding for org.jbpm.pvm.internal.wire.binding.IdentityServiceBinding
15:10:42,614 TRACE [BindingParser:74] adding wire binding for org.jbpm.pvm.internal.wire.binding.HistoryServiceBinding
15:10:42,616 TRACE [BindingParser:74] adding wire binding for org.jbpm.pvm.internal.wire.binding.TaskServiceBinding
15:10:42,617 TRACE [BindingParser:74] adding wire binding for org.jbpm.pvm.internal.wire.binding.RepositoryServiceBinding
15:10:42,619 TRACE [BindingParser:74] adding wire binding for org.jbpm.pvm.internal.wire.binding.RepositoryCacheBinding
15:10:42,620 TRACE [BindingParser:74] adding wire binding for org.jbpm.pvm.internal.wire.binding.DeployerManagerBinding
15:10:42,621 TRACE [BindingParser:74] adding wire binding for org.jbpm.pvm.internal.wire.binding.SkipInterceptorBinding
15:10:42,623 TRACE [BindingParser:74] adding wire binding for org.jbpm.pvm.internal.wire.binding.EnvironmentInterceptorBinding
15:10:42,624 TRACE [BindingParser:74] adding wire binding for org.jbpm.pvm.internal.wire.binding.AuthorizationInterceptorBinding
15:10:42,625 TRACE [BindingParser:74] adding wire binding for org.jbpm.pvm.internal.wire.binding.RetryInterceptorBinding
15:10:42,629 TRACE [BindingParser:74] adding wire binding for org.jbpm.pvm.internal.wire.binding.StandardTransactionInterceptorBinding
15:10:42,630 TRACE [BindingParser:74] adding wire binding for org.jbpm.pvm.internal.wire.binding.SerializeInterceptorBinding
15:10:42,633 TRACE [BindingParser:74] adding wire binding for org.jbpm.pvm.internal.wire.binding.JtaTransactionInterceptorBinding
15:10:42,634 TRACE [BindingParser:74] adding wire binding for org.jbpm.pvm.internal.wire.binding.PropertyBinding
15:10:42,636 TRACE [BindingParser:74] adding wire binding for org.jbpm.pvm.internal.wire.binding.FieldBinding
15:10:42,637 TRACE [BindingParser:74] adding wire binding for org.jbpm.pvm.internal.wire.binding.InvokeBinding
15:10:42,638 TRACE [BindingParser:74] adding wire binding for org.jbpm.pvm.internal.wire.binding.SubscribeBinding
15:10:42,639 TRACE [BindingParser:74] adding wire binding for org.jbpm.pvm.internal.wire.binding.EnlistBinding
15:10:42,641 TRACE [BindingParser:74] adding wire binding for org.jbpm.enterprise.internal.wire.binding.EjbTimerSessionBinding
15:10:42,642 TRACE [BindingParser:74] adding wire binding for org.jbpm.enterprise.internal.wire.binding.EjbLocalCommandServiceBinding
15:10:42,644 TRACE [BindingParser:74] adding wire binding for org.jbpm.enterprise.internal.wire.binding.EjbRemoteCommandServiceBinding
15:10:42,645 TRACE [BindingParser:74] adding wire binding for org.jbpm.jpdl.internal.xml.JpdlDeployerBinding
15:10:42,646 TRACE [BindingParser:74] adding wire binding for org.jbpm.pvm.internal.wire.binding.SpringTransactionInterceptorBinding
15:10:42,648 TRACE [WireParser:74] skipping unavailable wire bindings resource jbpm.user.wire.bindings.xml
15:10:42,889 TRACE [ProcessEngineImpl:74] created ProcessEngine 21584824
15:10:42,889 TRACE [ProcessEngineImpl:74] process-engine-context 19176986
15:10:42,889 TRACE [ProcessEngineImpl:74] org.jbpm.pvm.internal.email.impl.MailTemplateRegistry
15:10:42,889 TRACE [ProcessEngineImpl:74] org.jbpm.pvm.internal.svc.ExecutionServiceImpl
15:10:42,890 TRACE [ProcessEngineImpl:74] org.jbpm.pvm.internal.svc.HistoryServiceImpl
15:10:42,890 TRACE [ProcessEngineImpl:74] org.jbpm.pvm.internal.repository.RepositoryCache
15:10:42,890 TRACE [ProcessEngineImpl:74] org.jbpm.api.ManagementService
15:10:42,890 TRACE [ProcessEngineImpl:74] org.jbpm.pvm.internal.script.ScriptManager
15:10:42,890 TRACE [ProcessEngineImpl:74] org.jbpm.pvm.internal.id.DatabaseDbidGenerator
15:10:42,891 TRACE [ProcessEngineImpl:74] org.jbpm.pvm.internal.type.DefaultTypeSet
15:10:42,891 TRACE [ProcessEngineImpl:74] org.jbpm.pvm.internal.cal.BusinessCalendar
15:10:42,892 TRACE [ProcessEngineImpl:74] org.jbpm.pvm.internal.svc.IdentityServiceImpl
15:10:42,892 TRACE [ProcessEngineImpl:74] org.jbpm.api.ExecutionService
15:10:42,892 TRACE [ProcessEngineImpl:74] org.jbpm.pvm.internal.repository.RepositoryCacheImpl
15:10:42,892 TRACE [ProcessEngineImpl:74] org.jbpm.api.TaskService
15:10:42,892 TRACE [ProcessEngineImpl:74] org.jbpm.pvm.internal.type.TypeSet
15:10:42,893 TRACE [ProcessEngineImpl:74] java.io.Serializable
15:10:42,893 TRACE [ProcessEngineImpl:74] org.jbpm.pvm.internal.id.DbidGenerator
15:10:42,893 TRACE [ProcessEngineImpl:74] org.jbpm.pvm.internal.id.IdComposer
15:10:42,893 TRACE [ProcessEngineImpl:74] org.jbpm.pvm.internal.repository.DeployerManager
15:10:42,893 TRACE [ProcessEngineImpl:74] org.jbpm.api.IdentityService
15:10:42,894 TRACE [ProcessEngineImpl:74] org.jbpm.pvm.internal.svc.ManagementServiceImpl
15:10:42,894 TRACE [ProcessEngineImpl:74] org.jbpm.pvm.internal.id.DatabaseIdComposer
15:10:42,894 TRACE [ProcessEngineImpl:74] java.lang.Object
15:10:42,894 TRACE [ProcessEngineImpl:74] org.jbpm.api.HistoryService
15:10:42,895 TRACE [ProcessEngineImpl:74] org.jbpm.api.RepositoryService
15:10:42,895 TRACE [ProcessEngineImpl:74] org.jbpm.pvm.internal.cal.BusinessCalendarImpl
15:10:42,895 TRACE [ProcessEngineImpl:74] org.jbpm.pvm.internal.email.spi.AddressResolver
15:10:42,895 TRACE [ProcessEngineImpl:74] org.jbpm.pvm.internal.svc.AbstractServiceImpl
15:10:42,895 TRACE [ProcessEngineImpl:74] org.jbpm.pvm.internal.svc.TaskServiceImpl
15:10:42,896 TRACE [ProcessEngineImpl:74] org.jbpm.pvm.internal.email.impl.DefaultAddressResolver
15:10:42,896 TRACE [ProcessEngineImpl:74] org.jbpm.pvm.internal.repository.RepositoryServiceImpl
15:10:42,896 TRACE [ProcessEngineImpl:74] transaction-context:
15:10:42,897 TRACE [ProcessEngineImpl:74] org.jbpm.pvm.internal.tx.Transaction
15:10:42,897 TRACE [ProcessEngineImpl:74] org.jbpm.pvm.internal.jobexecutor.JobExecutorMessageSession
15:10:42,897 TRACE [ProcessEngineImpl:74] org.jbpm.pvm.internal.session.DbSession
15:10:42,897 TRACE [ProcessEngineImpl:74] org.jbpm.pvm.internal.email.impl.MailSessionImpl
15:10:42,897 TRACE [ProcessEngineImpl:74] org.jbpm.pvm.internal.hibernate.DbSessionImpl
15:10:42,897 TRACE [ProcessEngineImpl:74] org.jbpm.pvm.internal.tx.SpringTransaction
15:10:42,898 TRACE [ProcessEngineImpl:74] org.jbpm.pvm.internal.repository.RepositorySessionImpl
15:10:42,898 TRACE [ProcessEngineImpl:74] org.hibernate.jdbc.JDBCContext$Context
15:10:42,898 TRACE [ProcessEngineImpl:74] org.jbpm.pvm.internal.jobexecutor.JobExecutorTimerSession
15:10:42,898 TRACE [ProcessEngineImpl:74] org.jbpm.pvm.internal.session.RepositorySession
15:10:42,899 TRACE [ProcessEngineImpl:74] org.jbpm.pvm.internal.session.MessageSession
15:10:42,899 TRACE [ProcessEngineImpl:74] org.hibernate.impl.SessionImpl
15:10:42,899 TRACE [ProcessEngineImpl:74] java.io.Serializable
15:10:42,900 TRACE [ProcessEngineImpl:74] org.hibernate.event.EventSource
15:10:42,900 TRACE [ProcessEngineImpl:74] org.jbpm.pvm.internal.session.TimerSession
15:10:42,900 TRACE [ProcessEngineImpl:74] org.hibernate.Session
15:10:42,900 TRACE [ProcessEngineImpl:74] org.hibernate.engine.SessionImplementor
15:10:42,900 TRACE [ProcessEngineImpl:74] org.jbpm.pvm.internal.history.HistorySession
15:10:42,900 TRACE [ProcessEngineImpl:74] org.hibernate.impl.AbstractSessionImpl
15:10:42,901 TRACE [ProcessEngineImpl:74] org.jbpm.pvm.internal.email.spi.MailSession
15:10:42,901 TRACE [ProcessEngineImpl:74] org.hibernate.classic.Session
15:10:42,901 TRACE [ProcessEngineImpl:74] java.lang.Object
15:10:42,902 TRACE [ProcessEngineImpl:74] org.hibernate.transaction.TransactionFactory$Context
15:10:42,902 TRACE [ProcessEngineImpl:74] org.jbpm.pvm.internal.tx.AbstractTransaction
15:10:42,902 TRACE [ProcessEngineImpl:74] org.jbpm.pvm.internal.identity.impl.IdentitySessionImpl
15:10:42,902 TRACE [ProcessEngineImpl:74] org.jbpm.pvm.internal.identity.spi.IdentitySession
15:10:42,902 TRACE [WireContext:74] creating process-engine
15:10:42,903 DEBUG [WireContext:62] eagerly initializing org.jbpm.pvm.internal.id.DatabaseIdComposer
15:10:42,904 TRACE [WireContext:74] constructing org.jbpm.pvm.internal.id.DatabaseIdComposer
15:10:42,909 TRACE [WireContext:74] initializing org.jbpm.pvm.internal.id.DatabaseIdComposer
15:10:42,910 TRACE [WireContext:74] constructing txRequiredCommandService
15:10:42,912 TRACE [WireContext:74] initializing txRequiredCommandService
15:10:42,989 INFO [Environment:560] Hibernate 3.3.2.GA
15:10:42,991 INFO [Environment:593] hibernate.properties not found
15:10:42,995 INFO [Environment:771] Bytecode provider name : javassist
15:10:43,002 INFO [Environment:652] using JDK 1.4 java.sql.Timestamp handling
15:10:43,096 INFO [Configuration:1489] configuring from url: file:/C:/dev/workspace2/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/linearBpms/WEB-INF/classes/jbpm.hibernate.cfg.xml
15:10:43,157 INFO [Configuration:600] Reading mappings from resource : jbpm.repository.hbm.xml
15:10:43,220 INFO [HbmBinder:322] Mapping class: org.jbpm.pvm.internal.repository.DeploymentImpl -> JBPM4_DEPLOYMENT
15:10:43,253 INFO [HbmBinder:322] Mapping class: org.jbpm.pvm.internal.repository.DeploymentProperty -> JBPM4_DEPLOYPROP
15:10:43,335 INFO [HbmBinder:322] Mapping class: org.jbpm.pvm.internal.id.PropertyImpl -> JBPM4_PROPERTY
15:10:43,337 INFO [Configuration:600] Reading mappings from resource : jbpm.execution.hbm.xml
15:10:43,358 INFO [HbmBinder:322] Mapping class: org.jbpm.pvm.internal.model.ExecutionImpl -> JBPM4_EXECUTION
15:10:43,409 INFO [HbmBinder:322] Mapping class: org.jbpm.pvm.internal.type.Variable -> JBPM4_VARIABLE
15:10:43,442 INFO [HbmBinder:836] Mapping subclass: org.jbpm.pvm.internal.type.variable.BlobVariable -> JBPM4_VARIABLE
15:10:43,443 INFO [HbmBinder:836] Mapping subclass: org.jbpm.pvm.internal.type.variable.DateVariable -> JBPM4_VARIABLE
15:10:43,443 INFO [HbmBinder:836] Mapping subclass: org.jbpm.pvm.internal.type.variable.DoubleVariable -> JBPM4_VARIABLE
15:10:43,445 INFO [HbmBinder:836] Mapping subclass: org.jbpm.pvm.internal.type.variable.HibernateLongVariable -> JBPM4_VARIABLE
15:10:43,446 INFO [HbmBinder:836] Mapping subclass: org.jbpm.pvm.internal.type.variable.HibernateStringVariable -> JBPM4_VARIABLE
15:10:43,446 INFO [HbmBinder:836] Mapping subclass: org.jbpm.pvm.internal.type.variable.LongVariable -> JBPM4_VARIABLE
15:10:43,447 INFO [HbmBinder:836] Mapping subclass: org.jbpm.pvm.internal.type.variable.NullVariable -> JBPM4_VARIABLE
15:10:43,447 INFO [HbmBinder:836] Mapping subclass: org.jbpm.pvm.internal.type.variable.StringVariable -> JBPM4_VARIABLE
15:10:43,448 INFO [HbmBinder:836] Mapping subclass: org.jbpm.pvm.internal.type.variable.TextVariable -> JBPM4_VARIABLE
15:10:43,448 INFO [HbmBinder:322] Mapping class: org.jbpm.pvm.internal.lob.Lob -> JBPM4_LOB
15:10:43,453 INFO [HbmBinder:322] Mapping class: org.jbpm.pvm.internal.job.JobImpl -> JBPM4_JOB
15:10:43,454 INFO [HbmBinder:836] Mapping subclass: org.jbpm.pvm.internal.job.MessageImpl -> JBPM4_JOB
15:10:43,455 INFO [HbmBinder:836] Mapping subclass: org.jbpm.pvm.internal.model.op.ExecuteActivityMessage -> JBPM4_JOB
15:10:43,455 INFO [HbmBinder:836] Mapping subclass: org.jbpm.pvm.internal.model.op.ExecuteEventListenerMessage -> JBPM4_JOB
15:10:43,456 INFO [HbmBinder:836] Mapping subclass: org.jbpm.pvm.internal.job.CommandMessage -> JBPM4_JOB
15:10:43,456 INFO [HbmBinder:836] Mapping subclass: org.jbpm.pvm.internal.job.TimerImpl -> JBPM4_JOB
15:10:43,460 INFO [Configuration:600] Reading mappings from resource : jbpm.history.hbm.xml
15:10:43,473 INFO [HbmBinder:322] Mapping class: org.jbpm.pvm.internal.history.model.HistoryProcessInstanceImpl -> JBPM4_HIST_PROCINST
15:10:43,480 INFO [HbmBinder:322] Mapping class: org.jbpm.pvm.internal.history.model.HistoryActivityInstanceImpl -> JBPM4_HIST_ACTINST
15:10:43,482 INFO [HbmBinder:836] Mapping subclass: org.jbpm.pvm.internal.history.model.HistoryAutomaticInstanceImpl -> JBPM4_HIST_ACTINST
15:10:43,483 INFO [HbmBinder:836] Mapping subclass: org.jbpm.pvm.internal.history.model.HistoryDecisionInstanceImpl -> JBPM4_HIST_ACTINST
15:10:43,483 INFO [HbmBinder:836] Mapping subclass: org.jbpm.pvm.internal.history.model.HistoryTaskInstanceImpl -> JBPM4_HIST_ACTINST
15:10:43,484 INFO [HbmBinder:322] Mapping class: org.jbpm.pvm.internal.history.model.HistoryTaskImpl -> JBPM4_HIST_TASK
15:10:43,491 INFO [HbmBinder:322] Mapping class: org.jbpm.pvm.internal.history.model.HistoryVariableImpl -> JBPM4_HIST_VAR
15:10:43,494 INFO [HbmBinder:322] Mapping class: org.jbpm.pvm.internal.history.model.HistoryDetailImpl -> JBPM4_HIST_DETAIL
15:10:43,495 INFO [HbmBinder:836] Mapping subclass: org.jbpm.pvm.internal.history.model.HistoryCommentImpl -> JBPM4_HIST_DETAIL
15:10:43,495 INFO [HbmBinder:836] Mapping subclass: org.jbpm.pvm.internal.history.model.HistoryProcessInstanceMigrationImpl -> JBPM4_HIST_DETAIL
15:10:43,497 INFO [HbmBinder:836] Mapping subclass: org.jbpm.pvm.internal.history.model.HistoryPriorityUpdateImpl -> JBPM4_HIST_DETAIL
15:10:43,498 INFO [HbmBinder:836] Mapping subclass: org.jbpm.pvm.internal.history.model.HistoryTaskAssignmentImpl -> JBPM4_HIST_DETAIL
15:10:43,501 INFO [HbmBinder:836] Mapping subclass: org.jbpm.pvm.internal.history.model.HistoryTaskDuedateUpdateImpl -> JBPM4_HIST_DETAIL
15:10:43,501 INFO [HbmBinder:836] Mapping subclass: org.jbpm.pvm.internal.history.model.HistoryVariableUpdateImpl -> JBPM4_HIST_DETAIL
15:10:43,502 INFO [Configuration:600] Reading mappings from resource : jbpm.task.hbm.xml
15:10:43,513 INFO [HbmBinder:322] Mapping class: org.jbpm.pvm.internal.task.TaskImpl -> JBPM4_TASK
15:10:43,520 INFO [HbmBinder:322] Mapping class: org.jbpm.pvm.internal.task.ParticipationImpl -> JBPM4_PARTICIPATION
15:10:43,521 INFO [HbmBinder:322] Mapping class: org.jbpm.pvm.internal.task.SwimlaneImpl -> JBPM4_SWIMLANE
15:10:43,522 INFO [Configuration:600] Reading mappings from resource : jbpm.identity.hbm.xml
15:10:43,529 INFO [HbmBinder:322] Mapping class: org.jbpm.pvm.internal.identity.impl.UserImpl -> JBPM4_ID_USER
15:10:43,532 INFO [HbmBinder:322] Mapping class: org.jbpm.pvm.internal.identity.impl.MembershipImpl -> JBPM4_ID_MEMBERSHIP
15:10:43,534 INFO [HbmBinder:322] Mapping class: org.jbpm.pvm.internal.identity.impl.GroupImpl -> JBPM4_ID_GROUP
15:10:43,536 INFO [Configuration:1589] Configured SessionFactory: null
15:10:43,541 INFO [HbmBinder:2404] Mapping collection: org.jbpm.pvm.internal.repository.DeploymentImpl.resources -> JBPM4_LOB
15:10:43,542 INFO [HbmBinder:2404] Mapping collection: org.jbpm.pvm.internal.repository.DeploymentImpl.objectProperties -> JBPM4_DEPLOYPROP
15:10:43,542 INFO [HbmBinder:2404] Mapping collection: org.jbpm.pvm.internal.model.ExecutionImpl.variables -> JBPM4_VARIABLE
15:10:43,543 INFO [HbmBinder:2404] Mapping collection: org.jbpm.pvm.internal.model.ExecutionImpl.systemVariables -> JBPM4_VARIABLE
15:10:43,543 INFO [HbmBinder:2404] Mapping collection: org.jbpm.pvm.internal.model.ExecutionImpl.executions -> JBPM4_EXECUTION
15:10:43,544 INFO [HbmBinder:2404] Mapping collection: org.jbpm.pvm.internal.model.ExecutionImpl.swimlanes -> JBPM4_SWIMLANE
15:10:43,546 INFO [HbmBinder:2404] Mapping collection: org.jbpm.pvm.internal.history.model.HistoryProcessInstanceImpl.historyActivityInstances -> JBPM4_HIST_ACTINST
15:10:43,546 INFO [HbmBinder:2404] Mapping collection: org.jbpm.pvm.internal.history.model.HistoryProcessInstanceImpl.historyVariables -> JBPM4_HIST_VAR
15:10:43,546 INFO [HbmBinder:2404] Mapping collection: org.jbpm.pvm.internal.history.model.HistoryProcessInstanceImpl.details -> JBPM4_HIST_DETAIL
15:10:43,546 INFO [HbmBinder:2404] Mapping collection: org.jbpm.pvm.internal.history.model.HistoryActivityInstanceImpl.details -> JBPM4_HIST_DETAIL
15:10:43,547 INFO [HbmBinder:2404] Mapping collection: org.jbpm.pvm.internal.history.model.HistoryTaskImpl.details -> JBPM4_HIST_DETAIL
15:10:43,547 INFO [HbmBinder:2404] Mapping collection: org.jbpm.pvm.internal.history.model.HistoryTaskImpl.historyVariables -> JBPM4_HIST_VAR
15:10:43,547 INFO [HbmBinder:2404] Mapping collection: org.jbpm.pvm.internal.history.model.HistoryTaskImpl.subTasks -> JBPM4_HIST_TASK
15:10:43,548 INFO [HbmBinder:2404] Mapping collection: org.jbpm.pvm.internal.history.model.HistoryVariableImpl.details -> JBPM4_HIST_DETAIL
15:10:43,549 INFO [HbmBinder:2404] Mapping collection: org.jbpm.pvm.internal.history.model.HistoryCommentImpl.replies -> JBPM4_HIST_DETAIL
15:10:43,549 INFO [HbmBinder:2404] Mapping collection: org.jbpm.pvm.internal.task.TaskImpl.participations -> JBPM4_PARTICIPATION
15:10:43,550 INFO [HbmBinder:2404] Mapping collection: org.jbpm.pvm.internal.task.TaskImpl.variables -> JBPM4_VARIABLE
15:10:43,550 INFO [HbmBinder:2404] Mapping collection: org.jbpm.pvm.internal.task.TaskImpl.subTasks -> JBPM4_TASK
15:10:43,550 INFO [HbmBinder:2404] Mapping collection: org.jbpm.pvm.internal.task.SwimlaneImpl.participations -> JBPM4_PARTICIPATION
15:10:43,551 INFO [LocalSessionFactoryBean:773] Building new Hibernate SessionFactory
15:10:43,565 INFO [ConnectionProviderFactory:95] Initializing connection provider: org.springframework.orm.hibernate3.LocalDataSourceConnectionProvider
15:10:43,910 INFO [SettingsFactory:114] RDBMS: MySQL, version: 5.1.41-community-log
15:10:43,910 INFO [SettingsFactory:115] JDBC driver: MySQL-AB JDBC Driver, version: mysql-connector-java-5.1.10 ( Revision: ${svn.Revision} )
15:10:43,945 INFO [Dialect:175] Using dialect: org.hibernate.dialect.MySQL5InnoDBDialect
15:10:43,950 INFO [TransactionFactoryFactory:62] Transaction strategy: org.springframework.orm.hibernate3.SpringTransactionFactory
15:10:43,954 INFO [TransactionManagerLookupFactory:80] No TransactionManagerLookup configured (in JTA environment, use of read-write or transactional second-level cache is not recommended)
15:10:43,954 INFO [SettingsFactory:161] Automatic flush during beforeCompletion(): disabled
15:10:43,955 INFO [SettingsFactory:165] Automatic session close at end of transaction: disabled
15:10:43,955 INFO [SettingsFactory:172] JDBC batch size: 15
15:10:43,955 INFO [SettingsFactory:175] JDBC batch updates for versioned data: disabled
15:10:43,956 INFO [SettingsFactory:180] Scrollable result sets: enabled
15:10:43,957 INFO [SettingsFactory:188] JDBC3 getGeneratedKeys(): enabled
15:10:43,957 INFO [SettingsFactory:196] Connection release mode: auto
15:10:43,958 INFO [SettingsFactory:220] Maximum outer join fetch depth: 2
15:10:43,961 INFO [SettingsFactory:223] Default batch fetch size: 1
15:10:43,961 INFO [SettingsFactory:227] Generate SQL with comments: disabled
15:10:43,961 INFO [SettingsFactory:231] Order SQL updates by primary key: disabled
15:10:43,961 INFO [SettingsFactory:235] Order SQL inserts for batching: disabled
15:10:43,962 INFO [SettingsFactory:397] Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
15:10:43,965 INFO [ASTQueryTranslatorFactory:47] Using ASTQueryTranslatorFactory
15:10:43,965 INFO [SettingsFactory:243] Query language substitutions: {}
15:10:43,965 INFO [SettingsFactory:248] JPA-QL strict compliance: disabled
15:10:43,966 INFO [SettingsFactory:253] Second-level cache: enabled
15:10:43,967 INFO [SettingsFactory:257] Query cache: disabled
15:10:43,967 INFO [SettingsFactory:382] Cache region factory : org.hibernate.cache.impl.NoCachingRegionFactory
15:10:43,968 INFO [SettingsFactory:267] Optimize cache for minimal puts: disabled
15:10:43,968 INFO [SettingsFactory:276] Structured second-level cache entries: disabled
15:10:43,974 INFO [SettingsFactory:305] Statistics: disabled
15:10:43,975 INFO [SettingsFactory:309] Deleted entity synthetic identifier rollback: disabled
15:10:43,975 INFO [SettingsFactory:324] Default entity-mode: pojo
15:10:43,976 INFO [SettingsFactory:328] Named query checking : enabled
15:10:44,021 INFO [SessionFactoryImpl:193] building session factory
15:10:44,478 INFO [SessionFactoryObjectFactory:105] Not binding factory to JNDI, no JNDI name configured
15:10:44,491 INFO [SchemaExport:226] Running hbm2ddl schema export
15:10:44,492 INFO [SchemaExport:251] exporting generated schema to database
15:10:54,145 INFO [SchemaExport:268] schema export complete
15:10:54,520 TRACE [SpringProcessEngine:74] opening jbpm-springPvmEnvironment[3788914]
15:10:54,522 TRACE [WireContext:74] creating transaction
15:10:54,522 TRACE [WireContext:74] org.springframework.transaction.PlatformTransactionManager not found in transaction 13636369
15:10:54,523 TRACE [WireContext:74] org.springframework.transaction.PlatformTransactionManager not found in process-engine 19176986
15:10:54,625 TRACE [WireContext:74] found org.hibernate.Session in transaction
15:10:54,625 TRACE [WireContext:74] constructing org.hibernate.impl.SessionImpl
15:10:54,628 TRACE [WireContext:74] org.hibernate.SessionFactory not found in transaction 13636369
15:10:54,628 TRACE [WireContext:74] org.hibernate.SessionFactory not found in process-engine 19176986
15:10:54,629 TRACE [HibernateSessionDescriptor:74] getting current hibernate session
15:10:54,645 TRACE [WireContext:74] org.jbpm.pvm.internal.tx.StandardTransaction not found in transaction 13636369
15:10:54,645 TRACE [WireContext:74] org.jbpm.pvm.internal.tx.StandardTransaction not found in process-engine 19176986
15:10:54,648 TRACE [WireContext:74] initializing org.hibernate.impl.SessionImpl
15:10:54,734 INFO [CheckDbCmd:50] jBPM version info: library[4.3], schema[null]
15:10:54,734 TRACE [WireContext:74] found org.jbpm.pvm.internal.tx.SpringTransaction in transaction
15:10:54,734 TRACE [WireContext:74] constructing org.jbpm.pvm.internal.tx.SpringTransaction
15:10:54,735 TRACE [WireContext:74] initializing org.jbpm.pvm.internal.tx.SpringTransaction
15:10:54,763 TRACE [WireContext:74] closing transaction...
15:10:54,764 TRACE [BasicEnvironment:74] closing PvmEnvironment[3788914]
15:10:54,764 TRACE [PvmEnvironment:74] closed PvmEnvironment[3788914]
15:10:54,775 INFO [DefaultListableBeanFactory:421] Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@158f1fa: defining beans [imageEngine,captchaFactory,wordgen,filedict,wordtoimage,fontGenRandom,fontArial,backGenUni,simpleWhitePaster,colorGreen,imageCaptchaService,saltSource,passwordEncoder,springHelper,processEngine,repositoryService,executionService,filterChainProxy,authenticationManager,daoAuthenticationProvider,cacheManager,userCacheBackend,userCache,exceptionTranslationFilter,authenticationProcessingFilterEntryPoint,authenticationProcessingFilter,rememberMeProcessingFilter,rememberMeServices,rememberMeAuthenticationProvider,httpSessionContextIntegrationFilter,logoutFilter,securityContextHolderAwareRequestFilter,roleVoter,httpRequestAccessDecisionManager,filterInvocationInterceptor,org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,org.springframework.context.annotation.internalPersistenceAnnotationProcessor,accountDao,advisorDao,assetTypeDao,familyGroupDao,individualBusinessGroupDao,individualGroupDao,individualPersonGroupDao,investmentBenchmarkDao,investmentGroupDao,investorDao,legalEntityDao,portfolioDao,portfolioModelDao,securityDao,securityPositionDao,securityTypeDao,taxParcelDao,transactionDao,processDeployService,processExecutionService,processInformationService,accountService,advisorService,assetTypeService,investmentGroupService,investorService,legalEntityService,portfolioService,portfolioModelService,securityService,securityTypeService,taxParcelService,transactionService,groupDao,membershipDao,userDao,groupService,userDetailsService,userService,org.springframework.aop.config.internalAutoProxyCreator,org.springframework.transaction.annotation.AnnotationTransactionAttributeSource#0,org.springframework.transaction.interceptor.TransactionInterceptor#0,org.springframework.transaction.config.internalTransactionAdvisor,transactionManager,hibernateTemplate,dataSource,sessionFactory,propertyConfigurer,mailSender,simpleMailMessage]; root of factory hierarchy
15:10:54,782 INFO [LocalSessionFactoryBean:246] Closing Hibernate SessionFactory
15:10:54,782 INFO [SessionFactoryImpl:853] closing
15:10:54,783 INFO [SchemaExport:226] Running hbm2ddl schema export
15:10:54,783 INFO [SchemaExport:251] exporting generated schema to database
15:10:59,273 INFO [SchemaExport:268] schema export complete
15:10:59,282 ERROR [ContextLoader:208] Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'repositoryService' defined in file [C:\dev\workspace2\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\linearBpms\WEB-INF\classes\applicationContext-jbpm.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public org.jbpm.api.RepositoryService org.jbpm.pvm.internal.processengine.ProcessEngineImpl.getRepositoryService()] threw exception; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'repositoryService': Requested bean is currently in creation: Is there an unresolvable circular reference?
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:551)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:964)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:868)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:479)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:450)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:289)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:286)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:188)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:558)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:842)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:416)
at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:261)
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:192)
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3934)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4429)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:722)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
at org.apache.catalina.core.StandardService.start(StandardService.java:516)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:583)
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:597)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Caused by: org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public org.jbpm.api.RepositoryService org.jbpm.pvm.internal.processengine.ProcessEngineImpl.getRepositoryService()] threw exception; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'repositoryService': Requested bean is currently in creation: Is there an unresolvable circular reference?
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:158)
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:540)
... 29 more
Caused by: org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'repositoryService': Requested bean is currently in creation: Is there an unresolvable circular reference?
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.beforeSingletonCreation(DefaultSingletonBeanRegistry.java:297)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:216)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:286)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:188)
at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1004)
at org.jbpm.pvm.internal.processengine.SpringProcessEngine.get(SpringProcessEngine.java:110)
at org.jbpm.pvm.internal.processengine.ProcessEngineImpl.getRepositoryService(ProcessEngineImpl.java:172)
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:597)
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:146)
... 30 more
31/12/2009 3:10:59 PM org.apache.catalina.core.StandardContext listenerStart
SEVERE: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'repositoryService' defined in file [C:\dev\workspace2\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\linearBpms\WEB-INF\classes\applicationContext-jbpm.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public org.jbpm.api.RepositoryService org.jbpm.pvm.internal.processengine.ProcessEngineImpl.getRepositoryService()] threw exception; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'repositoryService': Requested bean is currently in creation: Is there an unresolvable circular reference?
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:551)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:964)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:868)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:479)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:450)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:289)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:286)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:188)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:558)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:842)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:416)
at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:261)
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:192)
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3934)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4429)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:722)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
at org.apache.catalina.core.StandardService.start(StandardService.java:516)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:583)
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:597)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Caused by: org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public org.jbpm.api.RepositoryService org.jbpm.pvm.internal.processengine.ProcessEngineImpl.getRepositoryService()] threw exception; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'repositoryService': Requested bean is currently in creation: Is there an unresolvable circular reference?
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:158)
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:540)
... 29 more
Caused by: org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'repositoryService': Requested bean is currently in creation: Is there an unresolvable circular reference?
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.beforeSingletonCreation(DefaultSingletonBeanRegistry.java:297)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:216)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:286)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:188)
at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1004)
at org.jbpm.pvm.internal.processengine.SpringProcessEngine.get(SpringProcessEngine.java:110)
at org.jbpm.pvm.internal.processengine.ProcessEngineImpl.getRepositoryService(ProcessEngineImpl.java:172)
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:597)
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:146)
... 30 more
31/12/2009 3:10:59 PM org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
31/12/2009 3:10:59 PM org.apache.catalina.core.StandardContext start
SEVERE: Context [/linearBpms] startup failed due to previous errors
31/12/2009 3:10:59 PM org.apache.catalina.core.ApplicationContext log
INFO: Closing Spring root WebApplicationContext
31/12/2009 3:10:59 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
31/12/2009 3:10:59 PM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
31/12/2009 3:10:59 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/33 config=null
31/12/2009 3:10:59 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 38100 ms
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 7 months
[JBoss JIRA] Created: (JBPM-2856) assertExecutionEnded should check for executions in STATE_ENDED
by M M (JIRA)
assertExecutionEnded should check for executions in STATE_ENDED
---------------------------------------------------------------
Key: JBPM-2856
URL: https://jira.jboss.org/jira/browse/JBPM-2856
Project: jBPM
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: jBPM 4.3
Reporter: M M
In the testing framework, the method assertExecutionEnded() seems to have a bug in it. It only checks whether a process instance has been deleted from the database. It should also check for the case where a process instance has not been deleted from the database, but has a state of Execution.STATE_ENDED.
It would look something like this:
public void assertExecutionEnded( final String processInstanceId )
{
final ProcessInstance pi = executionService.findProcessInstanceById( processInstanceId );
assertTrue( "Error: an active process instance with id " + processInstanceId + " was found", pi == null ||
Execution.STATE_ENDED.equals( pi.getState() ) );
}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 7 months
[JBoss JIRA] Created: (JBPM-2832) using subprocess outcome-variable to choose transitions no longer works
by Per Christian Henden (JIRA)
using subprocess outcome-variable to choose transitions no longer works
-----------------------------------------------------------------------
Key: JBPM-2832
URL: https://jira.jboss.org/jira/browse/JBPM-2832
Project: jBPM
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: jBPM 4.x
Environment: JBPM 4.4-SNAPSHOT, revision 6205
Reporter: Per Christian Henden
This worked in JBPM 4.3.
I use the outcome= construct of subprocess to choose transitions to take when the subprocess has completed.
<sub-process name="mySubProc" sub-process-key="SubProc" outcome="#{result}">
<transition name="to A" to="A"/>
<transition name="to B" to="B"/>
<transition name="to C" to="C"/>
</sub-process>
The subprocess uses execution.setVariable("result", value) in an event listener that runs on start in the process end nodes to write the #{result} variable.
The reason for using outcome= in the first place is to work around a bug. Will update this ticket when community.jboss.org becomes available so that I can link to that issue. I'm not able to give more detail at the moment, as the jbpm 4.4 snapshots are not available from the jboss maven repo.
>From what I can remember, there are two problems here, first: the variable set on the execution is not persisted/stored, then, when I force the variable to be set (using createVariable instead of setVariable), the variable is not read/not found when subprocess exits.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 7 months
[JBoss JIRA] Created: (JBPM-2833) Null end activity after fork
by Per Christian Henden (JIRA)
Null end activity after fork
----------------------------
Key: JBPM-2833
URL: https://jira.jboss.org/jira/browse/JBPM-2833
Project: jBPM
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: jBPM 4.3
Reporter: Per Christian Henden
Attachments: process.png
I'm experiencing that the end activity of a certain sub-process is always null, resulting in the default transition being taken out from the sub-process. I expected that the end activity of the sub-process would govern which transition is taken, like in the documentation and the other sub-processes of my process. A minimal example unit test that reproduces this problem is attached (reproduced with trunk/6208).
The problem is present in JBPM 4.3, as well.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 7 months