Konstantin Kolinko wrote:
2010/3/28 fred basset <[email protected]>:Caused by: org.hibernate.HibernateException: Hibernate Dialect must be explicitly set at org.hibernate.dialect.DialectFactory.determineDialect(DialectFactory.java:57) at org.hibernate.dialect.DialectFactory.buildDialect(DialectFactory.java:39) at org.hibernate.cfg.SettingsFactory.determineDialect(SettingsFactory.java:426) at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:128) at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2009) at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1292)Looks like your Hibernate configuration is incomplete.
Either that, or you don't have access from Tomcat server to MySQL server. Notice other exception:
Caused by: java.net.ConnectException: Connection refused Make sure that it is possible to open MySQL port, e.g: tomcat-server> telnet mysql-server.company.com 3306 Regards, Ognjen --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
