I'm experiencing an unusual problem initializing OJB. I'm trying to setup my
app to use mySQL when the Oracle DB is unavailable. (This is in dev mode
only) I had it working with mySQL before we had the Oracle DB installed. But
now I'm getting this odd message. I don't understand why it is still
referencing Oracle.
2002-10-25 15:15:40,919 INFO [DEFAULT] ...Finished parsing
2002-10-25 15:15:41,039 INFO [DEFAULT] problems with platform
org.apache.ojb.broker.platforms.PlatformMysqlImpl:
org.apache.ojb.broker.platforms.PlatformMysqlImpl
2002-10-25 15:15:41,039 INFO [DEFAULT] OJB will use PlatformDefaultImpl
instead
2002-10-25 15:15:41,099 INFO [DEFAULT] OJB Descriptor Repository:
jar:file:/C:/Tools/jboss-3.0.1/server/default/tmp/deploy/server/default/lib/
classes12.zip/7.classes12.zip!/oracle
2002-10-25 15:15:41,109 FATAL [DEFAULT] java.lang.NullPointerException
2002-10-25 15:15:41,119 DEBUG
[org.apache.ojb.broker.singlevm.PersistenceBrokerImpl] PB.close was called
2002-10-25 15:15:41,119 ERROR [STDERR] org.odmg.DatabaseNotFoundException:
OJB can't open repository oracle
null
This is what's in repository.xml:
<jdbc-connection-descriptor
platform="mysql"
jdbc-level="2.0"
driver="org.gjt.mm.mysql.Driver"
protocol="jdbc"
subprotocol="mysql"
dbalias="//localhost/Automate"
/>
Can anyone shed any light on this?
Thanks,
Dave Derry
--
To unsubscribe, e-mail: <mailto:ojb-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:ojb-user-help@;jakarta.apache.org>