2 Replies Latest reply on Jul 30, 2008 4:02 AM by Ronald van Kuijk

    Exception when setting up JBPM in Tomcat 6.0

    Ansari S.H Newbie

      Hi,

      I'm getting "Not supported by BasicDataSource" while setting up JBPM in Tomcat 6.0. This occurs upon Tomcat server startup.

      Any idea how to fix this issue ?.

      :Ansari S.H

      Exception log
      ----------------
      Jul 30, 2008 10:46:18 AM org.jbpm.job.executor.JobExecutorThread run
      SEVERE: exception in job executor thread. waiting 80000 milliseconds
      java.lang.UnsupportedOperationException: Not supported by BasicDataSource
      at org.apache.tomcat.dbcp.dbcp.BasicDataSource.getConnection(BasicDataSo
      urce.java:899)
      at org.hibernate.connection.DatasourceConnectionProvider.getConnection(D
      atasourceConnectionProvider.java:66)
      at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager
      .java:423)
      at org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.
      java:144)
      at org.hibernate.jdbc.JDBCContext.connection(JDBCContext.java:119)
      at org.hibernate.transaction.JDBCTransaction.begin(JDBCTransaction.java:
      57)
      at org.hibernate.impl.SessionImpl.beginTransaction(SessionImpl.java:1326
      )
      at org.jbpm.persistence.db.DbPersistenceService.beginTransaction(DbPersi
      stenceService.java:132)
      at org.jbpm.persistence.db.DbPersistenceService.getSession(DbPersistence
      Service.java:124)
      at org.jbpm.persistence.db.DbPersistenceService.getJobSession(DbPersiste
      nceService.java:363)
      at org.jbpm.JbpmContext.getJobSession(JbpmContext.java:563)
      at org.jbpm.job.executor.JobExecutorThread.acquireJobs(JobExecutorThread
      .java:112)
      at org.jbpm.job.executor.JobExecutorThread.run(JobExecutorThread.java:58
      )

        • 1. Re: Exception when setting up JBPM in Tomcat 6.0
          Ansari S.H Newbie

           

          "shansari" wrote:
          Hi,

          I'm getting "Not supported by BasicDataSource" while setting up JBPM in Tomcat 6.0 with SQL Server. This occurs upon Tomcat server startup.

          Any idea how to fix this issue ?.

          :Ansari S.H

          Exception log
          ----------------
          Jul 30, 2008 10:46:18 AM org.jbpm.job.executor.JobExecutorThread run
          SEVERE: exception in job executor thread. waiting 80000 milliseconds
          java.lang.UnsupportedOperationException: Not supported by BasicDataSource
          at org.apache.tomcat.dbcp.dbcp.BasicDataSource.getConnection(BasicDataSo
          urce.java:899)
          at org.hibernate.connection.DatasourceConnectionProvider.getConnection(D
          atasourceConnectionProvider.java:66)
          at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager
          .java:423)
          at org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.
          java:144)
          at org.hibernate.jdbc.JDBCContext.connection(JDBCContext.java:119)
          at org.hibernate.transaction.JDBCTransaction.begin(JDBCTransaction.java:
          57)
          at org.hibernate.impl.SessionImpl.beginTransaction(SessionImpl.java:1326
          )
          at org.jbpm.persistence.db.DbPersistenceService.beginTransaction(DbPersi
          stenceService.java:132)
          at org.jbpm.persistence.db.DbPersistenceService.getSession(DbPersistence
          Service.java:124)
          at org.jbpm.persistence.db.DbPersistenceService.getJobSession(DbPersiste
          nceService.java:363)
          at org.jbpm.JbpmContext.getJobSession(JbpmContext.java:563)
          at org.jbpm.job.executor.JobExecutorThread.acquireJobs(JobExecutorThread
          .java:112)
          at org.jbpm.job.executor.JobExecutorThread.run(JobExecutorThread.java:58
          )



          • 2. Re: Exception when setting up JBPM in Tomcat 6.0
            Ronald van Kuijk Master

            I'd ask in another forum. Does not seem jBPM related at all.... more hibernate or dbcp