caching problem [message #249290] |
Fri, 20 July 2007 23:56  |
Eclipse User |
|
|
|
I found that while i try to run the birt report from my local pc(windows
xp) to server (linux), there will caused http status 404 error. i think
it's coz by the caching references in linux server which cannot be
recognize by windows. So anyway to remove the caching folder(eg.
birt.war/documents)? thanks
|
|
|
|
|
|
|
|
Re: rptdocument caching problem in linux [message #249862 is a reply to message #249746] |
Wed, 25 July 2007 20:45   |
Eclipse User |
|
|
|
Jason,
the situation is like this, I'm working with birt 2.1.1 to design the
report and deploy a birt.war file in jboss server (not my local computer,
and the os of the server is linux). I have hard-coded my report to run
with the prefix "http://172.16.0.50:8080/birt/run?__report=report\\" and i
have a report perspective in my rcp project.
1) when i run frameset with the url as below thru Internet explorer, the
report shown in pretty condition.
http://172.16.0.50:8080/birt/frameset?__report=report\Invent oryListingReport.rptdesign&camp=%20a%20bc%20Sdn%20Bhd%20 %20-%20LKB&titles=Invoice%20Date%20:%202007-07-25,2007-0 7-25,Category%20:%20ACC,WE&stmt=%20FROM%20sp_inventory%2 0WHERE%20sp_inventory.UPDATE_ON%20> =%20%222007-07-25%2000:00:00%22%20and%20sp_inventory.UPDATE_ ON%20 < =%20%222007-07-25%2023:59:59%22%20and%20sp_inventory.CATEGOR Y%20 >=%20%22ACC%22%20and%20sp_inventory.CATEGORY%20<=%20%22WE%22
2) After i run in frameset, i tried to run in /run? in my rcp project as
below:
http://172.16.0.50:8080/birt/run?__report=report\InventoryLi stingReport.rptdesign&camp=%20a%20bc%20Sdn%20Bhd%20%20-% 20LKB&titles=Invoice%20Date%20:%202007-07-25,2007-07-25, Category%20:%20ACC,WE&stmt=%20FROM%20sp_inventory%20WHER E%20sp_inventory.UPDATE_ON%20> =%20%222007-07-25%2000:00:00%22%20and%20sp_inventory.UPDATE_ ON%20 < =%20%222007-07-25%2023:59:59%22%20and%20sp_inventory.CATEGOR Y%20 >=%20%22ACC%22%20and%20sp_inventory.CATEGORY%20<=%20%22WE%22
the error below shown:
HTTP Status 404 - /birt/run
------------------------------------------------------------ --------------------
type Status report
message /birt/run
description The requested resource (/birt/run) is not available.
------------------------------------------------------------ --------------------
Apache Tomcat/5.5.9
But i try to run in the sequence as i stated above in my local
server(127.0.0.1, os=Windows xp), I didn't encounter problem http status
404.
What has happen? Please help, I've running out of idea. So i try to remove
the auto-generated document folder which contain of binary file
rptdocument but as u said, i can't do this if run in framest, rite?
hope to hear from u soon. Thanks. :-)
|
|
|
Re: rptdocument caching problem in linux [message #250049 is a reply to message #249862] |
Thu, 26 July 2007 11:42   |
Eclipse User |
|
|
|
Originally posted by: jasonweathersby.alltel.net
Faireni,
Does the Frameset url work on the linux box?
Also, although I do not think it will make a difference reverse your \
with /. So this
http://172.16.0.50:8080/birt/run?__report=report\\
becomes
http://172.16.0.50:8080/birt/run?__report=report/
Jason
faireni wrote:
> Jason,
> the situation is like this, I'm working with birt 2.1.1 to design the
> report and deploy a birt.war file in jboss server (not my local
> computer, and the os of the server is linux). I have hard-coded my
> report to run with the prefix
> "http://172.16.0.50:8080/birt/run?__report=report\\" and i have a report
> perspective in my rcp project.
>
> 1) when i run frameset with the url as below thru Internet explorer, the
> report shown in pretty condition.
>
> http://172.16.0.50:8080/birt/frameset?__report=report\Invent oryListingReport.rptdesign&camp=%20a%20bc%20Sdn%20Bhd%20 %20-%20LKB&titles=Invoice%20Date%20:%202007-07-25,2007-0 7-25,Category%20:%20ACC,WE&stmt=%20FROM%20sp_inventory%2 0WHERE%20sp_inventory.UPDATE_ON%20> =%20%222007-07-25%2000:00:00%22%20and%20sp_inventory.UPDATE_ ON%20 < =%20%222007-07-25%2023:59:59%22%20and%20sp_inventory.CATEGOR Y%20 >=%20%22ACC%22%20and%20sp_inventory.CATEGORY%20<=%20%22WE%22
>
>
> 2) After i run in frameset, i tried to run in /run? in my rcp project as
> below:
>
> http://172.16.0.50:8080/birt/run?__report=report\InventoryLi stingReport.rptdesign&camp=%20a%20bc%20Sdn%20Bhd%20%20-% 20LKB&titles=Invoice%20Date%20:%202007-07-25,2007-07-25, Category%20:%20ACC,WE&stmt=%20FROM%20sp_inventory%20WHER E%20sp_inventory.UPDATE_ON%20> =%20%222007-07-25%2000:00:00%22%20and%20sp_inventory.UPDATE_ ON%20 < =%20%222007-07-25%2023:59:59%22%20and%20sp_inventory.CATEGOR Y%20 >=%20%22ACC%22%20and%20sp_inventory.CATEGORY%20<=%20%22WE%22
>
>
> the error below shown:
>
> HTTP Status 404 - /birt/run
>
> ------------------------------------------------------------ --------------------
>
>
> type Status report
>
>
> message /birt/run
>
>
> description The requested resource (/birt/run) is not available.
>
>
> ------------------------------------------------------------ --------------------
>
>
> Apache Tomcat/5.5.9
>
> But i try to run in the sequence as i stated above in my local
> server(127.0.0.1, os=Windows xp), I didn't encounter problem http status
> 404.
>
> What has happen? Please help, I've running out of idea. So i try to
> remove the auto-generated document folder which contain of binary file
> rptdocument but as u said, i can't do this if run in framest, rite? hope
> to hear from u soon. Thanks. :-)
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.05704 seconds