Hi

I have a problem to include db-ojb1.0.3
in Cocoon 2.1.7 build with jdk.1.5

Can I compile  db-ojb1.0.3  with jdk.1.5 and include this in Cocoon?

Thanks a lot





I receive this message:


  Initialization Problem

Message: Scheduler with name 'Cocoon' already exists.

Description:
org.apache.avalon.framework.configuration.ConfigurationException: cannot
create a quartz scheduler

Sender: org.apache.cocoon.servlet.CocoonServlet

Source: Cocoon Servlet

cause

org.quartz.SchedulerException: Scheduler with name 'Cocoon' already exists.









Antonio Gallardo wrote:

>Hi:
>
>
>Please provide the OJB version you use. AFAIK, it was already fixed for
>non JDO API's.
>
>Best Regards,
>
>Antonio Gallardo
>
>On Lun, 9 de Mayo de 2005, 18:15, Alessandro Vincelli dijo:
>  
>
>>I use this simple code to retrieve row,
>>but after this code the db sequence of Utenti table is autoincrement.
>>Why?
>>Thanks,Ale
>>
>>
>>     //1. Get the PersistenceManager
>>        PersistenceManager persistenceManager =
>>jdo.getPersistenceManager();
>>        Utenti e = new Utenti();
>>        e.setId_utente(bean.getId_utente());
>>        PersistenceBroker broker =
>>PersistenceBrokerFactory.defaultPersistenceBroker();
>>        Identity oid = new Identity(e, broker);
>>        Utenti b = new Utenti();
>>        //    2. start transaction
>>        persistenceManager.currentTransaction().begin();
>>        // 3. Get the Object based on the primary key
>>        b = (Utenti) persistenceManager.getObjectById(oid, false);
>>        // 4. Copy data to bean
>>        copyData(b, bean);
>>        // 5. End transaction
>>        persistenceManager.currentTransaction().commit();
>>
>>---------------------------------------------------------------------
>>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