0 Replies Latest reply on Apr 13, 2010 8:38 AM by jk;l jkl;

    Seam 2.2.0.GA with Tomcat - how to set it up?

    jk;l jkl; Expert

      I'm very confused as to how to set up a Seam 2.2.0.GA project with Tomcat 6.0.26 (the latest one). It seems that the instructions at http://docs.jboss.com/seam/2.2.0.GA/reference/en-US/html/gettingstartedwithjbosstools.html have to do with setting it up with JBoss AS. However, I'm using Tomcat. (Btw, I'm using the latest Eclipse and the latest JBoss Tools - though I only set up those JBoss Tools modules I figured I'd need and not others.)


      I read about using Tomcat and apparently the recommended way to do it is by using Embedded JBoss (http://seamframework.org/Documentation/RunningASeamgenProjectOnApacheTomcatWithoutEmbeddedJBoss) - I'm fine with that, though I'd prefer to run it with a plain old Tomcat. But right now my biggest concern is just getting a working Seam project going, so I'm okay either way.


      Using seam-gen (http://docs.jboss.com/seam/2.2.0.GA/reference/en-US/html/gettingstarted.html) seems to require JBoss AS, as running 'seam setup' wants to know the location of the JBoss directory.


      I'm so confused - I used to have this working but now I'm trying to set up a Tomcat/Seam project from scratch and it's a no-go! I've tried getting it going in all sorts of ways, but they're all patchwork hacks that lead to all sorts of strange errors that I'm sure have to do with a configuration that isn't set up right rather than my application itself.


      I'm really hoping somebody could give me a simple step-by-step of how to get Seam 2.2.0.GA working with Tomcat. Please help me.