Hello Jim,

but it seems to use the write file because otherwise it wouldn't have found
the declaration of the CoreVO class. Or does this indicate that can not find
the class CoreVFo? But I would then expect a NoClassDefFoundError.

Other suggestions?

Julia

-----Ursprüngliche Nachricht-----
Von: Jim Shingler [mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 25. Juni 2003 23:06
An: 'OJB Users List'
Betreff: RE: web app in jboss -- where to put files?


Not sure where you need to but the files but it means that OJB couldn't
find them when it was initialized.

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]

Sent: Wednesday, June 25, 2003 10:34 AM
To: [EMAIL PROTECTED]
Subject: AW: web app in jboss -- where to put files?


Hello,

I'm still having the same problems. I set the log level to debug but
this could not give me more detailed informations. What does the
following error
mean:

 org.apache.ojb.broker.metadata.MetadataException: Could not read
repository class descriptor data, using repository: repository.xml:
Error creating
PersistentField: de.arvatosystems.monitoring.business.vo.CoreVO, entryID

I attache my repository_database.xml and repositor_user.xml.

If anyone could have a look on it, it would be really great!

I am thankful for any suggestions.

thanks, julia.

-----Ursprüngliche Nachricht-----
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 25. Juni 2003 13:50
An: [EMAIL PROTECTED]
Betreff: web app in jboss -- where to put files?


Hello!

I have a generall questions. I have a web application deployed on jboss
3.0.6. I want to use OJB for persistence in that web application. I want
to able to use my preconfigured datasource.

I followed the steps in the documentation how to deploy ojb on jboss
which means that I created the ojb.sar folder with the neccessary
archives. My question is now:

Where do I put my repository files needed for the persistence for my web
application? In the ojb.sar folder or in the WEB-INF folder of my web
app?

I tried to put it in the ojb.sar folder but I get exception when trying
to
get:

Implementation odmg = factory.getInstance();

Here is the stack trace:

java.lang.ExceptionInInitializerError
        at
org.apache.ojb.broker.core.PersistenceBrokerFactoryDefaultImpl.buildDefa
ultK
ey(Unknown Source)
        at
org.apache.ojb.broker.core.PersistenceBrokerFactoryDefaultImpl.<init>(Un
know
n Source)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
        at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorA
cces
sorImpl.java:39)
        at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingCons
truc
torAccessorImpl.java:27)
        at
java.lang.reflect.Constructor.newInstance(Constructor.java:274)
        at java.lang.Class.newInstance0(Class.java:306)
        at java.lang.Class.newInstance(Class.java:259)
        at
org.apache.ojb.broker.core.PersistenceBrokerFactoryFactory.init(Unknown
Source)
        at
org.apache.ojb.broker.core.PersistenceBrokerFactoryFactory.<clinit>(Unkn
own
Source)
        at
org.apache.ojb.broker.PersistenceBrokerFactory.getConfigurator(Unknown
Source)
        at org.apache.ojb.odmg.OJBJ2EE_2.getInstance(Unknown Source)
        at org.apache.ojb.jboss.ODMGFactory.getInstance(Unknown Source)
        at
de.arvatosystems.monitoring.business.scheduler.InitServlet.init(InitServ
let.
java:180)
....

Caused by: org.apache.ojb.broker.metadata.MetadataException: Could not
read repository class descriptor data, using repository: repository.xml:
Error creating PersistentField:
de.arvatosystems.monitoring.business.vo.CoreVO,
entryID
        at org.apache.ojb.broker.metadata.MetadataManager.init(Unknown
Source)
        at org.apache.ojb.broker.metadata.MetadataManager.<init>(Unknown
Source)
        at
org.apache.ojb.broker.metadata.MetadataManager.<clinit>(Unknown
Source)
        ... 69 more


CoreVO with the attribute entryID is the first class and field
descriptor in my repository_user.xml

Where is my mistake?

Thanks, Julia.

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





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

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

Reply via email to