Problem deploying script data source report [message #874135] |
Sat, 19 May 2012 23:10  |
Eclipse User |
|
|
|
I've been working on this for a while without success.
I can create a report and deploy it to the web viewer when it has a DB data source (Postgresql).
I can create a report and preview it in the report design eclipse view - this report has a script based data source/set.
When I go to deploy the script based report to the web viewer I get the following error :
Error evaluating Javascript expression. Script engine error: Function importClass must be called with a class; had "[JavaPackage org.parmenion.edison.datasource.VolatilityDataSource]" instead. (/report/data-sets/script-data-set[@id="31"]/method[@name="open"]#1)
I call importClass initially because importPackage broke the preview in eclipse. If I edit the deployed XXX.rptdesign file to call importPackage it can't find the VolatilityDataSource, though I've exported my jar file to the WEB-INF/lib.
Thanks in advance
|
|
|
|
|
|
|
|
Re: Problem deploying script data source report [message #876551 is a reply to message #876471] |
Thu, 24 May 2012 16:25  |
Eclipse User |
|
|
|
If you are using importPackage, when you deploy the viewer you get an
error? Can you check the viewer log and see if anything shows up? Does
your jar depend on other jars that are not available?
Jason
On 5/24/2012 1:14 PM, Robert Waltz wrote:
> I do appreciate your attention, Jason. The code in the designer works
> (I've referenced the source, previously, as a project, that worked, I
> changed to basing it on the jar in hopes of mimic-ing the deployment
> environment better)
>
> I understand moving the report to the web viewer and moving the jar to
> the WEB-INF/lib directory should work. But as I posted, it doesn't, and
> I'm plumb out of ideas on what to test or check to make it work.
|
|
|
Powered by
FUDForum. Page generated in 0.05498 seconds