14 Replies Latest reply on Feb 18, 2009 8:09 PM by Moissane Hernández

    Deploy Seam 2.0.0.GA to Tomcat 6

    Moissane Hernández Newbie

      How can I deploy my seam 2.0.0.GA app to a Tomcat 6 server?
      Thanks!

        • 1. Re: Deploy Seam 2.0.0.GA to Tomcat 6
          Tonatihu Diaz Newbie

          Hi Moissane,


          I've just sucessfully deployed my Seam Application on Tomcat, and the steps you need are very simple, just completely hidden in a lot of blog posts and forums.


          In a recent post I described all the configuration I used (and a little trouble I had) for deploying on Tomcat.


          Please, keep me informed if that worked for you!

          • 2. Re: Deploy Seam 2.0.0.GA to Tomcat 6
            Moissane Hernández Newbie
            Is not clear for me yet, please help me more. I have the same problem that you "I was using JBoss AS 5.0 (I used jboss-4.2.2.GA) as the development server, but just a few weeks ago, I was informed the final application will use Tomcat as the production environment.". I tried to create a new seam app selecting tomcat 6 as server runtime enviroment and when start the tomcat I get this errors:

            17-feb-2009 8:57:33 org.apache.tomcat.util.digester.SetPropertiesRule begin
            ADVERTENCIA: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:test' did not find a matching property.
            17-feb-2009 8:57:33 org.apache.catalina.core.AprLifecycleListener init
            INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Archivos de programa\Java\jre1.5.0_06\bin;.;C:\WINDOWS\system32;C:\WINDOWS;C:\Archivos de programa\Java\jre1.5.0_06\bin\client;C:\Archivos de programa\Java\jre1.5.0_06\bin;C:\Archivos de programa\Borland\Delphi7\Bin;C:\Archivos de programa\Borland\Delphi7\Projects\Bpl\;C:\oracle\ora90\bin;C:\Archivos de programa\Oracle\jre\1.1.8\bin;C:\Archivos de programa\Archivos comunes\NetSarang;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Archivos de programa\Intel\DMIX;C:\Archivos de programa\Microsoft SQL Server\80\Tools\BINN
            17-feb-2009 8:57:37 org.apache.coyote.http11.Http11Protocol init
            INFO: Inicializando Coyote HTTP/1.1 en puerto http-8080
            17-feb-2009 8:57:37 org.apache.catalina.startup.Catalina load
            INFO: Initialization processed in 5124 ms
            17-feb-2009 8:57:37 org.apache.catalina.core.StandardService start
            INFO: Arrancando servicio Catalina
            17-feb-2009 8:57:37 org.apache.catalina.core.StandardEngine start
            INFO: Starting Servlet Engine: Apache Tomcat/6.0.18
            17-feb-2009 8:57:39 org.jboss.seam.servlet.SeamListener contextInitialized
            INFO: Welcome to Seam 2.0.0.GA
            17-feb-2009 8:57:39 org.apache.catalina.core.StandardContext listenerStart
            GRAVE: Excepci�n enviando evento inicializado de contexto a instancia de escuchador de clase org.jboss.seam.servlet.SeamListener
            java.lang.NoClassDefFoundError: javassist/bytecode/ClassFile
                    at org.jboss.seam.deployment.Scanner.<init>(Scanner.java:51)
                    at org.jboss.seam.deployment.Scanner.<init>(Scanner.java:44)
                    at org.jboss.seam.deployment.NamespaceScanner.<init>(NamespaceScanner.java:24)
                    at org.jboss.seam.init.Initialization.addNamespaces(Initialization.java:783)
                    at org.jboss.seam.init.Initialization.create(Initialization.java:85)
                    at org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:34)
                    at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3843)
                    at org.apache.catalina.core.StandardContext.start(StandardContext.java:4342)
                    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
                    at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
                    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
                    at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
                    at org.apache.catalina.core.StandardService.start(StandardService.java:516)
                    at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
                    at org.apache.catalina.startup.Catalina.start(Catalina.java:578)
                    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
                    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
                    at java.lang.reflect.Method.invoke(Unknown Source)
                    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
                    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
            17-feb-2009 8:57:39 org.apache.catalina.core.StandardContext start
            GRAVE: Error listenerStart
            17-feb-2009 8:57:39 org.apache.catalina.core.StandardContext start
            GRAVE: Fall� en arranque del Contexto [/test] debido a errores previos
            17-feb-2009 8:57:39 org.apache.catalina.core.StandardContext listenerStop
            GRAVE: Excepci�n enviando evento de contexto destru�do a instancia de escuchador de clase org.jboss.seam.servlet.SeamListener
            java.lang.NoClassDefFoundError: javassist/util/proxy/MethodFilter
                    at org.jboss.seam.core.Events.instance(Events.java:158)
                    at org.jboss.seam.core.Events.exists(Events.java:153)
                    at org.jboss.seam.contexts.Contexts.destroy(Contexts.java:236)
                    at org.jboss.seam.contexts.Lifecycle.endApplication(Lifecycle.java:52)
                    at org.jboss.seam.contexts.ServletLifecycle.endApplication(ServletLifecycle.java:118)
                    at org.jboss.seam.servlet.SeamListener.contextDestroyed(SeamListener.java:39)
                    at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:3882)
                    at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4523)
                    at org.apache.catalina.core.StandardContext.start(StandardContext.java:4387)
                    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
                    at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
                    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
                    at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
                    at org.apache.catalina.core.StandardService.start(StandardService.java:516)
                    at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
                    at org.apache.catalina.startup.Catalina.start(Catalina.java:578)
                    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
                    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
                    at java.lang.reflect.Method.invoke(Unknown Source)
                    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
                    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
            17-feb-2009 8:57:39 org.apache.coyote.http11.Http11Protocol start
            INFO: Arrancando Coyote HTTP/1.1 en puerto http-8080
            17-feb-2009 8:57:39 org.apache.jk.common.ChannelSocket init
            INFO: JK: ajp13 listening on /0.0.0.0:8009
            17-feb-2009 8:57:39 org.apache.jk.server.JkMain start
            INFO: Jk running ID=0 time=0/46  config=null
            17-feb-2009 8:57:39 org.apache.catalina.startup.Catalina start
            INFO: Server startup in 2483 ms

            PLEASE give me some clue!
            THANKS A LOT!
            • 3. Re: Deploy Seam 2.0.0.GA to Tomcat 6
              Val Sw Expert

              Check javassist.jar is available in build path.


              Don't forget to rate if it helps.

              • 4. Re: Deploy Seam 2.0.0.GA to Tomcat 6
                Moissane Hernández Newbie
                I get this now:

                17-feb-2009 10:01:26 org.apache.tomcat.util.digester.SetPropertiesRule begin
                ADVERTENCIA: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:test' did not find a matching property.
                17-feb-2009 10:01:26 org.apache.catalina.core.AprLifecycleListener init
                INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Archivos de programa\Java\jre1.5.0_06\bin;.;C:\WINDOWS\system32;C:\WINDOWS;C:\Archivos de programa\Java\jre1.5.0_06\bin\client;C:\Archivos de programa\Java\jre1.5.0_06\bin;C:\Archivos de programa\Borland\Delphi7\Bin;C:\Archivos de programa\Borland\Delphi7\Projects\Bpl\;C:\oracle\ora90\bin;C:\Archivos de programa\Oracle\jre\1.1.8\bin;C:\Archivos de programa\Archivos comunes\NetSarang;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Archivos de programa\Intel\DMIX;C:\Archivos de programa\Microsoft SQL Server\80\Tools\BINN
                17-feb-2009 10:01:26 org.apache.coyote.http11.Http11Protocol init
                INFO: Inicializando Coyote HTTP/1.1 en puerto http-8080
                17-feb-2009 10:01:26 org.apache.catalina.startup.Catalina load
                INFO: Initialization processed in 1055 ms
                17-feb-2009 10:01:27 org.apache.catalina.core.StandardService start
                INFO: Arrancando servicio Catalina
                17-feb-2009 10:01:27 org.apache.catalina.core.StandardEngine start
                INFO: Starting Servlet Engine: Apache Tomcat/6.0.18
                17-feb-2009 10:01:28 org.jboss.seam.servlet.SeamListener contextInitialized
                INFO: Welcome to Seam 2.0.0.GA
                17-feb-2009 10:01:28 org.jboss.seam.deployment.Scanner scan
                INFO: scanning: /D:/java/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/test/WEB-INF/lib/jboss-seam.jar
                17-feb-2009 10:01:28 org.jboss.seam.deployment.Scanner scan
                INFO: scanning: /D:/java/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/test/WEB-INF/lib/jboss-seam-remoting.jar
                17-feb-2009 10:01:28 org.jboss.seam.deployment.Scanner scan
                INFO: scanning: /D:/java/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/test/WEB-INF/lib/jboss-seam-ui.jar
                17-feb-2009 10:01:28 org.jboss.seam.deployment.Scanner scan
                INFO: scanning: /D:/java/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/test/WEB-INF/lib/jboss-seam-ioc.jar
                17-feb-2009 10:01:28 org.jboss.seam.init.Initialization addNamespace
                INFO: Namespace: http://jboss.com/products/seam/international, package: org.jboss.seam.international, prefix: org.jboss.seam.international
                17-feb-2009 10:01:28 org.jboss.seam.init.Initialization addNamespace
                INFO: Namespace: http://jboss.com/products/seam/security, package: org.jboss.seam.security, prefix: org.jboss.seam.security
                17-feb-2009 10:01:28 org.jboss.seam.init.Initialization addNamespace
                INFO: Namespace: http://jboss.com/products/seam/persistence, package: org.jboss.seam.persistence, prefix: org.jboss.seam.persistence
                17-feb-2009 10:01:28 org.jboss.seam.init.Initialization addNamespace
                INFO: Namespace: http://jboss.com/products/seam/remoting, package: org.jboss.seam.remoting, prefix: org.jboss.seam.remoting
                17-feb-2009 10:01:28 org.jboss.seam.init.Initialization addNamespace
                INFO: Namespace: http://jboss.com/products/seam/core, package: org.jboss.seam.core, prefix: org.jboss.seam.core
                17-feb-2009 10:01:28 org.jboss.seam.init.Initialization addNamespace
                INFO: Namespace: http://jboss.com/products/seam/async, package: org.jboss.seam.async, prefix: org.jboss.seam.async
                17-feb-2009 10:01:28 org.jboss.seam.init.Initialization addNamespace
                INFO: Namespace: http://jboss.com/products/seam/drools, package: org.jboss.seam.drools, prefix: org.jboss.seam.drools
                17-feb-2009 10:01:28 org.jboss.seam.init.Initialization addNamespace
                INFO: Namespace: http://jboss.com/products/seam/spring, package: org.jboss.seam.ioc.spring, prefix: org.jboss.seam.ioc.spring
                17-feb-2009 10:01:28 org.jboss.seam.init.Initialization addNamespace
                INFO: Namespace: http://jboss.com/products/seam/mail, package: org.jboss.seam.mail, prefix: org.jboss.seam.mail
                17-feb-2009 10:01:28 org.jboss.seam.init.Initialization addNamespace
                INFO: Namespace: http://jboss.com/products/seam/transaction, package: org.jboss.seam.transaction, prefix: org.jboss.seam.transaction
                17-feb-2009 10:01:28 org.jboss.seam.init.Initialization addNamespace
                INFO: Namespace: http://jboss.com/products/seam/web, package: org.jboss.seam.web, prefix: org.jboss.seam.web
                17-feb-2009 10:01:28 org.jboss.seam.init.Initialization addNamespace
                INFO: Namespace: http://jboss.com/products/seam/theme, package: org.jboss.seam.theme, prefix: org.jboss.seam.theme
                17-feb-2009 10:01:28 org.jboss.seam.init.Initialization addNamespace
                INFO: Namespace: http://jboss.com/products/seam/navigation, package: org.jboss.seam.navigation, prefix: org.jboss.seam.navigation
                17-feb-2009 10:01:28 org.jboss.seam.init.Initialization addNamespace
                INFO: Namespace: http://jboss.com/products/seam/bpm, package: org.jboss.seam.bpm, prefix: org.jboss.seam.bpm
                17-feb-2009 10:01:28 org.jboss.seam.init.Initialization addNamespace
                INFO: Namespace: http://jboss.com/products/seam/framework, package: org.jboss.seam.framework, prefix: org.jboss.seam.core.framework
                17-feb-2009 10:01:28 org.jboss.seam.init.Initialization addNamespace
                INFO: Namespace: http://jboss.com/products/seam/jms, package: org.jboss.seam.jms, prefix: org.jboss.seam.jms
                17-feb-2009 10:01:28 org.jboss.seam.deployment.Scanner scan
                INFO: scanning: /D:/java/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/test/WEB-INF/lib/jboss-seam-debug.jar
                17-feb-2009 10:01:28 org.jboss.seam.deployment.Scanner scan
                INFO: scanning: /D:/java/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/test/WEB-INF/lib/jboss-seam-mail.jar
                17-feb-2009 10:01:28 org.jboss.seam.deployment.Scanner scan
                INFO: scanning: D:\java\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\test\WEB-INF\classes
                17-feb-2009 10:01:28 org.jboss.seam.deployment.Scanner scan
                INFO: scanning: /D:/java/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/test/WEB-INF/lib/jboss-seam-pdf.jar
                17-feb-2009 10:01:28 org.jboss.seam.init.Initialization addNamespace
                INFO: Namespace: http://jboss.com/products/seam/pdf, package: org.jboss.seam.pdf, prefix:
                17-feb-2009 10:01:28 org.jboss.seam.init.Initialization initComponentsFromXmlDocument
                INFO: reading /WEB-INF/components.xml
                17-feb-2009 10:01:28 org.apache.catalina.core.StandardContext listenerStart
                GRAVE: Excepci�n enviando evento inicializado de contexto a instancia de escuchador de clase org.jboss.seam.servlet.SeamListener
                java.lang.NoClassDefFoundError: javax/transaction/Synchronization
                     at java.lang.ClassLoader.defineClass1(Native Method)
                     at java.lang.ClassLoader.defineClass(Unknown Source)
                     at java.security.SecureClassLoader.defineClass(Unknown Source)
                     at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1847)
                     at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:890)
                     at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1354)
                     at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)
                     at org.jboss.seam.util.Reflections.classForName(Reflections.java:161)
                     at org.jboss.seam.init.Initialization.installComponentsFromXmlElements(Initialization.java:213)
                     at org.jboss.seam.init.Initialization.initComponentsFromXmlDocument(Initialization.java:132)
                     at org.jboss.seam.init.Initialization.create(Initialization.java:86)
                     at org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:34)
                     at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3843)
                     at org.apache.catalina.core.StandardContext.start(StandardContext.java:4342)
                     at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
                     at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
                     at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
                     at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
                     at org.apache.catalina.core.StandardService.start(StandardService.java:516)
                     at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
                     at org.apache.catalina.startup.Catalina.start(Catalina.java:578)
                     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                     at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
                     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
                     at java.lang.reflect.Method.invoke(Unknown Source)
                     at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
                     at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
                17-feb-2009 10:01:28 org.apache.catalina.core.StandardContext start
                GRAVE: Error listenerStart
                17-feb-2009 10:01:28 org.apache.catalina.core.StandardContext start
                GRAVE: Fall� en arranque del Contexto [/test] debido a errores previos
                17-feb-2009 10:01:29 org.apache.coyote.http11.Http11Protocol start
                INFO: Arrancando Coyote HTTP/1.1 en puerto http-8080
                17-feb-2009 10:01:29 org.apache.jk.common.ChannelSocket init
                INFO: JK: ajp13 listening on /0.0.0.0:8009
                17-feb-2009 10:01:29 org.apache.jk.server.JkMain start
                INFO: Jk running ID=0 time=0/203  config=null
                17-feb-2009 10:01:29 org.apache.catalina.startup.Catalina start
                INFO: Server startup in 2441 ms

                This is the content of tomcat 6 /lib, if this helps:
                21/07/2008  19:01            10.805 annotations-api.jar
                21/07/2008  19:01            49.145 catalina-ant.jar
                21/07/2008  19:01           123.115 catalina-ha.jar
                21/07/2008  19:01           228.471 catalina-tribes.jar
                21/07/2008  19:01         1.129.912 catalina.jar
                01/11/2007  12:57           416.809 dom4j.jar
                21/07/2008  19:01            27.690 el-api.jar
                21/07/2008  19:01           102.282 jasper-el.jar
                21/07/2008  19:01         1.395.264 jasper-jdt.jar
                21/07/2008  19:01           511.634 jasper.jar
                22/10/2007  11:45           547.559 javassist.jar
                21/07/2008  19:01            72.183 jsp-api.jar
                21/07/2008  19:01            83.787 servlet-api.jar
                21/07/2008  19:01           742.085 tomcat-coyote.jar
                21/07/2008  19:01           197.443 tomcat-dbcp.jar
                21/07/2008  19:01            45.686 tomcat-i18n-es.jar
                21/07/2008  19:01            42.702 tomcat-i18n-fr.jar
                21/07/2008  19:01            49.019 tomcat-i18n-ja.jar

                THANKS again!
                • 6. Re: Deploy Seam 2.0.0.GA to Tomcat 6
                  Moissane Hernández Newbie
                  Added and I got this:
                  ...
                  17-feb-2009 10:24:13 org.apache.catalina.core.StandardContext listenerStart
                  GRAVE: Excepci�n enviando evento inicializado de contexto a instancia de escuchador de clase org.jboss.seam.servlet.SeamListener
                  java.lang.RuntimeException: Could not create Component: org.jboss.seam.core.init
                       at org.jboss.seam.init.Initialization.addComponent(Initialization.java:976)
                       at org.jboss.seam.init.Initialization.init(Initialization.java:537)
                       at org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:34)
                       at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3843)
                       at org.apache.catalina.core.StandardContext.start(StandardContext.java:4342)
                       at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
                       at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
                       at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
                       at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
                       at org.apache.catalina.core.StandardService.start(StandardService.java:516)
                       at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
                       at org.apache.catalina.startup.Catalina.start(Catalina.java:578)
                       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                       at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
                       at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
                       at java.lang.reflect.Method.invoke(Unknown Source)
                       at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
                       at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
                  Caused by: java.lang.NoClassDefFoundError: javax/persistence/Entity
                       at org.jboss.seam.Seam.getComponentType(Seam.java:96)
                       at org.jboss.seam.Component.<init>(Component.java:226)
                       at org.jboss.seam.Component.<init>(Component.java:216)
                       at org.jboss.seam.init.Initialization.addComponent(Initialization.java:961)
                       ... 17 more
                  17-feb-2009 10:24:13 org.apache.catalina.core.StandardContext start
                  GRAVE: Error listenerStart
                  17-feb-2009 10:24:13 org.apache.catalina.core.StandardContext start
                  GRAVE: Fall� en arranque del Contexto [/test] debido a errores previos
                  17-feb-2009 10:24:13 org.apache.coyote.http11.Http11Protocol start
                  INFO: Arrancando Coyote HTTP/1.1 en puerto http-8080
                  17-feb-2009 10:24:13 org.apache.jk.common.ChannelSocket init
                  INFO: JK: ajp13 listening on /0.0.0.0:8009
                  17-feb-2009 10:24:14 org.apache.jk.server.JkMain start
                  INFO: Jk running ID=0 time=0/156  config=null
                  17-feb-2009 10:24:14 org.apache.catalina.startup.Catalina start
                  INFO: Server startup in 5700 ms
                  • 7. Re: Deploy Seam 2.0.0.GA to Tomcat 6
                    Val Sw Expert

                    Problem is that environment setup is missing libraries, I don't have exact settings as your.


                    Add persistence-api.jar, this error will also go but I can't predict which other lib is missing.


                    Post the next error if you get...

                    • 8. Re: Deploy Seam 2.0.0.GA to Tomcat 6
                      Tonatihu Diaz Newbie

                      Hi again,


                      There are a lot more of dependencies you should configure in order to run your application, but it depends on what tools you are using. In my case, I use Hibernate Core, Validator, EntityManager, Annotations and Search, etc.


                      I use the Tomcat lib directory for placing dependencies that I know will be shared among many other applications and let the application specific dependencies in the WEB-INF/lib directory of my application context.


                      Javassist is one of the many libraries I drop into the lib directory of the Tomcat installation; the complete list is as follows:



                      • annotations-api.jar

                      • catalina-ant.jar

                      • catalina-ha.jar

                      • catalina.jar

                      • catalina-tribes.jar

                      • ejb3-persistence.jar

                      • el-api.jar

                      • hibernate3.jar

                      • hibernate-annotations.jar

                      • hibernate-commons-annotations.jar

                      • hibernate-entitymanager.jar

                      • hibernate-validator.jar

                      • jasper-el.jar

                      • jasper.jar

                      • jasper-jdt.jar

                      • jboss-logging-log4j.jar

                      • jboss-logging-spi.jar

                      • jsf-api.jar

                      • jsf-facelets.jar

                      • jsf-impl.jar

                      • jsp-api.jar

                      • jta.jar

                      • mysql-connector-java-5.1.7-bin.jar

                      • servlet-api.jar

                      • slf4j-api.jar

                      • slf4j-jboss-logging.jar

                      • testng.jar

                      • thirdparty-all.jar

                      • tomcat-coyote.jar

                      • tomcat-dbcp.jar



                      Some of them are alraedy in place. You should find any of the remaining jars in the seam distribution. I changed the hibernate jars that came with Seam for the latest versions from SourceForge (bacause I was recieving a Method not found exception).

                      • 9. Re: Deploy Seam 2.0.0.GA to Tomcat 6
                        Val Sw Expert

                        Moissane, I think list of jars by Tonatihu Diaz will solve your problem.


                        Post error if you get any...

                        • 10. Re: Deploy Seam 2.0.0.GA to Tomcat 6
                          Moissane Hernández Newbie
                          this is the last error:

                          18-feb-2009 4:06:56 org.apache.tomcat.util.digester.SetPropertiesRule begin
                          ADVERTENCIA: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:test' did not find a matching property.
                          18-feb-2009 4:06:56 org.apache.catalina.core.AprLifecycleListener init
                          INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Archivos de programa\Java\jre1.5.0_06\bin;.;C:\WINDOWS\system32;C:\WINDOWS;C:\Archivos de programa\Java\jre1.5.0_06\bin\client;C:\Archivos de programa\Java\jre1.5.0_06\bin;C:\Archivos de programa\Borland\Delphi7\Bin;C:\Archivos de programa\Borland\Delphi7\Projects\Bpl\;C:\oracle\ora90\bin;C:\Archivos de programa\Oracle\jre\1.1.8\bin;C:\Archivos de programa\Archivos comunes\NetSarang;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Archivos de programa\Intel\DMIX;C:\Archivos de programa\Microsoft SQL Server\80\Tools\BINN
                          18-feb-2009 4:06:56 org.apache.coyote.http11.Http11Protocol init
                          INFO: Inicializando Coyote HTTP/1.1 en puerto http-8080
                          18-feb-2009 4:06:56 org.apache.catalina.startup.Catalina load
                          INFO: Initialization processed in 1081 ms
                          18-feb-2009 4:06:57 org.apache.catalina.core.StandardService start
                          INFO: Arrancando servicio Catalina
                          18-feb-2009 4:06:57 org.apache.catalina.core.StandardEngine start
                          INFO: Starting Servlet Engine: Apache Tomcat/6.0.18
                          18-feb-2009 4:06:57 org.apache.catalina.startup.DigesterFactory register
                          ADVERTENCIA: Could not get url for /javax/servlet/resources/j2ee_web_services_1_1.xsd
                          18-feb-2009 4:06:57 org.apache.catalina.startup.DigesterFactory register
                          ADVERTENCIA: Could not get url for /javax/servlet/resources/j2ee_web_services_1_1.xsd
                          18-feb-2009 4:06:58 com.sun.faces.config.ConfigureListener contextInitialized
                          INFO: Initializing Sun's JavaServer Faces implementation (1.2_04-b16-p02) for context '/test'
                          18-feb-2009 4:07:01 org.jboss.seam.servlet.SeamListener contextInitialized
                          INFO: Welcome to Seam 2.0.0.GA
                          18-feb-2009 4:07:01 org.jboss.seam.deployment.Scanner scan
                          INFO: scanning: /D:/java/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/test/WEB-INF/lib/jboss-seam.jar
                          18-feb-2009 4:07:01 org.jboss.seam.deployment.Scanner scan
                          INFO: scanning: /D:/java/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/test/WEB-INF/lib/jboss-seam-remoting.jar
                          18-feb-2009 4:07:01 org.jboss.seam.deployment.Scanner scan
                          INFO: scanning: /D:/java/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/test/WEB-INF/lib/jboss-seam-ui.jar
                          18-feb-2009 4:07:01 org.jboss.seam.deployment.Scanner scan
                          INFO: scanning: /D:/java/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/test/WEB-INF/lib/jboss-seam-ioc.jar
                          18-feb-2009 4:07:01 org.jboss.seam.init.Initialization addNamespace
                          INFO: Namespace: http://jboss.com/products/seam/international, package: org.jboss.seam.international, prefix: org.jboss.seam.international
                          18-feb-2009 4:07:01 org.jboss.seam.init.Initialization addNamespace
                          INFO: Namespace: http://jboss.com/products/seam/security, package: org.jboss.seam.security, prefix: org.jboss.seam.security
                          18-feb-2009 4:07:01 org.jboss.seam.init.Initialization addNamespace
                          INFO: Namespace: http://jboss.com/products/seam/persistence, package: org.jboss.seam.persistence, prefix: org.jboss.seam.persistence
                          18-feb-2009 4:07:01 org.jboss.seam.init.Initialization addNamespace
                          INFO: Namespace: http://jboss.com/products/seam/remoting, package: org.jboss.seam.remoting, prefix: org.jboss.seam.remoting
                          18-feb-2009 4:07:01 org.jboss.seam.init.Initialization addNamespace
                          INFO: Namespace: http://jboss.com/products/seam/core, package: org.jboss.seam.core, prefix: org.jboss.seam.core
                          18-feb-2009 4:07:01 org.jboss.seam.init.Initialization addNamespace
                          INFO: Namespace: http://jboss.com/products/seam/async, package: org.jboss.seam.async, prefix: org.jboss.seam.async
                          18-feb-2009 4:07:01 org.jboss.seam.init.Initialization addNamespace
                          INFO: Namespace: http://jboss.com/products/seam/drools, package: org.jboss.seam.drools, prefix: org.jboss.seam.drools
                          18-feb-2009 4:07:01 org.jboss.seam.init.Initialization addNamespace
                          INFO: Namespace: http://jboss.com/products/seam/spring, package: org.jboss.seam.ioc.spring, prefix: org.jboss.seam.ioc.spring
                          18-feb-2009 4:07:01 org.jboss.seam.init.Initialization addNamespace
                          INFO: Namespace: http://jboss.com/products/seam/mail, package: org.jboss.seam.mail, prefix: org.jboss.seam.mail
                          18-feb-2009 4:07:01 org.jboss.seam.init.Initialization addNamespace
                          INFO: Namespace: http://jboss.com/products/seam/transaction, package: org.jboss.seam.transaction, prefix: org.jboss.seam.transaction
                          18-feb-2009 4:07:01 org.jboss.seam.init.Initialization addNamespace
                          INFO: Namespace: http://jboss.com/products/seam/web, package: org.jboss.seam.web, prefix: org.jboss.seam.web
                          18-feb-2009 4:07:01 org.jboss.seam.init.Initialization addNamespace
                          INFO: Namespace: http://jboss.com/products/seam/theme, package: org.jboss.seam.theme, prefix: org.jboss.seam.theme
                          18-feb-2009 4:07:01 org.jboss.seam.init.Initialization addNamespace
                          INFO: Namespace: http://jboss.com/products/seam/navigation, package: org.jboss.seam.navigation, prefix: org.jboss.seam.navigation
                          18-feb-2009 4:07:01 org.jboss.seam.init.Initialization addNamespace
                          INFO: Namespace: http://jboss.com/products/seam/bpm, package: org.jboss.seam.bpm, prefix: org.jboss.seam.bpm
                          18-feb-2009 4:07:01 org.jboss.seam.init.Initialization addNamespace
                          INFO: Namespace: http://jboss.com/products/seam/framework, package: org.jboss.seam.framework, prefix: org.jboss.seam.core.framework
                          18-feb-2009 4:07:01 org.jboss.seam.init.Initialization addNamespace
                          INFO: Namespace: http://jboss.com/products/seam/jms, package: org.jboss.seam.jms, prefix: org.jboss.seam.jms
                          18-feb-2009 4:07:01 org.jboss.seam.deployment.Scanner scan
                          INFO: scanning: /D:/java/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/test/WEB-INF/lib/jboss-seam-debug.jar
                          18-feb-2009 4:07:01 org.jboss.seam.deployment.Scanner scan
                          INFO: scanning: /D:/java/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/test/WEB-INF/lib/jboss-seam-mail.jar
                          18-feb-2009 4:07:01 org.jboss.seam.deployment.Scanner scan
                          INFO: scanning: D:\java\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\test\WEB-INF\classes
                          18-feb-2009 4:07:01 org.jboss.seam.deployment.Scanner scan
                          INFO: scanning: /D:/java/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/test/WEB-INF/lib/jboss-seam-pdf.jar
                          18-feb-2009 4:07:01 org.jboss.seam.init.Initialization addNamespace
                          INFO: Namespace: http://jboss.com/products/seam/pdf, package: org.jboss.seam.pdf, prefix:
                          18-feb-2009 4:07:01 org.jboss.seam.init.Initialization initComponentsFromXmlDocument
                          INFO: reading /WEB-INF/components.xml
                          18-feb-2009 4:07:01 org.jboss.seam.init.Initialization initComponentsFromXmlDocuments
                          INFO: reading jar:file:/D:/java/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/test/WEB-INF/lib/jboss-seam-ioc.jar!/META-INF/components.xml
                          18-feb-2009 4:07:01 org.jboss.seam.init.Initialization initComponentsFromXmlDocuments
                          INFO: reading jar:file:/D:/java/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/test/WEB-INF/lib/jboss-seam-remoting.jar!/META-INF/components.xml
                          18-feb-2009 4:07:01 org.jboss.seam.init.Initialization initComponentsFromXmlDocuments
                          INFO: reading jar:file:/D:/java/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/test/WEB-INF/lib/jboss-seam-ui.jar!/META-INF/components.xml
                          18-feb-2009 4:07:01 org.jboss.seam.init.Initialization initComponentsFromXmlDocuments
                          INFO: reading jar:file:/D:/java/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/test/WEB-INF/lib/jboss-seam.jar!/META-INF/components.xml
                          18-feb-2009 4:07:01 org.jboss.seam.init.Initialization loadFromResource
                          INFO: reading properties from: /seam.properties
                          18-feb-2009 4:07:01 org.jboss.seam.init.Initialization init
                          INFO: initializing Seam
                          18-feb-2009 4:07:01 org.jboss.seam.deployment.Scanner scan
                          INFO: scanning: /D:/java/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/test/WEB-INF/dev
                          18-feb-2009 4:07:02 org.jboss.seam.deployment.Scanner scan
                          INFO: scanning: /D:/java/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/test/WEB-INF/lib/jboss-seam-debug.jar
                          18-feb-2009 4:07:02 org.jboss.seam.deployment.Scanner scan
                          INFO: scanning: /D:/java/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/test/WEB-INF/lib/jboss-seam-mail.jar
                          18-feb-2009 4:07:02 org.jboss.seam.deployment.Scanner scan
                          INFO: scanning: D:\java\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\test\WEB-INF\classes
                          18-feb-2009 4:07:02 org.jboss.seam.deployment.Scanner scan
                          INFO: scanning: /D:/java/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/test/WEB-INF/lib/jboss-seam-pdf.jar
                          18-feb-2009 4:07:02 org.jboss.seam.deployment.Scanner scan
                          INFO: scanning: /D:/java/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/test/WEB-INF/lib/jboss-seam.jar
                          18-feb-2009 4:07:03 org.jboss.seam.deployment.Scanner scan
                          INFO: scanning: /D:/java/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/test/WEB-INF/lib/jboss-seam-remoting.jar
                          18-feb-2009 4:07:03 org.jboss.seam.deployment.Scanner scan
                          INFO: scanning: /D:/java/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/test/WEB-INF/lib/jboss-seam-ui.jar
                          18-feb-2009 4:07:03 org.jboss.seam.deployment.Scanner scan
                          INFO: scanning: /D:/java/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/test/WEB-INF/lib/jboss-seam-ioc.jar
                          18-feb-2009 4:07:03 org.jboss.seam.init.Initialization addComponentDescriptor
                          INFO: two components with same name, higher precedence wins: org.jboss.seam.core.resourceLoader
                          18-feb-2009 4:07:03 org.jboss.seam.init.Initialization addComponentDescriptor
                          INFO: two components with same name, higher precedence wins: org.jboss.seam.core.locale
                          18-feb-2009 4:07:03 org.jboss.seam.init.Initialization addComponentDescriptor
                          INFO: two components with same name, higher precedence wins: org.jboss.seam.web.userPrincipal
                          18-feb-2009 4:07:03 org.jboss.seam.init.Initialization addComponentDescriptor
                          INFO: two components with same name, higher precedence wins: org.jboss.seam.web.parameters
                          18-feb-2009 4:07:03 org.jboss.seam.init.Initialization addComponentDescriptor
                          INFO: two components with same name, higher precedence wins: org.jboss.seam.bpm.businessProcess
                          18-feb-2009 4:07:03 org.jboss.seam.init.Initialization addComponentDescriptor
                          INFO: two components with same name, higher precedence wins: org.jboss.seam.core.expressions
                          18-feb-2009 4:07:03 org.jboss.seam.init.Initialization addComponentDescriptor
                          INFO: two components with same name, higher precedence wins: org.jboss.seam.core.manager
                          18-feb-2009 4:07:03 org.jboss.seam.init.Initialization addComponentDescriptor
                          INFO: two components with same name, higher precedence wins: org.jboss.seam.security.identity
                          18-feb-2009 4:07:03 org.jboss.seam.init.Initialization addComponentDescriptor
                          INFO: two components with same name, higher precedence wins: org.jboss.seam.web.isUserInRole
                          18-feb-2009 4:07:03 org.jboss.seam.init.Initialization addComponentDescriptor
                          INFO: two components with same name, higher precedence wins: org.jboss.seam.core.locale
                          18-feb-2009 4:07:03 org.jboss.seam.init.Initialization addComponentDescriptor
                          INFO: two components with same name, higher precedence wins: org.jboss.seam.persistence.persistenceProvider
                          18-feb-2009 4:07:03 org.jboss.seam.Component <init>
                          INFO: Component: org.jboss.seam.core.init, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Init
                          18-feb-2009 4:07:03 org.jboss.seam.init.Initialization installComponents
                          INFO: Installing components...
                          18-feb-2009 4:07:03 org.jboss.seam.Component <init>
                          INFO: Component: authenticator, scope: EVENT, type: JAVA_BEAN, class: org.domain.test.session.Authenticator
                          18-feb-2009 4:07:04 org.jboss.seam.Component <init>
                          INFO: Component: entityManager, scope: CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.persistence.ManagedPersistenceContext
                          18-feb-2009 4:07:04 org.jboss.seam.Component <init>
                          INFO: Component: org.jboss.seam.async.dispatcher, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.async.ThreadPoolDispatcher
                          18-feb-2009 4:07:04 org.jboss.seam.Component <init>
                          INFO: Component: org.jboss.seam.core.contexts, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.core.Contexts
                          18-feb-2009 4:07:04 org.jboss.seam.Component <init>
                          INFO: Component: org.jboss.seam.core.conversation, scope: CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.core.Conversation
                          18-feb-2009 4:07:04 org.jboss.seam.Component <init>
                          INFO: Component: org.jboss.seam.core.conversationEntries, scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.core.ConversationEntries
                          18-feb-2009 4:07:04 org.jboss.seam.Component <init>
                          INFO: Component: org.jboss.seam.core.conversationListFactory, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.core.ConversationList
                          18-feb-2009 4:07:04 org.jboss.seam.Component <init>
                          INFO: Component: org.jboss.seam.core.conversationPropagation, scope: EVENT, type: JAVA_BEAN, class: org.jboss.seam.core.ConversationPropagation
                          18-feb-2009 4:07:04 org.jboss.seam.Component <init>
                          INFO: Component: org.jboss.seam.core.conversationStackFactory, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.core.ConversationStack
                          18-feb-2009 4:07:04 org.jboss.seam.Component <init>
                          INFO: Component: org.jboss.seam.core.events, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.core.Events
                          18-feb-2009 4:07:04 org.jboss.seam.Component <init>
                          INFO: Component: org.jboss.seam.core.expressions, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.faces.FacesExpressions
                          18-feb-2009 4:07:04 org.jboss.seam.Component <init>
                          INFO: Component: org.jboss.seam.core.interpolator, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.core.Interpolator
                          18-feb-2009 4:07:04 org.jboss.seam.Component <init>
                          INFO: Component: org.jboss.seam.core.locale, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.international.Locale
                          18-feb-2009 4:07:04 org.jboss.seam.Component <init>
                          INFO: Component: org.jboss.seam.core.manager, scope: EVENT, type: JAVA_BEAN, class: org.jboss.seam.faces.FacesManager
                          18-feb-2009 4:07:04 org.jboss.seam.Component <init>
                          INFO: Component: org.jboss.seam.core.resourceBundle, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.core.ResourceBundle
                          18-feb-2009 4:07:04 org.jboss.seam.Component <init>
                          INFO: Component: org.jboss.seam.core.resourceLoader, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.faces.ResourceLoader
                          18-feb-2009 4:07:04 org.jboss.seam.Component <init>
                          INFO: Component: org.jboss.seam.core.validators, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Validators
                          18-feb-2009 4:07:04 org.jboss.seam.Component <init>
                          INFO: Component: org.jboss.seam.debug.contexts, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.debug.Contexts
                          18-feb-2009 4:07:04 org.jboss.seam.Component <init>
                          INFO: Component: org.jboss.seam.debug.hotDeployFilter, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.debug.hot.HotDeployFilter
                          18-feb-2009 4:07:04 org.jboss.seam.Component <init>
                          INFO: Component: org.jboss.seam.debug.introspector, scope: EVENT, type: JAVA_BEAN, class: org.jboss.seam.debug.Introspector
                          18-feb-2009 4:07:04 org.jboss.seam.Component <init>
                          INFO: Component: org.jboss.seam.exception.exceptions, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.exception.Exceptions
                          18-feb-2009 4:07:04 org.jboss.seam.Component <init>
                          INFO: Component: org.jboss.seam.faces.dataModels, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.faces.DataModels
                          18-feb-2009 4:07:04 org.jboss.seam.Component <init>
                          INFO: Component: org.jboss.seam.faces.facesContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.faces.FacesContext
                          18-feb-2009 4:07:04 org.jboss.seam.Component <init>
                          INFO: Component: org.jboss.seam.faces.facesMessages, scope: CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.faces.FacesMessages
                          18-feb-2009 4:07:04 org.jboss.seam.Component <init>
                          INFO: Component: org.jboss.seam.faces.facesPage, scope: PAGE, type: JAVA_BEAN, class: org.jboss.seam.faces.FacesPage
                          18-feb-2009 4:07:04 org.jboss.seam.Component <init>
                          INFO: Component: org.jboss.seam.faces.httpError, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.faces.HttpError
                          18-feb-2009 4:07:04 org.jboss.seam.Component <init>
                          INFO: Component: org.jboss.seam.faces.redirect, scope: CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.faces.Redirect
                          18-feb-2009 4:07:04 org.jboss.seam.Component <init>
                          INFO: Component: org.jboss.seam.faces.renderer, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.ui.facelet.FaceletsRenderer
                          18-feb-2009 4:07:04 org.jboss.seam.Component <init>
                          INFO: Component: org.jboss.seam.faces.switcher, scope: PAGE, type: JAVA_BEAN, class: org.jboss.seam.faces.Switcher
                          18-feb-2009 4:07:04 org.jboss.seam.Component <init>
                          INFO: Component: org.jboss.seam.faces.uiComponent, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.faces.UiComponent
                          18-feb-2009 4:07:04 org.jboss.seam.Component <init>
                          INFO: Component: org.jboss.seam.faces.validation, scope: EVENT, type: JAVA_BEAN, class: org.jboss.seam.faces.Validation
                          18-feb-2009 4:07:04 org.jboss.seam.Component <init>
                          INFO: Component: org.jboss.seam.framework.currentDate, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.framework.CurrentDate
                          18-feb-2009 4:07:04 org.jboss.seam.Component <init>
                          INFO: Component: org.jboss.seam.framework.currentDatetime, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.framework.CurrentDatetime
                          18-feb-2009 4:07:04 org.jboss.seam.Component <init>
                          INFO: Component: org.jboss.seam.framework.currentTime, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.framework.CurrentTime
                          18-feb-2009 4:07:04 org.jboss.seam.Component <init>
                          INFO: Component: org.jboss.seam.graphicImage.image, scope: EVENT, type: JAVA_BEAN, class: org.jboss.seam.ui.graphicImage.Image
                          18-feb-2009 4:07:04 org.jboss.seam.Component <init>
                          INFO: Component: org.jboss.seam.international.localeSelector, scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.international.LocaleSelector
                          18-feb-2009 4:07:04 org.jboss.seam.Component <init>
                          INFO: Component: org.jboss.seam.international.messagesFactory, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.international.Messages
                          18-feb-2009 4:07:04 org.jboss.seam.Component <init>
                          INFO: Component: org.jboss.seam.international.timeZone, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.international.TimeZone
                          18-feb-2009 4:07:04 org.jboss.seam.Component <init>
                          INFO: Component: org.jboss.seam.international.timeZoneSelector, scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.international.TimeZoneSelector
                          18-feb-2009 4:07:04 org.jboss.seam.Component <init>
                          INFO: Component: org.jboss.seam.navigation.pages, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.navigation.Pages
                          18-feb-2009 4:07:04 org.jboss.seam.Component <init>
                          INFO: Component: org.jboss.seam.navigation.safeActions, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.navigation.SafeActions
                          18-feb-2009 4:07:04 org.jboss.seam.Component <init>
                          INFO: Component: org.jboss.seam.pdf.documentStore, scope: CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.pdf.DocumentStore
                          18-feb-2009 4:07:04 org.jboss.seam.Component <init>
                          INFO: Component: org.jboss.seam.persistence.persistenceContexts, scope: CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.persistence.PersistenceContexts
                          18-feb-2009 4:07:04 org.jboss.seam.Component <init>
                          INFO: Component: org.jboss.seam.persistence.persistenceProvider, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.persistence.PersistenceProvider
                          18-feb-2009 4:07:04 org.jboss.seam.Component <init>
                          INFO: Component: org.jboss.seam.remoting.gwt.gwtToSeamAdapter, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.remoting.gwt.GWTToSeamAdapter
                          18-feb-2009 4:07:04 org.jboss.seam.Component <init>
                          INFO: Component: org.jboss.seam.remoting.remoting, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.remoting.Remoting
                          18-feb-2009 4:07:04 org.jboss.seam.Component <init>
                          INFO: Component: org.jboss.seam.security.configurationFactory, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.security.Configuration
                          18-feb-2009 4:07:04 org.jboss.seam.Component <init>
                          INFO: Component: org.jboss.seam.security.identity, scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.security.RuleBasedIdentity
                          18-feb-2009 4:07:04 org.jboss.seam.Component <init>
                          INFO: Component: org.jboss.seam.theme.themeFactory, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.theme.Theme
                          18-feb-2009 4:07:04 org.jboss.seam.Component <init>
                          INFO: Component: org.jboss.seam.theme.themeSelector, scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.theme.ThemeSelector
                          18-feb-2009 4:07:04 org.jboss.seam.Component <init>
                          INFO: Component: org.jboss.seam.transaction.synchronizations, scope: EVENT, type: JAVA_BEAN, class: org.jboss.seam.transaction.SeSynchronizations
                          18-feb-2009 4:07:04 org.jboss.seam.Component <init>
                          INFO: Component: org.jboss.seam.transaction.transaction, scope: EVENT, type: JAVA_BEAN, class: org.jboss.seam.transaction.Transaction
                          18-feb-2009 4:07:04 org.jboss.seam.Component <init>
                          INFO: Component: org.jboss.seam.ui.EntityConverter, scope: CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.ui.converter.EntityConverter
                          18-feb-2009 4:07:04 org.jboss.seam.Component <init>
                          INFO: Component: org.jboss.seam.ui.entityConverterStore, scope: PAGE, type: JAVA_BEAN, class: org.jboss.seam.ui.converter.EntityConverterStore
                          18-feb-2009 4:07:04 org.jboss.seam.Component <init>
                          INFO: Component: org.jboss.seam.ui.graphicImage.graphicImageResource, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.ui.graphicImage.GraphicImageResource
                          18-feb-2009 4:07:04 org.jboss.seam.Component <init>
                          INFO: Component: org.jboss.seam.ui.graphicImage.graphicImageStore, scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.ui.graphicImage.GraphicImageStore
                          18-feb-2009 4:07:04 org.jboss.seam.Component <init>
                          INFO: Component: org.jboss.seam.ui.resource.styleResource, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.ui.resource.StyleResource
                          18-feb-2009 4:07:04 org.jboss.seam.Component <init>
                          INFO: Component: org.jboss.seam.ui.resource.webResource, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.ui.resource.WebResource
                          18-feb-2009 4:07:04 org.jboss.seam.Component <init>
                          INFO: Component: org.jboss.seam.web.ajax4jsfFilter, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.web.Ajax4jsfFilter
                          18-feb-2009 4:07:04 org.jboss.seam.Component <init>
                          INFO: Component: org.jboss.seam.web.ajax4jsfFilterInstantiator, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.ui.filter.Ajax4jsfFilterInstantiator
                          18-feb-2009 4:07:04 org.jboss.seam.Component <init>
                          INFO: Component: org.jboss.seam.web.exceptionFilter, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.web.ExceptionFilter
                          18-feb-2009 4:07:04 org.jboss.seam.Component <init>
                          INFO: Component: org.jboss.seam.web.isUserInRole, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.faces.IsUserInRole
                          18-feb-2009 4:07:04 org.jboss.seam.Component <init>
                          INFO: Component: org.jboss.seam.web.multipartFilter, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.web.MultipartFilter
                          18-feb-2009 4:07:04 org.jboss.seam.Component <init>
                          INFO: Component: org.jboss.seam.web.parameters, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.faces.Parameters
                          18-feb-2009 4:07:04 org.jboss.seam.Component <init>
                          INFO: Component: org.jboss.seam.web.redirectFilter, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.web.RedirectFilter
                          18-feb-2009 4:07:04 org.jboss.seam.Component <init>
                          INFO: Component: org.jboss.seam.web.servletContexts, scope: EVENT, type: JAVA_BEAN, class: org.jboss.seam.web.ServletContexts
                          18-feb-2009 4:07:04 org.jboss.seam.Component <init>
                          INFO: Component: org.jboss.seam.web.session, scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.web.Session
                          18-feb-2009 4:07:04 org.jboss.seam.Component <init>
                          INFO: Component: org.jboss.seam.web.userPrincipal, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.faces.UserPrincipal
                          18-feb-2009 4:07:04 org.jboss.seam.Component <init>
                          INFO: Component: securityRules, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.drools.RuleBase
                          18-feb-2009 4:07:04 org.jboss.seam.Component <init>
                          INFO: Component: testEntityManagerFactory, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.persistence.EntityManagerFactory
                          18-feb-2009 4:07:04 org.jboss.seam.contexts.Contexts startup
                          INFO: starting up: org.jboss.seam.ui.resource.styleResource
                          18-feb-2009 4:07:04 org.jboss.seam.contexts.Contexts startup
                          INFO: starting up: org.jboss.seam.remoting.remoting
                          18-feb-2009 4:07:04 org.jboss.seam.contexts.Contexts startup
                          INFO: starting up: org.jboss.seam.ui.graphicImage.graphicImageResource
                          18-feb-2009 4:07:04 org.jboss.seam.contexts.Contexts startup
                          INFO: starting up: testEntityManagerFactory
                          18-feb-2009 4:07:04 org.apache.catalina.core.StandardContext listenerStart
                          GRAVE: Excepci�n enviando evento inicializado de contexto a instancia de escuchador de clase org.jboss.seam.servlet.SeamListener
                          java.lang.RuntimeException: exception invoking: startup
                               at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:135)
                               at org.jboss.seam.Component.callComponentMethod(Component.java:2082)
                               at org.jboss.seam.Component.callCreateMethod(Component.java:1997)
                               at org.jboss.seam.Component.newInstance(Component.java:1968)
                               at org.jboss.seam.contexts.Contexts.startup(Contexts.java:304)
                               at org.jboss.seam.contexts.Contexts.startup(Contexts.java:278)
                               at org.jboss.seam.contexts.ServletLifecycle.endInitialization(ServletLifecycle.java:95)
                               at org.jboss.seam.init.Initialization.init(Initialization.java:555)
                               at org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:34)
                               at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3843)
                               at org.apache.catalina.core.StandardContext.start(StandardContext.java:4342)
                               at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
                               at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
                               at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
                               at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
                               at org.apache.catalina.core.StandardService.start(StandardService.java:516)
                               at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
                               at org.apache.catalina.startup.Catalina.start(Catalina.java:578)
                               at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                               at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
                               at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
                               at java.lang.reflect.Method.invoke(Unknown Source)
                               at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
                               at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
                          Caused by: java.lang.reflect.InvocationTargetException
                               at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                               at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
                               at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
                               at java.lang.reflect.Method.invoke(Unknown Source)
                               at org.jboss.seam.util.Reflections.invoke(Reflections.java:21)
                               at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:125)
                               ... 23 more
                          Caused by: java.lang.NoClassDefFoundError: org/hibernate/proxy/EntityNotFoundDelegate
                               at org.hibernate.ejb.HibernatePersistence.createEntityManagerFactory(HibernatePersistence.java:119)
                               at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:83)
                               at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:60)
                               at org.jboss.seam.persistence.EntityManagerFactory.createEntityManagerFactory(EntityManagerFactory.java:81)
                               at org.jboss.seam.persistence.EntityManagerFactory.startup(EntityManagerFactory.java:50)
                               ... 29 more
                          18-feb-2009 4:07:04 org.apache.catalina.core.StandardContext start
                          GRAVE: Error listenerStart
                          18-feb-2009 4:07:04 org.apache.catalina.core.StandardContext start
                          GRAVE: Fall� en arranque del Contexto [/test] debido a errores previos
                          18-feb-2009 4:07:05 org.apache.coyote.http11.Http11Protocol start
                          INFO: Arrancando Coyote HTTP/1.1 en puerto http-8080
                          18-feb-2009 4:07:05 org.apache.jk.common.ChannelSocket init
                          INFO: JK: ajp13 listening on /0.0.0.0:8009
                          18-feb-2009 4:07:05 org.apache.jk.server.JkMain start
                          INFO: Jk running ID=0 time=0/172  config=null
                          18-feb-2009 4:07:05 org.apache.catalina.startup.Catalina start
                          INFO: Server startup in 8782 ms
                          • 12. Re: Deploy Seam 2.0.0.GA to Tomcat 6
                            Moissane Hernández Newbie
                            Ok, I added hibernate.jar and now I get only this:
                            ....
                            18-feb-2009 4:28:22 org.apache.catalina.core.StandardContext listenerStart
                            GRAVE: Excepci�n enviando evento inicializado de contexto a instancia de escuchador de clase org.jboss.seam.servlet.SeamListener
                            java.lang.RuntimeException: exception invoking: startup
                                 at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:135)
                                 at org.jboss.seam.Component.callComponentMethod(Component.java:2082)
                                 at org.jboss.seam.Component.callCreateMethod(Component.java:1997)
                                 at org.jboss.seam.Component.newInstance(Component.java:1968)
                                 at org.jboss.seam.contexts.Contexts.startup(Contexts.java:304)
                                 at org.jboss.seam.contexts.Contexts.startup(Contexts.java:278)
                                 at org.jboss.seam.contexts.ServletLifecycle.endInitialization(ServletLifecycle.java:95)
                                 at org.jboss.seam.init.Initialization.init(Initialization.java:555)
                                 at org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:34)
                                 at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3843)
                                 at org.apache.catalina.core.StandardContext.start(StandardContext.java:4342)
                                 at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
                                 at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
                                 at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
                                 at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
                                 at org.apache.catalina.core.StandardService.start(StandardService.java:516)
                                 at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
                                 at org.apache.catalina.startup.Catalina.start(Catalina.java:578)
                                 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                                 at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
                                 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
                                 at java.lang.reflect.Method.invoke(Unknown Source)
                                 at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
                                 at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
                            Caused by: java.lang.reflect.InvocationTargetException
                                 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                                 at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
                                 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
                                 at java.lang.reflect.Method.invoke(Unknown Source)
                                 at org.jboss.seam.util.Reflections.invoke(Reflections.java:21)
                                 at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:125)
                                 ... 23 more
                            Caused by: java.lang.NoClassDefFoundError: org/jboss/util/file/ArchiveBrowser$Filter
                                 at org.hibernate.ejb.HibernatePersistence.createEntityManagerFactory(HibernatePersistence.java:119)
                                 at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:83)
                                 at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:60)
                                 at org.jboss.seam.persistence.EntityManagerFactory.createEntityManagerFactory(EntityManagerFactory.java:81)
                                 at org.jboss.seam.persistence.EntityManagerFactory.startup(EntityManagerFactory.java:50)
                                 ... 29 more
                            18-feb-2009 4:28:22 org.apache.catalina.core.StandardContext start
                            GRAVE: Error listenerStart
                            18-feb-2009 4:28:22 org.apache.catalina.core.StandardContext start
                            GRAVE: Fall� en arranque del Contexto [/test] debido a errores previos
                            18-feb-2009 4:28:22 org.hibernate.search.Version <clinit>
                            INFO: Hibernate Search 3.0.0.GA
                            18-feb-2009 4:28:22 org.apache.coyote.http11.Http11Protocol start
                            INFO: Arrancando Coyote HTTP/1.1 en puerto http-8080
                            18-feb-2009 4:28:23 org.apache.jk.common.ChannelSocket init
                            INFO: JK: ajp13 listening on /0.0.0.0:8009
                            18-feb-2009 4:28:23 org.apache.jk.server.JkMain start
                            INFO: Jk running ID=0 time=0/62  config=null
                            18-feb-2009 4:28:23 org.apache.catalina.startup.Catalina start
                            INFO: Server startup in 7740 ms
                            • 13. Re: Deploy Seam 2.0.0.GA to Tomcat 6
                              Val Sw Expert

                              Add jboss-common-core.jar...


                              I will send the list of my configuration if you get exception again.


                              Don't forget to rate if finally it works.. :)

                              • 14. Re: Deploy Seam 2.0.0.GA to Tomcat 6
                                Moissane Hernández Newbie

                                Hi Tonatihu, thanks for your time!
                                Finally I imported my project and tomcat works with no error...but in my project I deployed to a EAR and for tomcat must be deployed to a WAR...What can I do to resolve this???