Your stack trace is missing a very important part of it, the root cause,
probably ate by Tomcat, so we can't help. In addition, the problem doesn't
seem related to Tapestry and Tapestry-Hibernate at all, but instead
probably being a Hibernate configuration problem.
On Wed, 07 Nov 2012 11:18:58 -0200, dinesh707 <dinesh...@gmail.com> wrote:
===hibernate.cfg.xml===
<session-factory>
<property
name="hibernate.connection.driver_class">org.postgresql.Driver</property>
<property
name="hibernate.connection.url">jdbc:postgresql://localhost:5432/thetable</property>
<property
name="hibernate.dialect">org.hibernate.dialect.PostgreSQLDialect</property>
<property
name="hibernate.connection.username">postgres</property>
<property
name="hibernate.connection.password">postgres123</property>
<property name="hibernate.show_sql">true</property>
<property name="hibernate.format_sql">true</property>
</session-factory>
=== pom.xml ===
<dependency>
<groupId>org.apache.tapestry</groupId>
<artifactId>tapestry-hibernate</artifactId>
<version>${tapestry-release-version}</version>
</dependency>
<dependency>
<groupId>postgresql</groupId>
<artifactId>postgresql</artifactId>
<version>9.1-901.jdbc4</version>
</dependency>
=== ERROR ===
It worked before when i use a "hsqldb". But now i get the following
error.
HTTP ERROR 500
Problem accessing /kidsing/contentuploader/songuploader. Reason:
Exception constructing service 'ValueEncoderSource': Error invoking
service contribution method
org.apache.tapestry5.hibernate.HibernateModule.contributeValueEncoderSource(MappedConfiguration,
boolean, HibernateSessionSource, Session, TypeCoercer, PropertyAccess,
LoggerSource): Exception constructing service 'HibernateSessionSource':
Error invoking constructor public
org.apache.tapestry5.internal.hibernate.HibernateSessionSourceImpl(org.slf4j.Logger,java.util.List):
Could not initialize class
org.hibernate.annotations.common.reflection.java.JavaReflectionManager
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/What-am-i-doing-in-this-postgreSQL-configuration-tp5717755.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org
--
Thiago H. de Paula Figueiredo
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org