7 Replies Latest reply on Jan 23, 2008 8:23 AM by jobu s

    Jbpm with tomcat and postgresql

    jobu s Newbie

      Please help me to know steps,
      1.integrate jbpm with postgresql ?
      2. and deploy that project in tomcat ?

      I have done the following things....
      1.placed all jar files of ant,clover,dom4j,hibarnate,JBoss,Jbpm in WEB-INF/lib

      2.hibernate.cfg.xml, jbpm.cfg.xml, jbpm.properties, jbpm-ds.xml, log4j.properties are available in the project's classpath

      3.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>

      <!-- jdbc connection properties -->
      org.hibernate.dialect.PostgreSQLDialect
      org.postgresql.Driver
      jdbc:postgresql://192.168.0.12:5432/JbpmDB
      dbuser
      dbuser

      org.hibernate.cache.HashtableCacheProvider
      org.hibernate.transaction.JDBCTransactionFactory

      <!-- other hibernate properties
      true
      true
      true
      -->

      <!-- ############################################ -->
      <!-- # mapping files with external dependencies # -->
      <!-- ############################################ -->

      <!-- following mapping file has a dependendy on -->
      <!-- 'bsh-{version}.jar'. -->
      <!-- uncomment this if you don't have bsh on your -->
      <!-- classpath. you won't be able to use the -->
      <!-- script element in process definition files -->


      <!-- following mapping files have a dependendy on -->
      <!-- 'jbpm-identity-{version}.jar', mapping files -->
      <!-- of the pluggable jbpm identity component. -->
      <!-- comment out the following 3 lines if you don't-->
      <!-- want to use the default jBPM identity mgmgt -->
      <!-- component -->




      <!-- ###################### -->
      <!-- # jbpm mapping files # -->
      <!-- ###################### -->

      <!-- hql queries and type defs -->


      <!-- graph.def mapping files -->









      <!-- graph.node mapping files -->









      <!-- context.def mapping files -->



      <!-- taskmgmt.def mapping files -->





      <!-- module.def mapping files -->


      <!-- bytes mapping files -->


      <!-- file.def mapping files -->


      <!-- scheduler.def mapping files -->



      <!-- graph.exe mapping files -->





      <!-- module.exe mapping files -->


      <!-- context.exe mapping files -->












      <!-- msg.db mapping files -->







      <!-- taskmgmt.exe mapping files -->





      <!-- scheduler.exe mapping files -->


      <!-- logging mapping files -->































      </session-factory>
      </hibernate-configuration>
      /*********************************************************/
      4..jbpm.cfg.xml

      <jbpm-configuration>

      <!--
      The default configurations can be found in org/jbpm/default.jbpm.cfg.xml
      Those configurations can be overwritten by putting this file called
      jbpm.cfg.xml on the root of the classpath and put in the customized values.
      -->

      </jbpm-configuration>
      /**************************************************************/
      5.jbpm.properties

      # In this file, you can overwrite the default jbpm configuration properties.
      # See the javadocs of org.jbpm.JbpmConfiguration for more information about
      # configuring jBpm.

      ### JBPM configs #########################################
      jbpm.log.stdout=off

      ### HIBERNATE configs #########################################
      #hibernate.connection.url=jdbc:hsqldb:hsql://localhost:1701
      #hibernate.c3p0.min_size=2
      #hibernate.c3p0.max_size=2
      #hibernate.c3p0.timeout=120
      #hibernate.c3p0.max_statements=50
      #POSTGRESQL configs
      hibernate.connection.url=jdbc:postgresql://192.168.0.12:5432/JbpmDB
      hibernate.connection.driver_class=org.postgresql.Driver
      hibernate.c3p0.min_size=2
      hibernate.c3p0.max_size=2
      hibernate.c3p0.timeout=120
      hibernate.c3p0.max_statements=50
      /*****************************************************************/
      6. jbpm-ds.xml

      <?xml version="1.0" encoding="UTF-8"?>


      <local-tx-datasource>
      <jndi-name>JbpmDS</jndi-name>
      <connection-url>jdbc:postgresql://192.168.0.12:5432/JbpmDB</connection-url>
      <driver-class>org.postgresql.Driver</driver-class>
      <user-name>dbuser</user-name>
      dbuser

      <type-mapping>PostgreSQL 8.1</type-mapping>

      </local-tx-datasource>



      7. after these all things... simply deployed the project into webapps in tomcat

      /******************ERROR IS**********************************/

      org.hibernate.HibernateException: Could not find datasource
      at org.hibernate.connection.DatasourceConnectionProvider.configure(DatasourceConnectionProvider.java:56)
      at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:124)
      at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:56)
      at org.hibernate.cfg.SettingsFactory.createConnectionProvider(SettingsFactory.java:366)
      at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:60)
      at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:1859)
      at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1152)
      at org.jbpm.persistence.db.DbPersistenceServiceFactory.getSessionFactory(DbPersistenceServiceFactory.java:91)
      at org.jbpm.persistence.db.DbPersistenceService.getSessionFactory(DbPersistenceService.java:76)
      at org.jbpm.persistence.db.DbPersistenceService.getSession(DbPersistenceService.java:80)
      at org.jbpm.persistence.db.DbPersistenceService.getTaskMgmtSession(DbPersistenceService.java:279)
      at org.jbpm.JbpmContext.getTaskMgmtSession(JbpmContext.java:547)
      at org.jbpm.JbpmContext.getTaskList(JbpmContext.java:189)
      at com.brainscript.workflow.service.WorkflowService.getTasks(WorkflowService.java:256)
      at com.brainscript.workflow.presentation.action.WorkflowAction.forwardToPage(WorkflowAction.java:58)
      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:585)
      at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:280)
      at org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:216)
      at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
      at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
      at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
      at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
      at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
      at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
      at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
      at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
      at java.lang.Thread.run(Thread.java:595)
      Caused by: javax.naming.NameNotFoundException: Name DefaultDS is not bound in this Context
      at org.apache.naming.NamingContext.lookup(NamingContext.java:769)
      at org.apache.naming.NamingContext.lookup(NamingContext.java:152)
      at org.apache.naming.SelectorContext.lookup(SelectorContext.java:136)
      at javax.naming.InitialContext.lookup(InitialContext.java:351)
      at org.hibernate.connection.DatasourceConnectionProvider.configure(DatasourceConnectionProvider.java:52)
      ... 40 more

      /*******************************************************/
      But not Working.... Anybody please help me.....


        • 1. Re: Jbpm with tomcat and postgresql
          Martin Weiler Apprentice

          the datasource configuration is with the jbpm-ds.xml file is something that only works if you deploy to JBoss AS. Please have a look at the http://wiki.jboss.org/wiki/Wiki.jsp?page=JbpmOnTomcat wiki, and pay special attention to the configuration of hibernate.cfg.xml as outlined in section 2.3 of that wiki.

          • 2. Re: Jbpm with tomcat and postgresql
            jobu s Newbie

            Fist of all thnks for ur response....

            This is my hibernate.cfg.xml


            <!-- jdbc connection properties -->
            org.hibernate.dialect.PostgreSQLDialect
            org.postgresql.Driver
            jdbc:postgresql://192.168.0.12:5432/JbpmDB
            dbuser
            dbuser

            org.hibernate.cache.HashtableCacheProvider
            org.hibernate.transaction.JDBCTransactionFactory

            /******************************************/

            I have used JDBCTransactionFactory insted of datasource...
            But still not working...??

            Thanks
            jobu

            • 3. Re: Jbpm with tomcat and postgresql
              Martin Weiler Apprentice

              jobu,

              it would really help if you used the [ code ] your code / your xml files [ /code ] tags (without the blanks), to show your configurations.

              Besides that, I would suggest to start off by following the step-by-step explanation on the wiki (just substitute mysql with postgres) to get a feeling of what files are needed and where to put the configurations. Once you have the default jbpm-console running, you could try to follow the same path in order to deploy your own custom application.

              If you are still having problems afterwards, please give us more details (versions, exceptions, etc) than just a plain:

              But still not working...??


              Btw, please check if there are other hibernate.cfg.xml files in your classpath, and don't forget to search inside *.jar files as well. Maybe yours is just not getting picked up.

              • 4. Re: Jbpm with tomcat and postgresql
                jobu s Newbie

                Dude.....
                Insead of using Datasource can we use

                org.hibernate.transaction.JDBCTransactionFactory.. ??


                I have already configured that in my hibernate.cfg.xml

                and also the jar files available in the project's classpath are..
                clover.jar

                dom4j-1.6.1.jar

                hibernate3.jar
                jaxen-1.1-beta-4.jar
                jdbc2_0-stdext.jar
                jta.jar
                pg74.214.jdbc2.jar

                antlr-2.7.5H3.jar
                asm.jar
                asm-attrs.jar
                bsh-1.3.0.jar
                cglib-2.1_2jboss.jar
                javax.servlet.jar
                javax.servlet.jsp.jar
                jboss.jar
                jboss-common.jar
                jboss-j2ee.jar
                jboss-jmx.jar
                jboss-system.jar
                log4j.jar
                xercesImpl.jar
                xml-apis.jar

                converter.jar
                jbpm.sar.cfg.jar
                jbpm-3.1.4.jar
                jbpm-identity-3.1.4.jar
                jbpm-webapp-3.1.4.jar

                and Tomcat version is apache-tomcat-5.5.20
                java is java-1.5.0_09
                OS is Ubuntu Linux

                And i am not using ant

                And do not Setup a JDBC Realm in Tomcat
                bcz i am not using jbpm-console

                Also copied all the above jar files to CATALINE_HOME/common/lib

                But still the same problem..??







                • 5. Re: Jbpm with tomcat and postgresql
                  Martin Weiler Apprentice

                  As already posted in my last comment:

                  Btw, please check if there are other hibernate.cfg.xml files in your classpath, and don't forget to search inside *.jar files as well. Maybe yours is just not getting picked up.


                  from your list I see you have
                  * hibernate.cfg.xml
                  * jbpm.sar.cfg.jar

                  The latter one contains config files as well, my guess these are the ones that get picked up, so please remove this archive from your deployment.

                  • 6. Re: Jbpm with tomcat and postgresql
                    jobu s Newbie

                    Martin...

                    Can i say somthing first.... u r simply great..... yes i found the problem.... it was the wrong file in jbpm.sar.cfg.jar
                    I have changed hibernate.cfg.xml in jbpm.sar.cfg.jar and deplyed it again
                    Then the problem disappears... Fist of alll thank you martin...

                    But one more problem....
                    I just need to put the above jar files that i mentioned in to
                    CATALINA_HOME/common/lib

                    Otherwise it will not work...
                    So now i put these all jar files in to my projects classpath and also in
                    CATALINA_HOME/common/lib

                    1. Is there any solution for this??
                    2. Can i deploy my jbpm project in to Tomcat 4.1
                    3. Can i Stop the execution of the thread which is running the background(for timer)

                    Thanks
                    Jobu

                    • 7. Re: Jbpm with tomcat and postgresql
                      jobu s Newbie

                      Now I have tried it in new environment
                      OS: WindowsXP
                      Tomcat : 4.1
                      JDK : 1.4.2_12 Then got the following problem...

                      in my projects lib folder i have deployed following jar fils
                      clover.jar

                      dom4j-1.6.1.jar

                      hibernate3.jar
                      jaxen-1.1-beta-4.jar
                      jdbc2_0-stdext.jar
                      jta.jar
                      pg74.214.jdbc2.jar

                      antlr-2.7.5H3.jar
                      asm.jar
                      asm-attrs.jar
                      bsh-1.3.0.jar
                      cglib-2.1_2jboss.jar

                      log4j.jar
                      xercesImpl.jar
                      xml-apis.jar

                      converter.jar
                      jbpm.sar.cfg.jar
                      jbpm-3.1.4.jar
                      jbpm-identity-3.1.4.jar
                      jbpm-webapp-3.1.4.jar

                      i have deleted all the given jar files from CATALINA_HOME/common/lib

                      now got a new error
                      /*****************************/

                      
                       at java.lang.Thread.run(Thread.java:534)
                       WARN [Thread-2] - could not create proxy factory for:org.jbpm.context.log.VariableLog
                      org.hibernate.HibernateException: CGLIB Enhancement failed: org.jbpm.context.log.VariableLog
                       at org.hibernate.proxy.CGLIBLazyInitializer.getProxyFactory(CGLIBLazyInitializer.java:132)
                       at org.hibernate.proxy.CGLIBProxyFactory.postInstantiate(CGLIBProxyFactory.java:41)
                       at org.hibernate.tuple.PojoEntityTuplizer.buildProxyFactory(PojoEntityTuplizer.java:161)
                       at org.hibernate.tuple.AbstractEntityTuplizer.<init>(AbstractEntityTuplizer.java:131)
                       at org.hibernate.tuple.PojoEntityTuplizer.<init>(PojoEntityTuplizer.java:55)
                       at org.hibernate.tuple.TuplizerLookup.create(TuplizerLookup.java:64)
                       at org.hibernate.tuple.EntityMetamodel.<init>(EntityMetamodel.java:257)
                       at org.hibernate.persister.entity.AbstractEntityPersister.<init>(AbstractEntityPersister.java:412)
                       at org.hibernate.persister.entity.SingleTableEntityPersister.<init>(SingleTableEntityPersister.java:108)
                       at org.hibernate.persister.PersisterFactory.createClassPersister(PersisterFactory.java:55)
                       at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:215)
                       at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1154)
                       at org.jbpm.persistence.db.DbPersistenceServiceFactory.getSessionFactory(DbPersistenceServiceFactory.java:91)
                       at org.jbpm.persistence.db.DbPersistenceService.getSessionFactory(DbPersistenceService.java:76)
                       at org.jbpm.persistence.db.DbPersistenceService.getSession(DbPersistenceService.java:80)
                       at org.jbpm.persistence.db.DbPersistenceService.getTaskMgmtSession(DbPersistenceService.java:279)
                       at org.jbpm.JbpmContext.getTaskMgmtSession(JbpmContext.java:547)
                       at org.jbpm.JbpmContext.getTaskList(JbpmContext.java:189)
                       at com.brainscript.workflow.service.WorkflowService.getTasks(WorkflowService.java:256)
                       at com.brainscript.workflow.presentation.action.WorkflowAction.forwardToPage(WorkflowAction.java:58)
                       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:324)
                       at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:280)
                       at org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:216)
                       at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
                       at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
                       at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
                       at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
                       at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
                       at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
                       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
                       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
                       at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
                       at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
                       at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
                       at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
                       at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
                       at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
                       at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
                       at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
                       at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
                       at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
                       at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
                       at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
                       at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
                       at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
                       at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
                       at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
                       at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
                       at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
                       at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
                       at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
                       at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
                       at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
                       at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:594)
                       at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:392)
                       at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:565)
                       at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619)
                       at java.lang.Thread.run(Thread.java:534)
                      Caused by: java.lang.NoClassDefFoundError
                       at org.hibernate.proxy.CGLIBLazyInitializer.getProxyFactory(CGLIBLazyInitializer.java:116)
                       ... 60 more
                      ERROR [Thread-2] - CGLIB Enhancement failed: org.jbpm.context.exe.variableinstance.DateInstance
                      java.lang.NoClassDefFoundError
                       at org.hibernate.proxy.CGLIBLazyInitializer.getProxyFactory(CGLIBLazyInitializer.java:116)
                       at org.hibernate.proxy.CGLIBProxyFactory.postInstantiate(CGLIBProxyFactory.java:41)
                       at org.hibernate.tuple.PojoEntityTuplizer.buildProxyFactory(PojoEntityTuplizer.java:161)
                       at org.hibernate.tuple.AbstractEntityTuplizer.<init>(AbstractEntityTuplizer.java:131)
                       at org.hibernate.tuple.PojoEntityTuplizer.<init>(PojoEntityTuplizer.java:55)
                       at org.hibernate.tuple.TuplizerLookup.create(TuplizerLookup.java:64)
                       at org.hibernate.tuple.EntityMetamodel.<init>(EntityMetamodel.java:257)
                       at org.hibernate.persister.entity.AbstractEntityPersister.<init>(AbstractEntityPersister.java:412)
                       at org.hibernate.persister.entity.SingleTableEntityPersister.<init>(SingleTableEntityPersister.java:108)
                       at org.hibernate.persister.PersisterFactory.createClassPersister(PersisterFactory.java:55)
                       at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:215)
                       at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1154)
                       at org.jbpm.persistence.db.DbPersistenceServiceFactory.getSessionFactory(DbPersistenceServiceFactory.java:91)
                       at org.jbpm.persistence.db.DbPersistenceService.getSessionFactory(DbPersistenceService.java:76)
                       at org.jbpm.persistence.db.DbPersistenceService.getSession(DbPersistenceService.java:80)
                       at org.jbpm.persistence.db.DbPersistenceService.getTaskMgmtSession(DbPersistenceService.java:279)
                       at org.jbpm.JbpmContext.getTaskMgmtSession(JbpmContext.java:547)
                       at org.jbpm.JbpmContext.getTaskList(JbpmContext.java:189)
                       at com.brainscript.workflow.service.WorkflowService.getTasks(WorkflowService.java:256)
                       at com.brainscript.workflow.presentation.action.WorkflowAction.forwardToPage(WorkflowAction.java:58)
                       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:324)
                       at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:280)
                       at org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:216)
                       at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
                       at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
                       at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
                       at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
                       at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
                       at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
                       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
                       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
                       at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
                       at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
                       at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
                       at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
                       at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
                       at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
                       at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
                       at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
                       at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
                       at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
                       at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
                       at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
                       at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
                       at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
                       at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
                       at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
                       at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
                       at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
                       at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
                       at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
                       at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
                       at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
                       at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:594)
                       at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:392)
                       at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:565)
                       at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619)
                       at java.lang.Thread.run(Thread.java:534)
                       WARN [Thread-2] - could not create proxy factory for:org.jbpm.context.exe.variableinstance.DateInstance
                      org.hibernate.HibernateException: CGLIB Enhancement failed: org.jbpm.context.exe.variableinstance.DateInstance
                       at org.hibernate.proxy.CGLIBLazyInitializer.getProxyFactory(CGLIBLazyInitializer.java:132)
                       at org.hibernate.proxy.CGLIBProxyFactory.postInstantiate(CGLIBProxyFactory.java:41)
                       at org.hibernate.tuple.PojoEntityTuplizer.buildProxyFactory(PojoEntityTuplizer.java:161)
                       at org.hibernate.tuple.AbstractEntityTuplizer.<init>(AbstractEntityTuplizer.java:131)
                       at org.hibernate.tuple.PojoEntityTuplizer.<init>(PojoEntityTuplizer.java:55)
                       at org.hibernate.tuple.TuplizerLookup.create(TuplizerLookup.java:64)
                       at org.hibernate.tuple.EntityMetamodel.<init>(EntityMetamodel.java:257)
                       at org.hibernate.persister.entity.AbstractEntityPersister.<init>(AbstractEntityPersister.java:412)
                       at org.hibernate.persister.entity.SingleTableEntityPersister.<init>(SingleTableEntityPersister.java:108)
                       at org.hibernate.persister.PersisterFactory.createClassPersister(PersisterFactory.java:55)
                       at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:215)
                       at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1154)
                       at org.jbpm.persistence.db.DbPersistenceServiceFactory.getSessionFactory(DbPersistenceServiceFactory.java:91)
                       at org.jbpm.persistence.db.DbPersistenceService.getSessionFactory(DbPersistenceService.java:76)
                       at org.jbpm.persistence.db.DbPersistenceService.getSession(DbPersistenceService.java:80)
                       at org.jbpm.persistence.db.DbPersistenceService.getTaskMgmtSession(DbPersistenceService.java:279)
                       at org.jbpm.JbpmContext.getTaskMgmtSession(JbpmContext.java:547)
                       at org.jbpm.JbpmContext.getTaskList(JbpmContext.java:189)
                       at com.brainscript.workflow.service.WorkflowService.getTasks(WorkflowService.java:256)
                       at com.brainscript.workflow.presentation.action.WorkflowAction.forwardToPage(WorkflowAction.java:58)
                       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:324)
                       at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:280)
                       at org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:216)
                       at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
                       at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
                       at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
                       at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
                       at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
                       at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
                       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
                       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
                       at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
                       at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
                       at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
                       at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
                       at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
                       at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
                       at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
                       at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
                       at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
                       at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
                       at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
                       at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
                       at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
                       at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
                       at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
                       at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
                       at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
                       at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
                       at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
                       at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
                       at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
                       at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
                       at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:594)
                       at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:392)
                       at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:565)
                       at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619)
                       at java.lang.Thread.run(Thread.java:534)
                      Caused by: java.lang.NoClassDefFoundError
                       at org.hibernate.proxy.CGLIBLazyInitializer.getProxyFactory(CGLIBLazyInitializer.java:116)
                       ... 60 more
                      ERROR [Thread-2] - CGLIB Enhancement failed: org.jbpm.context.log.variableinstance.HibernateStringUpdateLog
                      java.lang.NoClassDefFoundError
                       at org.hibernate.proxy.CGLIBLazyInitializer.getProxyFactory(CGLIBLazyInitializer.java:116)
                       at org.hibernate.proxy.CGLIBProxyFactory.postInstantiate(CGLIBProxyFactory.java:41)
                       at org.hibernate.tuple.PojoEntityTuplizer.buildProxyFactory(PojoEntityTuplizer.java:161)
                       at org.hibernate.tuple.AbstractEntityTuplizer.<init>(AbstractEntityTuplizer.java:131)
                       at org.hibernate.tuple.PojoEntityTuplizer.<init>(PojoEntityTuplizer.java:55)
                       at org.hibernate.tuple.TuplizerLookup.create(TuplizerLookup.java:64)
                       at org.hibernate.tuple.EntityMetamodel.<init>(EntityMetamodel.java:257)
                       at org.hibernate.persister.entity.AbstractEntityPersister.<init>(AbstractEntityPersister.java:412)
                       at org.hibernate.persister.entity.SingleTableEntityPersister.<init>(SingleTableEntityPersister.java:108)
                       at org.hibernate.persister.PersisterFactory.createClassPersister(PersisterFactory.java:55)
                       at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:215)
                       at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1154)
                       at org.jbpm.persistence.db.DbPersistenceServiceFactory.getSessionFactory(DbPersistenceServiceFactory.java:91)
                       at org.jbpm.persistence.db.DbPersistenceService.getSessionFactory(DbPersistenceService.java:76)
                       at org.jbpm.persistence.db.DbPersistenceService.getSession(DbPersistenceService.java:80)
                       at org.jbpm.persistence.db.DbPersistenceService.getTaskMgmtSession(DbPersistenceService.java:279)
                       at org.jbpm.JbpmContext.getTaskMgmtSession(JbpmContext.java:547)
                       at org.jbpm.JbpmContext.getTaskList(JbpmContext.java:189)
                       at com.brainscript.workflow.service.WorkflowService.getTasks(WorkflowService.java:256)
                       at com.brainscript.workflow.presentation.action.WorkflowAction.forwardToPage(WorkflowAction.java:58)
                       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:324)
                       at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:280)
                       at org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:216)
                       at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
                       at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
                       at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
                       at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
                       at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
                       at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
                       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
                       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
                       at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
                       at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
                       at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
                       at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
                       at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
                       at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
                       at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
                       at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
                       at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
                       at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
                       at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
                       at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
                       at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
                       at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
                       at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
                       at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
                       at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
                       at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
                       at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
                       at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
                       at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
                       at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
                       at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:594)
                       at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:392)
                       at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:565)
                       at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619)
                       at java.lang.Thread.run(Thread.java:534)
                       WARN [Thread-2] - could not create proxy factory for:org.jbpm.context.log.variableinstance.HibernateStringUpdateLog
                      org.hibernate.HibernateException: CGLIB Enhancement failed: org.jbpm.context.log.variableinstance.HibernateStringUpdateLog
                       at org.hibernate.proxy.CGLIBLazyInitializer.getProxyFactory(CGLIBLazyInitializer.java:132)
                       at org.hibernate.proxy.CGLIBProxyFactory.postInstantiate(CGLIBProxyFactory.java:41)
                       at org.hibernate.tuple.PojoEntityTuplizer.buildProxyFactory(PojoEntityTuplizer.java:161)
                       at org.hibernate.tuple.AbstractEntityTuplizer.<init>(AbstractEntityTuplizer.java:131)
                       at org.hibernate.tuple.PojoEntityTuplizer.<init>(PojoEntityTuplizer.java:55)
                       at org.hibernate.tuple.TuplizerLookup.create(TuplizerLookup.java:64)
                       at org.hibernate.tuple.EntityMetamodel.<init>(EntityMetamodel.java:257)
                       at org.hibernate.persister.entity.AbstractEntityPersister.<init>(AbstractEntityPersister.java:412)
                       at org.hibernate.persister.entity.SingleTableEntityPersister.<init>(SingleTableEntityPersister.java:108)
                       at org.hibernate.persister.PersisterFactory.createClassPersister(PersisterFactory.java:55)
                       at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:215)
                       at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1154)
                       at org.jbpm.persistence.db.DbPersistenceServiceFactory.getSessionFactory(DbPersistenceServiceFactory.java:91)
                       at org.jbpm.persistence.db.DbPersistenceService.getSessionFactory(DbPersistenceService.java:76)
                       at org.jbpm.persistence.db.DbPersistenceService.getSession(DbPersistenceService.java:80)
                       at org.jbpm.persistence.db.DbPersistenceService.getTaskMgmtSession(DbPersistenceService.java:279)
                       at org.jbpm.JbpmContext.getTaskMgmtSession(JbpmContext.java:547)
                       at org.jbpm.JbpmContext.getTaskList(JbpmContext.java:189)
                       at com.brainscript.workflow.service.WorkflowService.getTasks(WorkflowService.java:256)
                       at com.brainscript.workflow.presentation.action.WorkflowAction.forwardToPage(WorkflowAction.java:58)
                       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:324)
                       at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:280)
                       at org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:216)
                       at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
                       at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
                       at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
                       at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
                       at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
                       at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
                       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
                       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
                       at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
                       at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
                       at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
                       at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
                       at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
                       at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
                       at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
                       at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
                       at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
                       at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
                       at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
                       at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
                       at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
                       at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
                       at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
                       at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
                       at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
                       at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
                       at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
                       at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
                       at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
                       at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
                       at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:594)
                       at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:392)
                       at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:565)
                       at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619)
                       at java.lang.Thread.run(Thread.java:534)
                      Caused by: java.lang.NoClassDefFoundError
                       at org.hibernate.proxy.CGLIBLazyInitializer.getProxyFactory(CGLIBLazyInitializer.java:116)
                       ... 60 more
                      ERROR [Thread-2] - CGLIB Enhancement failed: org.jbpm.context.exe.variableinstance.ByteArrayInstance
                      java.lang.NoClassDefFoundError
                       at org.hibernate.proxy.CGLIBLazyInitializer.getProxyFactory(CGLIBLazyInitializer.java:116)
                       at org.hibernate.proxy.CGLIBProxyFactory.postInstantiate(CGLIBProxyFactory.java:41)
                       at org.hibernate.tuple.PojoEntityTuplizer.buildProxyFactory(PojoEntityTuplizer.java:161)
                       at org.hibernate.tuple.AbstractEntityTuplizer.<init>(AbstractEntityTuplizer.java:131)
                       at org.hibernate.tuple.PojoEntityTuplizer.<init>(PojoEntityTuplizer.java:55)
                       at org.hibernate.tuple.TuplizerLookup.create(TuplizerLookup.java:64)
                       at org.hibernate.tuple.EntityMetamodel.<init>(EntityMetamodel.java:257)
                       at org.hibernate.persister.entity.AbstractEntityPersister.<init>(AbstractEntityPersister.java:412)
                       at org.hibernate.persister.entity.SingleTableEntityPersister.<init>(SingleTableEntityPersister.java:108)
                       at org.hibernate.persister.PersisterFactory.createClassPersister(PersisterFactory.java:55)
                       at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:215)
                       at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1154)
                       at org.jbpm.persistence.db.DbPersistenceServiceFactory.getSessionFactory(DbPersistenceServiceFactory.java:91)
                       at org.jbpm.persistence.db.DbPersistenceService.getSessionFactory(DbPersistenceService.java:76)
                       at org.jbpm.persistence.db.DbPersistenceService.getSession(DbPersistenceService.java:80)
                       at org.jbpm.persistence.db.DbPersistenceService.getTaskMgmtSession(DbPersistenceService.java:279)
                       at org.jbpm.JbpmContext.getTaskMgmtSession(JbpmContext.java:547)
                       at org.jbpm.JbpmContext.getTaskList(JbpmContext.java:189)
                       at com.brainscript.workflow.service.WorkflowService.getTasks(WorkflowService.java:256)
                       at com.brainscript.workflow.presentation.action.WorkflowAction.forwardToPage(WorkflowAction.java:58)
                       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:324)
                       at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:280)
                       at org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:216)
                       at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
                       at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
                       at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
                       at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
                       at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
                       at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
                       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
                       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
                       at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
                       at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
                       at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
                       at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
                       at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
                       at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
                       at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
                       at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
                       at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
                       at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
                       at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
                       at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
                       at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
                       at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
                       at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
                       at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
                       at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
                       at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
                       at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
                       at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
                       at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
                       at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
                       at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:594)
                       at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:392)
                       at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:565)
                       at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619)
                       at java.lang.Thread.run(Thread.java:534)
                       WARN [Thread-2] - could not create proxy factory for:org.jbpm.context.exe.variableinstance.ByteArrayInstance
                      org.hibernate.HibernateException: CGLIB Enhancement failed: org.jbpm.context.exe.variableinstance.ByteArrayInstance
                       at org.hibernate.proxy.CGLIBLazyInitializer.getProxyFactory(CGLIBLazyInitializer.java:132)
                       at org.hibernate.proxy.CGLIBProxyFactory.postInstantiate(CGLIBProxyFactory.java:41)
                       at org.hibernate.tuple.PojoEntityTuplizer.buildProxyFactory(PojoEntityTuplizer.java:161)
                       at org.hibernate.tuple.AbstractEntityTuplizer.<init>(AbstractEntityTuplizer.java:131)
                       at org.hibernate.tuple.PojoEntityTuplizer.<init>(PojoEntityTuplizer.java:55)
                       at org.hibernate.tuple.TuplizerLookup.create(TuplizerLookup.java:64)
                       at org.hibernate.tuple.EntityMetamodel.<init>(EntityMetamodel.java:257)
                       at org.hibernate.persister.entity.AbstractEntityPersister.<init>(AbstractEntityPersister.java:412)
                       at org.hibernate.persister.entity.SingleTableEntityPersister.<init>(SingleTableEntityPersister.java:108)
                       at org.hibernate.persister.PersisterFactory.createClassPersister(PersisterFactory.java:55)
                       at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:215)
                       at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1154)
                       at org.jbpm.persistence.db.DbPersistenceServiceFactory.getSessionFactory(DbPersistenceServiceFactory.java:91)
                       at org.jbpm.persistence.db.DbPersistenceService.getSessionFactory(DbPersistenceService.java:76)
                       at org.jbpm.persistence.db.DbPersistenceService.getSession(DbPersistenceService.java:80)
                       at org.jbpm.persistence.db.DbPersistenceService.getTaskMgmtSession(DbPersistenceService.java:279)
                       at org.jbpm.JbpmContext.getTaskMgmtSession(JbpmContext.java:547)
                       at org.jbpm.JbpmContext.getTaskList(JbpmContext.java:189)
                       at com.brainscript.workflow.service.WorkflowService.getTasks(WorkflowService.java:256)
                       at com.brainscript.workflow.presentation.action.WorkflowAction.forwardToPage(WorkflowAction.java:58)
                       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:324)
                       at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:280)
                       at org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:216)
                       at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
                       at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
                       at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
                       at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
                       at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
                       at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
                       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
                       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
                       at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
                       at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
                       at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
                       at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
                       at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
                       at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
                       at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
                       at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
                       at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
                       at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
                       at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
                       at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
                       at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
                       at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
                       at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
                       at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
                       at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
                       at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
                       at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
                       at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
                       at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
                       at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
                       at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:594)
                       at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:392)
                       at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:565)
                       at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619)
                       at java.lang.Thread.run(Thread.java:534)
                      Caused by: java.lang.NoClassDefFoundError
                       at org.hibernate.proxy.CGLIBLazyInitializer.getProxyFactory(CGLIBLazyInitializer.java:116)
                       ... 60 more
                      ERROR [Thread-2] - CGLIB Enhancement failed: org.jbpm.graph.node.Fork
                      java.lang.NoClassDefFoundError
                       at org.hibernate.proxy.CGLIBLazyInitializer.getProxyFactory(CGLIBLazyInitializer.java:116)
                       at org.hibernate.proxy.CGLIBProxyFactory.postInstantiate(CGLIBProxyFactory.java:41)
                       at org.hibernate.tuple.PojoEntityTuplizer.buildProxyFactory(PojoEntityTuplizer.java:161)
                       at org.hibernate.tuple.AbstractEntityTuplizer.<init>(AbstractEntityTuplizer.java:131)
                       at org.hibernate.tuple.PojoEntityTuplizer.<init>(PojoEntityTuplizer.java:55)
                       at org.hibernate.tuple.TuplizerLookup.create(TuplizerLookup.java:64)
                       at org.hibernate.tuple.EntityMetamodel.<init>(EntityMetamodel.java:257)
                       at org.hibernate.persister.entity.AbstractEntityPersister.<init>(AbstractEntityPersister.java:412)
                       at org.hibernate.persister.entity.SingleTableEntityPersister.<init>(SingleTableEntityPersister.java:108)
                       at org.hibernate.persister.PersisterFactory.createClassPersister(PersisterFactory.java:55)
                       at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:215)
                       at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1154)
                       at org.jbpm.persistence.db.DbPersistenceServiceFactory.getSessionFactory(DbPersistenceServiceFactory.java:91)
                       at org.jbpm.persistence.db.DbPersistenceService.getSessionFactory(DbPersistenceService.java:76)
                       at org.jbpm.persistence.db.DbPersistenceService.getSession(DbPersistenceService.java:80)
                       at org.jbpm.persistence.db.DbPersistenceService.getTaskMgmtSession(DbPersistenceService.java:279)
                       at org.jbpm.JbpmContext.getTaskMgmtSession(JbpmContext.java:547)
                       at org.jbpm.JbpmContext.getTaskList(JbpmContext.java:189)
                       at com.brainscript.workflow.service.WorkflowService.getTasks(WorkflowService.java:256)
                       at com.brainscript.workflow.presentation.action.WorkflowAction.forwardToPage(WorkflowAction.java:58)
                       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:324)
                       at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:280)
                       at org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:216)
                       at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
                       at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
                       at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
                       at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
                       at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
                       at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
                       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
                       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
                       at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
                       at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
                       at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
                       at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
                       at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
                       at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
                       at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
                       at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
                       at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
                       at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
                       at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
                       at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
                       at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
                       at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
                       at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
                       at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
                       at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
                       at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
                       at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
                       at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
                       at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
                       at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
                       at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:594)
                       at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:392)
                       at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:565)
                       at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619)
                       at java.lang.Thread.run(Thread.java:534)
                       WARN [Thread-2] - could not create proxy factory for:org.jbpm.graph.node.Fork
                      org.hibernate.HibernateException: CGLIB Enhancement failed: org.jbpm.graph.node.Fork
                       at org.hibernate.proxy.CGLIBLazyInitializer.getProxyFactory(CGLIBLazyInitializer.java:132)
                       at org.hibernate.proxy.CGLIBProxyFactory.postInstantiate(CGLIBProxyFactory.java:41)
                       at org.hibernate.tuple.PojoEntityTuplizer.buildProxyFactory(PojoEntityTuplizer.java:161)
                       at org.hibernate.tuple.AbstractEntityTuplizer.<init>(AbstractEntityTuplizer.java:131)
                       at org.hibernate.tuple.PojoEntityTuplizer.<init>(PojoEntityTuplizer.java:55)
                       at org.hibernate.tuple.TuplizerLookup.create(TuplizerLookup.java:64)
                       at org.hibernate.tuple.EntityMetamodel.<init>(EntityMetamodel.java:257)
                       at org.hibernate.persister.entity.AbstractEntityPersister.<init>(AbstractEntityPersister.java:412)
                       at org.hibernate.persister.entity.SingleTableEntityPersister.<init>(SingleTableEntityPersister.java:108)
                       at org.hibernate.persister.PersisterFactory.createClassPersister(PersisterFactory.java:55)
                       at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:215)
                       at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1154)
                       at org.jbpm.persistence.db.DbPersistenceServiceFactory.getSessionFactory(DbPersistenceServiceFactory.java:91)
                       at org.jbpm.persistence.db.DbPersistenceService.getSessionFactory(DbPersistenceService.java:76)
                       at org.jbpm.persistence.db.DbPersistenceService.getSession(DbPersistenceService.java:80)
                       at org.jbpm.persistence.db.DbPersistenceService.getTaskMgmtSession(DbPersistenceService.java:279)
                       at org.jbpm.JbpmContext.getTaskMgmtSession(JbpmContext.java:547)
                       at org.jbpm.JbpmContext.getTaskList(JbpmContext.java:189)
                       at com.brainscript.workflow.service.WorkflowService.getTasks(WorkflowService.java:256)
                       at com.brainscript.workflow.presentation.action.WorkflowAction.forwardToPage(WorkflowAction.java:58)
                       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:324)
                       at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:280)
                       at org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:216)
                       at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
                       at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
                       at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
                       at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
                       at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
                       at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
                       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
                       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
                       at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
                       at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
                       at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
                       at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
                       at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
                       at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
                       at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
                       at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
                       at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
                       at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
                       at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
                       at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
                       at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
                       at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
                       at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
                       at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
                       at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
                       at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
                       at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
                       at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
                       at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
                       at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
                       at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:594)
                       at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:392)
                       at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:565)
                       at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619)
                       at java.lang.Thread.run(Thread.java:534)
                      Caused by: java.lang.NoClassDefFoundError
                       at org.hibernate.proxy.CGLIBLazyInitializer.getProxyFactory(CGLIBLazyInitializer.java:116)
                       ... 60 more
                      ERROR [Thread-2] - CGLIB Enhancement failed: org.jbpm.context.exe.VariableInstance
                      java.lang.NoClassDefFoundError
                       at org.hibernate.proxy.CGLIBLazyInitializer.getProxyFactory(CGLIBLazyInitializer.java:116)
                       at org.hibernate.proxy.CGLIBProxyFactory.postInstantiate(CGLIBProxyFactory.java:41)
                       at org.hibernate.tuple.PojoEntityTuplizer.buildProxyFactory(PojoEntityTuplizer.java:161)
                       at org.hibernate.tuple.AbstractEntityTuplizer.<init>(AbstractEntityTuplizer.java:131)
                       at org.hibernate.tuple.PojoEntityTuplizer.<init>(PojoEntityTuplizer.java:55)
                       at org.hibernate.tuple.TuplizerLookup.create(TuplizerLookup.java:64)
                       at org.hibernate.tuple.EntityMetamodel.<init>(EntityMetamodel.java:257)
                       at org.hibernate.persister.entity.AbstractEntityPersister.<init>(AbstractEntityPersister.java:412)
                       at org.hibernate.persister.entity.SingleTableEntityPersister.<init>(SingleTableEntityPersister.java:108)
                       at org.hibernate.persister.PersisterFactory.createClassPersister(PersisterFactory.java:55)
                       at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:215)
                       at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1154)
                       at org.jbpm.persistence.db.DbPersistenceServiceFactory.getSessionFactory(DbPersistenceServiceFactory.java:91)
                       at org.jbpm.persistence.db.DbPersistenceService.getSessionFactory(DbPersistenceService.java:76)
                       at org.jbpm.persistence.db.DbPersistenceService.getSession(DbPersistenceService.java:80)
                       at org.jbpm.persistence.db.DbPersistenceService.getTaskMgmtSession(DbPersistenceService.java:279)
                       at org.jbpm.JbpmContext.getTaskMgmtSession(JbpmContext.java:547)
                       at org.jbpm.JbpmContext.getTaskList(JbpmContext.java:189)
                       at com.brainscript.workflow.service.WorkflowService.getTasks(WorkflowService.java:256)
                       at com.brainscript.workflow.presentation.action.WorkflowAction.forwardToPage(WorkflowAction.java:58)
                       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:324)
                       at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:280)
                       at org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:216)
                       at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
                       at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
                       at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
                       at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
                       at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
                       at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
                       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
                       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
                       at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
                       at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
                       at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
                       at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
                       at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
                       at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
                       at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
                       at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
                       at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
                       at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
                       at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
                       at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
                       at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
                       at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
                       at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
                       at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
                       at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
                       at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
                       at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
                       at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
                       at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
                       at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
                       at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:594)
                       at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:392)
                       at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:565)
                       at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619)
                       at java.lang.Thread.run(Thread.java:534)
                       WARN [Thread-2] - could not create proxy factory for:org.jbpm.context.exe.VariableInstance
                      org.hibernate.HibernateException: CGLIB Enhancement failed: org.jbpm.context.exe.VariableInstance
                       at org.hibernate.proxy.CGLIBLazyInitializer.getProxyFactory(CGLIBLazyInitializer.java:132)
                       at org.hibernate.proxy.CGLIBProxyFactory.postInstantiate(CGLIBProxyFactory.java:41)
                       at org.hibernate.tuple.PojoEntityTuplizer.buildProxyFactory(PojoEntityTuplizer.java:161)
                       at org.hibernate.tuple.AbstractEntityTuplizer.<init>(AbstractEntityTuplizer.java:131)
                       at org.hibernate.tuple.PojoEntityTuplizer.<init>(PojoEntityTuplizer.java:55)
                       at org.hibernate.tuple.TuplizerLookup.create(TuplizerLookup.java:64)
                       at org.hibernate.tuple.EntityMetamodel.<init>(EntityMetamodel.java:257)
                       at org.hibernate.persister.entity.AbstractEntityPersister.<init>(AbstractEntityPersister.java:412)
                       at org.hibernate.persister.entity.SingleTableEntityPersister.<init>(SingleTableEntityPersister.java:108)
                       at org.hibernate.persister.PersisterFactory.createClassPersister(PersisterFactory.java:55)
                       at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:215)
                       at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1154)
                       at org.jbpm.persistence.db.DbPersistenceServiceFactory.getSessionFactory(DbPersistenceServiceFactory.java:91)
                       at org.jbpm.persistence.db.DbPersistenceService.getSessionFactory(DbPersistenceService.java:76)
                       at org.jbpm.persistence.db.DbPersistenceService.getSession(DbPersistenceService.java:80)
                       at org.jbpm.persistence.db.DbPersistenceService.getTaskMgmtSession(DbPersistenceService.java:279)
                       at org.jbpm.JbpmContext.getTaskMgmtSession(JbpmContext.java:547)
                       at org.jbpm.JbpmContext.getTaskList(JbpmContext.java:189)
                       at com.brainscript.workflow.service.WorkflowService.getTasks(WorkflowService.java:256)
                       at com.brainscript.workflow.presentation.action.WorkflowAction.forwardToPage(WorkflowAction.java:58)
                       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:324)
                       at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:280)
                       at org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:216)
                       at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
                       at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
                       at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
                       at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
                       at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
                       at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
                       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
                       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
                       at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
                       at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
                       at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
                       at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
                       at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
                       at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
                       at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
                       at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
                       at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
                       at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
                       at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
                       at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
                       at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
                       at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
                       at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
                       at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
                       at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
                       at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
                       at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
                       at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
                       at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
                       at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
                       at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:594)
                       at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:392)
                       at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:565)
                       at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619)
                       at java.lang.Thread.run(Thread.java:534)
                      Caused by: java.lang.NoClassDefFoundError
                       at org.hibernate.proxy.CGLIBLazyInitializer.getProxyFactory(CGLIBLazyInitializer.java:116)
                       ... 60 more
                      ERROR [Thread-2] - CGLIB Enhancement failed: org.jbpm.taskmgmt.def.TaskController
                      java.lang.NoClassDefFoundError
                       at org.hibernate.proxy.CGLIBLazyInitializer.getProxyFactory(CGLIBLazyInitializer.java:116)
                       at org.hibernate.proxy.CGLIBProxyFactory.postInstantiate(CGLIBProxyFactory.java:41)
                       at org.hibernate.tuple.PojoEntityTuplizer.buildProxyFactory(PojoEntityTuplizer.java:161)
                       at org.hibernate.tuple.AbstractEntityTuplizer.<init>(AbstractEntityTuplizer.java:131)
                       at org.hibernate.tuple.PojoEntityTuplizer.<init>(PojoEntityTuplizer.java:55)
                       at org.hibernate.tuple.TuplizerLookup.create(TuplizerLookup.java:64)
                       at org.hibernate.tuple.EntityMetamodel.<init>(EntityMetamodel.java:257)
                       at org.hibernate.persister.entity.AbstractEntityPersister.<init>(AbstractEntityPersister.java:412)
                       at org.hibernate.persister.entity.SingleTableEntityPersister.<init>(SingleTableEntityPersister.java:108)
                       at org.hibernate.persister.PersisterFactory.createClassPersister(PersisterFactory.java:55)
                       at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:215)
                       at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1154)
                       at org.jbpm.persistence.db.DbPersistenceServiceFactory.getSessionFactory(DbPersistenceServiceFactory.java:91)
                       at org.jbpm.persistence.db.DbPersistenceService.getSessionFactory(DbPersistenceService.java:76)
                       at org.jbpm.persistence.db.DbPersistenceService.getSession(DbPersistenceService.java:80)
                       at org.jbpm.persistence.db.DbPersistenceService.getTaskMgmtSession(DbPersistenceService.java:279)
                       at org.jbpm.JbpmContext.getTaskMgmtSession(JbpmContext.java:547)
                       at org.jbpm.JbpmContext.getTaskList(JbpmContext.java:189)
                       at com.brainscript.workflow.service.WorkflowService.getTasks(WorkflowService.java:256)
                       at com.brainscript.workflow.presentation.action.WorkflowAction.forwardToPage(WorkflowAction.java:58)
                       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:324)
                       at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:280)
                       at org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:216)
                       at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
                       at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
                       at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
                       at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
                       at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
                       at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
                       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
                       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
                       at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
                       at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
                       at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
                       at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
                       at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
                       at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
                       at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
                       at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
                       at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
                       at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
                       at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
                       at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
                       at org.apach