Wierd issue with Birt 3.7.0 [message #725058] |
Tue, 13 September 2011 16:16  |
Eclipse User |
|
|
|
Hi, my application is J2EE web application based on struts/spring and hibernate. I am using BIRT Report Viewer for the reporting needs as it has very cool features embedded. I am able to successfully integrate the BIRT VIEWER 2.6.2 to my application and the report I created showing up fine and recently migrated to 3.7.0 runtime.
I am facing an environment setup issue (I didn't face this issue with 2.6.2)-
I use tomcat 6.0.20 and I deploy 2 applications (applications have different context root, the source code in both applications same, just some environment settings diffrent like directories of log files creation, etc) on that server. Both applications use Birt Viewer, Birt Viewer working in only from one application but not from other application. When I issue below url -
http://<server>:8080/<Appcontextroot>/frameset?__report=report/userCert.rptdesign&__overwrite=true&runTime=true&__parameterpage=true
the birt viewer is invoking in another winodw, but it is redirecting back to my application login page...
http://<server>:8080/<Appcontextroot>/Login.do
What could be the reason for that? I really appreciate any input on this.
Thank you,
Jyothi
[Updated on: Tue, 13 September 2011 16:23] by Moderator
|
|
|
|
|
|
Re: Wierd issue with Birt 3.7.0 [message #725318 is a reply to message #725137] |
Wed, 14 September 2011 10:04   |
Eclipse User |
|
|
|
Jason Weathersby wrote on Wed, 14 September 2011 00:44Does the process that is running the viewer have write permission to the
documents folder. If you look at your working system you can see the
next thing that happens is a write to:
/apps/tomcat/webapps/etrantest/documents/
Is anything being created in the documents folder on the non working system?
Jason
Jason, I checked the permissions on documents folder for both applications, both have same permissions as below (I am running applications in Linux environment)... I even set the 777 on documents folder on non-working appliation, still the same issue. One more wired thing is, it is working randomly sometimes for non-working application as well. So, I am lost here, why sometimes (very randomly)birtviewer coming up fine and why it is redirecting back to loging page mostly??? What settings I have to check??
drwxr-x--x 2 etrnos etrnos 1024 Sep 13 14:54 documents
and also, I am interested to know whether BirtViewer is shared between applications, if they are deployed in same tomcat server??
Thanks again for your help on this...
[Updated on: Wed, 14 September 2011 11:04] by Moderator
|
|
|
|
|
|
|
|
|
Re: Wierd issue with Birt 3.7.0 [message #726111 is a reply to message #725773] |
Fri, 16 September 2011 11:36  |
Eclipse User |
|
|
|
The AJAX code uses those same servlets as well as SOAP request calling
GetUpdatedObjects SOAP Method. I am not exactly sure how you would open
this up. It is on the same port. Any chance you can open a bugzilla
entry for this?
Jason
On 9/15/2011 2:09 PM, jyo wrote:
> Jason Weathersby wrote on Thu, 15 September 2011 09:47
>> The AJAX code uses a web service. I wonder if this is causing the
>> issue. BTW you can also try the /run mapping which I assume will fail
>> as well because it uses AJAX.
>>
>> Jason
>
>
> So, how to resolve AJAx issue then? I am adding below url pattersn in my
> application security filter:
> /frameset
> /run /preview /download
> /parameter
> /document
> /output /extract
> /webcontent
> /birt.tld
>
> Now, the BirtViewer initializinf and coming up fine first time when the
> user logs in, but when the user tries to open the report second time it
> is redirecting to my application home page, and from next attempt again
> it is working fine. only second attempt is failing. Can point me if
> there any other Birt related url pattern (that Birt runtime uses
> internally) I should add to ignore list of applciation security filter?
> Thanks for all the help...
|
|
|
Powered by
FUDForum. Page generated in 0.05034 seconds