Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 331695

Summary: Resource Folder option in BIRT Viewer does not recognize secured resources (https)
Product: z_Archived Reporter: Vijayts <vijayts>
Component: BIRTAssignee: Birt-ReportViewer <Birt-ReportViewer-inbox>
Status: NEW --- QA Contact: Xiaoying Gu <bluesoldier>
Severity: major    
Priority: P3 CC: bluesoldier
Version: 2.6.1   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Contains the exception stack trace when __resourceFolder is supplied with a secured URL none

Description Vijayts CLA 2010-12-02 11:50:29 EST
Build Identifier: 2.6.1

When using the "__resourceFolder" in the URL to view the BIRT reports like ...&__resourceFolder=http://localhost:9080/myresourcefolder/ the BIRT Viewer is able to retrieve resources present in /myresourcefolder/ .
However if the __resourceFolder is passed an secured resource such as below 
...&__resourceFolder=https://localhost:9443/myresourcefolder/ an error indicating that Failed to find out data source of data set is shown . 
I am able to reproduce this behavior consistently when running the BIRT Viewer on Websphere Application Server


Reproducible: Always

Steps to Reproduce:
1.Enable security on the application server hosting the resource
2.Use the BIRT viewer to view the reports and in the url mention "&__resourceFolder" and pass in the secured URL such as https://localhost:9443/myresourcefolder/ to access the reports
3.The following error is shown 
datasource.null.error ( 1 time(s) )
detail : org.eclipse.birt.report.engine.api.EngineException: Failed to find out data source of data set "NAME_OF_DATASOURCE".
Comment 1 Vijayts CLA 2010-12-02 11:53:32 EST
Created attachment 184369 [details]
Contains the exception stack trace when __resourceFolder is supplied with a secured URL

Exception Stack trace