I don't think so. There's only one copy of the jar on the system. The app is a 
portal app, and I've tried the following scenarios:

1. db-ojb.jar in /PORTAL-INF/lib
   OJB.properties and repository.xml in /PORTAL-INF/classes

2. db-ojb.jar in /PORTAL-INF/lib
   OJB.properties and repository.xml in a jar in /PORTAL-INF/lib

3. db-ojb.jar unjarred under /PORTAL-INF/classes
   OJB.properties and repository.xml in /PORTAL-INF/classes



-----Original Message-----
From: Armin Waibel [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 13, 2005 3:02 PM
To: OJB Users List
Subject: Re: Weird BOOT issue


Hi Bob,

Bob Damato wrote:
> We're using OJB 1.0.1 successfully in many different scenarios (different 
> jvm's, ide's and app servers). We are experimenting with integrating it with 
> SAP's Application Server for a portal and I'm getting the error below. I'm 
> using the same configuration files that I'm successfully using elsewhere, so 
> I'm at a loss for what could be causing the issue.
> 
> Any ideas?
>

seems to be a ClassLoader issue. Does the appServer load the ojb.jar (or 
some OJB classes) twice? E.g. one jar is in appServer 
system/common/shared lib, the other one is in the webApp 
(/WEB-INF/classes directory).

regards
Armin


> --------------------------------
> 
> [BOOT] WARN: Value "org.apache.ojb.broker.cache.ObjectCacheDefaultImpl" is 
> illegal for key "ObjectCacheClass"
> (should be a class, using default value class 
> org.apache.ojb.broker.cache.ObjectCacheDefaultImpl)
> [BOOT] WARN: Value 
> "org.apache.ojb.broker.accesslayer.ConnectionFactoryPooledImpl" is illegal 
> for key "ConnectionFactoryClass" (should be a class, using default value 
> class org.apache.ojb.broker.accesslayer.ConnectionFactoryPooledImpl)
> [BOOT] WARN: Value "org.apache.ojb.odmg.locking.LockManagerDefaultImpl" is 
> illegal for key "LockManagerClass"
> (should be a class, using default value class 
> org.apache.ojb.odmg.locking.LockManagerDefaultImpl)
> [BOOT] WARN: Value "org.apache.ojb.odmg.locking.InMemoryLockMapImpl" is 
> illegal for key "LockMapClass" (should be a class, using default value class 
> org.apache.ojb.odmg.locking.InMemoryLockMapImpl)
> [BOOT] WARN: Value 
> "org.apache.ojb.broker.metadata.fieldaccess.PersistentFieldDirectAccessImplNew"
>  is illegal
> for key "PersistentFieldClass" (should be a class, using default value class 
> org.apache.ojb.broker.metadata.fieldaccess.PersistentFieldDirectAccessImpl)
> [BOOT] WARN: Value "org.apache.ojb.broker.core.PersistenceBrokerImpl" is 
> illegal for key "PersistenceBrokerClass" (should be a class, using default 
> value class org.apache.ojb.broker.core.PersistenceBrokerImpl)
> [BOOT] WARN: Value "org.apache.ojb.broker.core.proxy.ListProxyDefaultImpl" is 
> illegal for key "ListProxyClass" (should be a class, using default value 
> class org.apache.ojb.broker.core.proxy.ListProxyDefaultImpl)
> [BOOT] WARN: Value "org.apache.ojb.broker.core.proxy.SetProxyDefaultImpl" is 
> illegal for key "SetProxyClass" (should be a class, using default value class 
> org.apache.ojb.broker.core.proxy.SetProxyDefaultImpl)
> [BOOT] WARN: Value 
> "org.apache.ojb.broker.core.proxy.CollectionProxyDefaultImpl" is illegal for 
> key "CollectionProxyClass" (should be a class, using default value class 
> org.apache.ojb.broker.core.proxy.CollectionProxyDefaultImpl)
> [BOOT] WARN: Value 
> "org.apache.ojb.broker.core.proxy.IndirectionHandlerDefaultImpl" is illegal 
> for key "IndirectionHandlerClass" (should be a class, using default value 
> class org.apache.ojb.broker.core.proxy.IndirectionHandlerDefaultImpl)
> [BOOT] WARN: Value "org.apache.ojb.odmg.collections.DListImpl_2" is illegal 
> for key "OqlCollectionClass" (should be a class, using default value class 
> org.apache.ojb.odmg.collections.DListImpl)
> [BOOT] WARN: Value 
> "org.apache.ojb.broker.core.PersistenceBrokerFactoryDefaultImpl" is illegal 
> for key "PersistenceBrokerFactoryClass" (should be a class, using default 
> value null)
> [BOOT] ERROR: Creation of PersistenceBrokerFactory (PBF) instance failed, 
> can't get PBF class object
> 
> _____________________________________________________________________________________
> Bob Damato                                                                    
>      Cox Target Media   
> Internet Technology Manager                                                   
>                                                   Largo, Florida
> 
> The thought manifests as the word. The word manifests as the deed. The deed 
> develops into habit. And 
> the habit hardens into character. So watch the thought and its ways with 
> care. And let it spring from love,
> born out of concern for all beings.    -- Buddha
> 
> 

---------------------------------------------------------------------
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