The bean code is here:
http://devk.it/6b0451wccr Here is the exception stack trace:
And here is the section of my console dump that I'm fairly certain is closely related to my problem:
So it says:
Cannot find service endpoint target: jboss.j2ee:name=ServiceBean,service=EJB3,jar=Battleship.jar
Does that mean its not deploying my EJB at all? I was pretty sure that the EJB was being deployed correctly. Like I said before, when I comment out the entity manager the add web method works perfectly.
I'm pretty confused while it's getting that exception in the first place. As you can see in my Bean (
http://devk.it/6b0451wccr ), I've annotated endpointInterface="org.battleship.ejb.ServiceRemote", which is the correct class name of my Remote interface.
It looks like everything may be because of this guy:
--- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
ObjectName: jboss.jca:name=bshipDs,service=DataSourceBinding
State: NOTYETINSTALLED
Depends On Me:
persistence.units:jar=Battleship.jar,unitName=bship
And I noticed that my DS is listed under "packages waiting for a deployer" with a state of INIT_WAITING_DEPLOYER. Did I deploy my DataSource incorrectly?
All I did was put ds.xml in /deploy/ and add the mysql
jdbc drivers to /lib/, are there more steps?
[ December 05, 2008: Message edited by: mike murray ]
[ December 05, 2008: Message edited by: mike murray ]