-jar and -cp can't be used together. Check the docs for the java executable.
Justin On Nov 15, 2010, at 8:24 AM, "Nicolas Betheuil" <[email protected]> wrote: > Hi all, > > > > I am very surprised i can't sucess to make work simply the oracle > persistence manager. > > Like this documentation [1] I configure jackrabbit to use Oracle to be > persistence manager (from the sources built by maven). > > When i start jackrabbit as standalone server by this command > > java -cp lib\ojdbc14.jar -jar jackrabbit-standalone-2.1.2.jar -c > repository.xml > > or this one > > java -classpath lib\ojdbc14.jar -jar jackrabbit-standalone-2.1.2.jar -c > repository.xml > > > > both have the same effect : class not found on the driver. > > On the other hand when i start by this command > > java -Djava.ext.dirs=lib -jar jackrabbit-standalone-2.1.2.jar -c > repository.xml > > all works fine. > > > > Is it an explanation around the OSGi packaging ? > > > > Very thanks in advance for your answers. > > > > [1] > http://wiki.apache.org/jackrabbit/PersistenceManagerFAQ#Bundle_Database_ > PM > > > > >
