Lars Huttar napisał(a): > Lars Huttar napisał(a): > I have the first but not the second: > > 09:42:46.355 EVENT Started SocketListener on 0.0.0.0:8888 > 09:42:46.355 WARN!! > org.mortbay.util.MultiException[org.xml.sax.SAXParseException: > Document root element "web-app", must match DOCTYPE root "null".] > at org.mortbay.http.HttpServer.start(HttpServer.java:640) > at org.mortbay.jetty.Server.main(Server.java:429) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > ... > at Loader.run(Unknown Source) > at Loader.main(Unknown Source) > 09:44:51.166 EVENT Started HttpContext[/] > > The WARN is nothing new, I think, so I've been ignoring it... maybe I > shouldn't be?? > Any idea what document is failing to parse? Is the document root > element really supposed to be <null>? Mark explained in detail that this is not supposed to be that way, now I will explain how to turn on debug logging in Jetty ;) So before running cocoon.bat servlet[-debug] you have to set JAVA_OPTIONS environment variable to '-DDEBUG' (double d is not typo!). So in cmd line do this: set JAVA_OPTIONS=-DDEBUG cocoon.bat servlet[-debug] and you will get _lots_ of debug messages, I think you will be satisfied with the amount ;-) > E.g. it seems non-trivial to learn how to specify where all the jar > files are, and all the source code, etc. Are there instructions > anywhere on how to do this? I guess I will have to bite the bullet and > learn Eclipse if I want to use Eclipse to debug Cocoon. When you figure out how to get Jetty happy with servlet-debug we'll be able to pass on this. I'll describe it in detail.
-- Grzegorz Kossakowski --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
