Description of problem:
Guvnor offers a tool for generating Jackrabbit repository.xml tailored for a selected database. SearchIndex definition it this configuration file uses 'textFilterClasses' parameter that requires Apache POI library. That can be probably fixed by adding a single poi-3.7.jar to WEB-INF/lib directory or by changing or not using the 'textFilterClasses' parameter in the Jackrabbit configuration file served by Guvnor.
Version-Release number of selected component (if applicable):
BRMS 5.2.0 ER2
Steps to Reproduce:
1. open Guvnor and use Administration > Repository Configuration tool to generate a Jackrabbit repository.xml for any database you have available
2. shut down Guvnor and replace current repository.xml with the new one
3. try deploying Guvnor
Guvnor doesn't deploy due to Jackrabbit repository initialization failure caused by
> java.lang.ClassNotFoundException: org.apache.poi.hpsf.MarkUnsupportedException
Guvnor should provide repository configuration that is ready to go. The configuration should either not depend on missing libraries or the libraries should be available out of the box. Any manual steps should be documented.
*** Bug 802573 has been marked as a duplicate of this bug. ***
Without the full stacktrace (and a running Oracle database) it's hard to be sure, but it's probably due to
<param name="textFilterClasses" value="...,org.apache.jackrabbit.extractor.MsExcelTextExtractor,..."/>
That missing class is in poi-3.7.jar:
That poi-3.7.jar is in the guvnor war:
And it is also there in ER6 in jboss-brms.war/WEB-INF/lib
Can you verify:
- if the issue is still there in ER6
- if jboss-brms.war/WEB-INF/lib/poi-3.7.jar is there (it is in my ER6 copy)
And if it's still there, copy-paste the entire stacktrace.
Update status to ON_QA. Please verify them against ER6.
Verified fixed in 5.3.0 ER7. Deployment is successful. Apache POI is in guvnor's lib dir.
Technical note added. If any revisions are required, please edit the "Technical Notes" field
accordingly. All revisions will be proofread by the Engineering Content Services team.
A missing jar file prevented the BRMS user interface from successfully generating the repository.xml required to define databases. The jar file (poi-3.7.jar) has been added and repository.xml can be successfully generated.