You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Grzegorz Sikora <sz...@op.pl> on 2005/03/15 11:18:26 UTC

Re[2]: trouble with Hibernate 2.1 under Cocoon 2.17

Hello Leszek,

Tuesday, March 15, 2005, 9:38:53 AM, you wrote:

4j-1.4.jar, cglib-full-2.0.2.jar, jta.jar)
>> 
>>  Anyone used Hibernate 2.1 under Cocoon 2.17 ?
LG> I am using cocoon under 2.1.x branch and trunk - no problem at all.

LG> by the way: don't you need the odmg jar also ?

I dunno. I don't see this lib in previous working configuration ( Cocoon 2.16
and Tomcat 4.1) so it's maybe not required. Too make sure I've copied
all jars from hibernate/lib directory that don't duplicate with ones
found in cocoon/lib.
Now I run Cocoon under Tomcat 5.0.28.

Last position in logs are:
- cache provider: net.sf.hibernate.cache.EhCacheProvider
- instanting and configuring caches

..and at this moment Cocoon initialization stops. Hibernate is
compiled with Ehcache 0.9. Runs fine with 1.0, but C2.17 has Ehcache
1.1. Maybe this is the problem ?


-- 
Best regards,
 Grzegorz


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re[2]: trouble with Hibernate 2.1 under Cocoon 2.17

Posted by Grzegorz Sikora <sz...@op.pl>.
Hello Leszek,

Tuesday, March 15, 2005, 3:17:16 PM, you wrote:


LG> from hibernate/lib/README.txt:

LG> odmg.jar (3.0)
LG> - ODMG API 3.0
LG> - runtime, required

Well, thanks for info. This lib is required for sure but there's no need
to copy it into Cocoon's lib dir 'cause db-obj-1.0.x.jar has
already ODMG classes included.

But to make sure I've copied odmg.jar (and all other libs from HB src
release as I said in previous message) into lib dir and still
experiencing the same error while HB init - 'instantiating and configuring
caches'  ...


-- 
Best regards,
 Grzegorz


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: trouble with Hibernate 2.1 under Cocoon 2.17

Posted by Leszek Gawron <lg...@mobilebox.pl>.
Grzegorz Sikora wrote:
> Hello Leszek,
> 
> Tuesday, March 15, 2005, 9:38:53 AM, you wrote:
> 
> 4j-1.4.jar, cglib-full-2.0.2.jar, jta.jar)
> 
>>> Anyone used Hibernate 2.1 under Cocoon 2.17 ?
> 
> LG> I am using cocoon under 2.1.x branch and trunk - no problem at all.
> 
> LG> by the way: don't you need the odmg jar also ?
> 
> I dunno. I don't see this lib in previous working configuration ( Cocoon 2.16
> and Tomcat 4.1) so it's maybe not required. Too make sure I've copied
> all jars from hibernate/lib directory that don't duplicate with ones
> found in cocoon/lib.
> Now I run Cocoon under Tomcat 5.0.28.
> 
> Last position in logs are:
> - cache provider: net.sf.hibernate.cache.EhCacheProvider
> - instanting and configuring caches
> 
> ..and at this moment Cocoon initialization stops. Hibernate is
> compiled with Ehcache 0.9. Runs fine with 1.0, but C2.17 has Ehcache
> 1.1. Maybe this is the problem ?
> 
> 
from hibernate/lib/README.txt:

odmg.jar (3.0)
- ODMG API 3.0
- runtime, required

-- 
Leszek Gawron                                      lgawron@mobilebox.pl
IT Manager                                         MobileBox sp. z o.o.
+48 (61) 855 06 67                              http://www.mobilebox.pl
mobile: +48 (501) 720 812                       fax: +48 (61) 853 29 65

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org