|Title|initReferenceManager running long with JDBC page provider
|Date|01-May-2007 23:42:46 EEST
|Version|2.4.100
|Submitter|206.195.193.254
|[Bug criticality]|BadBug
|Browser version|IE
|[Bug status]|NotABug
|[PageProvider] used|JDBC
|Servlet Container|WebSphere 6.0
|Operating System|Windows
|URL|N/A
|Java version|1.4

When using the JDBC page provide I noticed that JSPWiki would take forever(10 plus minutes) to load. After some debugging I found the following lines of code in the WikiEngine class that seem to account for the response time I am seeing. Seems that this will only get worse as the number of pages in the wiki grows. Any ideas on how to init with wiki without loading all the pages/attributes?

//ReferenceManager has the side effect of loading all
//  pages.  Therefore after this point, all page attributes
//  are available.

initReferenceManager();

----

This is not really a bug.  The next time you start JSPWiki we use a locally cached version (assuming you have set jspwiki.workDir in your property file - if not, then that could explain a lot.)

Unfortunately many things require that we have some knowledge of the pages available in the system.  In 3.0 we hopefully have a more robust system for metadata management.

-- JanneJalkanen