This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
hi guys. I used jboss4.0.3SP1 to deploy EJB3.0. however, it did not fully support EJB3.0. So i would like to use 4.0.5GA version. When i use 4.0.3SP1, any xml files is not needed for packaging. But.. i failed to deploy EJB3.0 in 4.0.5
How i package EJB3.0 for 4.0.5? What other files(xmls) are needed for? Any good and simple persistence example in web?
Your jar should contain a META-INF folder (make sure the case is correct) which contains the persistence.xml file. Does your MyEjb.jar contain this? Then you have to place this MyEjb.jar file in the %JBOSS_HOME%/server/default/deploy folder, for JBoss to pick it up for deploying. Can you please follow the steps below and post the output:
- From the command prompt, go to %JBOSS_HOME%/server/default/deploy folder - Run the following command:
This will display the contents of your MyEjb.jar. Post the contents here. That might help us figure out whether the jar is packaged right