Re: Help: Why JCR is using the Apache derby driver???

2012-04-07 Thread Francis ANDRE
Hi I finally found the problem which is in the jackrabbit core library. The jcr core method ConnectionFactory.getDriverClass is using Class.forName instead of Thread.currentThread().getContextClassLoader. Made an issue as https://issues.apache.org/jira/browse/JCR-3288 Francis Le 06/04/2012

Re: Help: Why JCR is using the Apache derby driver???

2012-04-07 Thread Jacques Le Roux
From: Francis ANDRE francis.andre.kampb...@orange.fr Hi Mohit I tryied what you suggest and this gave the same result... ClassNotFoundException on the Derby jdbc driver. Yes anyway the last Derby jdbc driver is provided in

Re: Help: Why JCR is using the Apache derby driver???

2012-04-07 Thread Jacques Le Roux
From: Jacques Le Roux jacques.le.r...@les7arts.com From: Francis ANDRE francis.andre.kampb...@orange.fr Hi Mohit I tryied what you suggest and this gave the same result... ClassNotFoundException on the Derby jdbc driver. Yes anyway the last Derby jdbc driver is provided in

Re: Help: Why JCR is using the Apache derby driver???

2012-04-07 Thread Francis ANDRE
Hi I finally found the problem which is in the jackrabbit core library. The jcr core method ConnectionFactory.getDriverClass is using Class.forName instead of Thread.currentThread().getContextClassLoader. Made an issue as https://issues.apache.org/jira/browse/JCR-3288 Francis Le 06/04/2012

Re: Help: Why JCR is using the Apache derby driver???

2012-04-06 Thread Francis ANDRE
Hi Mohit I tryied what you suggest and this gave the same result... ClassNotFoundException on the Derby jdbc driver. But, by changing the position of the jackrabbit container at the end of the framework/base/config/ofbiz-containers.xml and removing any reference to localderby in the

Help: Why JCR is using the Apache derby driver???

2012-04-05 Thread Francis ANDRE
Hi Running OFBiz under Eclipse and starting the JCR component leads to an ClassNotFoundException as follow: Why JCR is using the Apache Derby Driver while the ofbiz database is Postgres??? How can I fix this problem?? (I added the Derby jdbc jar to the ofbiz-component.xml but this leads too

Re: Help: Why JCR is using the Apache derby driver???

2012-04-05 Thread mohit gupta
Hi francis Please add the Derby jdbc jar file in ofbiz/framework/entity/lib/jdbc folder. don't need entry the Derby jdbc jar to the ofbiz-component.xml. But some change in ofbiz/framework/entity/config/entityengine.xml file change like jdbc-username and jdbc-password in datasource

Re: Help: Why JCR is using the Apache derby driver???

2012-04-05 Thread mohit gupta
Hi francis Please add the Derby jdbc jar file in ofbiz/framework/entity/lib/jdbc folder. don't need entry the Derby jdbc jar to the ofbiz-component.xml. But some change in ofbiz/framework/entity/config/entityengine.xml file change like jdbc-username and jdbc-password in datasource