]
Alejandro Guizar resolved JBPM-2456.
------------------------------------
Labels: configuration hibernate jbpm3 properties (was: )
Assignee: Alejandro Guizar
Resolution: Out of Date
resource.hibernate.properties is not ignored (anymore?):
jbpm.cfg.xml : resource.hibernate.properties seems to be ignored.
-----------------------------------------------------------------
Key: JBPM-2456
URL:
https://jira.jboss.org/browse/JBPM-2456
Project: jBPM
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Runtime Engine
Affects Versions: jBPM 3.2.6 GA
Environment: WinXP
Java 1.5
Reporter: Davy Toch
Assignee: Alejandro Guizar
Priority: Minor
Labels: jbpm3, hibernate, properties, configuration
jbpm.cfg.xml has the following content:
<jbpm-configuration>
<string name='resource.hibernate.properties'
value='/be/fgov/minfin/stirint/gen/common/resources/PropertyGetter.properties'/>
<string name='resource.hibernate.cfg.xml'
value='/be/fgov/minfin/stirint/gen/bpm/hibernate.cfg.xml'/>
</jbpm-configuration>
However the value given to the property resource.hibernate.properties seems to be
ignored, because in the logs I get:
...
[2009-07-28 23:30:42,953] [INFO ] [org.jbpm.JbpmConfiguration] [] : using configuration
resource: jbpm.cfg.xml
[2009-07-28 23:30:43,328] [INFO ] [org.hibernate.cfg.Environment] [] : Hibernate 3.2.6
[2009-07-28 23:30:43,328] [INFO ] [org.hibernate.cfg.Environment] [] :
hibernate.properties not found
[2009-07-28 23:30:43,343] [INFO ] [org.hibernate.cfg.Environment] [] : Bytecode provider
name : cglib
[2009-07-28 23:30:43,343] [INFO ] [org.hibernate.cfg.Environment] [] : using JDK 1.4
java.sql.Timestamp handling
[2009-07-28 23:30:43,406] [INFO ] [org.hibernate.cfg.Configuration] [] : configuring from
resource: /be/fgov/minfin/stirint/gen/bpm/hibernate.cfg.xml
[2009-07-28 23:30:43,406] [INFO ] [org.hibernate.cfg.Configuration] [] : Configuration
resource: /be/fgov/minfin/stirint/gen/bpm/hibernate.cfg.xml
...
Also in hibernate.cfg.xml I refer to the property ${datasource} as datasource JNDI name
which is defined in my PropertyGetter.properties, but apparently it's not replaced
when I do a unit test.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: