Hi,

> I am trying to deploy an OJB webapp onto Tomcat 4.1.24, hosted on JVM
> Blackdown Java 1.3.1 
> 
> Testing on my local machine, the webapp works fine. But when 
> I deploy to the
> server, and tell tomcat to reload the webapp, it does not 
> start properly. 

AFAIK reloading OJB based apps doesn't work under Tomcat.

Thomas
 
> I am using OJB's odmg. (rc4) 
> 
> The log files are attached, after calling db.Open() and the 
> last statement
> is different. I do not know what is wrong, is it my configuration?
> Why is  "Finalizer" called on the remote server, and on the 
> remote server,
> "set current database" is not called? 
> 
>  
> 
> Local Log (OK!) 
> 
> DEBUG main 
> org.apache.ojb.broker.core.PersistenceBrokerFactoryDefaultImpl -
> createPersistenceBroker(key) called
> INFO main 
> org.apache.ojb.broker.core.PersistenceBrokerFactoryDefaultImpl -
> Create new PB instance for PBKey org.apache.ojb.broker.PBKey:
> jcdAlias=default, user=*****, password=*****, already created 
> persistence
> broker instances: 0
> DEBUG main org.apache.ojb.broker.cache.ObjectCacheFactory - 
> Object cache
> created, using
> cache:[EMAIL PROTECTED]
>  CACHE STATISTICS
>  Count of cached objects=0
>  lookups=0
>  failures=0
>  reclaimed=0
> ]
> DEBUG main 
> org.apache.ojb.broker.util.sequence.SequenceManagerFactory -
> Default sequence manager class was
> org.apache.ojb.broker.util.sequence.SequenceManagerHighLowImpl
> DEBUG main 
> org.apache.ojb.broker.util.sequence.SequenceManagerFactory -
> create new sequence manager for broker
> [EMAIL PROTECTED]
> DEBUG main 
> org.apache.ojb.broker.util.sequence.SequenceManagerFactory -
> Jdbc-Connection-Descriptor 'default' use sequence manager: class
> org.apache.ojb.broker.util.sequence.SequenceManagerHighLowImpl
> DEBUG main org.apache.ojb.odmg.OJB - Set current database
> [EMAIL PROTECTED] PBKey was
> org.apache.ojb.broker.PBKey: jcdAlias=default, user=root, 
> password=*****
> DEBUG main org.apache.ojb.odmg.DatabaseImpl - Open database 
> using PBKey
> org.apache.ojb.broker.PBKey: jcdAlias=default, user=root, 
> password=*****
> DEBUG main org.apache.ojb.broker.core.PersistenceBrokerImpl - 
> PB.close was
> called: [EMAIL PROTECTED] 
> 
>  
> 
>  ------- For the web server (OJB does not init?) -------
> Why is Finalizer called? 
> 
> 
> DEBUG Thread-4 
> org.apache.ojb.broker.util.sequence.SequenceManagerFactory -
> Default sequence manager class was
> org.apache.ojb.broker.util.sequence.SequenceManagerHighLowImpl
> DEBUG Thread-4 
> org.apache.ojb.broker.util.sequence.SequenceManagerFactory -
> create new sequence manager for broker
> [EMAIL PROTECTED]
> DEBUG Thread-4 
> org.apache.ojb.broker.util.sequence.SequenceManagerFactory -
> Jdbc-Connection-Descriptor 'default' use sequence manager: class
> org.apache.ojb.broker.util.sequence.SequenceManagerHighLowImpl
> DEBUG Finalizer 
> org.apache.ojb.broker.core.PersistenceBrokerImpl - PB.close
> was called: [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