Hi,

I'm new to the world of JDO and OJB, so please bear with me if this is
stupid/straightforward.

I want to use OJB in a servlet container. I wrote a small (standalone) test
application to do all the configuration and such. That one works.

I now tried to move everything into a servlet WAR:

- the OJB.properties and repository*.xml files in WEB-INF/classes
- all libraries in WEB-INF/lib
- the code from the standalone app (just creating and retrieving an object) into
a java bean that I call from a servlet

But I get a

java.lang.ExceptionInInitializerError
    at
org.apache.ojb.broker.core.PersistenceBrokerFactoryDefaultImpl.buildDefaultKey(Unknown
Source)
    at
org.apache.ojb.broker.core.PersistenceBrokerFactoryDefaultImpl.<init>(Unknown
Source)
    ...

Is there anything obvious that I'm missing (should any libraries or config files
be in the servlet containers lib dir)? What is the best way to debug this?

Thanks
    MarkS

P.S: I'm using Resin.

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

Reply via email to