Hi, could you tell us the Karaf version you are using?
regards, Achim 2014-08-25 1:38 GMT+02:00 tvogel <[email protected]>: > I'm trying to run the DB/JPA tutorial from Christian Schneider. After > fixing > some deprecated imports and updating the pom.xml for recent plugins, I have > a clean compile with no warnings or errors. > > The JDBC classes work fine, although there are two warnings when deploying > the blueprint.xml. > > karaf@root()> jdbc:create -t derby derbyds > karaf@root()> Warning: > org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser: > Property 'http://www.oracle.com/xml/jaxp/properties/entityExpansionLimit' > is > not recognized. > Compiler warnings: > WARNING: 'org.apache.xerces.jaxp.SAXParserImpl: Property > 'http://javax.xml.XMLConstants/property/accessExternalDTD' is not > recognized.' > > The JPA example does not work. The Karaf console shows the bundle in > GracePeriod status. The log shows > INFO | Local user karaf | BlueprintContainerImpl | 19 - > org.apache.aries.blueprint.core - 1.4.0 | Bundle db-examplejpa is waiting > for namespace handlers [http://aries.apache.org/xmlns/transactions/v1.0.0] > > I have the features installed that are detailed in the tutorial. > jndi | 3.0.1 | x | enterprise-3.0.1 | OSGi Service Registry JNDI > access > jdbc | 3.0.1 | x | enterprise-3.0.1 | JDBC service and commands > openjpa | 2.2.2 | | enterprise-3.0.1 | Apache OpenJPA 2.2.x persistence > engine support > openjpa | 2.3.0 | x | enterprise-3.0.1 | Apache OpenJPA 2.3.x persistence > engine support > > > Any suggestions how to get the JPA example to run? > > > > > -- > View this message in context: > http://karaf.922171.n3.nabble.com/Karaf-DB-tutorial-on-3-0-1-stuck-on-GracePeriod-tp4034891.html > Sent from the Karaf - User mailing list archive at Nabble.com. > -- Apache Member Apache Karaf <http://karaf.apache.org/> Committer & PMC OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer & Project Lead blog <http://notizblog.nierbeck.de/> Software Architect / Project Manager / Scrum Master
