Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 313295 - Nested lib folder structure at deployment on JBoss AS 5.1 in server view
Summary: Nested lib folder structure at deployment on JBoss AS 5.1 in server view
Status: RESOLVED NOT_ECLIPSE
Alias: None
Product: WTP Java EE Tools
Classification: WebTools
Component: jst.j2ee (show other bugs)
Version: unspecified   Edit
Hardware: Macintosh Mac OS X - Carbon (unsup.)
: P3 minor (vote)
Target Milestone: 3.2.1   Edit
Assignee: Rob Stryker CLA
QA Contact: Chuck Bridgham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-18 04:20 EDT by Bjoern CLA
Modified: 2010-06-02 02:28 EDT (History)
1 user (show)

See Also:


Attachments
img of nested lib folders (22.91 KB, image/png)
2010-05-18 04:23 EDT, Bjoern CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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.