I have the same problem.
I have also the same error and I don't know where the problem is...
I am using netbeans 5.5 and i tried under jboss 4.0.4 and 4.0.5, the problem is always the same:
10:51:26,783 WARN [ServiceController] Problem starting service persistence.units:ear=EAW1.ear,jar=EAW1-ejb.jar,unitName=EAW1-ejbPU
javax.naming.NameNotFoundException: mysql-EAW not bound
--- MBeans waiting for other MBeans ---
Reason: javax.naming.NameNotFoundException: mysql-EAW not bound
I Depend On:
The mysql-EAW is the name I gave to the data source when creating the persistence unit in netbeans 5.5.
see here: http://imacx.ath.cx/img/eaw-mysql.jpg
Thx for helping me