nabble.com/Hibernate-JPA-and-Karaf-4-tp4050569p4050668.html
Sent from the Karaf - User mailing list archive at Nabble.com.
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
lass=javax.persistence.EntityManager))]
log.txt <http://karaf.922171.n3.nabble.com/file/n4050660/log.txt>
list.PNG <http://karaf.922171.n3.nabble.com/file/n4050660/list.PNG>
--
View this message in context:
http://karaf.922171.n3.nabble.com/Hibernate-JPA-and-Karaf-4-tp4050569p4
.922171.n3.nabble.com/Hibernate-JPA-and-Karaf-4-tp4050569p4050657.html
Sent from the Karaf - User mailing list archive at Nabble.com.
--
Christian Schneider
http://www.liquid-reality.de
Open Source Architect
http://www.talend.com
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
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.
.nabble.com/Hibernate-JPA-and-Karaf-4-tp4050569p4050656.html
Sent from the Karaf - User mailing list archive at Nabble.com.
with the config file.
<http://karaf.922171.n3.nabble.com/file/n4050655/Datasource.png>
--
View this message in context:
http://karaf.922171.n3.nabble.com/Hibernate-JPA-and-Karaf-4-tp4050569p4050655.html
Sent from the Karaf - User mailing list archive at Nabble.com.
r of Karaf, it should make
available to the container.
<http://karaf.922171.n3.nabble.com/file/n4050654/Datasource.png>
--
View this message in context:
http://karaf.922171.n3.nabble.com/Hibernate-JPA-and-Karaf-4-tp4050569p4050654.html
Sent from the Karaf - User mailing list archive at Nabble.com.
lang.Thread.run(Thread.java:745) [?:?]
--
View this message in context:
http://karaf.922171.n3.nabble.com/Hibernate-JPA-and-Karaf-4-tp4050569p4050643.html
Sent from the Karaf - User mailing list archive at Nabble.com.
--
Christian Schneider
http://www.liquid-reality.de
Open Source Architect
http://www.talend.com
nabble.com/Hibernate-JPA-and-Karaf-4-tp4050569p4050646.html
Sent from the Karaf - User mailing list archive at Nabble.com.
--
Christian Schneider
http://www.liquid-reality.de
Open Source Architect
http://www.talend.com
this message in context:
http://karaf.922171.n3.nabble.com/Hibernate-JPA-and-Karaf-4-tp4050569p4050651.html
Sent from the Karaf - User mailing list archive at Nabble.com.
container.
wrap:mvn:postgresql/postgresql/9.1-901.jdbc4.
--
View this message in context:
http://karaf.922171.n3.nabble.com/Hibernate-JPA-and-Karaf-4-tp4050569p4050650.html
Sent from the Karaf - User mailing list archive at Nabble.com.
is
available.
--
View this message in context:
http://karaf.922171.n3.nabble.com/Hibernate-JPA-and-Karaf-4-tp4050569p4050649.html
Sent from the Karaf - User mailing list archive at Nabble.com.
ble.com/file/n4050648/org.cfg>
In feature file I have all the dependency you have mentioed it.
--
View this message in context:
http://karaf.922171.n3.nabble.com/Hibernate-JPA-and-Karaf-4-tp4050569p4050648.html
Sent from the Karaf - User mailing list archive at Nabble.com.
Secondly, can you run the following command in karaf:
service:list DataSource
The logs showed the source being registered, but I just want to double
check.
--
View this message in context:
http://karaf.922171.n3.nabble.com/Hibernate-JPA-and-Karaf-4-tp4050569p4050647.html
Sent from the Karaf - User
Hi Stephen,
I have attached complete log file
log.txt <http://karaf.922171.n3.nabble.com/file/n4050646/log.txt>
--
View this message in context:
http://karaf.922171.n3.nabble.com/Hibernate-JPA-and-Karaf-4-tp4050569p4050646.html
Sent from the Karaf - User mailing list archive at Nabble.com.
Still unsure, I've seen the second error before, but I'm curious about the
IllegalArgumentException, can you attach the full log file? I'm not sure if
the two are related.
--
View this message in context:
http://karaf.922171.n3.nabble.com/Hibernate-JPA-and-Karaf-4-tp4050569p4050645.html
Sent
.Thread.run(Thread.java:745) [?:?]
--
View this message in context:
http://karaf.922171.n3.nabble.com/Hibernate-JPA-and-Karaf-4-tp4050569p4050643.html
Sent from the Karaf - User mailing list archive at Nabble.com.
, remove both the jpa:context and tx:transaction
and put and outside the bean definitions.
Re-run this after you have made the changes and show me the log file.
--
View this message in context:
http://karaf.922171.n3.nabble.com/Hibernate-JPA-and-Karaf-4-tp4050569p4050641.html
Sent from
in context:
http://karaf.922171.n3.nabble.com/Hibernate-JPA-and-Karaf-4-tp4050569p4050638.html
Sent from the Karaf - User mailing list archive at Nabble.com.
--
Jean-Baptiste Onofré
jbono...@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com
)
~[?:?]
at javax.xml.validation.Validator.validate(Unknown Source) ~[?:?]
at org.apache.aries.blueprint.parser.Parser.validate(Parser.java:346)
~[?:?]
--
View this message in context:
http://karaf.922171.n3.nabble.com/Hibernate-JPA-and-Karaf-4-tp4050569p4050638.html
Sent from
Sorry attached wrong log.
log.txt <http://karaf.922171.n3.nabble.com/file/n4050637/log.txt>
I enable the jndi, hibernate-orm etc.
--
View this message in context:
http://karaf.922171.n3.nabble.com/Hibernate-JPA-and-Karaf-4-tp4050569p4050637.html
Sent from the Karaf - User mailin
, I meant, uncomment the commented out entries in the
feature.xml file.
--
View this message in context:
http://karaf.922171.n3.nabble.com/Hibernate-JPA-and-Karaf-4-tp4050569p4050636.html
Sent from the Karaf - User mailing list archive at Nabble.com.
Hi,
how to enable the jndi, hibernate-orm ?
karaf.log <http://karaf.922171.n3.nabble.com/file/n4050635/karaf.log>
I have removed below two lines, even though my application shows in grace
period only.
--
View this message in context:
http://karaf.922171.n3.nabble.com/Hiberna
is stopped in the GracePeriod state.
--
View this message in context:
http://karaf.922171.n3.nabble.com/Hibernate-JPA-and-Karaf-4-tp4050569p4050634.html
Sent from the Karaf - User mailing list archive at Nabble.com.
p://aries.apache.org/xmlns/jpa/v2.0.0>>
>> http://aries.apache.org/xmlns/transactions/v2.0.0
>> <http://aries.apache.org/xmlns/transactions/v2.0.0>
>> <http://aries.apache.org/xmlns/transactions/v2.0.0
>> <http://aries.apache.org/
.922171.n3.nabble.com/Hibernate-JPA-and-Karaf-4-tp4050569p4050629.html
Sent from the Karaf - User mailing list archive at Nabble.com.
http://com.rma.data.dao.St>oreDao"
/>
--
View this message in context:
http://karaf.922171.n3.nabble.com/Hibernate-JPA-and-Karaf-4-tp40505
lns/blueprint/v1.0.0/blueprint.xsd>
>> http://aries.apache.org/xmlns/jpa/v2.0.0
>> <http://aries.apache.org/xmlns/jpa/v2.0.0>
>> http://aries.apache.org/xmlns/transactions/v2.0.0
>> <http://aries.apache.org/xmlns/transactions/v2.0.0>">
>>
>>
>>
http://aries.apache.org/xmlns/jpa/v2.0.0
http://aries.apache.org/xmlns/transactions/v2.0.0;>
--
View this message in context: http://karaf.922171.n3.nabble.
com/Hibernate-JPA-and-Karaf-4-tp4050569p4050614.htm
.org/xmlns/transactions/v2.0.0;>
--
View this message in context:
http://karaf.922171.n3.nabble.com/Hibernate-JPA-and-Karaf-4-tp4050569p4050614.html
Sent from the Karaf - User mailing list archive at Nabble.com.
Regards,
Stephen Munro
--
View this message in context:
http://karaf.922171.n3.nabble.com/Hibernate-JPA-and-Karaf-4-tp4050569p4050613.html
Sent from the Karaf - User mailing list archive at Nabble.com.
Hi Stephen,
I have took your code and modified my code inline with yours, but my bundles
status showing "Grace Period".
If I remove below two line then, bundles will start properly
--
View this message in context:
http://karaf.922171.n3.nabble.com/Hibernate-JPA-a
Hello Jack,
I've commented on one your previous posts as this thread is growing arms and
legs now...
The repo was posted previously in the above comments.
Stephen
--
View this message in context:
http://karaf.922171.n3.nabble.com/Hibernate-JPA-and-Karaf-4-tp4050569p4050607.html
Sent from
://karaf.922171.n3.nabble.com/Hibernate-JPA-and-Karaf-4-tp4050569p4050604.html
Sent from the Karaf - User mailing list archive at Nabble.com.
help on this.
Stephen
--
View this message in context:
http://karaf.922171.n3.nabble.com/Hibernate-JPA-and-Karaf-4-tp4050569p4050601.html
Sent from the Karaf - User mailing list archive at Nabble.com.
org.xml.sax,
org.xml.sax.helpers
--
View this message in context:
http://karaf.922171.n3.nabble.com/Hibernate-JPA-and-Karaf-4-tp4050569p4050600.html
Sent from the Karaf - User mailing list archive at Nabble.com.
vax.persistence.EntityManager))]"
--
View this message in context:
http://karaf.922171.n3.nabble.com/Hibernate-JPA-and-Karaf-4-tp4050569p4050599.html
Sent from the Karaf - User mailing list archive at Nabble.com.
have got it working. I've followed those guides, but still not
had much success.
The only thing I've not tried yet is going back from JPA 2.0 to JPA 1.0.
Stephen
--
View this message in context:
http://karaf.922171.n3.nabble.com/Hibernate-JPA-and-Karaf-4-tp4050569p4050589.html
Sent from
.n3.nabble.com/Hibernate-JPA-and-Karaf-4-tp4050569p4050589.html
Sent from the Karaf - User mailing list archive at Nabble.com.
undle
> org.desolateplanet.authentication-db-impl event 128
>
> At this point, I'm just about ready to give up and go back to using raw jdbc
> calls :P
>
>
>
> --
> View this message in context:
> http://karaf.922171.n3.nabble.com/Hibernate-JPA-and-Karaf-4-tp4050569p4050587.html
> Sent from the Karaf - User mailing list archive at Nabble.com.
ndle
org.desolateplanet.authentication-db-impl event 128
At this point, I'm just about ready to give up and go back to using raw jdbc
calls :P
--
View this message in context:
http://karaf.922171.n3.nabble.com/Hibernate-JPA-and-Karaf-4-tp4050569p4050587.html
Sent from the Karaf - User mailing
I'm having:
https://github.com/cschneider/Karaf-Tutorial/issues/22
Seems that upgrading hibernate to 5.2.9 might work. I'll need to give it a
try. I'll let you know how I get on...
--
View this message in context:
http://karaf.922171.n3.nabble.com/Hibernate-JPA-and-Karaf-4-tp4050569p4050584
.922171.n3.nabble.com/Hibernate-JPA-and-Karaf-4-tp4050569p4050584.html
Sent from the Karaf - User mailing list archive at Nabble.com.
.6,1)",org.apache.karaf.shell.consol
e;version="[2.2,4.1)",org.hibernate.proxy;version="[4.3,5)",javassist.u
til.proxy;version="[3.18,4)"
Meta-Persistence: META-INF/persistence.xml
Require-Capability: osgi.ee;filter:="(&(osgi.ee=JavaSE)(version=1.8))"
http://karaf.922171.n3.nabble.com/Hibernate-JPA-and-Karaf-4-tp4050569p4050576.html
Sent from the Karaf - User mailing list archive at Nabble.com.
--
Jean-Baptiste Onofré
jbono...@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com
--
View this message in context:
http://karaf.922171.n3.nabble.com/Hibernate-JPA-and-Karaf-4-tp4050569p4050577.html
Sent from the Karaf - User mailing list archive at Nabble.com.
lass=javax.persistence.EntityManager))]
The only thing I changed was the above and injecting the persistence context
via annotation.
--
View this message in context:
http://karaf.922171.n3.nabble.com/Hibernate-JPA-and-Karaf-4-tp4050569p4050576.html
Sent from the Karaf - User mailing list arc
| | Started |
enterprise-4.0.8
| Hibernate 4.3.x JPA persistence engine support
--
View this message in context:
http://karaf.922171.n3.nabble.com/Hibernate-JPA-and-Karaf-4-tp4050569p4050575.html
Sent from the Karaf - User mailing list archive at Nabble.com.
-config
jpa
hibernate
--
View this message in context:
http://karaf.922171.n3.nabble.com/Hibernate-JPA-and-Karaf-4-tp4050569p4050572.html
Sent from the Karaf - User mailing list archive at Nabble.com.
--
Jean-Baptiste Onofré
jbono...@apache.org
http
hibernate
--
View this message in context:
http://karaf.922171.n3.nabble.com/Hibernate-JPA-and-Karaf-4-tp4050569p4050572.html
Sent from the Karaf - User mailing list archive at Nabble.com.
--
Jean-Baptiste Onofré
jbono...@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com
the following entries:
jndi
jdbc
pax-jdbc-h2
pax-jdbc-pool-dbcp2
pax-jdbc-config
jpa
hibernate
--
View this message in context:
http://karaf.922171.n3.nabble.com/Hibernate-JPA-and-Karaf-4-tp4050569p4050572.html
001/XMLSchema-instance;
xmlns:jpa="http://aries.apache.org/xmlns/jpa/v1.0.0;
xmlns:tx="http://aries.apache.org/xmlns/transactions/v1.0.0;>
--
View this message in context:
http://karaf.922171.n3
001/XMLSchema-instance;
xmlns:jpa="http://aries.apache.org/xmlns/jpa/v1.0.0;
xmlns:tx="http://aries.apache.org/xmlns/transactions/v1.0.0;>
--
View this message in context:
http://karaf.922171.n3.n
55 matches
Mail list logo