On Wed, Aug 22, 2012 at 3:15 PM, Edd Grant <[email protected]> wrote:
> 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.


The thing that made me curious was the JBoss and Hibernate stuff. The
Tomcat build of Roller includes OpenJPA because Tomcat is not a full
app server. So, I would not expect to see any Hibernate stuff in the
startup log -- Roller on Tomcat uses only OpenJPA and not Hibernate.
Maybe you have some old stuff in your Roller properties file that is
causing Hibernate to kick in?

- Dave



>> 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

Reply via email to