Skip to main content



      Home
Home » Archived » BIRT » caching problem
caching problem [message #249290] Fri, 20 July 2007 23:56 Go to next message
Eclipse UserFriend
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: caching problem [message #249370 is a reply to message #249290] Mon, 23 July 2007 11:11 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jasonweathersby.alltel.net

Faireni,

I am not sure what you are describing, but if you use &__overwrite=true
in the url the rptdocument should be overwritten.

Jason

faireni wrote:
> 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: caching problem [message #249480 is a reply to message #249370] Tue, 24 July 2007 02:45 Go to previous messageGo to next message
Eclipse UserFriend
what should i do in order to remove the 'documents' folder in my birt.war
file?? i have deleted

<context-param>
<param-name>BIRT_VIEWER_DOCUMENT_FOLDER</param-name>
<param-value></param-value>
</context-param>

in web.xml and web-template.xml but the documents folder still appeared.
What Should i do then? Thanks.
Re: caching problem [message #249545 is a reply to message #249480] Tue, 24 July 2007 11:43 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jasonweathersby.alltel.net

You have to have some place to write the documents, unless you are only
doing runandrender task which happens when you use /preview or /run
(Birt 2.1 only). You can specify a complete path in this entry like
c:/temp.

Jason

faireni wrote:
> what should i do in order to remove the 'documents' folder in my
> birt.war file?? i have deleted
> <context-param>
> <param-name>BIRT_VIEWER_DOCUMENT_FOLDER</param-name>
> <param-value></param-value>
> </context-param>
>
> in web.xml and web-template.xml but the documents folder still appeared.
> What Should i do then? Thanks.
>
Re: rptdocument caching problem in linux [message #249665 is a reply to message #249545] Tue, 24 July 2007 22:18 Go to previous messageGo to next message
Eclipse UserFriend
jason,
i encounter this problem which the .rptdocument file will cause the 'http
error status 404" problems in linux jboss server. look like linux can't
recognized the .rptdocuments file type that are auto-generated. Can u help
me? thankx
Re: rptdocument caching problem in linux [message #249746 is a reply to message #249665] Wed, 25 July 2007 11:35 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jasonweathersby.alltel.net

Faireni,

I am not certain what you mean. The Viewer should work fine in this
situation. Can you explain how it is failing? What url are you
entering and what does the log file show?

Thanks

Jason

faireni wrote:
> jason,
> i encounter this problem which the .rptdocument file will cause the
> 'http error status 404" problems in linux jboss server. look like linux
> can't recognized the .rptdocuments file type that are auto-generated.
> Can u help me? thankx
>
Re: rptdocument caching problem in linux [message #249862 is a reply to message #249746] Wed, 25 July 2007 20:45 Go to previous messageGo to next message
Eclipse UserFriend
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 Go to previous messageGo to next message
Eclipse UserFriend
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. :-)
Re: rptdocument caching problem in linux [message #250132 is a reply to message #250049] Fri, 27 July 2007 03:04 Go to previous messageGo to next message
Eclipse UserFriend
Jason,
sorry because I haven't test with in linux own browser since the linux
server is not at my site. i just tried to access the database and view
report on IE assigning the server ip eg.172.16.0.50, I dun dare to try
again since i don't have the access to manually delete the auto-generated
document folder. Nad hence everytime the 'documents' folder is generated,
all the reports can't be viewed due to the 'http status 404 error'.
jason, do u have any better suggestion or testing method?
Re: rptdocument caching problem in linux [message #250178 is a reply to message #250132] Fri, 27 July 2007 11:30 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jasonweathersby.alltel.net

Faireni,

I do not think this problem has to do with the documents folders.
Can you log a bugzilla entry?

Jason

faireni wrote:
> Jason,
> sorry because I haven't test with in linux own browser since the linux
> server is not at my site. i just tried to access the database and view
> report on IE assigning the server ip eg.172.16.0.50, I dun dare to try
> again since i don't have the access to manually delete the
> auto-generated document folder. Nad hence everytime the 'documents'
> folder is generated, all the reports can't be viewed due to the 'http
> status 404 error'.
> jason, do u have any better suggestion or testing method?
>
Re: rptdocument caching problem in linux [message #250247 is a reply to message #250178] Fri, 27 July 2007 22:18 Go to previous message
Eclipse UserFriend
https://bugs.eclipse.org/bugs/show_bug.cgi?id=198173

Thanks
Previous Topic:localization support
Next Topic:IE 7 fails to display contents of JSP pages containing BIRT tag library elements
Goto Forum:
  


Current Time: Sun May 04 06:47:58 EDT 2025

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

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

Back to the top