Chosing the 2nd option I get the error :
Missing classpath entry C:\jboss-4.2.1.GA\server\default\lib\javax.servlet.jar
As far as I know, from the version 4.x of the Jboss Server, it already includes the EJB. So the only reason for that error should due to a not correct server definition.
Internet is a good place to find the answer. Thanks to Wolfgang Knauf, we have some new JBoss server definitions here: http://www.informatik.fh-wiesbaden.de/~knauf/public/
There are two different jars for WTP 1.5 and 2.0.
So enjoy it!
To use the plugin:
- JBoss 4.0.x: You MUST have installed the EJB3 RC9 to the
defaultconfiguration so that the plugin can find all required libraries.
For JBoss 4.0.4 with installer including EJB3 RC8 this is done automatically.
For EJB3 RC 9 there is no JBoss AS installer, it must be installed to the
defaultconfiguration manually. Later you can install EJB3 RC9 to any other configuration, the jars from the
defaultconfiguration are only needed for starting up application clients and for Eclipse.
- JBoss 4.2.0: the
defaultconfiguration must be present so that the plugin can find all required libraries (tested for CR1 to GA)
- JBoss 5.0.0: the
defaultconfiguration must be present so that the plugin can find all required libraries (tested for Beta2)
- Delete previous versions of this plugin if already installed.
- Download org.eclipse.jst.server.jboss.ejb3_1.5.0.v200706052200.jar
- Copy the file to the subdirectory "plugins" of your eclipse installation.
- Restart eclipse once with the "-clean" option: "eclipse -clean".
- Create a new server runtime. You will find the runtimes in the "JBoss" branch, labeled "JBoss 4.0.4 or 4.0.5 with EJB3 RC8 or RC9", "JBoss 4.2.0" or "JBoss 5.0"