Christian / JB, Thanks I will check out the latest Karaf snapshot. Any experience / feedback on using EclipseLink with Karaf? Tim
Date: Mon, 25 Aug 2014 01:47:12 -0700 From: [email protected] To: [email protected] Subject: Re: Karaf DB tutorial on 3.0.1 stuck on GracePeriod I agree with Christian. FYI, Karaf 3.0.2-SNAPSHOT already ship the new Aries JPA version. Regards JB On 08/25/2014 10:43 AM, Christian Schneider wrote: > For jpa you should try the newest versions of aries jpa. > > http://search.maven.org/#search|ga|1|g%3A%22org.apache.aries.jpa%22 > > The ones referenced in karaf 3.0.1 still have some severe bugs. With the > newest versions it works nicely for me. Will retest this evening as I > have to give a training about it tomorrow :-) > I will update the tutorial codes once I have tested. > > Christian > > Am 25.08.2014 01:38, schrieb tvogel: >> 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. > > -- Jean-Baptiste Onofré [hidden email] http://blog.nanthrax.net Talend - http://www.talend.com If you reply to this email, your message will be added to the discussion below: http://karaf.922171.n3.nabble.com/Karaf-DB-tutorial-on-3-0-1-stuck-on-GracePeriod-tp4034891p4034898.html To unsubscribe from Karaf DB tutorial on 3.0.1 stuck on GracePeriod, click here. NAML -- View this message in context: http://karaf.922171.n3.nabble.com/Karaf-DB-tutorial-on-3-0-1-stuck-on-GracePeriod-tp4034891p4034899.html Sent from the Karaf - User mailing list archive at Nabble.com.
