JBoss Community

Re: jBPM 5.1 with SQL Server

created by Hugo Boss in jBPM - View the full discussion

I have the same problem... i'm using hsqldb and this driver org.hsqldb.jdbcDriver

 

Please post your solution, if you find one. Thank you.

 

[CODE]

Caused by: org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.plixia.domain.businessprocess.ProcessSessionFactory]: Constructor threw exception; nested exception is bitronix.tm.resource.ResourceConfigurationException: cannot create JDBC datasource named jdbc/jbpmDataSource

    at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:141)

    at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:71)

    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:948)

    ... 56 more

Caused by: bitronix.tm.resource.ResourceConfigurationException: cannot create JDBC datasource named jdbc/jbpmDataSource

    at bitronix.tm.resource.jdbc.PoolingDataSource.init(PoolingDataSource.java:76)

    at com.plixia.domain.businessprocess.ProcessSessionFactory.initEnvironment(ProcessSessionFactory.java:74)

    at com.plixia.domain.businessprocess.ProcessSessionFactory.<init>(ProcessSessionFactory.java:57)

    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)

    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)

    at java.lang.reflect.Constructor.newInstance(Constructor.java:513)

    at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:126)

    ... 58 more

Caused by: bitronix.tm.utils.PropertyException: no writeable property 'URL' in class 'org.hsqldb.jdbcDriver'

    at bitronix.tm.utils.PropertyUtils.getSetter(PropertyUtils.java:318)

    at bitronix.tm.utils.PropertyUtils.setDirectProperty(PropertyUtils.java:217)

    at bitronix.tm.utils.PropertyUtils.setProperty(PropertyUtils.java:83)

    at bitronix.tm.resource.common.XAPool.createXAFactory(XAPool.java:314)

    at bitronix.tm.resource.common.XAPool.<init>(XAPool.java:63)

    at bitronix.tm.resource.jdbc.PoolingDataSource.buildXAPool(PoolingDataSource.java:85)

    at bitronix.tm.resource.jdbc.PoolingDataSource.init(PoolingDataSource.java:72)

    ... 65 more

[/CODE]

Reply to this message by going to Community

Start a new discussion in jBPM at Community