RE: No more DTM IDs are available

2003-01-20 Thread Geoff Howard
> 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).

But note that if you use Tomcat, it overrides the jdk endorsed directory and
you
should use $TOMCAT_HOME/common/endorsed instead.

And you realize that the first part of the error message is warning you that
you are
using deprecated items by using redirect-to instead of call?  IIUC,
redirect-to now only
deals with sending client-side redirects and call is used for resource reuse
within cocoon.

Geoff Howard


-
Please check that your question  has not already been answered in the
FAQ before posting. 

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




Re: No more DTM IDs are available

2003-01-20 Thread jakob . dalsgaard
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  is 
deprecated.
Please use  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  is 
deprecated.
Please use  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]>




No more DTM IDs are available

2003-01-20 Thread Sebastian Gil
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  is 
deprecated.
   Please use  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  is 
deprecated.
   Please use  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]>



Re: No more DTM IDs are available

2002-11-07 Thread jakob . dalsgaard

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/cocoon-users@xml.apache.org/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.    
> 
> 
> 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.     

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





Re: No more DTM IDs are available

2002-11-06 Thread Alex Romayev
Take a look at:
http://www.mail-archive.com/cocoon-users@;xml.apache.org/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]>




No more DTM IDs are available

2002-11-06 Thread Peter Smink
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]>




R: JDK 1.4.1 on Solaris: org.apache.xml.dtm.DTMException: No more DTM IDs are available error

2002-10-30 Thread Luca Morandini
Luca,

the problem lies with Tomcat 4.0.4 b3 setting its own "java.endorsed.dirs"
parameter, thus overriding the default endorsed directory
($JAVA_HOME/jre/lib/endorsed).

What you could do is adding the following in catalina.sh (right after the
"Execute requested command" line):

JAVA_ENDORSED_DIRS="$JAVA_HOME/jre/lib/endorsed:$TOMCAT_HOME/bin:
$TOMCAT_HOME/common/lib"
export JAVA_ENDORSED_DIRS

This would let JDK ovverride its version of Xalan and Xerces with the ones
shipped with cocoon 2.0.3 (they should be placed in
$JAVA_HOME/jre/lib/endorsed, of course).

Best regards,

P.S.
Folks, I'm growing tired of helping myself :(

Luca Morandini
[EMAIL PROTECTED]


> -Messaggio originale-
> Da: Luca Morandini [mailto:spectrum.morandini@;ipzs.it]
> Inviato: mercoledì 30 ottobre 2002 12.56
> A: Cocoon-users
> Oggetto: JDK 1.4.1 on Solaris: org.apache.xml.dtm.DTMException: No more
> DTM IDs are available error
>
>
> Folks,
>
> we're trying to run Cocoon 2.0.3 on Solaris 8 with Tomcat 4.0.4b3 and JDK
> 1.4.1, but we're not even able to see the welcome page :(
>
> Yes, we've put the Xalan, Xerces, and XML-apis jars in the endorsed
> directory... but the problem is still there: any clue ?
>
> Best regards,
>
> Luca Morandini
> [EMAIL PROTECTED]
>
>
>
>  We are protected from the virus by Norton Antivirus Corporate Edition
>
> -
> 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]>
>


 We are protected from the virus by Norton Antivirus Corporate Edition

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




JDK 1.4.1 on Solaris: org.apache.xml.dtm.DTMException: No more DTM IDs are available error

2002-10-30 Thread Luca Morandini
Folks,

we're trying to run Cocoon 2.0.3 on Solaris 8 with Tomcat 4.0.4b3 and JDK
1.4.1, but we're not even able to see the welcome page :(

Yes, we've put the Xalan, Xerces, and XML-apis jars in the endorsed
directory... but the problem is still there: any clue ?

Best regards,

Luca Morandini
[EMAIL PROTECTED]



 We are protected from the virus by Norton Antivirus Corporate Edition

-
Please check that your question  has not already been answered in the
FAQ before posting. 

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




Re: No more DTM IDs are available?

2001-11-08 Thread Ryan Shaw

Okay, I found a detailed discussion of the problem here:

http://marc.theaimsgroup.com/?t=10045598502&w=2&r=1

Looks like this is a limitation of Xalan-J, unfortunately.

Ryan Shaw wrote:

