A Leg wrote:
Hi Armin and Thomas
Following your advices I progress a lot.
Problems was comming from the fact that some class loaded at run time was not included in jar.
At compile I nuse a ClassDep api which detect required classes and put it in jar.
But they don't detect what is loaded at run time.
As with rc7 we load at run time some odmg classes even if we don't use odmg, theses classes was not existing in my jar.
From the stack trace of RepositoryXmlHandler, I got the name of missing classes etc...
Only problem I fail someWhere after now.
Without software problems, companies would not need software engeneers so it's may be a good news...
The stack trace is :
Any idea welcome; I keep looking for some missing class on my side.
One more time thank's for your help.
Andre
ConnectionDescriptorXmlHandler endElement uri name qName descriptor-repository
**** endDoc ****
readMetadataFromXML result = repository
readMetadataFromXML rreturn result
[org.apache.ojb.broker.metadata.RepositoryPersistor] INFO: Read connection repository took 1259 ms
[org.apache.ojb.broker.core.PersistenceBrokerFactoryBaseImpl] INFO: Create new PB instance for PBKey org.apache.ojb.broker.PBKey: jcdAlias=default, user=postgres, password=*****, already created persistence broker instances: 0
[DEFAULT] WARN: [PlatformFactory] problems with platform org.apache.ojb.broker.platforms.PlatformPostgreSQLImpl: org.apache.ojb.broker.platforms.PlatformPostgreSQLImpl
[DEFAULT] WARN: [PlatformFactory] OJB will use PlatformDefaultImpl instead
[org.apache.ojb.broker.cache.ObjectCacheFactory] INFO: Start creating new ObjectCache instance
[org.apache.ojb.broker.cache.ObjectCacheFactory] INFO: Default ObjectCache class was org.apache.ojb.broker.cache.ObjectCacheDefaultImpl
[org.apache.ojb.broker.cache.CacheDistributor] INFO: Use property 'descriptorBasedCaches' is set 'false'
[org.apache.ojb.broker.cache.ObjectCacheFactory] INFO: Instantiate new org.apache.ojb.broker.cache.CacheDistributor class object
[org.apache.ojb.broker.cache.ObjectCacheFactory] INFO: New ObjectCache instance was created
[BOOT] WARN: Value "org.apache.ojb.broker.accesslayer.JdbcAccessImpl" is illegal for key "JdbcAccessClass" (should be a class, using default value null)
This is the interesting message it seems (and the rest of the stacktrace indicates as much): the class org.apache.ojb.broker.accesslayer.JdbcAccessImpl seems to be missing.
You'll probably have to hunt these messages one at a time and add the classes that are marked as illegal in these messages.
However, in your case it might be easiest if you include all classes from the OJB jar and related jars (e.g. commons-*).
Tom
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
