Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 25787 invoked from network); 15 Mar 2007 17:37:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 Mar 2007 17:37:35 -0000 Received: (qmail 60497 invoked by uid 500); 15 Mar 2007 17:37:40 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 60449 invoked by uid 500); 15 Mar 2007 17:37:39 -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 60361 invoked by uid 99); 15 Mar 2007 17:37:39 -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:37:39 -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:37:30 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 88C1171408A for ; Thu, 15 Mar 2007 10:37:10 -0700 (PDT) Message-ID: <3259219.1173980230557.JavaMail.jira@brutus> Date: Thu, 15 Mar 2007 10:37:10 -0700 (PDT) From: "Jukka Zitting (JIRA)" To: dev@jackrabbit.apache.org Subject: [jira] Resolved: (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 ] Jukka Zitting resolved JCR-794. ------------------------------- Resolution: Invalid Assignee: Jukka Zitting It seems like your database connection parameters are incorrect. I'm resolv= ing this issue as Invalid since it doesn't seem to be a Jackrabbit issue. Please use the Jackrabbit user mailing list at users@jackrabbit.apache.org = for such configuration issues. The issue tracker should be used when you th= ink you've identified an error in the Jackrabbit implementation or if you w= ant to request some improvement or a new feature. > Creating an oracle connection > ----------------------------- > > Key: JCR-794 > URL: https://issues.apache.org/jira/browse/JCR-794 > Project: Jackrabbit > Issue Type: Wish > Affects Versions: 1.2.3 > Reporter: Borja Par=C3=A9s > Assigned To: Jukka Zitting > > 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.