Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

First, my setup:

  • BiRT Runtime: 3.7.2.
  • Ubuntu 10.04
  • Tomcat 6
  • Sun Java 1.6.0

I have a jar file I want to deploy onto the Tomcat server so it is usable by the runtime, so I placed the jar file in /var/lib/tomcat6/webapps/birt/WEB-INF/lib. As I understand it this is the default location for JAR files that are going to be used by a BiRT report.

But the jar file is not accessible by the report that is trying to call it. In the BiRT logs I see:

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() Fail to execute script in function __bm_beforeOpen(). Source:

"DynDSinfo" is the class I am trying to reference.. and now for the kicker... this works fine on Tomcat6 on Windows 7. The same files in the same places.

So is there some additional configuration or some environmental variable that needs to be set, or something different on the Linux (Ubuntu) platform?

All help or ideas gratefully received,


share|improve this question

It looks like your error is from a JavaScript function. Are you sure this is in a jar file? Usually jar file contain compiled java code - class files - only. A war file often has js files in the web folder. If you are deploying from a war, check that the web folder has the js you need.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.