6 Replies Latest reply on Jul 20, 2007 9:22 AM by michael.yuan

    Gavin,Can you tell me how run seam2.0 on tomcat6 ???

    oncetime2008

      Now, I'm very bother.
      I was tried to run seam2.0 on tomcat5.5,but it's can't run.I think seam2.0 that can't run on tomcat5.5. Yes or No.I waste two days.

      Recently,I'm trying to run seam2.0 on tomcat6,but it's still wrong.
      I use JSF1.2RI with Facelets.
      Development tool is Eclipse3.3,MyEclipse6.0 with Tomcat6.
      The program can run, no exception, no wrong.

      First:
      I put jboss-seam-2.0.0.BETA1\*.jar into WEB-INF\lib\ and run program.It tell me can't find some class.I tried several times,because i don't like put all jar to.But it can't run.
      Second:
      So i put jboss-seam-2.0.0.BETA1\*.jar and jboss-seam-2.0.0.BETA1\lib\*.jar into.When i delopy and run tomcat6,it's not show any exception.But when i access to index.jsp,it's show some exception.It's about compile jsp page excpetion.
      I put seam.pro... to META-INF\.
      Seam group, I think seam is very good,but I just want to run "Hello World" with seam on tomcat6, but i spend several days. I can't do that.
      You can give me a demo without ejb about seam.I just want to put it into tomcat\webapp\ and run it.I don't do anything.Now I just want it.

      I want use jsf+seam+jpa,but i can't use seam.

        • 1. Re: Gavin,Can you tell me how run seam2.0 on tomcat6 ???

          To use JPA in Tomcat, you need a JTA transaction manager in JNDI. You need to know how to set it up or use Embeddable JBoss to set it up.

          An alternative to JPA is to use plain Hibernate + Seam + JSF on Tomcat 6. You can see an example app in examples/hibernate2 in the Seam distribution.

          • 2. Re: Gavin,Can you tell me how run seam2.0 on tomcat6 ???
            oncetime2008

            I can't run it.

            Today I waste another day for seam,I don't many time to waste.I just want to say:"I can run jsf+facelets+dynafaces, I can run jpa, why i spend much more time,but i can't run seam."

            Before i want to jsf,seam,jpa for my 3 layers javaee program, but now i must find another middleware instead of seam.

            Maybe one or two months passed, I will study seam again.But it's not now.I'm a student, and tired.

            • 3. Re: Gavin,Can you tell me how run seam2.0 on tomcat6 ???
              oncetime2008

              PS:
              I can use JPA with Tomcat.
              JPA is a criterion.We can use hibernate,toplink,openjpa as ejb persistence provider.

              • 4. Re: Gavin,Can you tell me how run seam2.0 on tomcat6 ???
                kiekie96

                I also cannot run Seam2.0 ... i already develope application using seam 1.2.1 with tomcat 5 and have no problem at all.

                I tried to run Seam2.0 registration example in tomcat 5 and 6 .. always get error

                INFO: Welcome to Seam 2.0.0.BETA1
                Jul 20, 2007 3:02:07 PM org.apache.catalina.core.StandardContext start
                SEVERE: Error listenerStart
                Jul 20, 2007 3:02:07 PM org.apache.catalina.core.StandardContext start
                SEVERE: Context [/jboss-seam-registration] startup failed due to previous errors

                Is there anything i missed ? *weird*

                • 5. Re: Gavin,Can you tell me how run seam2.0 on tomcat6 ???
                  smokingapipe

                  I haven't tried running Seam outside of JBoss (ie in standalone) and I haven't yet tried Seam 2. I'll try Seam 1.21 in standalone with EJB3 embedded at some point. It would be quite useful to get that working. Sometimes I really want to use the neat features of Seam and EJB3 without installing a full JBoss.

                  • 6. Re: Gavin,Can you tell me how run seam2.0 on tomcat6 ???

                    You tried examples/hibernate2 and it did not work? It works for me on both tomcat 5.5 and tomcat 6. Read the readme.txt file for how to setup the JNDI data source.

                    Yes, you can run JPA in plain Tomcat but not with Seam. Seam requires the JTA transaction manager for JPA. You need to install embeddeable JBoss to use Seam + JPA on Tomcat.