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.
I am using Jboss version 5.
Instead of using default DB(hypersonic), i configured MySQL DB with my JBOSS.
I ran ant script to build an EAR file for Chapter 2 code and then i placed the EAR file on Jboss'deploy folder. On placing EAR file, i get below mentioned error on command prompt
"Deployment "vfszip:/C:/jboss-5.0.1.GA/server/default/deploy/chapter2.ear/" is in error due to the following reason(s): org.jboss.xb.binding.JBossXBRuntimeException: Failed to resolve schema nsURI= location=persistence"
I found that my persistence.xml is having Hypersonic DB settings.
Please let me how can i configure my persistence.xml according to MySQL so that Chapter 2 EAR file is deployed successfully
Oracle certified Java 8 Programmer I (1Z0-808), Oracle Java Web Service Developer (1z0-897), Oracle certified Java 7 Programmer, SCJA 1.0, SCJP 5.0, SCWCD 5.0, Oracle SQL Fundamentals I, CIW Certified Ecommerce specialist