You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@jackrabbit.apache.org by Kurz Wolfgang <wo...@gwvs.de> on 2009/02/11 17:42:49 UTC

Repository setup?

Hello everyone,

i am trying tos et up the Repository with JNDI

and I am getting the following error:

javax.jcr.RepositoryException: Cannot instantiate persistence manager org.apache.jackrabbit.core.persistence.bundle.DerbyPersistenceManager: No suitable driver found for jdbc:derby://telis.it.tfsh/telis/jackrabbit/jackrabbit/version/db;create=true: No suitable driver found for jdbc:derby://telis.it.tfsh/telis/jackrabbit/jackrabbit/version/db;create=true

before I used RMI and never had to use any Derby drivers.

Anyone have an idea where I am missing something?

Thx a lot!

Wolfgang


Re: Repository setup?

Posted by Olindo Pindaro <ol...@gammagroup.it>.
Thanks for suggestion, it ok now.

Olindo

2009/2/11 Angela Schreiber <an...@day.com>

> hi olindo
>
>  I am using webdav client api, but it is hard, no docs anywhere i feel me
>> hacker because i reverse code to understand API.
>>
>
> sorry for that
>
>  Do you now a good tutorial/guide?
>>
>
> the best docu i am aware of is the general introduction
> and tutorial provided with the apache httpclient project.
>
> the client api is just an extension of the httpclient
> adding some webdav specific stuff. the fundamentals
> are the same.
>
> regards
> angela
>
>
>
>


-- 
Olindo Pindaro
http://www.linkedin.com/in/olindopindaro
+39 3939455830

Re: Repository setup?

Posted by Angela Schreiber <an...@day.com>.
hi olindo

> I am using webdav client api, but it is hard, no docs anywhere i feel me
> hacker because i reverse code to understand API.

sorry for that

> Do you now a good tutorial/guide?

the best docu i am aware of is the general introduction
and tutorial provided with the apache httpclient project.

the client api is just an extension of the httpclient
adding some webdav specific stuff. the fundamentals
are the same.

regards
angela




Re: Repository setup?

Posted by Olindo Pindaro <ol...@gammagroup.it>.
Hi guys,

I am using webdav client api, but it is hard, no docs anywhere i feel me
hacker because i reverse code to understand API.

Do you now a good tutorial/guide?

Bye
Olindo

Re: Repository setup?

Posted by Thomas Müller <th...@day.com>.
Hi,

There are multiple derby jar files: derby-*.jar, derbyclient-*.jar, and
derbynet-*.jar. I suggest to try putting all of then in the tomcat
commons.lib folder. If it still can't find the derby jdbc driver then maybe
there is something wrong with your tomcat configuration.

Regards,
Thomas

AW: Repository setup?

Posted by Kurz Wolfgang <wo...@gwvs.de>.
I put all the jar files into the tomcat commons.lib folder

And I even tried to put the derby jar into my web application but it still cant build my resource saying it doesn't have suitable derby drivers.

Anyone have an idea?

Thx again:-)


-----Ursprüngliche Nachricht-----
Von: Jukka Zitting [mailto:jukka.zitting@gmail.com] 
Gesendet: Mittwoch, 11. Februar 2009 19:10
An: users@jackrabbit.apache.org
Betreff: Re: Repository setup?

Hi,

On Wed, Feb 11, 2009 at 5:42 PM, Kurz Wolfgang <wo...@gwvs.de> wrote:
> i am trying tos et up the Repository with JNDI
>
> and I am getting the following error:
>
> javax.jcr.RepositoryException: Cannot instantiate persistence manager
> org.apache.jackrabbit.core.persistence.bundle.DerbyPersistenceManager:
> No suitable driver found for jdbc:derby://telis.it.tfsh/telis/jackrabbit/jackrabbit/version/db;create=true:
> No suitable driver found for jdbc:derby://telis.it.tfsh/telis/jackrabbit/jackrabbit/version/db;create=true
>
> before I used RMI and never had to use any Derby drivers.
>
> Anyone have an idea where I am missing something?

Make sure that you have all required jars in your classpath. For
example you need the Derby jar if you're using the default persistence
managers in Jackrabbit. An easy way to get all the required jars is to
take them from the WEB-INF/lib directory of the Jackrabbit webapp.

BR,

Jukka Zitting

Re: Repository setup?

Posted by Jukka Zitting <ju...@gmail.com>.
Hi,

On Wed, Feb 11, 2009 at 5:42 PM, Kurz Wolfgang <wo...@gwvs.de> wrote:
> i am trying tos et up the Repository with JNDI
>
> and I am getting the following error:
>
> javax.jcr.RepositoryException: Cannot instantiate persistence manager
> org.apache.jackrabbit.core.persistence.bundle.DerbyPersistenceManager:
> No suitable driver found for jdbc:derby://telis.it.tfsh/telis/jackrabbit/jackrabbit/version/db;create=true:
> No suitable driver found for jdbc:derby://telis.it.tfsh/telis/jackrabbit/jackrabbit/version/db;create=true
>
> before I used RMI and never had to use any Derby drivers.
>
> Anyone have an idea where I am missing something?

Make sure that you have all required jars in your classpath. For
example you need the Derby jar if you're using the default persistence
managers in Jackrabbit. An easy way to get all the required jars is to
take them from the WEB-INF/lib directory of the Jackrabbit webapp.

BR,

Jukka Zitting