[jboss-user] [JBoss Seam] - Simple example for Tomcat?

mlh496 do-not-reply at jboss.com
Fri Feb 23 14:48:50 EST 2007


Hey everyone,

I'm new to Seam and am very excited the framework.  For reasons I won't go into, I need to deploy a simple example of a Seam app that uses a database to Tomcat.

When I first installed Tomcat 6.0, I was able to successfully deploy the DVD store and Booking examples.  However, now they deploy but give errors.  I've cleaned out all caches, redeployed, etc., but to no avail.

Another thing I tried was I created a simple seam app using seam-gen.  I then generated the entities against a simple database with a single table.  In the setup I specified I wanted to generate a WAR instead of an EAR.  The WAR does not work in Tomcat.  I found some documentation that specifies what changes need to take place in order to work on Tomcat.  After making those changes, it still fails.

To make a long story short (too late), does anyone have a very simple WAR file of a Seam app that works in Tomcat and uses a datasource?

Many thanks,
-Michael

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4021280#4021280

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4021280



More information about the jboss-user mailing list