Guys: Okay, I am following a simple tutorial of creating an entity and statless session beans. I am use JBoss 4.0.3SP1, JDK 1.5.06. I can compile and deploy using ant. There is no problems. However, launching the server has problems. I have no other projects running on the App Server other than this project. I have followed the instructions of readying the AS to run EJB3.0 standard projects using the follow instructions:
http://www.jboss.org/index.html?module=bb&op=viewtopic&t=80345 However, the server still complains about the project: | [19:40:01,859] [WARN ] [ServiceController] Ignoring request to stop nonexistent service: jboss.j2ee:service=EJB3,jar=EJB3Demo.jar,name=BookBean | [19:40:01,859] [WARN ] [ServiceController] Ignoring request to destroy nonexistent service: jboss.j2ee:service=EJB3,jar=EJB3Demo.jar,name=BookBean | [19:40:01,875] [WARN ] [ServiceController] Problem starting service jboss.j2ee:service=EJB3,module=EJB3Demo.jar | java.lang.RuntimeException: Field javax.persistence.EntityManager com.russ.library.BookBean.em @PersistenceUnit in error: EMPTY STRING unitName but there is no deployments in scope | at org.jboss.ejb3.injection.PersistenceContextHandler.loadFieldDependencies(PersistenceContextHandler.java:361) | at org.jboss.ejb3.injection.PersistenceContextHandler.loadDependencies(PersistenceContextHandler.java:413) | I have search the form and internet concerning the error, but no one has offered a solution to this type of error. Any help would be greatly appreciated. Russ View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3934223#3934223 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3934223 ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
