torque was not able pick up your oracle12.zip,

try to place it under JRE/lib/ext

-D
----- Original Message -----
From: "Chiu, Eric T" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, January 19, 2003 12:58 PM
Subject: Oracle configuration for OJB


>
> Can someone send me their oracle.profile and classpath for
> a working environment for OJB and Oracle9i?
>
> I have the file for the Oracle JDBC driver (classes12.zip) on
> my classpath, and I am able to invoke oracle.jdbc.driver.OracleDriver
> using the java executable, but why does the build script complains
> that it can't load the OracleDriver class?
>
> I think the Oracle URL should work, since I have already tested it
> with a Weblogic/Oracle set up.
>
> Thanks.
>
> Except from output of bin\build prepare-testdb
> ------------------------------
> project-insert-sql:
> [torque-insert-sql] Our new url ->
>
jdbc:oracle:thin:@(description=(address=(host=wm22fkgo110045a)(protocol=tcp)
> (port=1521))(connect_data=(sid=otis)))
>
> BUILD FAILED
> file:C:/sw/ojb-0.9.8/build-torque.xml:181: Class Not Found: JDBC driver
> oracle.jdbc.driver.OracleDriver could not be loaded
>
> Total time: 6 seconds
> C:\sw\ojb-0.9.8>java oracle.jdbc.driver.OracleDriver
> Exception in thread "main" java.lang.NoSuchMethodError: main
>
>
> From oracle.profile------------------------------------------
>
> # -------------------------------------------------------------------
> #
> #  D A T A B A S E  S E T T I N G S
> #
> # -------------------------------------------------------------------
> # JDBC connection settings. This is used by the JDBCToXML task that
> # will create an XML database schema from JDBC metadata. These
> # settings are also used by the SQL Ant task to initialize your
> # Turbine system with the generated SQL.
> # -------------------------------------------------------------------
>
> dbmsName = Oracle
> jdbcLevel = 1.0
> urlProtocol = jdbc
> urlSubprotocol = oracle
> urlDbalias =
>
thin:@(description=(address=(host=wm22fkgo110045a)(protocol=tcp)(port=1521))
> (connect_data=(sid=otis)))
>
> createDatabaseUrl = ${urlProtocol}:${urlSubprotocol}:${urlDbalias}
> buildDatabaseUrl = ${urlProtocol}:${urlSubprotocol}:${urlDbalias}
> databaseUrl = ${urlProtocol}:${urlSubprotocol}:${urlDbalias}
> databaseDriver = oracle.jdbc.driver.OracleDriver
> databaseUser = user
> databasePassword = password
> databaseHost = wm22fkgo110045a
>
>
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to