Hi Michael,

You said earlier "I have put the needed xml files in the folder where my
application is" - could you please be a little clearer ?

Could you show us the folder layout - i.e. where the classes are, where the
xml files are, what the names of the xml files are, and what the
working/current directory is when the application is run ?

By default, OJB will look for a file called "repository.xml" - it will first
look for a resource on the classpath - and if that fails, it will look in
the file file system. 

Also, I would suggest turning on some logging (see
http://db.apache.org/ojb/docu/guides/logging.html) for more info. The
RepositoryPersistor class actually logs which file it is loading.

I hope that helps a little

Cheers,

Charles

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: 10 December 2004 09:57
To: OJB Users List
Subject: RE: starting ojb


Yes i did it. This is the part of my repository_database.xml

    <jdbc-connection-descriptor
                jcd-alias="default"
                default-connection="true"
                platform="MySQL"
                jdbc-level="3.0"
                driver="com.mysql.jdbc.Driver"
                protocol="jdbc"
                subprotocol="mysql"
                dbalias="//localhost/test"
                username="root"
                password="hannibal"
                batch-mode="false"
        useAutoCommit="1"
        ignoreAutoCommitExceptions="false"
     >



___________________________________________________________
HPD Software Ltd. - Helping Business Finance Business
Email terms and conditions: www.hpdsoftware.com/disclaimer 



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

Reply via email to