cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Søren Neigaard <neiga...@mobilethink.dk>
Subject Cocoon2 and other servlet engines take two
Date Thu, 11 Oct 2001 17:49:38 GMT
Hi again

Ok I figured some of it out... When I hit /cocoon, I dont seem to hit a
servlet (am I right), not directly anyway. But what do I hit? I almost got
it running on Enhydra, now I just have some path problems. Maybe you guys
could explain me how it alle come together, what do I hit when I do a
/cocoon (the samples), and could I make something new, so I could go
/rocketlaunch ?

Hereunder is my original mail, so you can see where I am in understanding
the Cocoon2 framework.

I know this isn't the right list, but I have been trying for ages in
cocoon-users, to no avail. I guess my question is of souch a nature, that
only you guys with the fingers dirty from the Cocoon2 [C2] insides can
answer it. Please let me know if you wont answer, and I will never bother
you again.

I'm having quite some trouble understanding how C2 interacts with my servlet
engine.

I have a running verion on Tomcat4.0, and here I can call
"SERVLET_PATH/cocoon" all though there's no mapping from "cocoon" to a
servlet in web.xml. How can this work?

If I try the same on my Enhydra setup, I get a "Class not
found cocoon". I found a "Cocoon2" mapping in web.xml, and tryed that, and
it gave me an exception (see [Cocoon2 Exception] later in this mail, if I
try this more than once, I get a Out of Memory exception). How does it all
work together? As I see it, I need some binding to some sort of controller
servlet that reads the sitemap, and parses the request, or?

Besides all that, I also get some errors (see [Startup Exception] later in
this mail) when starting C2 on Enhydra, and I can't understand what C2 tries
to tell me.

If you gurus need more info, please let me know.



[Cocoon2 Exception]

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(TransformerH
andlerImpl.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(XMLValidato
r.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.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(Unknown Source)



[Startup Exception]

Cocoon2: init
DEBUG   (2001-10-10) 14:27.26:269   [        ] (Unknown-URI)
Unknown-thread/DefaultLogTargetFactoryManager: added new LogTargetFactory of
type priority-filter
DEBUG   (2001-10-10) 14:27.26:269   [        ] (Unknown-URI)
Unknown-thread/DefaultLogTargetFactoryManager: added new LogTargetFactory of
type servlet
DEBUG   (2001-10-10) 14:27.26:279   [        ] (Unknown-URI)
Unknown-thread/DefaultLogTargetFactoryManager: added new LogTargetFactory of
type cocoon
DEBUG   (2001-10-10) 14:27.26:299   [        ] (Unknown-URI)
Unknown-thread/DefaultLogTargetManager: added new LogTarget of id cocoon
DEBUG   (2001-10-10) 14:27.26:299   [        ] (Unknown-URI)
Unknown-thread/DefaultLogTargetManager: added new LogTarget of id root
DEBUG   (2001-10-10) 14:27.26:299   [        ] (Unknown-URI)
Unknown-thread/DefaultLogTargetManager: added new LogTarget of id components
DEBUG   (2001-10-10) 14:27.26:299   [        ] (Unknown-URI)
Unknown-thread/PriorityFilterTargetFactory: loglevel is ERROR
DEBUG   (2001-10-10) 14:27.26:299   [        ] (Unknown-URI)
Unknown-thread/PriorityFilterTargetFactory: creating target servlet:
org.apache.avalon.framework.configuration.DefaultConfiguration@4da8f4
DEBUG   (2001-10-10) 14:27.26:339   [        ] (Unknown-URI)
Unknown-thread/DefaultLogTargetManager: added new LogTarget of id filter
DEBUG   (2001-10-10) 14:27.26:409   [        ] (Unknown-URI)
Unknown-thread/DefaultLogKitManager: added logger for category cocoon
DEBUG   (2001-10-10) 14:27.26:489   [        ] (Unknown-URI)
Unknown-thread/DefaultLogKitManager: added logger for category root
DEBUG   (2001-10-10) 14:27.26:569   [        ] (Unknown-URI)
Unknown-thread/DefaultLogKitManager: added logger for category root.store
DEBUG   (2001-10-10) 14:27.26:649   [        ] (Unknown-URI)
Unknown-thread/DefaultLogKitManager: added logger for category root.xslt
DEBUG   (2001-10-10) 14:27.26:729   [        ] (Unknown-URI)
Unknown-thread/DefaultLogKitManager: Logger for category root returned
DEBUG   (2001-10-10) 14:27.26:910   [        ] (Unknown-URI)
Unknown-thread/DefaultLogKitManager: Logger for category cocoon returned
DEBUG   (2001-10-10) 14:27.27:240   [        ] (Unknown-URI)
Unknown-thread/DefaultLogKitManager: Logger for category root.store returned
DEBUG   (2001-10-10) 14:27.27:320   [        ] (Unknown-URI)
Unknown-thread/DefaultLogKitManager: Logger for category root.store returned
DEBUG   (2001-10-10) 14:27.27:420   [        ] (Unknown-URI)
Unknown-thread/DefaultLogKitManager: Logger for category root.store returned
DEBUG   (2001-10-10) 14:27.27:531   [        ] (Unknown-URI)
Unknown-thread/DefaultLogKitManager: Logger for category root.store returned


Med venlig hilsen/Best regards
Søren Neigaard
-------------------------------
Mobilethink A/S
Arosgaarden
Åboulevarden 23, 5.sal
DK - 8000 Århus C
Telefon: +45 86207800
Direct: +45 86207810
Fax: +45 86207801


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




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


Mime
View raw message