Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 366563 - Utility projects not deployed to the J2EE Preview Server
Summary: Utility projects not deployed to the J2EE Preview Server
Status: RESOLVED DUPLICATE of bug 370839
Alias: None
Product: WTP ServerTools
Classification: WebTools
Component: jst.server (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: jst.server CLA
QA Contact: Elson Yuen CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-13 10:54 EST by Michal Politowski CLA
Modified: 2015-05-14 14:48 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michal Politowski CLA 2011-12-13 10:54:16 EST
Build Identifier: 20110916-0149

When trying to "Run on Server" a dynamic web project using a utility project, a jar for the utility project is put in WEB-INF/lib when using a Tomcat server, but not when using a J2EE Preview Server. This makes the started webapp fail when trying to use a class from the utility project.

Reproducible: Always

Steps to Reproduce:
1. create a new dynamic web project (DWP)
2. create a new utility project (UP)
3. in the DWP properties add the UP to the deployment assembly
4. execute the Run on Server command on the DWP project
4.1. choose the J2EE Preview as the server type and add the DWP project to it
5. after the server starts verify that the deployed application (probably in workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/DWP/) does not contain the UP jar in WEB-INF/lib
Comment 1 Roberto Sanchez Herrera CLA 2015-05-14 14:48:01 EDT
Looks like a duplicate of bug 370839

*** This bug has been marked as a duplicate of bug 370839 ***