Hi,<br />
<br />
First, my setup:<br />
<br />
BiRT Runtime: 3.7.2.<br />
OS: Ubuntu 10.04<br />
Tomcat 6<br />
Sun Java 1.6.0<br />
<br />
I have a jar file I want to deploy onto a Tomcat server so it is usable by the rntime, so after reading <a class='bbc_url' href='
http://wiki.eclipse.org/BIRT/FAQ/Scripting#Q:_Where_do_I_have_to_put_my_classes_in_order_to_access_them_by_JavaScript.3F'>this</a> I placed the jar file in <strong class='bbc'>/var/lib/tomcat6/webapps/birt/WEB-INF/lib</strong>.<br />
<br />
But the jar file is not accessible by the report that is trying to call it. In the BiRT logs I see:<br />
<pre class='_prettyXprint _lang-auto _linenums:0'>Error evaluating Javascript expression. Script engine error: ReferenceError: "DynDSinfo" is not defined. (/report/data-sources/oda-data-source[
@id="54"]/method[
@name="beforeOpen"]#20)
Script source: /report/data-sources/oda-data-source[
@id="54"]/method[
@name="beforeOpen"], line: 0, text:
__bm_beforeOpen()
org.eclipse.birt.data.engine.core.DataException: Fail to execute script in function __bm_beforeOpen(). Source:</pre>
<br />
And now for the kicker... this works fine on Tomcat6 on Windows 7. So is there some additional configuration or some environmental variable that needs to be set, or something different on the Linux platform?<br />
<br />
I have struggled with this for hours as it should just work.. but no. <br />
<br />
All help or ideas gratefully received,<br />
<br />
Stephen