Scripted Data Set ReferenceError [message #257420] |
Mon, 08 October 2007 00:26  |
Eclipse User |
|
|
|
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   |
Eclipse User |
|
|
|
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  |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.04136 seconds