FW: Configuring Shark to use Oracle

"Maciel, Leonardo \(GE Healthcare, non-ge\)" <[email protected]>
Newsgroups gmane.comp.java.enhydra.shark
Message-ID <E9F882F4B99B2A428AC50342EDADD7E004881FF6@BUDMLVEM03.e2k.ad.ge.com>
I've seen you already modified the db_ext_dirs property hmmm.
That is equivalent to copy it to the lib/contrib/ext path, verify then if the J:/ORAV232/BIN path contains the file ojdbc14.jar (or similar).

-----Original Message-----
From: Maciel, Leonardo (GE Healthcare, non-ge) 
Sent: mar. 21 juin 2005 17:25
To: [email protected]
Subject: RE: [shark] Configuring Shark to use Oracle


I had the same problem with MySQL.
You need to add the oracle jdbc driver to the shark-1.1/lib/contrib/ext path, then rerun configure.sh
Hope this works,
	Leonardo Maciel

-----Original Message-----
From: Dahl, Greg (BLM) - contr [mailto:[email protected]]
Sent: mar. 21 juin 2005 17:09
To: [email protected]
Subject: [shark] Configuring Shark to use Oracle


I'm trying to configure my Shark 1.1 to use an Oracle database.  I
updated the configure.properties file changing the following parameters:

db_loader_job=oracle
db_ext_dirs=J:/ORAV232/BIN
oracle_JdbcDriver=oracle.jdbc.driver.OracleDriver
oracle_Connection_Url=jdbc:oracle:thin:@validserver:portrunningon:databa
sename
oracle_user=validuserid
oracle_passwd=validpassword

Where 
validserver = the actual server name
Portrunningon = the port the oracle server is running
Databasename = an existing database name
Validuserid = a valid user id
Validpassword = a valid password.

When I run the configure.bat, the output I get follows.  Any ideas?

I did have it running just fine using HSQL.

Thanks for your time,
Greg



Buildfile: configure.xml

init:

_copyNfilter:
     [copy] Copying 41 files to C:\Shark-1.1

_winFileSeparator:
  [replace] Replaced 38 occurrences in 3 files.
   [delete] Deleting 12 files from C:\Shark-1.1

_linFileSeparator:

_recreateDB:
   [delete] Deleting directory C:\Shark-1.1\db\hsql
   [delete] Deleting directory C:\Shark-1.1\repository\internal\history
   [delete] Deleting directory C:\Shark-1.1\repository\internal
    [mkdir] Created dir: C:\Shark-1.1\db\hsql
    [mkdir] Created dir: C:\Shark-1.1\repository\internal\history
     [java] Default (Standard) Logger is load.


     [java] Application is started.

     [java] Loader loads XML file : conf/sql/oracle/LoaderJob.olj


     [java] XML document is valid.


BUILD FAILED
file:C:/Shark-1.1/configure.xml:146: Java returned: 1

Total time: 7 seconds
******* Confidentiality Notice *******
This email, its electronic document attachments, and the contents of its website linkages may contain confidential health information.  This information is intended solely for use by the individual or entity to whom it is addressed.  If you have received this information in error, please notify the sender immediately and arrange for the prompt destruction of the material and any accompanying attachments.
message.footer (text/plain, 277 B)
--
You receive this message as a subscriber of the [email protected] mailing list.
To unsubscribe: mailto:[email protected]
For general help: mailto:[email protected]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
message.footer (text/plain, 271 B)
--
You receive this message as a subscriber of the [email protected] mailing list.
To unsubscribe: mailto:[email protected]
For general help: mailto:[email protected]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.