jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Justin Edelson <jus...@justinedelson.com>
Subject Re: Jackrabbit standalone server with Oracle PM : classpath problem
Date Mon, 15 Nov 2010 14:33:49 GMT
-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" <Nicolas.Betheuil@europe.adp.com> 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
> 
> 
> 
> 
> 

Mime
View raw message