4 Replies Latest reply on Jun 20, 2006 10:10 AM by jayhir

    problem updating to JBoss AS 4.0.4 GA

    tperrigo

      I'm trying to get jBPM (Starter Kit 3.1.1) working with JBoss AS 4.0.4 GA. I was able to build and deploy the jBPM sar without issue, but when I try to deploy the web app, I get the following error:

      13:12:10,515 ERROR [STDERR] Exception in thread "JbpmScheduler"
      13:12:10,519 ERROR [STDERR] java.lang.IllegalAccessError: tried to access method net.sf.ehcache.CacheManager.()V from class org.hibernate.cache.EhCacheProvider

      I'm not yet very hibernate-savvy, so I'm not even sure what I'm doing wrong...Any suggestions?

      Thanks!
      Tim

        • 1. Re: problem updating to JBoss AS 4.0.4 GA
          maplat

          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

          • 2. Re: problem updating to JBoss AS 4.0.4 GA
            tperrigo

            Upgrading to hibernate 3.2 worked...Thank you for the assistance!

            Tim

            • 3. Re: problem updating to JBoss AS 4.0.4 GA
              jayhir

              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.

              • 4. Re: problem updating to JBoss AS 4.0.4 GA
                jayhir

                Copying localDB.script from the starter kit to the 4.0.4.GA data/hypersonic resolved this issue. Thanks