Re: JNDI initialization since Tomcat 8.0.1

2014-04-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 David, On 4/16/14, 10:44 AM, David Landis wrote: > On Sun, Apr 13, 2014 at 4:02 PM, Konstantin Kolinko > wrote: >> >> >> By the way, there exists an Apache project implementing the JPA >> specification, http://openjpa.apache.org/ > > > It does

Re: JNDI initialization since Tomcat 8.0.1

2014-04-16 Thread David Landis
On Sun, Apr 13, 2014 at 4:02 PM, Konstantin Kolinko wrote: > > > By the way, there exists an Apache project implementing the JPA > specification, > http://openjpa.apache.org/ It does not really work with Tomcat though does it? See this issue: https://issues.apache.org/jira/browse/OPENJPA-1590 or

Re: JNDI initialization since Tomcat 8.0.1

2014-04-15 Thread Christian
There is already a hibernate issue on this bug (https://hibernate.atlassian.net/browse/HHH-8818). Regards, Christian - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomc

Re: JNDI initialization since Tomcat 8.0.1

2014-04-13 Thread Christian
On 13.04.2014 22:02, Konstantin Kolinko wrote: > I do not know, what version of hibernate you are using, but if I look > at 4.3.x sources [1], the following method mentioned in your > stacktrace changes TCCL and thus breaks JNDI: > > org.hibernate.boot.registry. > classloading.internal.ClassLoader

Re: JNDI initialization since Tomcat 8.0.1

2014-04-13 Thread Konstantin Kolinko
2014-04-13 19:32 GMT+04:00 Christian : >> Is hibernate initialized via a in web.xml, or where? > > I don't know exactly how it is initialized. I use spring annotation > configuration with a > javax.servlet.ServletContainerInitializer but I don't know, if hibernate gets > loaded immediately. > L

Re: JNDI initialization since Tomcat 8.0.1

2014-04-13 Thread Christian
> Is hibernate initialized via a in web.xml, or where? I don't know exactly how it is initialized. I use spring annotation configuration with a javax.servlet.ServletContainerInitializer but I don't know, if hibernate gets loaded immediately. Looking at the call stack, it seems that it gets ini

Re: JNDI initialization since Tomcat 8.0.1

2014-04-13 Thread Konstantin Kolinko
2014-04-13 15:10 GMT+04:00 Christian : > Hi, > > I'm experimenting with java 8, spring data JPA, hibernate and tomcat 8. > Spring Data JPA initializes hibernate on deployment. > > On tomcat 8.0.0-RC10 everything is fine. Using Tomcat 8.0.1 or newer, an > exception is thrown when hibernate tries to

JNDI initialization since Tomcat 8.0.1

2014-04-13 Thread Christian
Hi, I'm experimenting with java 8, spring data JPA, hibernate and tomcat 8. Spring Data JPA initializes hibernate on deployment. On tomcat 8.0.0-RC10 everything is fine. Using Tomcat 8.0.1 or newer, an exception is thrown when hibernate tries to fetch the datasource from JNDI: javax.naming.NameN