you have to upgrade to the ehcache 1.2, it's in the release notes of the jboss distribution, but not for jbpm but for jboss portal.
You can download the hibernate 3.2 rc, which has the ehcache in the libs directory or just get only the ehcache from the sourceforge site
Upgrading to hibernate 3.2 worked...Thank you for the assistance!
I notice that you have successfuly gotten 3.1.1 to run under JBoss AS 4.0.4.GA. I have been trying the same without success. I did switch the ehcache jar to version 1.2, but I see errors:
Series of warnings first as bellow..
17:21:46,250 WARN [EhCacheProvider] Could not find configuration [org.jbpm.grap
h.def.ProcessDefinition]; using defaults.
17:21:54,015 WARN [EhCacheProvider] Could not find configuration [org.jbpm.grap
h.def.ExceptionHandler]; using defaults.
Followed by exceptions while executing timers:
17:21:55,703 WARN [JDBCExceptionReporter] SQL Error: -22, SQLState: S0002
17:21:55,703 ERROR [JDBCExceptionReporter] Table not found in statement [select
message0_.ID_ as col_0_0_ from JBPM_MESSAGE message0_ where message0_.DESTINATIO
N_=? and message0_.ISSUSPENDED_<>1 and (message0_.EXCEPTION_ is null)]
Any help is much appreciated, as I badly need to get a running version of jBPM under 4.0.4.
Copying localDB.script from the starter kit to the 4.0.4.GA data/hypersonic resolved this issue. Thanks