-
1. Re: Problem in inject ref EJB using @EJB
jaikiran Apr 4, 2009 3:11 AM (in response to leosouzabh)Please post the relevant part of the code of your bean implementation and the business interface(s). If you have a ejb-jar.xml and/or jboss.xml, please post them too.
-
2. Re: Problem in inject ref EJB using @EJB
sanjay1078 Jul 28, 2010 9:26 AM (in response to jaikiran)Hi
I am also facing the same problem in JBOSS 5,When I try to deploy the those bean as seprate jar then I am getting following NullpointerException.
earlier my Application has only one EJB JAR file ,but we devided the all EJB based on the package ,and trying to deploy the Application in Exploaded form.
I am using the EJB3 Annotation,so didn't use the deploymentdescriptor
Here is the Error which I got from JBOSS
DEPLOYMENTS IN ERROR:
Deployment "jboss.j2ee:jar=stateserver.jar,name=EntityStateTimeoutBean,service
=EJB3" is in error due to the following reason(s): java.lang.NullPointerExceptio
n, **ERROR**
Deployment "jboss.j2ee:jar=AMIDataProvisioning-test-client.jar,name=AMIProvRes
ponseMailBox,service=EJB3" is in error due to the following reason(s): java.lang
.NullPointerException
Deployment "jboss.j2ee:jar=platformserver.jar,name=MissingMeteringDataStateTim
eOut,service=EJB3" is in error due to the following reason(s): java.lang.NullPoi
nterException, **ERROR**
Deployment "jboss.j2ee:jar=platformserver.jar,name=EntityStateTimeOut,service=
EJB3" is in error due to the following reason(s): java.lang.NullPointerException
, **ERROR**
Deployment "jboss.j2ee:jar=stateserver.jar,name=MissingMeterDataTimeoutBean,se
rvice=EJB3" is in error due to the following reason(s): java.lang.NullPointerExc
eption, **ERROR**Thanks in Advance
corresponding files has been attached
-
NullPointer.7z.zip 4.8 KB
-