DevPortal

How do I Start the Server in Debug Mode?


HTTP headers can be viewed when CGI is executing in debug mode. To start CGI in debug mode, set the system variable cgiDebug to true while starting the server. To do so, add the following property to <install_dir>/server/bin/runserver.bat file: -DcgiDebug=true

For example:

java -server
-DcgiDebug=true
-Dinstall.root=$install_root
-Djava.security.policy=$install_root/lib/pramati/pramati.java.policy
-Djava.security.auth.policy=$install_root/lib/pramati/pramati.jaas.policy
-Dorg.xml.sax.parser=org.xml.sax.helpers.XMLReaderAdapter
-Dorg.xml.sax.driver=org.apache.crimson.parser.XMLReaderImpl com.pramati.Server

This starts Server with CGI in debug mode. Using the -shell option opens a Shell prompt for execution of other Server-related tasks.

How do I Start Server?

Restart the Server after modifying the server-config.xml for the CGI plug-in.


Related Topics:

© Pramati Technologies 2007 Runs on Pramati Server | Feedback | Legal