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

Bug 313295

Summary: Nested lib folder structure at deployment on JBoss AS 5.1 in server view
Product: [WebTools] WTP Java EE Tools Reporter: Bjoern <b.hoffmann>
Component: jst.j2eeAssignee: Rob Stryker <stryker>
Status: RESOLVED NOT_ECLIPSE QA Contact: Chuck Bridgham <cbridgha>
Severity: minor    
Priority: P3 CC: ccc
Version: unspecified   
Target Milestone: 3.2.1   
Hardware: Macintosh   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:
Attachments:
Description Flags
img of nested lib folders none

Description Bjoern CLA 2010-05-18 04:20:25 EDT
Build Identifier: 20100218-1602

We got a multi project Maven web project that is deployed as an ear on a JBoss AS 5.1 in the internal server view. The required libraries are copied to the .ear/lib folder as expected. With Maven and a manual deploy on the server everything is fine, even if we build it by m2eclipse in Eclipse. But if we deploy the exploded ear file by the internal server view, some of the deployed libraries are not in the .ear/lib folder but in some nested lib folders like .ear/lib/lib/lib/ created by Eclipse or whatever. The workaround is to change the classpath of the launch configuration of the JBoss and to add the libraries located in the nested lib/lib/lib folder as User Entries for startup.

Reproducible: Always
Comment 1 Bjoern CLA 2010-05-18 04:23:06 EDT
Created attachment 168871 [details]
img of nested lib folders
Comment 2 Carl Anderson CLA 2010-05-24 16:05:47 EDT
Bjoern, guessing from your Build Identifier, I am assuming that this is with Galileo SR2, which corresponds to WTP 3.1.2

Assigning to Rob for initial investigation.
Comment 3 Rob Stryker CLA 2010-05-25 00:53:59 EDT
Hi Bjeorn:

Can you tell me if you're using the WTP-provided "JBoss" server adapter? Or are you using JBossTools?

If you are using JBossTools odds are this may be a JBossTools bug.
Comment 4 Bjoern CLA 2010-05-25 07:04:25 EDT
(In reply to comment #3)
> Hi Bjeorn:
> 
> Can you tell me if you're using the WTP-provided "JBoss" server adapter? Or are
> you using JBossTools?
> 
> If you are using JBossTools odds are this may be a JBossTools bug.

Hi Rob,

you're right, we're using JBossTools. I'll ask the guys of JBoss, if there's a solution.
Sorry for the trouble and thx for your efforts.
Comment 5 Rob Stryker CLA 2010-06-02 02:28:43 EDT
This is not a bug in any eclipse code.