Or you can deploy cocoon with servlet 2.3 class loading instead of java 2 classloading.

Java 2 class loading: ask your parent classloader for your class before trying to find it yourself.
Servlet 2.3 class loading: see if the class is in the webapp, then in ear scope (if present), then ask container/parent classloader.

With Java 2 classloading you end up getting the JDK 1.4 Xalan - or your container Xalan - with servlet 2.3 class loading you get the Xalan supplied with Cocoon; which I think is preferable.

I might be wrong on these class loading issues.

I am deploying cocoon in the Jetty web container (whithin JBoss) and Jetty has a switch called Java2ClassLoading (I think) that I flip to get servlet 2.3 class loading; and if I remember correctly I flipped an "initi-classloader" switch in Cocoon as well. It must be possible in Tomcat to get this behaviour, though I know nothing of it.


Jakob Dalsgaard
Udvikler
e-mail:   [EMAIL PROTECTED]
Vesterbrogade 149
1620 K�benhavn V
Tlf.:   70 25 80 30
Fax.: 70 25 80 31




Alex Romayev <[EMAIL PROTECTED]>

11/06/02 04:15 PM
Please respond to cocoon-users

       
        To:        [EMAIL PROTECTED]
        cc:        
        Subject:        Re: No more DTM IDs are available



Take a look at:
http://www.mail-archive.com/[email protected]/msg19907.html

--- Peter Smink <[EMAIL PROTECTED]> wrote:
> during the execution of my xsp page with logicsheets
> I get the DTMException
> "No more DTM IDs are available"
> how can i prevent this error?
>
> Peter Smink
> Osirion b.v.
>
>
>
>
---------------------------------------------------------------------
> Please check that your question  has not already
> been answered in the
> FAQ before posting.    
> <http://xml.apache.org/cocoon/faq/index.html>
>
> To unsubscribe, e-mail:    
> <[EMAIL PROTECTED]>
> For additional commands, e-mail:  
> <[EMAIL PROTECTED]>
>


---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>



Reply via email to