Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 349613 - jonas-ejb-jar.xml not updated when adding session EJB to xDoclet EJB 2.1 project
Summary: jonas-ejb-jar.xml not updated when adding session EJB to xDoclet EJB 2.1 project
Status: NEW
Alias: None
Product: WTP EJB Tools
Classification: WebTools
Component: jst.ejb (show other bugs)
Version: 3.2.2   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: jst.ejb CLA
QA Contact: Kaloyan Raev CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-16 15:13 EDT by Roberto Sanchez Herrera CLA
Modified: 2011-06-16 15:13 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Roberto Sanchez Herrera CLA 2011-06-16 15:13:10 EDT
WTP M-3.2.5-20110616025815, xDoclet 1.2.3 and JOnAS 5.2

I'm running the smoke test for WTP J2EE 1.4, following the steps in here: 
http://wiki.eclipse.org/J2EE_Smoke_Test_%28WTP_3.2%29#J2EE_1.4, and after adding the session bean to the EJB project, I see the following error in the markers view:

The content of element type "jonas-ejb-jar" is incomplete, it must match "(jonas-session|jonas-entity|jonas-message-driven)+".

And the file jonas-ejb-jar.xml is not updated (is does not have any bean).

Note that, in order to install version 5.2 of JOnAS, I installed the OW2 JOnAS Wtp Adapter, and when I configured ejbdoclet for this adapter, if I do not include the version field, the default version in jonas-ejb-jar.xml for JOnAS is 2.5. And if I include the version, and select any version greater than 3.0, I get the following error when building the EJB project:

BUILD FAILED
C:\WTP\M-3.2.5-20110616025815\Workspaces\Smoke\.metadata\.plugins\org.eclipse.jst.j2ee.ejb.annotations.xdoclet\tempAnt.xml:69: 3.3.2 is not a legal value for this attribute