From dev-return-11143-apmail-jackrabbit-dev-archive=jackrabbit.apache.org@jackrabbit.apache.org Thu Mar 15 17:12:38 2007 Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 13315 invoked from network); 15 Mar 2007 17:12:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 Mar 2007 17:12:37 -0000 Received: (qmail 1009 invoked by uid 500); 15 Mar 2007 17:12:38 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 979 invoked by uid 500); 15 Mar 2007 17:12:38 -0000 Mailing-List: contact dev-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jackrabbit.apache.org Delivered-To: mailing list dev@jackrabbit.apache.org Received: (qmail 965 invoked by uid 99); 15 Mar 2007 17:12:38 -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:12:38 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Mar 2007 10:12:29 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 6994A71407B for ; Thu, 15 Mar 2007 10:12:09 -0700 (PDT) Message-ID: <27326632.1173978729430.JavaMail.jira@brutus> Date: Thu, 15 Mar 2007 10:12:09 -0700 (PDT) From: =?utf-8?Q?Borja_Par=C3=A9s_=28JIRA=29?= To: dev@jackrabbit.apache.org Subject: [jira] Updated: (JCR-794) Creating an oracle connection In-Reply-To: <8878116.1173978429493.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/JCR-794?page=3Dcom.atlassian.j= ira.plugin.system.issuetabpanels:all-tabpanel ] Borja Par=C3=A9s updated JCR-794: ---------------------------- Description:=20 I'm a Java developer and i'm starting with Jackrabbit.=20 =20 I have test the examples from the web and know i want to change them. My qu= estion 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. I have modify repository.xml to: =09=09 but when i try: Repository repository =3D new TransientRepository(); =09=09session =3D repository.login( new SimpleCredentials(username, password.toCharArray())= ); iit returns this exception: Caused by: java.sql.SQLException: argumentos no v=C3=A1lidos en la llamada =09at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:180) =09at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:222) =09at oracle.jdbc.dbaccess.DBError.check_error(DBError.java:944) =09at oracle.jdbc.ttc7.TTC7Protocol.logon(TTC7Protocol.java:195) =09at oracle.jdbc.driver.OracleConnection.(OracleConnection.java:307) =09at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.ja= va:442) =09at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:321) =09at java.sql.DriverManager.getConnection(Unknown Source) =09at java.sql.DriverManager.getConnection(Unknown Source) =09at org.apache.jackrabbit.core.fs.db.DbFileSystem.init(DbFileSystem.java:= 264) =09... 11 more org.apache.jackrabbit.core.config.ConfigurationException: File system initi= alization failure.: failed to initialize file system: failed to initialize = file system =09at org.apache.jackrabbit.core.config.FileSystemConfig.init(FileSystemCon= fig.java:63) =09at org.apache.jackrabbit.core.config.RepositoryConfig.init(RepositoryCon= fig.java:271) =09at org.apache.jackrabbit.core.config.RepositoryConfig.create(RepositoryC= onfig.java:141) =09at org.apache.jackrabbit.core.config.RepositoryConfig.create(RepositoryC= onfig.java:83) =09at org.apache.jackrabbit.core.TransientRepository$2.getRepository(Transi= entRepository.java:240) =09at org.apache.jackrabbit.core.TransientRepository.startRepository(Transi= entRepository.java:261) =09at org.apache.jackrabbit.core.TransientRepository.login(TransientReposit= ory.java:329) =09at org.apache.jackrabbit.core.TransientRepository.login(TransientReposit= ory.java:359) =09at adap.FirstHop.loginJackRabbit(FirstHop.java:55) =09at adap.FirstHop.main(FirstHop.java:37) Caused by: org.apache.jackrabbit.core.fs.FileSystemException: failed to ini= tialize file system =09at org.apache.jackrabbit.core.fs.db.DbFileSystem.init(DbFileSystem.java:= 369) =09at org.apache.jackrabbit.core.fs.db.OracleFileSystem.init(OracleFileSyst= em.java:109) =09at org.apache.jackrabbit.core.config.FileSystemConfig.init(FileSystemCon= fig.java:57) =09... 9 more what is missing? thanks was: I'm a Java developer and i'm starting with Jackrabbit.=20 =20 I have test the examples from the web and know i want to change them. My qu= estion 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. > Creating an oracle connection > ----------------------------- > > Key: JCR-794 > URL: https://issues.apache.org/jira/browse/JCR-794 > Project: Jackrabbit > Issue Type: Task > Affects Versions: 1.2.3 > Reporter: Borja Par=C3=A9s > > I'm a Java developer and i'm starting with Jackrabbit.=20 > =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 a= nd delete byte streams. How can i get started with this? or where can i fin= d documentation about make a connection with oracle. > I have modify repository.xml to: > > > =09=09 > > but when i try: > Repository repository =3D new TransientRepository(); > =09=09session =3D repository.login( > new SimpleCredentials(username, password.toCharArray(= ))); > iit returns this exception: > Caused by: java.sql.SQLException: argumentos no v=C3=A1lidos en la llamad= a > =09at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:180) > =09at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:222) > =09at oracle.jdbc.dbaccess.DBError.check_error(DBError.java:944) > =09at oracle.jdbc.ttc7.TTC7Protocol.logon(TTC7Protocol.java:195) > =09at oracle.jdbc.driver.OracleConnection.(OracleConnection.java:30= 7) > =09at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.= java:442) > =09at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:321) > =09at java.sql.DriverManager.getConnection(Unknown Source) > =09at java.sql.DriverManager.getConnection(Unknown Source) > =09at org.apache.jackrabbit.core.fs.db.DbFileSystem.init(DbFileSystem.jav= a:264) > =09... 11 more > org.apache.jackrabbit.core.config.ConfigurationException: File system ini= tialization failure.: failed to initialize file system: failed to initializ= e file system > =09at org.apache.jackrabbit.core.config.FileSystemConfig.init(FileSystemC= onfig.java:63) > =09at org.apache.jackrabbit.core.config.RepositoryConfig.init(RepositoryC= onfig.java:271) > =09at org.apache.jackrabbit.core.config.RepositoryConfig.create(Repositor= yConfig.java:141) > =09at org.apache.jackrabbit.core.config.RepositoryConfig.create(Repositor= yConfig.java:83) > =09at org.apache.jackrabbit.core.TransientRepository$2.getRepository(Tran= sientRepository.java:240) > =09at org.apache.jackrabbit.core.TransientRepository.startRepository(Tran= sientRepository.java:261) > =09at org.apache.jackrabbit.core.TransientRepository.login(TransientRepos= itory.java:329) > =09at org.apache.jackrabbit.core.TransientRepository.login(TransientRepos= itory.java:359) > =09at adap.FirstHop.loginJackRabbit(FirstHop.java:55) > =09at adap.FirstHop.main(FirstHop.java:37) > Caused by: org.apache.jackrabbit.core.fs.FileSystemException: failed to i= nitialize file system > =09at org.apache.jackrabbit.core.fs.db.DbFileSystem.init(DbFileSystem.jav= a:369) > =09at org.apache.jackrabbit.core.fs.db.OracleFileSystem.init(OracleFileSy= stem.java:109) > =09at org.apache.jackrabbit.core.config.FileSystemConfig.init(FileSystemC= onfig.java:57) > =09... 9 more > what is missing? > thanks --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.