(Article contents added) |
m (moved CKFinder 2.x/Developers Guide/Java/Debugging to CKFinder 2.x/Developers Guide/Java/Troubleshooting: Article expansion) |
(No difference)
|
Revision as of 08:34, 2 August 2011
CKFinder for Java contains a special debugging mode that makes it easier to troubleshoot the application. This mode can be turned on in the WEB-INF/web.xml
file, by setting a new <init-param>debug</init-param>
node to true
.
<servlet>
<servlet-name>ConnectorServlet</servlet-name>
<servlet-class>com.ckfinder.connector.ConnectorServlet</servlet-class>
<init-param>
<param-name>XMLConfig</param-name>
<param-value>/WEB-INF/config.xml</param-value>
</init-param>
<init-param>
<param-name>debug</param-name>
<param-value>true</param-value>
</init-param>
<load-on-startup>1</load-on-startup>
</servlet>
For more information on the web.xml
file refer to the Integration article.
With the debugging mode on, CKFinder returns detailed exception information when an error occurs.