]
Thomas Diesler commented on JBPM-2074:
--------------------------------------
Apart from the above fopar (
)
Isn't it somehow fishy that JbpmConfiguration.close() creates a new JbpmContext ?
java.lang.RuntimeException
at org.jbpm.JbpmContext.<init>(JbpmContext.java:116)
at org.jbpm.configuration.JbpmContextInfo.createObject(JbpmContextInfo.java:146)
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:417)
at org.jbpm.JbpmConfiguration.close(JbpmConfiguration.java:589)
at org.jbpm.JbpmConfiguration.close(JbpmConfiguration.java:572)
at org.jbpm.JbpmConfiguration.finalize(JbpmConfiguration.java:629)
at java.lang.ref.Finalizer.invokeFinalizeMethod(Native Method)
at java.lang.ref.Finalizer.runFinalizer(Finalizer.java:83)
at java.lang.ref.Finalizer.access$100(Finalizer.java:14)
at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:160)
Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.161 sec
Fix intermittent problem with
JbpmConfigurationTest.testDomainModelConfigsWithoutJbpmContext
--------------------------------------------------------------------------------------------
Key: JBPM-2074
URL:
https://jira.jboss.org/jira/browse/JBPM-2074
Project: JBoss jBPM
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Core Engine
Reporter: Thomas Diesler
Assignee: Thomas Diesler
Fix For: jBPM 3.2.6 GA
It seems that some asynchronous process creates a JbpmContext
2009-02-28 19:53:53,895 DEBUG [org.jbpm.AbstractJbpmTestCase] ### START
org.jbpm.JbpmConfigurationTest.testDomainModelConfigsWithoutJbpmContext
####################################################
2009-02-28 19:53:53,895 DEBUG [org.jbpm.configuration.ObjectFactoryImpl] adding object
info 'jbpmConfiguration'
2009-02-28 19:53:53,895 DEBUG [org.jbpm.persistence.db.StaleObjectLogConfigurer] stale
object exceptions are already hidden from logging
2009-02-28 19:53:53,896 DEBUG [org.jbpm.configuration.JbpmContextInfo] creating jbpm
context with service factories '[message, tx, scheduler, authentication, persistence,
logging]'
2009-02-28 19:53:53,896 DEBUG [org.jbpm.JbpmContext] creating
org.jbpm.JbpmContext@1a7abed
2009-02-28 19:53:53,896 DEBUG [org.jbpm.JbpmContext] closing jbpmContext
org.jbpm.JbpmContext@1a7abed
2009-02-28 19:53:53,896 INFO [org.hibernate.connection.DriverManagerConnectionProvider]
cleaning up connection pool: jdbc:hsqldb:mem:jbpm
2009-02-28 19:53:53,897 DEBUG [org.jbpm.configuration.JbpmContextInfo] creating jbpm
context with service factories '[message, tx, scheduler, authentication, persistence,
logging]'
2009-02-28 19:53:53,897 DEBUG [org.jbpm.JbpmContext] creating
org.jbpm.JbpmContext@1bfe151
2009-02-28 19:53:53,898 DEBUG [org.jbpm.JbpmContext] closing jbpmContext
org.jbpm.JbpmContext@1bfe151
2009-02-28 19:53:53,898 DEBUG [org.jbpm.configuration.JbpmContextInfo] creating jbpm
context with service factories '[message, tx, scheduler, authentication, persistence,
logging]'
2009-02-28 19:53:53,898 DEBUG [org.jbpm.JbpmContext] creating
org.jbpm.JbpmContext@10994db
2009-02-28 19:53:53,898 DEBUG [org.jbpm.JbpmContext] closing jbpmContext
org.jbpm.JbpmContext@10994db
2009-02-28 19:53:53,899 DEBUG [org.jbpm.configuration.JbpmContextInfo] creating jbpm
context with service factories '[]'
2009-02-28 19:53:53,899 DEBUG [org.jbpm.JbpmContext] creating
org.jbpm.JbpmContext@1945b7a
2009-02-28 19:53:53,899 DEBUG [org.jbpm.JbpmContext] closing jbpmContext
org.jbpm.JbpmContext@1945b7a
2009-02-28 19:53:53,901 DEBUG [org.jbpm.AbstractJbpmTestCase] ### END
org.jbpm.JbpmConfigurationTest.testDomainModelConfigsWithoutJbpmContext
######################################################
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: