I finally found the problem. The problem was as the DeploymentException told me in the findByPrimaryKey method of one Entity. (the parameter was a String when it should have been an Integer).
However JBoss was misleading me by idicating that the problem occured not in the entity that had the problem but the last entity deployed. To make it clear, if some entities where deployed in the following order: Entity A Entity B <-- the error was caused by this one Entity C Entity D Entity E <-- JBoss tells you that the problem is here JBoss don't tell that there is an error while deploying B but at the end of the deployment throws a DeploymentException accusing entity E which has done no wrong. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3829677#3829677 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3829677 ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
