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

Bug 352526

Summary: creating a Birt EAR and moving the Jar files from WAR to EAR
Product: z_Archived Reporter: shekhar <simplysekhar>
Component: BIRTAssignee: Birt-ReportViewer <Birt-ReportViewer-inbox>
Status: NEW --- QA Contact: Xiaoying Gu <bluesoldier>
Severity: normal    
Priority: P3 CC: bluesoldier, jasonweathersby, jouyang, kazm
Version: unspecified   
Target Milestone: ---   
Hardware: Other   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Error description none

Description shekhar CLA 2011-07-20 00:14:56 EDT
Build Identifier: 2.6.2 & 3.7

I am experiencing a very typical problem with BIRT viewer project. I am trying to move the jar files which are available in WEB-INF/lib to a newly created EAR/APP-INF/Lib directory.
When I did this and run the viewer, I am getting different kind exceptions. Shocked ..I am attaching the exceptions in a text file along with this post for your reference.

Can anyone please help me out with this..how to move jar files to EAR lib directory.

Reproducible: Always

Steps to Reproduce:
1. Import Birt WAR into eclipse
2. Create a new EAR and Birt WAR to it
3. Move the JAr files from WAR/WEB-INF/LIB to EAR/APP-INF/LIB
4. deploy and run the frameset with test.rptdesign
Comment 1 shekhar CLA 2011-07-20 00:16:35 EDT
Created attachment 199952 [details]
Error description
Comment 2 Jason Weathersby CLA 2011-07-20 18:10:12 EDT
Are you currently using WTP to build this EAR?
Comment 3 shekhar CLA 2011-07-20 23:36:59 EDT
(In reply to comment #2)
> Are you currently using WTP to build this EAR?

I am using eclipse 3.5.0 (Galileo) and created an EAR in it.
Comment 4 Jun Ouyang CLA 2011-07-21 02:31:42 EDT
Does it work if you:
1. deploy the war directly.
2. keep the lib jars in war and deploy
Comment 5 Jun Ouyang CLA 2011-07-21 02:32:21 EDT
For 2, I mean you add the war to ear but don't move the libraries.
Comment 6 shekhar CLA 2011-07-21 03:30:07 EDT
(In reply to comment #5)
> For 2, I mean you add the war to ear but don't move the libraries.

Yes it is working fine, If I donot move the jars from WAR
Comment 7 Jun Ouyang CLA 2011-07-21 22:18:24 EDT
Need viewer to figure out how to fix this issue.