Struts « Tomcat « JPA Q&A





2. hibernate_struts_tomcat    coderanch.com

How did you verify they were in the database? If you connected via a sql client after the insert has happened and can see the inserted records, then something else is deleting them. This is not normal behaviour for Hibernate, unless you are getting Hibernate to generate your schema? If you are, the table will be being dropped and recreated when ...

3. Tomcat, Struts, and JDBCException    forum.hibernate.org

Beginner Joined: Tue Jan 06, 2004 4:51 pm Posts: 48 Hi, I'm using the struts plug-in for hibernate 2.1 in Tomcat 5. So far it's worked pretty well, except I'm having this problem: Code: ERROR net.sf.hibernate.util.JDBCExceptionReporter -- Could not execute query org.postgresql.util.PSQLException: Connection is closed. Operation is not permi tted. at org.postgresql.core.QueryExecutor.executeV3(QueryExecutor.java:116) ...

4. "need a sample application (Tomcat+Struts+Hibernate+Mys    forum.hibernate.org

dear seniors.... i am newbie to this forum and also for Hibernate concepts... i think it would be better if go with a sample application to learn hibernate concepts programmatically...so can u Seniors pls gimme a sample code which includes Struts+Hibernate with Tomcat4 and MySQL?.....i 'll be thankful to u!. if not atleast a sample application on Hibernate only. -ur Junior, ...

5. Porting Hibernate/Struts App from Tomcat 4 to 5    forum.hibernate.org

I'm trying to bring an struts and hibernate based application that runs sucessfully with tomcat 4 to tomcat 5. Shortly after start it throws the exception Code: Time: 11:36:25 Priority: ERROR Thread: main NDC: null Category: net.sf.hibernate.cfg.Configuration Location: net.sf.hibernate.cfg.Configuration.addJar(Configuration.java:381) Message: Could not configure datastore from jar: ocp-dbmappings.jar Throwable: java.util.zip.ZipException: No such file or directory at ...

6. Tomcat,Struts,Hibernate InvalidMappingException    forum.hibernate.org

Hi! I get below error when starting up my application using Hibernate as a plugin in Struts. I have mapped all classes in hibernate.cfg.xml, but if I'm not adding the line .addClass(Article.class) I get org.hibernate.MappingException. now I just get org.hibernate.InvalidMappingException Hibernate works perfectly when I run my Unit tester as Java Application in Eclipse so there should not be any problems ...