> I don't think this can be explained away as a JVM problem.
> Even if Xalan or Cocoon is running out of resources, they
> should be printing a more informative error message.
>
> But since they were working fine with an older version of
> Xalan, I suspect the resources are fine, and that this is a
> bug.
>
> Marcelo F. Ochoa wrote:
>
>> Carsten Ziegeler wrote:
>>
>>> I don't know the reason for this problem, but it seems that
>>> it has something to do with the hsqldb.
>>> In most cases deleting the cocoondb.backup file in the WEB-INF/db
>>> directory and then starting your servlet engine again, solves
>>> the problem.
>>>
>>> RHTH
>>> Carsten
>>>
>>  In my case when I maked the .ear file for OC4J container I play 
>> moving several files from/to lib directory and randomly the problem 
>> desapear, but IMO it was because the JVM manages differents resources 
>> with several combinations, also when the squid proccess manage less 
>> incoming connections on the server the problem also disapear, then I 
>> think that is problem of the JVM connected with the operating system 
>> resources.
>>  Best regards, Marcelo.
>>
>
>
>
>
> -
> Please check that your question has not already been answered in the
> FAQ before posting. 
>
> 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. 

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




Re: No more DTM IDs are available?

2001-11-08 Thread Ryan Shaw

I don't think this can be explained away as a JVM problem.
Even if Xalan or Cocoon is running out of resources, they
should be printing a more informative error message.

But since they were working fine with an older version of
Xalan, I suspect the resources are fine, and that this is a
bug.

Marcelo F. Ochoa wrote:

> Carsten Ziegeler wrote:
>
>> I don't know the reason for this problem, but it seems that
>> it has something to do with the hsqldb.
>> In most cases deleting the cocoondb.backup file in the WEB-INF/db
>> directory and then starting your servlet engine again, solves
>> the problem.
>>
>> RHTH
>> Carsten
>>
>  In my case when I maked the .ear file for OC4J container I play 
> moving several files from/to lib directory and randomly the problem 
> desapear, but IMO it was because the JVM manages differents resources 
> with several combinations, also when the squid proccess manage less 
> incoming connections on the server the problem also disapear, then I 
> think that is problem of the JVM connected with the operating system 
> resources.
>  Best regards, Marcelo.
>




-
Please check that your question has not already been answered in the
FAQ before posting. 

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




Re: No more DTM IDs are available?

2001-11-08 Thread Ryan Shaw

I am running Cocoon as part of a build process, i.e. from the
command line (actually, called by Ant). It is not running within
a servlet engine or using hsqldb.

I strongly suspect that this is a Xalan bug, since D8 had no problems,
but D11 does. I guess I should post there. The strange thing is, it
only seems to happen when running from within Cocoon, not
when I run Xalan by hand.

Carsten Ziegeler wrote:

