April 27, 2024

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:

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 \bea\jrockit90_150_10\jre\lib\ext.
– 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.