Re: Exception report Tapestry + Hibernate HTTP 500

2012-04-30 Thread Thiago H. de Paula Figueiredo
On Mon, 30 Apr 2012 21:58:59 -0300, TechniciuM wrote: Hi Thiago. Hi! Suprisingly I have been left with some old Hibernate libs in my stack, so I had to delete them manually as they haven't been seen by my IDE. I have done it, but the issue persists, but I have got a couple of issues he

Re: Exception report Tapestry + Hibernate HTTP 500

2012-04-30 Thread TechniciuM
eason why my app fails to process it in the right way. This is the the new log http://shrib.com/GebWbwlN -- View this message in context: http://tapestry.1045711.n5.nabble.com/Exception-report-Tapestry-Hibernate-HTTP-500-tp5674051p5677252.html Sent from the Tapestry - User mailing list archi

Re: Exception report Tapestry + Hibernate HTTP 500

2012-04-30 Thread Thiago H. de Paula Figueiredo
On Mon, 30 Apr 2012 18:58:57 -0300, TechniciuM wrote: This is what I wanted at first to post : http://shrib.com/902LeAu6 java.lang.IncompatibleClassChangeError: org/hibernate/cfg/ExtendedMappings at org.hibernate.cfg.AnnotationConfiguration.createExtendedMappings(AnnotationConfiguration.ja

Re: Exception report Tapestry + Hibernate HTTP 500

2012-04-30 Thread TechniciuM
This is what I wanted at first to post : http://shrib.com/902LeAu6 This is my issue. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Exception-report-Tapestry-Hibernate-HTTP-500-tp5674051p5677101.html Sent from the Tapestry - User mailing list archive at Nabble.com

Re: Exception report Tapestry + Hibernate HTTP 500

2012-04-30 Thread TechniciuM
Lol :) I couldn't see I didn't close the listener tag. :D -- View this message in context: http://tapestry.1045711.n5.nabble.com/Exception-report-Tapestry-Hibernate-HTTP-500-tp5674051p5677078.html Sent from the Tapestry - User mailing list archive at

Re: Exception report Tapestry + Hibernate HTTP 500

2012-04-30 Thread Kalle Korhonen
echniciuM wrote: > But why is that? Do I have to make my own service in order that to work? So > far my xml was parsing just fine, but when I implemented the entities like I > did, it throws me that exception. > > -- > View this message in context: > http://tapestry.1045711.n5.n

Re: Exception report Tapestry + Hibernate HTTP 500

2012-04-30 Thread TechniciuM
But why is that? Do I have to make my own service in order that to work? So far my xml was parsing just fine, but when I implemented the entities like I did, it throws me that exception. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Exception-report-Tapestry-Hibernate

Re: Exception report Tapestry + Hibernate HTTP 500

2012-04-30 Thread Thiago H. de Paula Figueiredo
On Mon, 30 Apr 2012 18:10:10 -0300, TechniciuM wrote: This is the log of my Tomcat server, Thiago, http://shrib.com/45eMiypR . It's quite obvious what the problem is in the log: Caused by: java.lang.RuntimeException: Exception constructing service 'HibernateSessionSource': Error invoking s

Re: Exception report Tapestry + Hibernate HTTP 500

2012-04-30 Thread TechniciuM
This is the log of my Tomcat server, Thiago, http://shrib.com/45eMiypR . -- View this message in context: http://tapestry.1045711.n5.nabble.com/Exception-report-Tapestry-Hibernate-HTTP-500-tp5674051p5677005.html Sent from the Tapestry - User mailing list archive at Nabble.com

Re: Exception report Tapestry + Hibernate HTTP 500

2012-04-30 Thread Thiago H. de Paula Figueiredo
On Mon, 30 Apr 2012 15:29:24 -0300, TechniciuM wrote: I run it using NetBeans IDE. Apache Tomcat is added to the server list. When I start the project, it is automatically built. So the Tomcat log is probably sent to the NetBeans console. You should take a look there. -- Thiago H. de Pau

Re: Exception report Tapestry + Hibernate HTTP 500

2012-04-30 Thread TechniciuM
I run it using NetBeans IDE. Apache Tomcat is added to the server list. When I start the project, it is automatically built. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Exception-report-Tapestry-Hibernate-HTTP-500-tp5674051p5676579.html Sent from the Tapestry - User

Re: Exception report Tapestry + Hibernate HTTP 500

2012-04-30 Thread Thiago H. de Paula Figueiredo
On Mon, 30 Apr 2012 14:45:01 -0300, TechniciuM wrote: @Thiago I have 4 logs here from my Apache Tomcat server. Is that what you need? No. I want the console or log, but just the part containing the full stack trace of the problem and nothing more. How do you run your Tomcat while developi

Re: Exception report Tapestry + Hibernate HTTP 500

2012-04-30 Thread TechniciuM
go I have 4 logs here from my Apache Tomcat server. Is that what you need? -- View this message in context: http://tapestry.1045711.n5.nabble.com/Exception-report-Tapestry-Hibernate-HTTP-500-tp5674051p5676497.html Sent from the Tapestry - User mailing list archive at Nabbl

Re: Exception report Tapestry + Hibernate HTTP 500

2012-04-30 Thread Kalle Korhonen
On Mon, Apr 30, 2012 at 9:33 AM, TechniciuM wrote: > The thing is I don't think JARs are mixed. Main reason for this behavior Which versions of T5 and Hibernate are you using? I don't think it has anything to do with your entities but the IncompatibleClassChangeError you see in the trace. Kalle

Re: Exception report Tapestry + Hibernate HTTP 500

2012-04-30 Thread Thiago H. de Paula Figueiredo
On Mon, 30 Apr 2012 13:33:36 -0300, TechniciuM wrote: So the main reason is I think the inheritance, ie I am not using extended mapping. What do you think, Thiago? Without the full stack trace from the console or log, I can't say anything. ;) -- Thiago H. de Paula Figueiredo Independent J

Re: Exception report Tapestry + Hibernate HTTP 500

2012-04-30 Thread TechniciuM
The thing is I don't think JARs are mixed. Main reason for this behavior could be possibly find in the following scenario: When I implemented this like inheritance: @Entity @Table(name = "Article") @Inheritance(strategy = InheritanceType.TABLE_PER_CLASS) public class Articleimplements Serializable

Re: Exception report Tapestry + Hibernate HTTP 500

2012-04-30 Thread Thiago H. de Paula Figueiredo
Hi! Please get the stack trace from the console or log instead of the Tapestry page error. In addition, it looks like you have mixed Hibernate JAR versions. Error invoking service builder method org.apache.tapestry5.hibernate.HibernateCoreModule.buildHibernateSessionSource(Logger, List, R