>I don't know the reason for this problem, but it seems that
>it has something to do with the hsqldb.
>In most cases deleting the cocoondb.backup file in the WEB-INF/db
>directory and then starting your servlet engine again, solves
>the problem.
>
>RHTH
>Carsten
>
>>-Original Message-
>>From: Marcelo F. Ochoa [mailto:[EMAIL PROTECTED]]
>>Sent: Thursday, November 08, 2001 4:10 PM
>>To: [EMAIL PROTECTED]
>>Subject: Re: No more DTM IDs are available?
>>
>>
>>Ryan Shaw wrote:
>>
>>>I am using J2RE 1.3.0 IBM build cx130-20010626 on Debian Linux
>>>running a 2.4.13 kernel. This seems to happen no matter what
>>>I set the maximum heap size to.
>>>
>>>Do you know what a DTM ID is?
>>>
>>  Really no, and I search for it on yahoo or altavista searchs engines 
>>and report no documents.
>>  Best regards, Marcelo.
>>
>>-- 
>>Marcelo F. Ochoa - [EMAIL PROTECTED]
>>Do you Know DB Prism? Look @ http://www.plenix.com/dbprism/
>>More info?
>>Chapter 21 of the book "Professional XML Databases" (Wrox Press 
>>http://www.wrox.com/)
>>Chapter 8 of the book "Oracle & Open Source" (O'Reilly 
>>http://www.oreilly.com/catalog/oracleopen/)
>>---
>>Lab. de Sistemas - Fac. de Cs. Exactas - UNICEN
>>Paraje Arroyo Seco - Campus Universitario
>>(7000) Tandil - Bs. AS. - Argentina
>>Te: +54-2293-30 Fax: +54-2293-31
>>
>>
>>
>>
>>
>>-
>>Please check that your question has not already been answered in the
>>FAQ before posting. <http://xml.apache.org/cocoon/faqs.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/faqs.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/faqs.html>

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




Re: RE: Exception: No more DTM IDs are available

2001-10-29 Thread Marcelo F. Ochoa

On solaris systems these parameters are configured on the file /etc/system
Best regards, Marcelo.
--
Do you know DB Prism look @ http://www.plenix.com/dbprism/
More info?
- Chapter 21 ?fesional XML Databases?? Wrox Press 
(http://www.wrox.com/)
- Chapter 8 ?cle & Open Source?? O'Reilly (http://www.oreilly.com/)
Marcelo F. Ochoa
Fac. de Cs. Exactas - UNIC EN
Paraje Arroyo Seco - Campus Univ.
(7000) Tandil - AR
Tel.: +54-2293-30
Fax: +54-2293-31?


-
Please check that your question has not already been answered in the
FAQ before posting. 

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


RE: Exception: No more DTM IDs are available

2001-10-29 Thread Eduardo Godoy Vega

where did you change that parameter ???

Eduardo.

-Original Message-
From: Marcelo F. Ochoa [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 29, 2001 6:52 AM
To: [EMAIL PROTECTED]
Subject: Re: Exception: No more DTM IDs are available


[DELETE]
  My solutions was do not used flag "-server" on the JVM arguments.
  Best regards, Marcelo.



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

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




Re: Exception: No more DTM IDs are available

2001-10-29 Thread Marcelo F. Ochoa

Jack Hirasawa wrote:

> Hi,
>
> I just installed Cocoon 2 on WebSphere 3.5.2 and when I try to access 
> the http://localhost/cocoon/ page I get the following exception.  Has 
> anyone run into this problem and can you help me out?  I think it's 
> generated by Xalan.
>
> Thanks,

  I had the same error on Solaris 2.8 Sun JVM 1.3.1b4 with Oracle 9iAS 
Object Container for J2EE (Orion web server) and Cocoon 2.0rc1.
  IMO is problem of semaphores, shared memory or something like this, 
connected with Operating system resources.
  My solutions was do not used flag "-server" on the JVM arguments.
  Best regards, Marcelo.


-- 
Marcelo F. Ochoa - [EMAIL PROTECTED]
Do you Know DB Prism? Look @ http://www.plenix.com/dbprism/
More info?
Chapter 21 of the book "Professional XML Databases" (Wrox Press 
http://www.wrox.com/)
Chapter 8 of the book "Oracle & Open Source" (O'Reilly 
http://www.oreilly.com/catalog/oracleopen/)
---
Lab. de Sistemas - Fac. de Cs. Exactas - UNICEN
Paraje Arroyo Seco - Campus Universitario
(7000) Tandil - Bs. AS. - Argentina
Te: +54-2293-30 Fax: +54-2293-31





-
Please check that your question has not already been answered in the
FAQ before posting. 

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




Exception: No more DTM IDs are available

2001-10-26 Thread Jack Hirasawa

Hi,

I just installed Cocoon 2 on WebSphere 3.5.2 and when I try to access the 
http://localhost/cocoon/ page I get the following exception.  Has anyone run 
into this problem and can you help me out?  I think it's generated by Xalan.

Thanks,

Jack

java.lang.RuntimeException: No more DTM IDs are available
at 
org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.java:3170)
at 
org.apache.xalan.transformer.TransformerHandlerImpl.endDocument(TransformerHandlerImpl.java:433)
at org.xml.sax.helpers.XMLFilterImpl.endDocument(XMLFilterImpl.java:518)
at org.xml.sax.helpers.XMLFilterImpl.endDocument(XMLFilterImpl.java:518)
at org.apache.xerces.parsers.SAXParser.endDocument(SAXParser.java:1230)
at 
org.apache.xerces.validators.common.XMLValidator.callEndDocument(XMLValidator.java:1080)
at 
org.apache.xerces.framework.XMLDocumentScanner$EndOfInputDispatcher.dispatch(XMLDocumentScanner.java:1499)
at 
org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:381)
at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1081)
at org.xml.sax.helpers.XMLFilterImpl.parse(XMLFilterImpl.java:371)
at org.xml.sax.helpers.XMLFilterImpl.parse(XMLFilterImpl.java:371)
at 
org.apache.cocoon.components.language.markup.LogicsheetCodeGenerator.generateCode(LogicsheetCodeGenerator.java:130)
at 
org.apache.cocoon.components.language.markup.AbstractMarkupLanguage.generateCode(AbstractMarkupLanguage.java:291)
at 
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.generateResource(ProgramGeneratorImpl.java:313)
at 
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.createResource(ProgramGeneratorImpl.java:275)
at 
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(ProgramGeneratorImpl.java:192)
at org.apache.cocoon.sitemap.Handler.run(Handler.java:208)
at java.lang.Thread.run(Thread.java:481)



_
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp


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

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




RE: [C2] Err-Msg: No more DTM IDs are available ????

2001-10-23 Thread Eduardo Godoy Vega

Is there a "formal" solution?

-Original Message-
From: SANSONE, AARON M [Non-Pharmacia/1000]
[mailto:[EMAIL PROTECTED]]
Sent: Friday, October 05, 2001 1:56 PM
To: '[EMAIL PROTECTED]'
Subject: RE: [C2] Err-Msg: No more DTM IDs are available 


All,

I have been having the same problems as Eduardo, and at one point found that
hitting the main page first seemed to fix the problem.  Later after starting
to work through cTwIG tutorial, I was generating the error even on the main
page.  I found two things that I believe resolved this problem (#1 more so
than #2 but both in the cTwIG tutorial):

1) Configure C2 to run in unpackaged mode.  (Don't deploy C2 as a WAR file)
2) Near the bottom of the cocoon.xconf file is a configuration setting about
reloading the sitemap.xmap file.  The default mode is asynchronous which
reloads the file in the background if it is changed thus serving the request
with the existing sitemap.  Changing this to "synchron" will make the
request wait until the sitemap is recompiled.

The only problem seems to be that the demo database for the Employee
management demo is not working now, but did work when I deployed the WAR
file.

Hope this helps...

Aaron



-Original Message-
From: Eduardo Godoy Vega [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 05, 2001 10:06 AM
To: [EMAIL PROTECTED]
Subject: RE: [C2] Err-Msg: No more DTM IDs are available 


Hi,
Thanks to everyone who send an "alternative" solution ... I found
that if I
load the main cocoon page first (http://localhost:8080/cocoon/) and then my
appl. (http://loclahost:8080/coccon/myapp/) I don't get the error ... but If
I start with my appl. I get the error message ... BTW, the SQL demo start OK
the very first time, after that I get some error when try to load the
"backup file" ... (?) (this is not critical to me ... cocoon, keeps
working).


Eduardo.


-
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.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/faqs.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/faqs.html>

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




RE: [C2] Err-Msg: No more DTM IDs are available ????

2001-10-05 Thread SANSONE, AARON M [Non-Pharmacia/1000]

All,

I have been having the same problems as Eduardo, and at one point found that
hitting the main page first seemed to fix the problem.  Later after starting
to work through cTwIG tutorial, I was generating the error even on the main
page.  I found two things that I believe resolved this problem (#1 more so
than #2 but both in the cTwIG tutorial):

1) Configure C2 to run in unpackaged mode.  (Don't deploy C2 as a WAR file)
2) Near the bottom of the cocoon.xconf file is a configuration setting about
reloading the sitemap.xmap file.  The default mode is asynchronous which
reloads the file in the background if it is changed thus serving the request
with the existing sitemap.  Changing this to "synchron" will make the
request wait until the sitemap is recompiled.

The only problem seems to be that the demo database for the Employee
management demo is not working now, but did work when I deployed the WAR
file.

Hope this helps...

Aaron



-Original Message-
From: Eduardo Godoy Vega [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 05, 2001 10:06 AM
To: [EMAIL PROTECTED]
Subject: RE: [C2] Err-Msg: No more DTM IDs are available 


Hi,
Thanks to everyone who send an "alternative" solution ... I found
that if I
load the main cocoon page first (http://localhost:8080/cocoon/) and then my
appl. (http://loclahost:8080/coccon/myapp/) I don't get the error ... but If
I start with my appl. I get the error message ... BTW, the SQL demo start OK
the very first time, after that I get some error when try to load the
"backup file" ... (?) (this is not critical to me ... cocoon, keeps
working).


Eduardo.


-
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.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/faqs.html>

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




RE: [C2] Err-Msg: No more DTM IDs are available ????

2001-10-05 Thread Eduardo Godoy Vega

Hi,
Thanks to everyone who send an "alternative" solution ... I found that if I
load the main cocoon page first (http://localhost:8080/cocoon/) and then my
appl. (http://loclahost:8080/coccon/myapp/) I don't get the error ... but If
I start with my appl. I get the error message ... BTW, the SQL demo start OK
the very first time, after that I get some error when try to load the
"backup file" ... (?) (this is not critical to me ... cocoon, keeps
working).


Eduardo.


-
Please check that your question has not already been answered in the
FAQ before posting. 

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




RE: [C2] Err-Msg: No more DTM IDs are available ????

2001-10-04 Thread Stephan Michels



On Fri, 5 Oct 2001, Faulkner, Perry wrote:

> Hi Eduardo,
>
> I had this error when cocoon.war was out of step with the contents of
> {TOMCAT_HOME}\webapps\cocoon\. My solution was to stop tomcat, delete the
> {TOMCAT_HOME}\webapps\cocoon tree and restart tomcat so that it rebuilds the
> tree from the cocoon.war file! The DTM message comes from xalan and doesn't
> appear relevant to anything, just the whole thing has gone crazy!
>

I got a similar exception every time when I start cocoon. I uses suse 7.1
linux for ppc. The same installation runs on a i386 platform without
problems.

java.lang.RuntimeException: No more DTM IDs are available
at
org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.java:3170)
at
org.apache.xalan.transformer.TransformerHandlerImpl.endDocument(TransformerHandlerImpl.java:433)
at
org.xml.sax.helpers.XMLFilterImpl.endDocument(XMLFilterImpl.java:518)
at
org.xml.sax.helpers.XMLFilterImpl.endDocument(XMLFilterImpl.java:518)
at
org.apache.xerces.parsers.SAXParser.endDocument(SAXParser.java:1230)
at
org.apache.xerces.validators.common.XMLValidator.callEndDocument(XMLValidator.java:1080)
at
org.apache.xerces.framework.XMLDocumentScanner$EndOfInputDispatcher.dispatch(XMLDocumentScanner.java:1499)
at
org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:381)
at
org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1081)
at org.xml.sax.helpers.XMLFilterImpl.parse(XMLFilterImpl.java:371)
at org.xml.sax.helpers.XMLFilterImpl.parse(XMLFilterImpl.java:371)
[...]


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

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




RE: [C2] Err-Msg: No more DTM IDs are available ????

2001-10-04 Thread Darren Gibbons

Eduardo,

I can't help decipher this error message (I'm new to Cocoon), but I got it
yesterday and I did get a workaround.  I'm using Tomcat4+CocoonRC1a.

I was going through the excellent CTWIG tutorial, and had cut-and-pasted the
examples from his page into the build.xml and build.xsl files.  When I tried
to run them, I got the same "no more DTM ids" error message.  After much
frustration, I used the downloadable example files from his site, and it has
worked fine since.

I'm guessing there's some kind character in the file that corrupted the XML
file when I cut/pasted it, but I didn't bother to track down the specific
problem after I got it working.

I realize this isn't a great explanation, but I hope it helps.

Good luck,

Darren.

--
Darren Gibbons[EMAIL PROTECTED]
OpenRoad Communicationsnew phone: 604.694.0554
Internet Application Development new fax: 604.694.0558
Vancouver, B.C. http://www.openroad.ca
__
 Please note our new phone number: 604.694.0554

> -Original Message-
> From: Eduardo Godoy Vega [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, October 04, 2001 12:30 PM
> To: Cocoon-Users
> Subject: [C2] Err-Msg: No more DTM IDs are available 
>
>
> How to fix it ?? (I don't really understand this error msg).
>
> Eduardo.
>
>
> ERROR   (2001-10-04) 15:24.58:835   [cocoon  ] (/cocoon/unveil/)
> Thread-16/Handler: Error compiling sitemap
> java.lang.RuntimeException: No more DTM IDs are available
>   at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1094)
>   at org.xml.sax.helpers.XMLFilterImpl.parse(XMLFilterImpl.java:371)
>   at org.xml.sax.helpers.XMLFilterImpl.parse(XMLFilterImpl.java:371)
>   at
> org.apache.cocoon.components.language.markup.LogicsheetCodeGenerat
> or.generat
> eCode(LogicsheetCodeGenerator.java:130)
>   at
> org.apache.cocoon.components.language.markup.AbstractMarkupLanguag
> e.generate
> Code(AbstractMarkupLanguage.java:291)
>   at
> org.apache.cocoon.components.language.generator.ProgramGeneratorIm
> pl.generat
> eResource(ProgramGeneratorImpl.java:313)
>   at
> org.apache.cocoon.components.language.generator.ProgramGeneratorIm
> pl.createR
> esource(ProgramGeneratorImpl.java:275)
>   at
> org.apache.cocoon.components.language.generator.ProgramGeneratorIm
> pl.load(Pr
> ogramGeneratorImpl.java:192)
>   at org.apache.cocoon.sitemap.Handler.run(Handler.java:208)
>   at java.lang.Thread.run(Thread.java:484)
>
>
> -
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.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/faqs.html>

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




RE: [C2] Err-Msg: No more DTM IDs are available ????

2001-10-04 Thread Faulkner, Perry

Hi Eduardo,

I had this error when cocoon.war was out of step with the contents of
{TOMCAT_HOME}\webapps\cocoon\. My solution was to stop tomcat, delete the
{TOMCAT_HOME}\webapps\cocoon tree and restart tomcat so that it rebuilds the
tree from the cocoon.war file! The DTM message comes from xalan and doesn't
appear relevant to anything, just the whole thing has gone crazy!

HTH, Perry.

-Original Message-
From: Eduardo Godoy Vega [mailto:[EMAIL PROTECTED]]
Sent: Friday, 5 October 2001 5:30
To: Cocoon-Users
Subject: [C2] Err-Msg: No more DTM IDs are available 


How to fix it ?? (I don't really understand this error msg).

Eduardo.


ERROR   (2001-10-04) 15:24.58:835   [cocoon  ] (/cocoon/unveil/)
Thread-16/Handler: Error compiling sitemap
java.lang.RuntimeException: No more DTM IDs are available
at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1094)
at org.xml.sax.helpers.XMLFilterImpl.parse(XMLFilterImpl.java:371)
at org.xml.sax.helpers.XMLFilterImpl.parse(XMLFilterImpl.java:371)
at
org.apache.cocoon.components.language.markup.LogicsheetCodeGenerator.generat
eCode(LogicsheetCodeGenerator.java:130)
at
org.apache.cocoon.components.language.markup.AbstractMarkupLanguage.generate
Code(AbstractMarkupLanguage.java:291)
at
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.generat
eResource(ProgramGeneratorImpl.java:313)
at
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.createR
esource(ProgramGeneratorImpl.java:275)
at
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(Pr
ogramGeneratorImpl.java:192)
at org.apache.cocoon.sitemap.Handler.run(Handler.java:208)
at java.lang.Thread.run(Thread.java:484)


-
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.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/faqs.html>

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




[C2] Err-Msg: No more DTM IDs are available ????

2001-10-04 Thread Eduardo Godoy Vega

How to fix it ?? (I don't really understand this error msg).

Eduardo.


ERROR   (2001-10-04) 15:24.58:835   [cocoon  ] (/cocoon/unveil/)
Thread-16/Handler: Error compiling sitemap
java.lang.RuntimeException: No more DTM IDs are available
at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1094)
at org.xml.sax.helpers.XMLFilterImpl.parse(XMLFilterImpl.java:371)
at org.xml.sax.helpers.XMLFilterImpl.parse(XMLFilterImpl.java:371)
at
org.apache.cocoon.components.language.markup.LogicsheetCodeGenerator.generat
eCode(LogicsheetCodeGenerator.java:130)
at
org.apache.cocoon.components.language.markup.AbstractMarkupLanguage.generate
Code(AbstractMarkupLanguage.java:291)
at
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.generat
eResource(ProgramGeneratorImpl.java:313)
at
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.createR
esource(ProgramGeneratorImpl.java:275)
at
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(Pr
ogramGeneratorImpl.java:192)
at org.apache.cocoon.sitemap.Handler.run(Handler.java:208)
at java.lang.Thread.run(Thread.java:484)


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

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