Hi there

Got this one some time ago - I guess some gurus might have a better answer 
than me, but here goes:

You probably have an old Xalan in your JDK shadowing the Xalan in Cocoon. 
This is due to Java 2 Class Loading. Solution is to add xalan and xerces 
to the endorsed lib of your JDK (I am assuming some type of JDK 1.4 here). 
See how on: http://xml.apache.org/cocoon/installing under the subtitle 
"Java 1.4 Configuration". Servlet 2.3 Class Loading is another feature 
that will help you - but let's leave that for a while since this probably 
requires editing the servlet container configuration.

We tried different versions of "System.out.println 
(org.apache.xalan.processor.XSLProcessorVersion.S_VERSION)" in an xsp page 
to see what version cocoon really ended up using :-)

But "No more DTM ID's" we got rid of by putting the proper xalan and 
xerces in the endorsed libs ...

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






Sebastian Gil <[EMAIL PROTECTED]>
01/20/03 01:53 PM
Please respond to cocoon-users

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


Hi there

Sometimes when I modify my huge sitemap - 54Kb
(especially when I add some parameters for actions or XSLT transformer) I 
got a strange
message which tells me nothing. Maybe someone of you can give me some 
hints 
what could be
wrong and how to correct sucha problem.

Regards
SG.

java.lang.RuntimeException: Errors in XSLT transformation:
Warning: File jar:file:/C:/Javasoft/Tomcat 4.1/webapps/insert/WEB- 
INF/lib/cocoon
- 
2.0.4.jar!/org/apache/cocoon/components/language/markup/sitemap/java/sitemap.xs
l; Line 1822; Column 33;
            The use of <redirect-to resource="dynamic-page"/> is 
deprecated.
            Please use <call resource="dynamic-page"/> instead.

Warning: File jar:file:/C:/Javasoft/Tomcat 4.1/webapps/insert/WEB- 
INF/lib/cocoon
- 
2.0.4.jar!/org/apache/cocoon/components/language/markup/sitemap/java/sitemap.xs
l; Line 1822; Column 33;
            The use of <redirect-to resource="dynamic-page"/> is 
deprecated.
            Please use <call resource="dynamic-page"/> instead.

Fatal: org.apache.xml.dtm.DTMException: No more DTM IDs are available

        at 
org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.java
:3170)
        at java.lang.Thread.run(Thread.java:536)


-- 
Keep on rolling

mailto: [EMAIL PROTECTED]
http://create.e-informatyka.pl

---------------------------------------------------------------------
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