| Summary: | Birt web viewer 3.7.1 on JBoss 6.1.0 (jdk1.6.0_21) throws exception: org.apache.commons.discovery.DiscoveryException: Class org.apache.commons.logging.impl.SLF4JLogFactory does not implement org.apache.commons.logging.LogFactory | ||||||
|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Uffe <ufferoenne> | ||||
| Component: | BIRT | Assignee: | Birt-ReportViewer <Birt-ReportViewer-inbox> | ||||
| Status: | REOPENED --- | QA Contact: | weiming tang <weiming.tang> | ||||
| Severity: | critical | ||||||
| Priority: | P3 | CC: | bluesoldier, jsexton0, nsydney, weiming.tang | ||||
| Version: | 3.7.1 | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | PC | ||||||
| OS: | Windows XP | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
(In reply to comment #0) > Created attachment 204436 [details] > Stack trace > > I've installed the 3.7.1 webviewer on JBoss 6.1.0. However when I access the > application it throws the following exception: > > org.apache.commons.discovery.DiscoveryException: Class > org.apache.commons.logging.impl.SLF4JLogFactory does not implement > org.apache.commons.logging.LogFactory > > I'm in a windows XP environment, 32 bit. > > I have done the following: > > - Installed jdk1.6.0_21 > - Installed JBoss 6.1.0 > - Copied the WebViewerExample folder from the 3.7.1 birt runtime to > server/default/deploy and renamed the fodler to birt.war. > > When I enter the application it fails with the above example. > > I have tried to copy a log4j.jar to WEB-INF/lib and server/default/lib, no luck > > I have managed to solve the problem by removing the following file: > > C:\jboss-6.1.0.Final\common\lib\jcl-over-slf4j.jar > > However I'm not sure if this is the correct thing to do. This is because your environment config, not the problem of birt webviewer. Please see http://www.birt-exchange.org/org/wiki/index.php?title=BIRT:Deployment I am experiencing the same problems. Environment: Jboss 6.1 Final BIRT 3.7.1 I followed the instruction: Q: How do I install BIRT in JBoss? Take the viewer deployment from the BIRT designer (as described for Tomcat), and copy it to your JBoss deploy directory as viewer.war. However, BIRT uses an older version of the Rhino scripting engine, and this causes a conflict with the version installed with JBoss. To work around this temporarily, put BIRT's js.jar in JBoss's server/default/lib. AND Also followed the instruction here http://www.eclipse.org/birt/phoenix/build/#j2ee ( Deploying to Java EE Server Please see Setting up the BIRT Viewer ) http://www.eclipse.org/birt/phoenix/deploy/viewerSetup.php#jboss If you are deploying the BIRT Viewer version 3.7 or later to JBoss use the directions supplied on the following link: BIRT POJO Viewer JBoss Deployment http://wiki.eclipse.org/BirtPOJO_Viewer_JBOSS_Deployment BIRT POJO Viewer JBOSS Deployment Install and Deploy Steps 1. Download the BIRT Runtime and extract the contents. 2. Remove org.apache.xerces from the birt-runtime-version\WebViewerExample\WEB-INF\lib folder. 3. Copy the WebViewerExample directory to jboss-version\server\default\deploy directory. 4. Rename WebViewerExample to birt.war. 5. Start JBOSS Server Could you please eloborate on why you thought this was a configuration issue? cheers, Naveen Sydney Dear Xiaoying Gu Please don't close this bug since it is not resolved. We have followed all the guide lines....no luck. Br, Uffe Any status updates on this bug? This problem still occurs on BIRT viewer 4.3 with a fresh install of jBoss 1.6 final. Deleting jBoss's jcl-over-slf4j.jar seems to allow the viewer to work. Is there a better fix? |
Created attachment 204436 [details] Stack trace I've installed the 3.7.1 webviewer on JBoss 6.1.0. However when I access the application it throws the following exception: org.apache.commons.discovery.DiscoveryException: Class org.apache.commons.logging.impl.SLF4JLogFactory does not implement org.apache.commons.logging.LogFactory I'm in a windows XP environment, 32 bit. I have done the following: - Installed jdk1.6.0_21 - Installed JBoss 6.1.0 - Copied the WebViewerExample folder from the 3.7.1 birt runtime to server/default/deploy and renamed the fodler to birt.war. When I enter the application it fails with the above example. I have tried to copy a log4j.jar to WEB-INF/lib and server/default/lib, no luck I have managed to solve the problem by removing the following file: C:\jboss-6.1.0.Final\common\lib\jcl-over-slf4j.jar However I'm not sure if this is the correct thing to do.