Unfortunatly, when I change the code in the Database class to use a
system-dependent slash,
the same error keeps appearing, so something else must be wrong...


ender wrote:
> 
> Hello,
> 
> when trying to install ODE as a JBI component I receive the following
> error:
> 
> javax.resource.ResourceException: Unable to create DB connection:
> java.sql.SQLEx
> ception: Database
> 'D:\Programs\apache-servicemix-3.1.1-incubating-SNAPSHOT\data\
> smx\components\OdeBpelEngine\version_2/jpaDB' not found.
>         at
> org.opentools.minerva.connector.jdbc.JDBCManagedConnectionFactory.createManagedConnection(JDBCManagedConnectionFactory.java:102)
>         at org.opentools.minerva.MinervaPool.start(MinervaPool.java:93)
>         at
> org.apache.ode.il.dbutil.Database.initInternalDb(Database.java:167)
>         at
> org.apache.ode.il.dbutil.Database.initEmbeddedDb(Database.java:188)
>         at
> org.apache.ode.il.dbutil.Database.initDataSource(Database.java:120)
>         at org.apache.ode.il.dbutil.Database.start(Database.java:71)
>         at
> org.apache.ode.jbi.OdeLifeCycle.initDataSource(OdeLifeCycle.java:147)
>         at org.apache.ode.jbi.OdeLifeCycle.init(OdeLifeCycle.java:96)
>         at
> org.apache.servicemix.jbi.framework.ComponentMBeanImpl.init(ComponentMBeanImpl.java:201)
>         at
> org.apache.servicemix.jbi.framework.ComponentMBeanImpl.doStart(ComponentMBeanImpl.java:287)
>         at
> org.apache.servicemix.jbi.framework.ComponentMBeanImpl.start(ComponentMBeanImpl.java:216)
>         at
> org.apache.servicemix.jbi.framework.InstallationService.install(InstallationService.java:331)
>         at
> org.apache.servicemix.jbi.framework.AutoDeploymentService.updateArchive(AutoDeploymentService.java:276)
>         at
> org.apache.servicemix.jbi.framework.AutoDeploymentService.monitorDirectory(AutoDeploymentService.java:645)
>         at
> org.apache.servicemix.jbi.framework.AutoDeploymentService.access$200(AutoDeploymentService.java:62)
>         at
> org.apache.servicemix.jbi.framework.AutoDeploymentService$1.run(AutoDeploymentService.java:605)
>         at java.util.TimerThread.mainLoop(Timer.java:512)
>         at java.util.TimerThread.run(Timer.java:462)
> 
> The problem seems to be the sneaky "/" in the database path instead of the
> "\". The ODE and ServiceMix version are the latest ones from the SVN
> repositories. 
> 
> Greetings,
> Stein Desmet
> 

-- 
View this message in context: 
http://www.nabble.com/Error-installing-ODE-JBI-component-tf3446585.html#a9611862
Sent from the Apache Ode User mailing list archive at Nabble.com.

Reply via email to