Re: Hibernate, JPA and Karaf 4

2017-06-10 Thread Jack
Stephen, I have already created Schema, inspite of this i'm getting this error. I'm suspecting their is some problem with this error "Unexpected problem updating configuration org.apache.aries.jpa.store". Let me figure out. -- View this message in context:

Re: Hibernate, JPA and Karaf 4

2017-06-10 Thread smunro
Jack, The logs clearly show that the database hasn't been created: ""localhost:5432:TEST" does not exist" Try creating the schema in postgres then re-run. -- View this message in context: http://karaf.922171.n3.nabble.com/Hibernate-JPA-and-Karaf-4-tp4050569p4050661.html Sent from the Karaf -

Re: Hibernate, JPA and Karaf 4

2017-06-10 Thread Jack
thanks Stephen, I made correction. Now i'm not seeing the error thanks schneider for making the changes, after building and deploying the kar file, the application status shows in grace period and in the log I can see this error waiting for dependencies

Re: Hibernate, JPA and Karaf 4

2017-06-10 Thread Christian Schneider
I did a PR with some fixes. https://github.com/JackMic/Hibernate-Postgressql-Karaf-4.1.0/pull/1 Christian On 10.06.2017 11:08, Jack wrote: Stephen, I have shared all the code here https://github.com/JackMic/Hibernate-Postgressql-Karaf-4.1.0 -- View this message in context:

Re: Hibernate, JPA and Karaf 4

2017-06-10 Thread smunro
Jack, See here: https://ops4j1.jira.com/wiki/display/PAXJDBC/Create+DataSource+from+config It's not username. The parameter is user. -- View this message in context: http://karaf.922171.n3.nabble.com/Hibernate-JPA-and-Karaf-4-tp4050569p4050658.html Sent from the Karaf - User mailing list

Re: Hibernate, JPA and Karaf 4

2017-06-10 Thread Jack
Stephen, I have shared all the code here https://github.com/JackMic/Hibernate-Postgressql-Karaf-4.1.0 -- View this message in context: http://karaf.922171.n3.nabble.com/Hibernate-JPA-and-Karaf-4-tp4050569p4050657.html Sent from the Karaf - User mailing list archive at Nabble.com.

Re: Hibernate, JPA and Karaf 4

2017-06-10 Thread smunro
Jack, the first error in the logs is the following: org.ops4j.pax.jdbc.config - 1.0.0 | Unsupported property name: username org.postgresql.util.PSQLException: Unsupported property name: username Can you share your data source config? -- View this message in context:

Re: Hibernate, JPA and Karaf 4

2017-06-10 Thread Jack
Hi Schneider, Thanks for the information. I have made the changes to the datasource config file,osgi.jdbc.driver.class = org.postgresql.Driver . After building and deploying the kar file in Karaf, datasource is not available. But persistence providers are available. I'm not sure what wrongs

Re: Hibernate, JPA and Karaf 4

2017-06-10 Thread Jack
Hi, Stephen,I'm new to Karaf. I though if I wrap the bundle it will available to the container. wrap:... I have removed the zip file and I have checked-in all the folders and files in to GitHub. Link @ https://github.com/JackMic/Hibernate-Postgressql-Karaf-4.1.0 I took fresh Karaf and