You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Pete Farmer <pe...@gmail.com> on 2005/10/17 14:24:02 UTC

Re: Cocoon Hangs with OpenSessionInViewFilter

On 9/7/05, Mark Lundquist <ml...@wrinkledog.com> wrote:
>
> On Sep 6, 2005, at 4:17 PM, Dustin N. Jenkins wrote:
>
> > That's exactly what I have actually.  I'm still not clear as to what
> > C3P0 handles, but if I'm indeed using the data source as laid out
> > below, and injecting that into my Hibernate Session Factory, which is
> > then being injected into my DAOs, does it mean I'm not using C3P0?
>
> Yes.

Hi Dustin,

I run into a similar situation, and I'm wondering if your's was ever
resolved satisfactorily?

My current software stack looks like MySQL 4.1 + Hibernate 3.0 +
Tomcat 5.5.9 + Cocoon 2.1.7.

The situation is that after the first call to hs.save(mydata)
something kills  ehcache-1 (see stack trace below).


Grateful for any insight. I'm currently trying to determine whether my
Hibernate configuration is correct.

best,
--pete



The DEBUG level messages for core.store look like this:

--------------------------<snip/>------------------
DEBUG   (2005-10-17) 23:37.50:804   [core.store] (/cocoon/)
http-8080-Processor25/EHDefaultStore: NOT Found key:
PK_G-file-file:/usr/local/bin/tomcat/webapps/cocoon/welcome.xml_T-xslt-file:/usr/local/bin/tomcat/webapps/cocoon/welcome.xslt;contextPath=/cocoon_S-xhtml-;doctype-public=-//W3C//DTD
XHTML 1.0 Strict//EN;doctype-system=http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd;encoding=UTF-8
DEBUG   (2005-10-17) 23:37.50:864   [core.store] (/cocoon/)
http-8080-Processor25/EHDefaultStore: Store object
org.apache.cocoon.caching.CachedResponse@17b1c02 with key
PK_G-file-file:/usr/local/bin/tomcat/webapps/cocoon/welcome.xml_T-xslt-file:/usr/local/bin/tomcat/webapps/cocoon/welcome.xslt;contextPath=/cocoon_S-xhtml-;doctype-public=-//W3C//DTD
XHTML 1.0 Strict//EN;doctype-system=http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd;encoding=UTF-8



--------------------------<snip/>------------------
full exception chain stacktrace[hide]

java.lang.IllegalStateException: The cocoon-ehcache-1 Cache is not alive.
	at net.sf.ehcache.Cache.checkStatus(Cache.java:713)
	at net.sf.ehcache.Cache.get(Cache.java:355)
	at org.apache.cocoon.components.store.impl.EHDefaultStore.get(EHDefaultStore.java:242)
	at org.apache.cocoon.caching.impl.CacheImpl.get(CacheImpl.java:97)
	at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.validatePipeline(AbstractCachingProcessingPipeline.java:431)

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