Incorrect Syntax Or Error Detected In The Persistence.xml
with a mandatory word, e.g. keyword2 keyword1 +keyword2 Questions excluding a word, e.g. keyword2 keyword1 -keyword2 Questions with a specific tag and keyword(s) +[tag1] keyword1 Questions with two or more specific tags and keyword(s) +[tag1] +[tag2] keyword1 To search for all posts by a user or all posts with a specific tag, start typing and choose from the suggestion list. Tags Spaces API Connect Appsecdev BPM Blockchain Bluemix CICS Cloud Analytics Cloud marketplace Content Services (ECM) Continuous Testing Courses DB2 LUW DataPower Decision Optimization DevOps Services Digital Experience Hadoop IBM Design IIDR ITOA InformationServer Integration Bus Internet of Things LinuxONE MDM Mainframe Messaging Node.js ODM Open Predictive Analytics PureData for Analytics Push Run Book Automation Storage Streamsdev Swift UrbanCode WASdev WSRR Watson dW Answers Help dW Premium developerWorks Team Watson Health More Users Badges Ask a question JPA persistence.xml problem Question by Roman Kharkovski ( 188) | Sep 02, 2014 at 06:22 PM wasdev I enabled the JPA facet on my Liberty 8.5.5.3 project in Eclipse Luna and the persistence.xml file generated does not pass validation. persistence.xml generated by Eclipse:
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow https://developer.ibm.com/answers/questions/24829/jpa-persistence-xml-problem.html is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Exception while deploying my JPA-application to Websphere 7 up vote 1 down vote favorite 2 I have problems deploying a web application to the most recent version of IBM Websphere http://stackoverflow.com/questions/6292921/exception-while-deploying-my-jpa-application-to-websphere-7 7. The exception is caused during the JPA initialization. The application is using servlet 2.5, eclipselink 2.1.3, java 6 update 25. persistence.xml is using version 1.0 I am unsure, if this exception is caused by a bug/configuration error in Websphere or by my application. Maybe it's also related to eclipselink. UPDATE Our application does not use JNDI for providing datasources to EclipseLink. Our application passes the DataSource directly to EclipseLink (using EclipseLink specific EntityManager properties) The persistence.xml I am using is (leaving out all entity definitions and tuning properties):
Things LocationTech Long-Term Support PolarSys Science OpenMDM More Community Marketplace Events Planet Eclipse Newsletter Videos Participate Report a Bug Forums Mailing Lists Wiki IRC How to Contribute Working Groups Automotive Internet of Things LocationTech Long-Term Support PolarSys Science OpenMDM Toggle navigation Breadcrumbs Home Eclipse Wiki EclipseLink/Examples/JPA/WebSphere Web Tutorial Log in Jump to: navigation, search ---Navigation---Main PageCommunity portalCurrent eventsRecent changesRandom pageHelpNavigation Main Page Community portal Current events Recent changes Random page Help ---Toolbox---Page informationPermanent linkPrintable versionSpecial pagesRelated changesWhat links hereToolbox Page information Permanent link Printable version Special pages Related changes What links here Page Discussion View source History EclipseLink/Examples/JPA/WebSphere Web Tutorial < EclipseLink | Examples | JPA Contents 1 EclipseLink JPA Deployed on IBM WebSphere 7 using Eclipse WTP 1.1 QuickStart Steps 1.2 Development Environment 1.2.1 Software 1.2.2 OS 1.3 Prerequisites 1.3.1 Install Eclipse EE 1.3.2 Install a Database 1.3.3 Install WebSphere 7.0 1.3.4 Install WebSphere Eclipse 3.4 Server Plugin - unusable 1.4 WebSphere Configuration Changes 1.5 JNDI Datasource Setup 1.5.1 Global Scoped Datasource Setup 1.6 Downloading EclipseLink Libraries 1.6.1 Download EclipseLink using HTTP - recommended 1.6.2 Download EclipseLink using Maven 1.6.3 Download EclipseLink using SVN - developers only 2 Container Managed and Application Managed Scenarios 2.1 Configuration 2.1.1 EAR Source 2.1.2 Publishing the EAR 2.2 Container Managed 2.2.1 EAR configuration 2.2.2 EclipseLink library as Global Shared Library 2.2.3 EclipseLink library in Server/lib 2.2.3.1 Predeploy, deploy and runtime logs 2.2.4 Container Managed EclipseLink library in EAR 2.2.4.1 Injected EntityManager on the SSB 2.2.4.2 Insertion/Persist Testing 2.2.4.3 Configuration 2.2.4.3.1 Console Overrides 2.2.4.3.2 EclipseLink library in EAR 2.2.4.3.2.1 MANIFEST.MF 2.2.4.3.3 Stateless Session Bean 2.2.4.3.4 Servlet client 2.2.4.3.5 persistence.xml in ejb.jar 2.2.4.4 Logs 2.2.5 No EclipseL