Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 345765 - Missing Library (JEE5 or equivalent) for an EJBclient created from the EJB (3.0 or 3.1) wizard when using JBoss6 as runtime target
Summary: Missing Library (JEE5 or equivalent) for an EJBclient created from the EJB (3...
Status: CLOSED NOT_ECLIPSE
Alias: None
Product: WTP EJB Tools
Classification: WebTools
Component: jst.ejb (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: jst.j2ee CLA
QA Contact: Chuck Bridgham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-13 14:05 EDT by Israel Gomez Delgado CLA
Modified: 2011-05-18 11:16 EDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Israel Gomez Delgado CLA 2011-05-13 14:05:08 EDT
Build Identifier: WTP M-3.2.4-20110511033327

After create an EJB with EJBclient, the EJBClient does not have a JEE library, the session bean with remote interface complaints and did not compile.

Reproducible: Always

Steps to Reproduce:
Created an EAR 5 Target to Java EE server (my case was Jboss6)
Create an EJB 3.0 project
    * Target it at the installed Java EE server (my case was Jboss6)
    * Choose "Add project to an EAR" and choose the previously created EAR 5 project
-Expand the EjbClient libraries, you will note there is no Java EE library
    * Create a new Session Bean - this will complaint to compile problem 'cause the missing library
Comment 1 Rob Stryker CLA 2011-05-17 03:58:31 EDT
How are you creating a JBoss-6 server adapter? The tooling only comes with versions 5.0 and below. Are you using some adapter product on top of wtp?
Comment 2 Israel Gomez Delgado CLA 2011-05-17 10:26:15 EDT
(In reply to comment #1)
> How are you creating a JBoss-6 server adapter? The tooling only comes with
> versions 5.0 and below. Are you using some adapter product on top of wtp?

Hi Robert, I followed the steps documented here; http://www.jboss.org/tools/download/installation/update_3_2.html to install an adapter for the jboss server.
Comment 3 Rob Stryker CLA 2011-05-17 11:41:00 EDT
This bug is not present in the WTP server adapters but is a bug of the JBossTools server adapters. I'll try to open a JIRA there for you and get a patch working when I have the time.
Comment 4 Rob Stryker CLA 2011-05-17 12:13:55 EDT
This is because the JBT server adapter does not automatically add the classpath container to utility projects. More to be done later.
Comment 5 Kaloyan Raev CLA 2011-05-18 11:16:59 EDT
Based on comment 3, I am closing this bug as NOT_ECLIPSE. 
Feel free to link the respective JIRA issue here.