jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From AnatoliyDilov <anato...@adilov.net>
Subject Jackrabbit, JBoss, Oracle and JNDI Datasource lookup
Date Fri, 23 Oct 2009 16:04:55 GMT

Hi All,

I'm trying to integrate a Drools Guvnor application to an existing project.
My problem is in the repository.xml file (and Jackrabbit jndi lookup, I
think) - I'm trying to get an existing datasource. It is successfully
deployed and all the other applications can use it to access the DB.

I'm using the following configuration to get the datasource:
<FileSystem class="org.apache.jackrabbit.core.fs.db.DbFileSystem">
		
		
		
		
</FileSystem>

Of course the file contains much more config tags and if necessary, I'll
give them.

And the exception from the JBoss console is:
18:39:39,713 INFO  [STDOUT] ERROR 23-10 18:39:39,713
(DatabaseFileSystem.java:init:195)          failed to initialize file system
java.sql.SQLException: No suitable driver
        at java.sql.DriverManager.getConnection(DriverManager.java:545)
        at java.sql.DriverManager.getConnection(DriverManager.java:171)
        at
org.apache.jackrabbit.core.fs.db.DbFileSystem.getConnection(DbFileSystem.java:187)
        at
org.apache.jackrabbit.core.fs.db.DatabaseFileSystem.initConnection(DatabaseFileSystem.java:956)
        at
org.apache.jackrabbit.core.fs.db.DatabaseFileSystem.init(DatabaseFileSystem.java:175)
        at
org.apache.jackrabbit.core.config.FileSystemConfig.createFileSystem(FileSystemConfig.java:47)
        at
org.apache.jackrabbit.core.RepositoryImpl.<init>(RepositoryImpl.java:244)
        at
org.apache.jackrabbit.core.RepositoryImpl.create(RepositoryImpl.java:557)
        at
org.apache.jackrabbit.core.TransientRepository$2.getRepository(TransientRepository.java:245)
        at
org.apache.jackrabbit.core.TransientRepository.startRepository(TransientRepository.java:265)
        at
org.apache.jackrabbit.core.TransientRepository.login(TransientRepository.java:333)
        at
org.apache.jackrabbit.core.TransientRepository.login(TransientRepository.java:363)
        at
org.drools.guvnor.server.repository.RepositoryStartupService.newSession(RepositoryStartupService.java:135)
        at
org.drools.guvnor.server.repository.RepositoryStartupService.create(RepositoryStartupService.java:56)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

...

18:39:39,932 INFO  [STDOUT] ERROR 23-10 18:39:39,932
(RepositoryImpl.java:<init>:343)    failed to start Repository: File system
initializat
ion failure.: failed to initialize file system
org.apache.jackrabbit.core.config.ConfigurationException: File system
initialization failure.: failed to initialize file system: failed to i
nitialize file system
        at
org.apache.jackrabbit.core.config.FileSystemConfig.createFileSystem(FileSystemConfig.java:54)
        at
org.apache.jackrabbit.core.RepositoryImpl.<init>(RepositoryImpl.java:244)
        at
org.apache.jackrabbit.core.RepositoryImpl.create(RepositoryImpl.java:557)
        at
org.apache.jackrabbit.core.TransientRepository$2.getRepository(TransientRepository.java:245)
        at
org.apache.jackrabbit.core.TransientRepository.startRepository(TransientRepository.java:265)
        at
org.apache.jackrabbit.core.TransientRepository.login(TransientRepository.java:333)
        at
org.apache.jackrabbit.core.TransientRepository.login(TransientRepository.java:363)
        at
org.drools.guvnor.server.repository.RepositoryStartupService.newSession(RepositoryStartupService.java:135)
        at
org.drools.guvnor.server.repository.RepositoryStartupService.create(RepositoryStartupService.java:56)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.jboss.seam.util.Reflections.invoke(Reflections.java:22)
        at
org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:31)
        at
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56)

I tried to migrate to jackrabbit 1.5, but there was no change in the
deployment exceptions.

Please, ANY ideas are welcome.

Regards,
Anatoliy
-- 
View this message in context: http://www.nabble.com/Jackrabbit%2C-JBoss%2C-Oracle-and-JNDI-Datasource-lookup-tp26029101p26029101.html
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.


Mime
View raw message