Re: hibernate not finding global resource datasource defined by tomcat

2010-06-15 Thread Mark Eggers
nate not finding global resource datasource defined by > tomcat > To: "Tomcat Users List" > Date: Monday, June 14, 2010, 11:31 PM > On 15/06/2010 02:21, Mark Eggers > wrote: > > Sure, I can make an attempt at it. I'd like to finish > the wiki entry first

Re: hibernate not finding global resource datasource defined by tomcat

2010-06-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Yucca Nel, On 6/15/2010 1:23 AM, yucca...@live.co.za wrote: > -- >> From: "Christopher Schultz" >> Subject: Re: hibernate not finding global resource datasource defined by

Re: hibernate not finding global resource datasource defined by tomcat

2010-06-15 Thread yuccanel
010 11:45 PM To: "Tomcat Users List" Subject: Re: hibernate not finding global resource datasource defined by tomcat Please read the following for a detailed description on how to configure Hibernate to use JNDI resources supplied by Tomcat. http://wiki.apache.org/tomcat/TomcatHibe

Re: hibernate not finding global resource datasource defined by tomcat

2010-06-14 Thread Mark Thomas
On 15/06/2010 02:21, Mark Eggers wrote: Sure, I can make an attempt at it. I'd like to finish the wiki entry first. What I'm writing though will have to be drastically shortened for the documentation page I think. I just ran into a bit of a puzzle though. I was trying to unravel what happens

Re: hibernate not finding global resource datasource defined by tomcat

2010-06-14 Thread yuccanel
-- From: "Christopher Schultz" Sent: Tuesday, June 15, 2010 12:03 AM To: "Tomcat Users List" Subject: Re: hibernate not finding global resource datasource defined by tomcat -BEGIN PGP SIGNED MESSAGE- Hash: SHA1

Re: hibernate not finding global resource datasource defined by tomcat

2010-06-14 Thread Mark Eggers
Subject: Re: hibernate not finding global resource datasource defined by > tomcat > To: "Tomcat Users List" > Date: Monday, June 14, 2010, 2:59 PM > On 14/06/2010 22:45, Mark Eggers > wrote: > > I'm trying to finish up a document on > DataSourceRealms. Ho

Re: hibernate not finding global resource datasource defined by tomcat

2010-06-14 Thread Mark Thomas
On 14/06/2010 22:45, Mark Eggers wrote: I'm trying to finish up a document on DataSourceRealms. Hopefully that will get posted on Tomcat's Wiki today or tomorrow, depending on other time constraints. I don't suppose you fancy providing a patch for the Tomcat docs as well... (or instead of)

Re: hibernate not finding global resource datasource defined by tomcat

2010-06-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Yuccal Nel, On 6/14/2010 4:26 PM, yucca...@live.co.za wrote: > Please advise as to why hibernate us unable to find jndi datasource > configured in tomcat? I'm not sure why Hibernate can't find your JNDI resource, but... > name="connection.url">

Re: hibernate not finding global resource datasource defined by tomcat

2010-06-14 Thread Mark Eggers
Please read the following for a detailed description on how to configure Hibernate to use JNDI resources supplied by Tomcat. http://wiki.apache.org/tomcat/TomcatHibernate Then you will need a element in META-INF/context.xml to make the resource in available to your application. The configura