You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

I attempted to this advanced install, since I'm installing on a machine that already has MySQL running.

I changed the database logins per the instructions.

When I attempt to start tomcat and the application, tomcat will start and is accessible, but the wflow-wfweb is not. Tomcat returns a 404 indicating the requested resource is not available.

The tomcat logs indicate that the application does not load due to an error.

The localhost log indicates:

Dec 23, 2010 12:03:10 AM org.apache.catalina.core.StandardContext listenerStart
SEVERE: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'setupSessionFactory' defined in class path resource [KB:commonsApplicationContext.xml]: Invocation of init method failed; nested exception is org.hibernate.HibernateException: Hibernate Dialect must be explicitly set
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1336)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:471)

I tried changing the hibernate xml file to explicitly name the dialect. That did not help.

I suspect that tomcat does not have drivers for mysql. i added mysql-connector-java-5.1.14-bin.jar to /lib in tomcat. That still did not help.

What am i missing?

  • No labels