logo       

Re: Aonyx and Catalina: msg#00001

java.enhydra.general

Subject: Re: Aonyx and Catalina

Aonyx and Catalina works now for me.

> > When I try to first access a page from Enhydra-Context. The
> > Stacktrace starts with a Ajp13 Class in the beginning, and on the
> > top it said ClassCastException for the class which extends the
> > Enhydra StandardApplication class
>
> Its hard to see exactly what's going on here. In the first case (with
> AutoReload = true), the enhydra HttpPresentationServlet is calling
> application.getClass().getClassLoader() and casting the result to
> MultiClassLoader...but the result is actually a
> org.apache.catalina.loader.StandardClassLoader object, so its throwing
> an exception.

Do you know how I can overcome this problem? I'd like to make
use of the reload function in some environments, I could use plain
enhydra for testing purposes, but better would be if it ran within
Catalina.

> In the second case (AutoReload = false), it looks like the "state"
> instance variable of StandardApplication is being set to
> Application.INCOMPLETE at some point, so when your app gets a request,

Yeah I found that. Now my Enhydra Aonyx Application runs within
Catalina! Hooray

> Are you setting "<load-on-startup>1</load-on-startup>" in the app's
> web.xml file? Does the application seem to start up properly (display

What does <load-on-startup>1</load-on-startup> mean?

Danny


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise