-
1. Re: TrialBlazer is not working!
peterj Jul 10, 2006 10:34 AM (in response to armita)How did you install JBoss? To use EJB3, you must either use the installer jar file, and select EJB3 from the installation options, or download the source package (tar.gz file) and compile it with a 5.0 JVM (it builds both the standrad distribution and the EJB3 distribution). The EJB3 components are not part of the binary zip file.
-
2. Re: TrialBlazer is not working!
armita Jul 11, 2006 3:30 AM (in response to armita)I used the installer with th EJB3 option!
-
3. Re: TrialBlazer is not working!
peterj Jul 11, 2006 1:37 PM (in response to armita)I think you have run into an EJB3 version incompatibility. The @EJB annotation has moved from the javax.annotation package (in which it appears in JBoss 4.0.4) to the javax.ejb package (in which it appears in the jar files that get downloaded with the Trailblazer).
See http://www.jboss.com/index.html?module=bb&op=viewtopic&t=84310 -
4. Re: TrialBlazer is not working!
k_shahab Aug 21, 2006 4:19 AM (in response to armita)Hi. I was also getting this error. I solved this error by copying javaee.jar to C:\jboss-4.0.4.GA\server\default\deploy\ejb3.deployer and C:\jboss-4.0.4.GA\lib directories. The JAR file javaee.jar I took from lib directory of Sun Java System Application Server Platform Edition 9.
After copying javaee.jar to these locations, I am to run all examples of EJB3Trail.
There may be side effect due to javaee.jar but I could not see any error during EJB3Trail testing.
------------------------
Shahabuddin Khan -
5. Re: TrialBlazer is not working!
k_shahab Aug 21, 2006 4:25 AM (in response to armita)Hi.
I was also getting this error. I solved this error by copying javaee.jar to C:\jboss-4.0.4.GA\server\default\deploy\ejb3.deployer and C:\jboss-4.0.4.GA\lib directories. The JAR file javaee.jar I took from lib directory of Sun Java System Application Server Platform Edition 9.
After copying javaee.jar to these locations, I am able to run all examples of EJB3Trail.
There may be side effects due to javaee.jar but I could not see any error during EJB3Trail testing.
------------------------
Shahabuddin Khan -
6. Re: TrialBlazer is not working!
k_shahab Aug 22, 2006 8:47 AM (in response to armita)
Download
JEMS installer for JBoss AS 4.0.4 from http://sourceforge.net/project/showfiles.php?group_id=22866&package_id=193295&release_id=424215
Shahabuddin Khan