jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Mueller" <thomas.tom.muel...@gmail.com>
Subject Re: using oracle persistence manager with jndi
Date Wed, 27 Feb 2008 20:53:04 GMT
Hi,

>  Yes, we use jackrabbit core 1.4.1.

> I have a datasource (standard
>  xxx-ds.xml) in jboss configured to use oracle and I set the  username
>  and password there.

That should work. Could you post this part of the configuration?

> The jndi this is defined as "jdbc/myds" but I
>  think I have tried using both java:comp/env/jdbc/myds and
>  java:jdbc/myds. Should the user/password be null or "" in
>  repository.xml ?

Try without user name and password in repository.xml

>  I also tried to define it as a resource in tomcat, but it says that
>  the data source factory is not supported

Sorry, where does it say that? Is there an exception stack trace?

> (BasicDataSourceFactory, commons-dbcp).

This should work with Jackrabbit 1.4.1 (I think it didn't work in 1.4).

> Can I use another data source factory in tomcat to make
>  it work?

I don't know.

> Standalone tomcat is better to develop against.

I agree.

Regards,
Thomas

Mime
View raw message