Search | Archive | Categories |
I ran into a problem with Birt 2.5.0 running inside Weblogic 9.2. I could run the report inside Eclipse. But, when I tried to integrate the Report Viewer inside my webapp and run the report, I would get the following error:
I finally found a solution here. The bug is reported here.
The problem is that the weblogic.jar conflicts with js.jar from Birt. Weblogic uses an older version of javascript.
So, some possible solutions:
- Drop the js.jar into beajrockit90_150_10jrelibext.
- Explicitly set the classpath in the weblogic startup to find js.jar first.
- Set prefer-web-inf-classes to true.
- Deploy as an ear file.
java.lang.NoSuchMethodError: initStandardObjects
at org.eclipse.birt.report.engine.api.impl.ReportEngine.setupScriptScope
I finally found a solution here. The bug is reported here.
The problem is that the weblogic.jar conflicts with js.jar from Birt. Weblogic uses an older version of javascript.
So, some possible solutions:
- Drop the js.jar into beajrockit90_150_10jrelibext.
- Explicitly set the classpath in the weblogic startup to find js.jar first.
- Set prefer-web-inf-classes to true.
- Deploy as an ear file.
Posted: 2009-11-09 10:12:48 |
Tweet |
<< Open Source Web App Security Testing Tools | Jobless rate tops 10 pct. for first time since \'83 >> |