you're trying to connect to the db the 'old' way with db.open("repository.xml" ....); you need to change the db.open("default" ....) where default is the name of the alias of the db you're trying to connect to, which you've setup in the repository_datasource.xml file.

hope this helps
On Saturday, Mar 8, 2003, at 02:22 US/Eastern, Scott Seong wrote:

Help desparately sought!!

I'm trying to upgrade my current 0.9.4 build to 1.0.rc1, and having
problems. I've followed FAQ and deploy instructions to best of my ability,
but install still fails. I had working 0.9.4 version...


I have build.sh junit and war correctly, and copied them to WEB-INF/lib and
classes directory as instructed in the install procedure. But, when I try to
start tomcat, I'm getting following error messages in the log file. btw, my
platform is RedHat Linux 8.0, JDK 1.4.


--Error Begin--
[org.apache.ojb.broker.metadata.ConnectionRepository] INFO: Could not found
org.apache.ojb.broker.metadata.JdbcConnectionDescriptor for PBKey
org.apache.ojb.broker.PBKey: repository=repository.xml, user=null,
password=null
[org.apache.ojb.broker.accesslayer.ConnectionManagerFactory] ERROR:
ConfigurableFactory instantiation failed for class class
org.apache.ojb.broker.accesslayer.ConnectionManagerImpl
* Factory types:
1 - Type: org.apache.ojb.broker.PersistenceBroker
* Factory arguments:
1 - Argument: [EMAIL PROTECTED]
null
java.lang.reflect.InvocationTargetException
...
--Error End--


Oh, I forgot to mention that I did modified the repository.xml file with
correct username and password along with other jdbc connector info for mySql
database w/ org.gjt.mm.mysql.Driver.


I have been struggling with this for a couple of days now, and I'm pulling
my hair out.
Thanks advanced for your help.
Scott





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

R

--
Robert S. Sfeir
Senior Java Engineer
Codepuccino, Inc.
[EMAIL PROTECTED]

definition - Codepuccino n:
A Little JSP mixed with lots of Java, usually served with Servlets, a Datasource, a sprinkle of XML, and sometimes EJB. (See Great MVC Frameworks)

Reply via email to