Debug

From Plex-XML
Jump to: navigation, search
Debug.png
Check our Check list if your application won't act as expected.

While your application runs in debug mode it produces some XML and logfiles which are very helpfull if you are in doubt about the XML that is generated or about the performance of your application.
See our debug tutorial for a getting started.


Session Parameter and Cache

session-attrs.jsp

session-attrs.jsp

plexcache.jsp

Request/Response XML

Plex-Function execution

Plex-API Call

Performance

Plex-API Call

Itemized log of each servlet and plex function call action. In the example below a request is started by the servlet and on millisecond 779 the first plex function is executed. This log is a good source if you need to find performance problems. You should turn the log off in a production environment.

2007-09-11 18:56:27,776 INFO  [de.bodow.web.ControlServlet] START a Webrequest 
2007-09-11 18:56:27,776 DEBUG [de.bodow.web.ControlServlet] checking FileUpload
2007-09-11 18:56:27,776 DEBUG [de.bodow.web.ControlServlet] end checking FileUpload
2007-09-11 18:56:27,776 DEBUG [de.bodow.web.ControlServlet] --------- START REQUEST HEADERS -----------
2007-09-11 18:56:27,776 DEBUG [de.bodow.web.ControlServlet] host=127.0.0.1
2007-09-11 18:56:27,776 DEBUG [de.bodow.web.ControlServlet] user-agent=Mozilla/5.0 (Windows; U; Windows NT 6.0; de; rv:1.8.1.6) Gecko/20070725 Firefox/2.0.0.6
2007-09-11 18:56:27,776 DEBUG [de.bodow.web.ControlServlet] accept=text/javascript, text/html, application/xml, text/xml, */*
2007-09-11 18:56:27,776 DEBUG [de.bodow.web.ControlServlet] accept-language=en,de;q=0.7,en-us;q=0.3
2007-09-11 18:56:27,776 DEBUG [de.bodow.web.ControlServlet] accept-encoding=gzip,deflate
2007-09-11 18:56:27,776 DEBUG [de.bodow.web.ControlServlet] accept-charset=ISO-8859-1,utf-8;q=0.7,*;q=0.7
2007-09-11 18:56:27,776 DEBUG [de.bodow.web.ControlServlet] keep-alive=300
2007-09-11 18:56:27,776 DEBUG [de.bodow.web.ControlServlet] connection=keep-alive
2007-09-11 18:56:27,776 DEBUG [de.bodow.web.ControlServlet] x-requested-with=XMLHttpRequest
2007-09-11 18:56:27,776 DEBUG [de.bodow.web.ControlServlet] x-prototype-version=1.5.1
2007-09-11 18:56:27,776 DEBUG [de.bodow.web.ControlServlet] referer=http://127.0.0.1/tutorial/aServlet
2007-09-11 18:56:27,776 DEBUG [de.bodow.web.ControlServlet] cookie=rememberme=false; userid=test; JSESSIONID=E7E424CFEE5A1E258E7400B555D2FB73; __utma=96992031.1780481183.1143456676.1188983732.1188988530.505; __utmz=96992031.1178878319.391.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none)
2007-09-11 18:56:27,777 DEBUG [de.bodow.web.ControlServlet] --------- END REQUEST PARAMETERS -------------
2007-09-11 18:56:27,777 INFO  [de.bodow.web.ControlServlet]  Webrequest name is ValidateUserAjax
2007-09-11 18:56:27,777 DEBUG [de.bodow.web.ControlServlet] session.locale='en'
2007-09-11 18:56:27,779 INFO  [plexperformance] UserIdentifier.XML_Intern.ExtraS- START
2007-09-11 18:56:27,779 INFO  [plexperformance] Session.BusinessExtraFunctions.ValidateSession- START
2007-09-11 18:56:27,779 INFO  [plexperformance] Session.BusinessExtraFunctions.GetSessionData- START
2007-09-11 18:56:27,780 INFO  [plexperformance] Session.BusinessExtraFunctions.GetSessionData- END
2007-09-11 18:56:27,780 INFO  [plexperformance] SystemParameter.BusinessExtraFunctions.GetSystemParameterClient- START
2007-09-11 18:56:27,780 INFO  [plexperformance] SystemParameter.BusinessExtraFunctions.GetSystemParameterClient- END
2007-09-11 18:56:27,781 INFO  [plexperformance] Session.BusinessExtraFunctions.SetSessionData- START
2007-09-11 18:56:27,785 INFO  [plexperformance] SystemParameter.BusinessExtraFunctions.GetSystemParameterClient- START
2007-09-11 18:56:27,800 INFO  [plexperformance] SystemParameter.BusinessExtraFunctions.GetSystemParameterClient- END
2007-09-11 18:56:27,800 INFO  [plexperformance] Session.BusinessExtraFunctions.SetSessionData- END
2007-09-11 18:56:27,801 INFO  [plexperformance] Session.BusinessExtraFunctions.ValidateSession- END
2007-09-11 18:56:27,801 INFO  [plexperformance] Session.BusinessExtraFunctions.RemoveSessionCache- START
2007-09-11 18:56:27,801 INFO  [plexperformance] Session.BusinessExtraFunctions.RemoveSessionCache- END
2007-09-11 18:56:27,801 INFO  [plexperformance] Function.BusinessExtraFunctions.CheckAndCreateRegistrationCache- START
2007-09-11 18:56:27,805 INFO  [plexperformance] Function.BusinessExtraFunctions.CheckAndCreateRegistrationCache- END
2007-09-11 18:56:27,806 INFO  [plexperformance] Function_Format.BusinessExtraFunctions.CheckFunctionFormat- START
2007-09-11 18:56:27,815 INFO  [plexperformance] Function_Format.BusinessExtraFunctions.CheckFunctionFormat- END
2007-09-11 18:56:27,818 INFO  [plexperformance] Format_FieldDetail.BusinessExtraFunctions.GetFunctionDetails- START
...

Log4j.xml

HTML and JScript

Mozilla Firebug Plugin

Tomcat Logs

sysprops.jsp

listLogFiles.jsp

stdout_xxxx.log

stderr_xxxx.log

Personal tools