Hi,
I'm fairly new to Java & EJB ... so I download the TrailBlazer example
and wanted to deploy that to my local App-Server (Windows XP Pro, JDK
1.6, JBoss 4.0.5 with jboss-EJB-3.0_RC9_Patch_1).
So I copied the EJB3Trail.ear to my deploy-directory ... but I get a
couple of errors; e.g.
Code:
12:28:10,060 ERROR [URLDeploymentScanner] Incomplete Deployment listing:
--- MBeans waiting for other MBeans ---
ObjectName:
jboss.j2ee:ear=EJB3Trail.ear,jar=beans.jar,name=ApptransCalculator,service=EJB3
State: FAILED
Reason: java.lang.NullPointerException
I Depend On:
persistence.units:ear=EJB3Trail.ear,jar=beans.jar,unitName=ejb3trail
(this is just one out of an bunch of other errors).
And this is just the point ... I wanted to create a stateful session
bean for my own app as well, and I encounter the same problem: the
stateful bean can not be deployed, it's complaining about the
persistent-unit. If I switch to a stateless session bean everything is
working just fine ...
.... any hint's on what's going wrong?


|