Jetty has moved!
Jetty is a project at the Eclipse Foundation.
Homepage:http://www.eclipse.org/jetty
Downloads: http://download.eclipse.org/jetty/
Documentation:http://www.eclipse.org/jetty/documentation/current/
About:http://www.eclipse.org/jetty/about.php
Jetty Powered:http://www.eclipse.org/jetty/powered/
Contact the core Jetty developers at www.webtide.com
private support for your internal/customer projects ... custom extensions and distributions ... versioned snapshots for indefinite support ... scalability guidance for your apps and Ajax/Comet projects ... development services from 1 day to full product delivery
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Enabling debugging in the command line...

This is the syntax of the command:

java -DDEBUG -DDEBUG_PATTERNS=main,org.mortbay.http -DDEBUG_VERBOSE=1 -jar start.jar

you can just add the jetty.xml and the xml configuration file of your webapp(ex. sample.xml) if you have created it separately
you will notice that there is a package to be specified in the command.
this will simply enable TRACE and DEBUG messages for the main thread and from classes in the package that you specified.

thus the full syntax of the command would be like this:

java -DDEBUG -DDEBUG_PATTERNS=main,org.mortbay.jetty -DDEBUG_VERBOSE=1 -jar start.jar etc/jetty.xml etc/sample.xml
 
and the package indicated is that of org.mortbay.jetty

  • No labels
Contact the core Jetty developers at www.webtide.com
private support for your internal/customer projects ... custom extensions and distributions ... versioned snapshots for indefinite support ... scalability guidance for your apps and Ajax/Comet projects ... development services from 1 day to full product delivery