Double checked and have definitely downloaded the tomcat distribution (phew). out of curiosity was it the java:comp/env that made you think that I'd got the wrong one? I must admit this had me wondering as I've only ever had to use java:comp/env in fully blown J2EE containers such as WebLogic and WebSphere, I didn't realise it existed in Tomcat too.
I'm going to try falling back to a non-jndi DataSource (as per Matt's blogged example) and will see how I get on, ultimately I'd like to use JNDI if possible but it might give me some clues at least. Do you know if the initial table creation somehow uses a different DataSource mechanism than the standard in-app mechanism? Cheers, Edd On 22 August 2012 17:37, Dave <[email protected]> wrote: > On Wed, Aug 22, 2012 at 11:57 AM, Edd Grant <[email protected]> wrote: > > Sorry, forgot to mention, logs do show that the DataSource is being found > > in JNDI, so maybe my hypothesis doesn't hold any water after all: > > > > INFO 2012-08-22 08:53:27,492 DatabaseProvider:successMessage - SUCCESS: > > Got parameters. Using configuration type JNDI_NAME > > INFO 2012-08-22 08:53:27,493 DatabaseProvider:successMessage - -- Using > > JNDI datasource name: java:comp/env/jdbc/rollerdb > > INFO 2012-08-22 08:53:27,494 DatabaseProvider:successMessage - SUCCESS: > > located JNDI DataSource [java:comp/env/jdbc/rollerdb] > > INFO 2012-08-22 08:53:27,494 JPAPersistenceStrategy:<init> - > > hibernate.transaction.manager_lookup_class: > > org.hibernate.transaction.JBossTransactionManagerLookup > > INFO 2012-08-22 08:53:27,494 JPAPersistenceStrategy:<init> - > > hibernate.transaction.factory_class: > > org.hibernate.transaction.JTATransactionFactory > > Hmm... based on those log messages I wonder: did you download the right > file? > > Are you sure you downloaded the Tomcat build? It's named > "roller-weblogger-5.0.1-for-tomcat" > > - Dave > -- Web: http://www.eddgrant.com Email: [email protected] Mobile: +44 (0) 7861 394 543
