Return-Path: Delivered-To: apmail-jackrabbit-users-archive@locus.apache.org Received: (qmail 34029 invoked from network); 15 Mar 2007 17:57:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 Mar 2007 17:57:11 -0000 Received: (qmail 10278 invoked by uid 500); 15 Mar 2007 17:57:19 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 10250 invoked by uid 500); 15 Mar 2007 17:57:18 -0000 Mailing-List: contact users-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@jackrabbit.apache.org Delivered-To: mailing list users@jackrabbit.apache.org Received: (qmail 10241 invoked by uid 99); 15 Mar 2007 17:57:18 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Mar 2007 10:57:18 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of bpares@indra.es designates 213.170.46.15 as permitted sender) Received: from [213.170.46.15] (HELO mailhost1.indra.es) (213.170.46.15) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 15 Mar 2007 10:57:07 -0700 Received: from MADARRMAIL1.indra.es ([192.168.10.181]) by mailhost1.indra.es with Microsoft SMTPSVC(6.0.3790.1830); Thu, 15 Mar 2007 18:56:41 +0100 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C7672B.493B8F6C" Subject: Problem connectiing with oracle db Date: Thu, 15 Mar 2007 18:56:55 +0100 Message-ID: <9B8A9997B6E05B4D91A1E2A2280CCA63021A844E@MADARRMAIL1.indra.es> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Problem connectiing with oracle db Thread-Index: AcdnK1GgtQ6A5a2lRx+ZBH/ONuNKhw== From: "Pares Fuente, Borja" To: X-OriginalArrivalTime: 15 Mar 2007 17:56:41.0664 (UTC) FILETIME=[496F6400:01C7672B] X-Virus-Checked: Checked by ClamAV on apache.org ------_=_NextPart_001_01C7672B.493B8F6C Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable My name is Borja. I'm a Java developer and i'm starting with Jackrabbit. = =20 I have test the examples from the web and know i want to change them. My = question is how can i connect with my oracle data base to store, = retrieve and delete byte streams. How can i get started with this? or = where can i find documentation about make a connection with oracle. =20 I have tried to chage the repository.xml and now it is like this: =20 =20 =20 =20 =20 =20 =20 =20 =20 and then in my code: =20 Repository repository =3D new TransientRepository(); session =3D repository.login(new SimpleCredentials(username, = password.toCharArray())); and have this excpetion: =20 =20 ERROR - failed to initialize file system java.sql.SQLException: argumentos no v=E1lidos en la llamada at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:180) at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:222) at oracle.jdbc.dbaccess.DBError.check_error(DBError.java:944) at oracle.jdbc.ttc7.TTC7Protocol.logon(TTC7Protocol.java:195) at oracle.jdbc.driver.OracleConnection.(OracleConnection.java:307) at = oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:4= 42) at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:321) at java.sql.DriverManager.getConnection(Unknown Source) at java.sql.DriverManager.getConnection(Unknown Source) at = org.apache.jackrabbit.core.fs.db.DbFileSystem.init(DbFileSystem.java:264)= at = org.apache.jackrabbit.core.fs.db.OracleFileSystem.init(OracleFileSystem.j= ava:109) at = org.apache.jackrabbit.core.config.FileSystemConfig.init(FileSystemConfig.= java:57) at = org.apache.jackrabbit.core.config.RepositoryConfig.init(RepositoryConfig.= java:271) at = org.apache.jackrabbit.core.config.RepositoryConfig.create(RepositoryConfi= g.java:141) at = org.apache.jackrabbit.core.config.RepositoryConfig.create(RepositoryConfi= g.java:83) at = org.apache.jackrabbit.core.TransientRepository$2.getRepository(TransientR= epository.java:240) at = org.apache.jackrabbit.core.TransientRepository.startRepository(TransientR= epository.java:261) at = org.apache.jackrabbit.core.TransientRepository.login(TransientRepository.= java:329) at = org.apache.jackrabbit.core.TransientRepository.login(TransientRepository.= java:359) at adap.FirstHop.loginJackRabbit(FirstHop.java:55) =20 what is missing? i think that it don't find the oracle connection or = somethig... Thank you very much! =20 Borja. ------_=_NextPart_001_01C7672B.493B8F6C--