BIRT_VIEWER_WORKING_FOLDER root linux and windows [message #647174] |
Tue, 04 January 2011 20:46 |
James Mising name Messages: 26 Registered: November 2010 |
Junior Member |
|
|
Hello,
I have everything in my web.xml in order for our web app to run birt reports. it works great on a windows server, but am having a difficult time with getting it to run on linux, and I believe it has to do with the absolute root file path.
here is my configuration in web.xml
<context-param>
<param-name>BIRT_VIEWER_WORKING_FOLDER</param-name>
<param-value>c:/opt/folder/reports/</param-value>
</context-param>
i tried putting slashes "\" and "/" (dont know if that is the problem or not). files must be store in this folder. I am using birt 2.6.1
Thanks,
James
[Updated on: Tue, 04 January 2011 20:49] Report message to a moderator
|
|
|
Re: BIRT_VIEWER_WORKING_FOLDER root linux and windows [message #647184 is a reply to message #647174] |
Tue, 04 January 2011 21:07 |
|
James,
remove the c:
Jason
On 1/4/2011 3:46 PM, James wrote:
> Hello,
>
> I have everything in my web.xml in order for our web app to run birt
> reports. it works great on a windows server, but am having a difficult
> time with getting it to run on linux, and I believe it has to do with
> the root file path.
> here is my configuration in web.xml
>
> <context-param>
> <param-name>BIRT_VIEWER_WORKING_FOLDER</param-name>
> <param-value>c:/opt/folder/reports/</param-value>
> </context-param>
>
> i tried putting slashes "\" and "/" (dont know if that is the problem or
> not). files must be store in this folder. I am using birt 2.6.1
>
> Thanks,
>
> James
|
|
|
Re: BIRT_VIEWER_WORKING_FOLDER root linux and windows [message #647268 is a reply to message #647184] |
Wed, 05 January 2011 13:38 |
James Mising name Messages: 26 Registered: November 2010 |
Junior Member |
|
|
Jason,
I tried that and now get an error that looks like this (windows server):
The report file : C:\..\BIRT\.metadata\.plugins\org.eclipse.wst.server.core\tm p2\wtpwebapps\PROJECT\opt\tcrdms\reports/REPORT_test.rptdesi gn does not exist or contains errors. Its like if i take out the c: then it looks within the context of the project. Is there another configuration I need to set to make it look from the root dir? Thanks for your help.
James
[Updated on: Wed, 05 January 2011 13:38] Report message to a moderator
|
|
|
|
|
|
Re: BIRT_VIEWER_WORKING_FOLDER root linux and windows [message #648004 is a reply to message #647990] |
Mon, 10 January 2011 17:26 |
|
Can you use different web.xml files for each environment?
On 1/10/2011 12:18 PM, James wrote:
> Unfortunately, the report files that are being stored and used have to
> be outside of the application in a separate folder on the file system
> (c:/opt/tcrdms/reports/).BIRT_VIEWER_WORKING_FOLDER setting appears to
> work ok on windows server, but not on linux and appears to look for file
> within context of application where it does not exist. Just trying to
> figure out how or even if its possible to make the same setting so that
> it will work on linux if that makes any sense. Thanks so much for your
> help.
|
|
|
|
|
Re: BIRT_VIEWER_WORKING_FOLDER root linux and windows [message #716810 is a reply to message #716796] |
Thu, 18 August 2011 14:02 |
|
James,
I am not sure what the issue is. You can put a full path in the working
folder setting in the web.xml.
Jason
On 8/18/2011 9:41 AM, James wrote:
> Hello,
>
> I am running into the same situation where i need to define the absolute
> path to retrieve the design files from outside of the application. Was
> there a solution to this problem? The only other option I can think of
> is retrieving report files from the database, but not real sure how to
> approach that without doing some custom coding. Right now I have birt
> configured to run through web.xml without any custom coding.
>
> Thanks
|
|
|
Re: BIRT_VIEWER_WORKING_FOLDER root linux and windows [message #716905 is a reply to message #716810] |
Thu, 18 August 2011 18:16 |
Eclipse User |
|
|
|
Originally posted by: Donkey Hottie
Yes, and there (web.xml) is some Boolean value too, to allow ANY path.
Bu default it does not allow anything (for security).
18.8.2011 17:02, Jason Weathersby kirjoitti:
> James,
>
> I am not sure what the issue is. You can put a full path in the working
> folder setting in the web.xml.
>
> Jason
>
> On 8/18/2011 9:41 AM, James wrote:
>> Hello,
>>
>> I am running into the same situation where i need to define the absolute
>> path to retrieve the design files from outside of the application. Was
>> there a solution to this problem? The only other option I can think of
>> is retrieving report files from the database, but not real sure how to
>> approach that without doing some custom coding. Right now I have birt
>> configured to run through web.xml without any custom coding.
>>
>> Thanks
>
--
Few things are harder to put up with than the annoyance of a good example.
-- "Mark Twain, Pudd'nhead Wilson's Calendar"
|
|
|
Powered by
FUDForum. Page generated in 0.02894 seconds