Clearing Shark 1.1-2 database - attempt two

"Dahl, Greg (BLM) - contr" <[email protected]> Wed, 31 Aug 2005 09:40:33 -0500
Newsgroups gmane.comp.java.enhydra.shark
Message-ID <A8155E0D38B9D84D88EAC58C2D8F47BA0670FBD4@blmms060.accounts.root.corp>
Near as I can figure, these should be the instructions for getting your
database created (in this example, using Oracle in a windows
environment) or cleared.  For some reason, what worked under Shark 1.1
does not work under Shark 1.1-2.  

Any advice on what would be wrong or does no one clear their database?

1. run configure.bat

2. Edit the configure.properties file
	jdk_dir=C:\Java\j2sdk1.4.2_08

	db_loader_job=oracle

	# Oracle
	oracle_JdbcDriver=oracle.jdbc.driver.OracleDriver
	oracle_Connection_Url=jdbc:oracle:thin:@server:port:database
	oracle_user=USER
	oracle_passwd=PASSWORD

3. run /bin/recreateDB.bat

Which, of course, fails because its calling 
	call configure.bat _recreateDB

which "_recreateDB" is an invalid parameter on the configure script.

So, I'm either missing several steps, or the 1.1-2 distribution is
totally screwed up????

I did notice that the \conf\sql\oracle\LoaderJob.olj file does not seem
to refer to anything to do with Oracle - but instead points to HSQL.
Normally this would concern me since nothing indicates this file should
be editted, but since its never being used, I guess that's a minor
problem.

<jdbcDefaultParameters>
        <jdbcSourceParameters dbVendor="oracle" driverName="oracle">
            <jdbcSourceParameter name="Password" value=""/>
            <jdbcSourceParameter name="Connection.Url"
value="jdbc:hsqldb:C:/Shark-1.1/db/hsql/hsql"/>
            <jdbcSourceParameter name="JdbcDriver"
value="org.hsqldb.jdbcDriver"/>
            <jdbcSourceParameter name="User" value="sa"/>
        </jdbcSourceParameters>
        <jdbcTargetParameters dbVendor="oracle" driverName="oracle">
            <jdbcTargetParameter name="Password" value=""/>
            <jdbcTargetParameter name="Connection.Url"
value="jdbc:hsqldb:C:/Shark-1.1/db/hsql/hsql"/>
            <jdbcTargetParameter name="JdbcDriver"
value="org.hsqldb.jdbcDriver"/>
            <jdbcTargetParameter name="User" value="sa"/>
        </jdbcTargetParameters>
</jdbcDefaultParameters>
******* 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.txt (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