Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » Absolute paths for URL access in 2.3.2
Absolute paths for URL access in 2.3.2 [message #367308] Wed, 04 March 2009 14:55 Go to next message
Pinny Markowitz is currently offline Pinny MarkowitzFriend
Messages: 28
Registered: July 2009
Junior Member
I have been using absolute paths as a URL parameter (in Windows as
'__report=C:/foo/bar.rptdesign') to reference the rptdesign files, and
it has worked fine through v2.3.1. When testing in v2.3.2 however, I am
getting an error: 'There is no report design object available.' Using a
relative path on the same report fixed the error, but I really would
like to use an absolute path as the in the past. Anyone else
experiencing this, or know a way around this problem?
Re: Absolute paths for URL access in 2.3.2 [message #367328 is a reply to message #367308] Wed, 04 March 2009 20:48 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jasonweathersby.alltel.net

Pinny,

It appears that the web.xml has been changed. Look in the WEB-INF
directory and find the web.xml.
Change the following setting

<!-- If only access the reprot resources under working folder. Default
is true -->
<context-param>
<param-name>WORKING_FOLDER_ACCESS_ONLY</param-name>
<param-value>true</param-value>
</context-param>

to

<!-- If only access the reprot resources under working folder. Default
is true -->
<context-param>
<param-name>WORKING_FOLDER_ACCESS_ONLY</param-name>
<param-value>false</param-value>
</context-param>

Jason

Pinny Markowitz wrote:
> I have been using absolute paths as a URL parameter (in Windows as
> '__report=C:/foo/bar.rptdesign') to reference the rptdesign files, and
> it has worked fine through v2.3.1. When testing in v2.3.2 however, I am
> getting an error: 'There is no report design object available.' Using a
> relative path on the same report fixed the error, but I really would
> like to use an absolute path as the in the past. Anyone else
> experiencing this, or know a way around this problem?
Re: Absolute paths for URL access in 2.3.2 [message #367339 is a reply to message #367328] Thu, 05 March 2009 15:51 Go to previous message
Pinny Markowitz is currently offline Pinny MarkowitzFriend
Messages: 28
Registered: July 2009
Junior Member
Made the change - working perfectly!

Thanks,
Pinny

Jason Weathersby wrote:
> Pinny,
>
> It appears that the web.xml has been changed. Look in the WEB-INF
> directory and find the web.xml.
> Change the following setting
>
> <!-- If only access the reprot resources under working folder.
> Default is true -->
> <context-param>
> <param-name>WORKING_FOLDER_ACCESS_ONLY</param-name>
> <param-value>true</param-value>
> </context-param>
>
> to
>
> <!-- If only access the reprot resources under working folder.
> Default is true -->
> <context-param>
> <param-name>WORKING_FOLDER_ACCESS_ONLY</param-name>
> <param-value>false</param-value>
> </context-param>
>
> Jason
>
> Pinny Markowitz wrote:
>> I have been using absolute paths as a URL parameter (in Windows as
>> '__report=C:/foo/bar.rptdesign') to reference the rptdesign files, and
>> it has worked fine through v2.3.1. When testing in v2.3.2 however, I
>> am getting an error: 'There is no report design object available.'
>> Using a relative path on the same report fixed the error, but I really
>> would like to use an absolute path as the in the past. Anyone else
>> experiencing this, or know a way around this problem?
Previous Topic:Weird rendering of stacked bar chart
Next Topic:Add Birt Footer
Goto Forum:
  


Current Time: Tue Apr 16 10:13:03 GMT 2024

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

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

Back to the top