External Interfaces > Reality Java Interface > Writing Servlets to Access Reality via RealWeb > Debugging

Comment on this topic

Documentation Comments

Use this form to comment on this topic. You can also provide any general observations about the Online Documentation, or request that additional information be added in a future release.

Reality V15.0 ()

Debugging (JReal) (debugging.htm)

To

Reality

Version

Topic

Submitted by

Company

Location

Email address

Comment

 

 

Debugging

To aid application level debugging, you can include the Debug keyword in the URL. For example:

http://webserver/servlet/rwdemo/Debug/dbase/RW.SAMPLE

This will cause the request's parameters and cookies to be displayed at the top of the HTML page.

RealWeb supports logging of all incoming connections to System.err.  The logging will appear in a log file generated by the web server or plug-in. To enable connection logging, copy the supplied reality.properties file to a directory in the web server or plug-ins class path. Then edit the realweb.debug property to remove the leading comment to enable it.  Changes to the reality.propertiesfile are only noticed when the RealWeb class is created.  You should restart the web server or plug-in for any changes to take effect.

The other way of diagnosing faults is to look for Java exceptions in the web server's log file.

RealityV15.0Comment on this topic