Skip to main content



      Home
Home » Archived » BIRT » Scripted Data Set ReferenceError
Scripted Data Set ReferenceError [message #257420] Mon, 08 October 2007 00:26 Go to next message
Eclipse UserFriend
Hi,

I'm getting the following error message:

WARNING: A BIRT exception occurred: Error evaluating Javascript
expression. Script engine error: ReferenceError: "ReportController" is
not defined. (DataSet[set_KRIBU].__bm_beforeOpen#15)

Where do I need to put the containing jar file to have it available to
the script (I'm running BIRT 2.2.0)?

I am running BIRT on a Tomcat webserver, and the BIRT_HOME location is
"Tomcat 5.5.23/webapps/reporting/WEB-INF/platform".

I've tried putting the jar file in these locations, but none of them
have worked:

/platform/lib
/platform/scriptlib
/platform/plugins
/WEB-INF/lib
/WEB-INF/scriptlib


Thanks in advance for your help.

-Ian Tyrrell
Re: Scripted Data Set ReferenceError [message #257517 is a reply to message #257420] Mon, 08 October 2007 11:43 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jasonweathersby.alltel.net

Ian,

either of the WEB-INF directories should have worked using the report
viewer. Are you writing your own servlet or using the viewer. If you
are using the Viewer you should not have to set BIRT_HOME.

Jason


Ian Tyrrell wrote:
> Hi,
>
> I'm getting the following error message:
>
> WARNING: A BIRT exception occurred: Error evaluating Javascript
> expression. Script engine error: ReferenceError: "ReportController" is
> not defined. (DataSet[set_KRIBU].__bm_beforeOpen#15)
>
> Where do I need to put the containing jar file to have it available to
> the script (I'm running BIRT 2.2.0)?
>
> I am running BIRT on a Tomcat webserver, and the BIRT_HOME location is
> "Tomcat 5.5.23/webapps/reporting/WEB-INF/platform".
>
> I've tried putting the jar file in these locations, but none of them
> have worked:
>
> /platform/lib
> /platform/scriptlib
> /platform/plugins
> /WEB-INF/lib
> /WEB-INF/scriptlib
>
>
> Thanks in advance for your help.
>
> -Ian Tyrrell
Re: Scripted Data Set ReferenceError [message #257592 is a reply to message #257517] Mon, 08 October 2007 18:19 Go to previous messageGo to next message
Eclipse UserFriend
Hi Jason,

It's our own servlet (I think, I'm not real sure - as far as I can tell,
it's just BIRT stuff in there) - I am trying to use it to render the
reports to a file at the moment, using it for viewing online works fine.

I have had to set the BIRT_HOME as an environment setting.

What would I need to do to get it working in my own servlet?

Thanks,

Ian

Jason Weathersby wrote:
> Ian,
>
> either of the WEB-INF directories should have worked using the report
> viewer. Are you writing your own servlet or using the viewer. If you
> are using the Viewer you should not have to set BIRT_HOME.
>
> Jason
>
>
> Ian Tyrrell wrote:
>> Hi,
>>
>> I'm getting the following error message:
>>
>> WARNING: A BIRT exception occurred: Error evaluating Javascript
>> expression. Script engine error: ReferenceError: "ReportController" is
>> not defined. (DataSet[set_KRIBU].__bm_beforeOpen#15)
>>
>> Where do I need to put the containing jar file to have it available to
>> the script (I'm running BIRT 2.2.0)?
>>
>> I am running BIRT on a Tomcat webserver, and the BIRT_HOME location is
>> "Tomcat 5.5.23/webapps/reporting/WEB-INF/platform".
>>
>> I've tried putting the jar file in these locations, but none of them
>> have worked:
>>
>> /platform/lib
>> /platform/scriptlib
>> /platform/plugins
>> /WEB-INF/lib
>> /WEB-INF/scriptlib
>>
>>
>> Thanks in advance for your help.
>>
>> -Ian Tyrrell
Re: Scripted Data Set ReferenceError [message #257596 is a reply to message #257592] Mon, 08 October 2007 20:18 Go to previous message
Eclipse UserFriend
OK,
for the minute I seem to have it working (I set the appContext's
classloader to the classloader used by the java file I want), and that
seems to be working now.

Thanks.

-Ian Tyrrell


Ian Tyrrell wrote:
> Hi Jason,
>
> It's our own servlet (I think, I'm not real sure - as far as I can tell,
> it's just BIRT stuff in there) - I am trying to use it to render the
> reports to a file at the moment, using it for viewing online works fine.
>
> I have had to set the BIRT_HOME as an environment setting.
>
> What would I need to do to get it working in my own servlet?
>
> Thanks,
>
> Ian
>
> Jason Weathersby wrote:
>> Ian,
>>
>> either of the WEB-INF directories should have worked using the report
>> viewer. Are you writing your own servlet or using the viewer. If you
>> are using the Viewer you should not have to set BIRT_HOME.
>>
>> Jason
>>
>>
>> Ian Tyrrell wrote:
>>> Hi,
>>>
>>> I'm getting the following error message:
>>>
>>> WARNING: A BIRT exception occurred: Error evaluating Javascript
>>> expression. Script engine error: ReferenceError: "ReportController"
>>> is not defined. (DataSet[set_KRIBU].__bm_beforeOpen#15)
>>>
>>> Where do I need to put the containing jar file to have it available
>>> to the script (I'm running BIRT 2.2.0)?
>>>
>>> I am running BIRT on a Tomcat webserver, and the BIRT_HOME location
>>> is "Tomcat 5.5.23/webapps/reporting/WEB-INF/platform".
>>>
>>> I've tried putting the jar file in these locations, but none of them
>>> have worked:
>>>
>>> /platform/lib
>>> /platform/scriptlib
>>> /platform/plugins
>>> /WEB-INF/lib
>>> /WEB-INF/scriptlib
>>>
>>>
>>> Thanks in advance for your help.
>>>
>>> -Ian Tyrrell
Previous Topic:change color of a single bar in a chart series
Next Topic:BIRT 2.2.1- Functionality removed from COUNTDISTINCT/COUNT?
Goto Forum:
  


Current Time: Sun Jul 27 16:11:23 EDT 2025

Powered by FUDForum. Page generated in 0.09932 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top