1 2 Previous Next 28 Replies Latest reply on Aug 26, 2008 11:37 AM by Eugeniy Nikolaev

    Eclipse and JBossTools. Need for sample worked seam project for Tomcat.

    Eugeniy Nikolaev Newbie

      Need for eclipse complete full worked seam-project and full content in Tomcat/lib.


      Please zip or rar your simply Seam Web Project (Eclipse 3.3 or 3.4 and JBossTools) and link me.


      P.S. Create New Seam Web Project, deploy on Tomcat: exceptions. I read more instructions, but all unsuccess.


      Please, rar your project, very-very simply, for Tomcat and, second, Tomcat/libs and link me, to download this.

        • 1. Re: Eclipse and JBossTools. Need for sample worked seam project for Tomcat.
          Nicklas Karlsson Master

          Getting someone elses project to run in your eclipse is much more difficult than getting JBossTools to work.


          Run the New Seam Web Project wizard and tell us what goes wrong and where with as much detail (stack trace etc) as possible.

          • 2. Re: Eclipse and JBossTools. Need for sample worked seam project for Tomcat.
            Eugeniy Nikolaev Newbie

            Thanks!


            My steps:


            PC: Core 2 Duo, RAM 2 Gb.


            OS: Windows XP SP2


            1) Installing JBossTools - http://wiki.jboss.org/wiki/InstallingJBossTools:


            1.1) download Eclipse WTP (eclipse-jee-europa-winter-win32.zip - this is Eclipse 3.3.2, Build id: M20080221-1800);


            1.2) download JBossTools-2.1.2.GA-ALL-win32.zip;


            1.3) move this 2 files to root folder, unzip, merge eclipse folders, start Eclipse with -clean, new workspace.


            to be continued...

            • 3. Re: Eclipse and JBossTools. Need for sample worked seam project for Tomcat.
              Eugeniy Nikolaev Newbie

              2) Download and install Tomcat, file apache-tomcat-6.0.16.exe, type of install: full, HTTP: 8070, path of J2SE 5.0 JRE: select my J2EE 5 jre install path: C:\Sun\SDK\jdk\jre


              Hmmm... Eclipse WTP running on my mashine with J2SE 6, and if start Tomcat in the Eclipse WTP - Tomcat is runing under new JVM. I reading about seam problems with Tomcat under JVM 6. But if i install Tomcat and select J2EE 5 jre - is OK, is no problems?


              3) Download jsf. Version: 1.2 08 (mojarra 1.2 08-b06-FCS), unzip.


              4) Download jboss-seam-1.2.1.GA, unzip.


              5) Run Eclipse, change eclipse perspective to Seam. In view Package Explorer: New-Seam Web Project.


              to be continued...

              • 4. Re: Eclipse and JBossTools. Need for sample worked seam project for Tomcat.
                Eugeniy Nikolaev Newbie

                2) Download and install Tomcat, file apache-tomcat-6.0.16.exe, type of install: full, HTTP: 8070, path of J2SE 5.0 JRE: select my J2EE 5 jre install path: C:\Sun\SDK\jdk\jre


                Hmmm... Eclipse WTP running on my mashine with J2SE 6, and if start Tomcat in the Eclipse WTP - Tomcat is runing under new JVM. I reading about seam problems with Tomcat under JVM 6. But if i install Tomcat and select J2EE 5 jre - is OK, is no problems?


                3) Download jsf. Version: 1.2 08 (mojarra 1.2 08-b06-FCS), unzip.


                4) Download jboss-seam-1.2.1.GA, unzip.


                5) Run Eclipse, change eclipse perspective to Seam. In view Package Explorer: New-Seam Web Project.


                to be continued...

                • 6. Re: Eclipse and JBossTools. Need for sample worked seam project for Tomcat.
                  Eugeniy Nikolaev Newbie

                  6) 1 page of the master of creation of the project.


                  6.1) Target Server: - New... - Apache - Tomcat 6.0 Server - JRE (so, here there is a choice - choose J2EE 5 JRE, not J2SE 6).


                  6.2) After setup Tomcat - cancel master of creation of the project.


                  6.3) Start again. New-Seam Web Project, and see completed input fields with server and runtime.


                  6.4) Configurations: Dynamic Web Project with Seam 1.2


                  6.5) Project name: SeamWebProject1


                  6.6) Next, Next, Next, and now viewed page is JSF Capabilities


                  to be continued...

                  • 7. Re: Eclipse and JBossTools. Need for sample worked seam project for Tomcat.
                    Eugeniy Nikolaev Newbie

                    7) Page JSF Capabilities.


                    7.1) JSF Libraries: uncheck Server Supplied JSF Implementation with check New... JSF library (and check on Deploy).


                    7.2) Window JSF Library: click on Add..., select folder with JSF 1.2 08, select inner folder lib, select two files: jsf-api.jar and jsf-impl.jar.


                    7.3) Version Supported: v12

                    7.4) Library Name: jsf
                    1.2


                    7.5) Window JSF Library is closed, new jsf library is selected, NOT Server Supplied JSF Implementation.


                    7.6) Component Libraries: may be i need a select jstl 1.2 library, may be (and RichFaces library), but in this demo i NOT selected additional library, nothing.


                    7.7) Next, and now viewed page is Seam Facet.


                    to be continued...

                    • 8. Re: Eclipse and JBossTools. Need for sample worked seam project for Tomcat.
                      Eugeniy Nikolaev Newbie

                      8) Page Seam Facet.


                      8.1) Seam Runtime: Add... and select folder in file system with name jboss-seam-1.2.1.GA.


                      8.2) Database: select my connection (describe is skipped).


                      8.3) Deploy as: WAR (i am tomcat user for this project, not choice for EAR).


                      8.4) Next.


                      to be continued...

                      • 9. Re: Eclipse and JBossTools. Need for sample worked seam project for Tomcat.
                        Eugeniy Nikolaev Newbie

                        8.4) Next.


                        8.4) Finish.


                        Yeh... Complete! :)


                        Now... Run this...


                        Select in view Package Explorer - SeamWebProject1, select Run As, select Run On Server, select Tomcat v6.0 Server at localhost, Next, Next, check Update content root for Web module to match the current settings, Finish.


                        Unworked...



                        22.07.2008 13:55:49 org.apache.tomcat.util.digester.SetPropertiesRule begin
                        WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:SeamWebProject1' did not find a matching property.
                        22.07.2008 13:55:49 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:\Sun\SDK\jdk\bin;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\Program Files\Java\jre1.6.0_07\bin\client;C:\Program Files\Java\jre1.6.0_07\bin;C:\app\nikolaev\product\11.1.0\db_1\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\QuickTime\QTSystem\;C:\Sun\SDK\jdk\bin;C:\Sun\SDK\bin
                        22.07.2008 13:55:49 org.apache.coyote.http11.Http11Protocol init
                        INFO: Initializing Coyote HTTP/1.1 on http-8070
                        22.07.2008 13:55:49 org.apache.catalina.startup.Catalina load
                        INFO: Initialization processed in 466 ms
                        22.07.2008 13:55:49 org.apache.catalina.core.StandardService start
                        INFO: Starting service Catalina
                        22.07.2008 13:55:49 org.apache.catalina.core.StandardEngine start
                        INFO: Starting Servlet Engine: Apache Tomcat/6.0.16
                        22.07.2008 13:55:49 org.apache.catalina.core.StandardContext addApplicationListener
                        INFO: The listener "org.jboss.seam.servlet.SeamListener" is already configured for this context. The duplicate definition has been ignored.
                        22.07.2008 13:55:49 org.apache.catalina.core.StandardContext addApplicationListener
                        INFO: The listener "org.apache.myfaces.webapp.StartupServletContextListener" is already configured for this context. The duplicate definition has been ignored.
                        22.07.2008 13:55:50 org.apache.catalina.startup.ContextConfig validateSecurityRoles
                        INFO: WARNING: Security role name NONE used in an <auth-constraint> without being defined in a <security-role>
                        22.07.2008 13:55:50 org.apache.catalina.core.StandardContext listenerStart
                        SEVERE: Error configuring application listener of class org.apache.myfaces.webapp.StartupServletContextListener
                        java.lang.ClassNotFoundException: org.apache.myfaces.webapp.StartupServletContextListener
                             at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1360)
                             at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1206)
                             at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3786)
                             at org.apache.catalina.core.StandardContext.start(StandardContext.java:4350)
                             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(NativeMethodAccessorImpl.java:39)
                             at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                             at java.lang.reflect.Method.invoke(Method.java:597)
                             at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
                             at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
                        22.07.2008 13:55:50 org.apache.catalina.core.StandardContext listenerStart
                        SEVERE: Skipped installing application listeners due to previous error(s)
                        22.07.2008 13:55:50 org.apache.catalina.core.StandardContext start
                        SEVERE: Error listenerStart
                        22.07.2008 13:55:50 org.apache.catalina.core.StandardContext start
                        SEVERE: Context [/SeamWebProject1] startup failed due to previous errors
                        22.07.2008 13:55:50 org.apache.coyote.http11.Http11Protocol start
                        INFO: Starting Coyote HTTP/1.1 on http-8070
                        22.07.2008 13:55:50 org.apache.jk.common.ChannelSocket init
                        INFO: JK: ajp13 listening on /0.0.0.0:8009
                        22.07.2008 13:55:50 org.apache.jk.server.JkMain start
                        INFO: Jk running ID=0 time=0/32  config=null
                        22.07.2008 13:55:50 org.apache.catalina.startup.Catalina start
                        INFO: Server startup in 730 ms


                        • 11. Re: Eclipse and JBossTools. Need for sample worked seam project for Tomcat.
                          Eugeniy Nikolaev Newbie

                          OK.


                          I download MyFaces Core 1.2.3 Distribution, file MyFaces Core 1.2.3 (zip), unzip this.


                          Stop Tomcat in Eclipse, remove existing project, clean server (in view JBoss Server View)


                          New Seam Web Project (name: SeamWebProject2):


                          7.6 Component Libraries: Add new lib with two files: myfaces-api.jar and myfaces-impl.jar


                          Check deploy for this library.


                          , run SeamWebProject2 on Tomcat.


                          Unworked.


                          22.07.2008 14:56:01 org.apache.tomcat.util.digester.SetPropertiesRule begin
                          WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:SeamWebProject2' did not find a matching property.
                          22.07.2008 14:56:01 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:\Sun\SDK\jdk\bin;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\Program Files\Java\jre1.6.0_07\bin\client;C:\Program Files\Java\jre1.6.0_07\bin;C:\app\nikolaev\product\11.1.0\db_1\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\QuickTime\QTSystem\;C:\Sun\SDK\jdk\bin;C:\Sun\SDK\bin
                          22.07.2008 14:56:01 org.apache.coyote.http11.Http11Protocol init
                          INFO: Initializing Coyote HTTP/1.1 on http-8070
                          22.07.2008 14:56:01 org.apache.catalina.startup.Catalina load
                          INFO: Initialization processed in 313 ms
                          22.07.2008 14:56:01 org.apache.catalina.core.StandardService start
                          INFO: Starting service Catalina
                          22.07.2008 14:56:01 org.apache.catalina.core.StandardEngine start
                          INFO: Starting Servlet Engine: Apache Tomcat/6.0.16
                          22.07.2008 14:56:01 org.apache.catalina.core.StandardContext addApplicationListener
                          INFO: The listener "org.jboss.seam.servlet.SeamListener" is already configured for this context. The duplicate definition has been ignored.
                          22.07.2008 14:56:01 org.apache.catalina.core.StandardContext addApplicationListener
                          INFO: The listener "org.apache.myfaces.webapp.StartupServletContextListener" is already configured for this context. The duplicate definition has been ignored.
                          22.07.2008 14:56:01 org.apache.catalina.core.StandardContext addApplicationListener
                          INFO: The listener "org.apache.myfaces.webapp.StartupServletContextListener" is already configured for this context. The duplicate definition has been ignored.
                          22.07.2008 14:56:01 org.apache.catalina.startup.ContextConfig validateSecurityRoles
                          INFO: WARNING: Security role name NONE used in an <auth-constraint> without being defined in a <security-role>
                          22.07.2008 14:56:01 org.apache.catalina.core.StandardContext listenerStart
                          SEVERE: Error configuring application listener of class org.apache.myfaces.webapp.StartupServletContextListener
                          java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
                               at org.apache.myfaces.webapp.AbstractMyFacesListener.<clinit>(AbstractMyFacesListener.java:34)
                               at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
                               at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
                               at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
                               at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
                               at java.lang.Class.newInstance0(Class.java:355)
                               at java.lang.Class.newInstance(Class.java:308)
                               at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3787)
                               at org.apache.catalina.core.StandardContext.start(StandardContext.java:4350)
                               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(NativeMethodAccessorImpl.java:39)
                               at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                               at java.lang.reflect.Method.invoke(Method.java:597)
                               at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
                               at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
                          Caused by: java.lang.ClassNotFoundException: org.apache.commons.logging.LogFactory
                               at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1360)
                               at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1206)
                               at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
                               ... 22 more
                          22.07.2008 14:56:01 org.apache.catalina.core.StandardContext listenerStart
                          SEVERE: Skipped installing application listeners due to previous error(s)
                          22.07.2008 14:56:01 org.apache.catalina.core.StandardContext start
                          SEVERE: Error listenerStart
                          22.07.2008 14:56:01 org.apache.catalina.core.StandardContext start
                          SEVERE: Context [/SeamWebProject2] startup failed due to previous errors
                          22.07.2008 14:56:02 org.apache.coyote.http11.Http11Protocol start
                          INFO: Starting Coyote HTTP/1.1 on http-8070
                          22.07.2008 14:56:02 org.apache.jk.common.ChannelSocket init
                          INFO: JK: ajp13 listening on /0.0.0.0:8009
                          22.07.2008 14:56:02 org.apache.jk.server.JkMain start
                          INFO: Jk running ID=0 time=0/16  config=null
                          22.07.2008 14:56:02 org.apache.catalina.startup.Catalina start
                          INFO: Server startup in 424 ms


                          • 12. Re: Eclipse and JBossTools. Need for sample worked seam project for Tomcat.
                            Eugeniy Nikolaev Newbie

                            Another way. New Seam Web Project (name: SeamWebProject3):


                            7.6 Component Libraries: Add new lib with all 8 myface lib files.


                            Unworked.



                            22.07.2008 15:04:17 org.apache.tomcat.util.digester.SetPropertiesRule begin
                            WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:SeamWebProject3' did not find a matching property.
                            22.07.2008 15:04:17 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:\Sun\SDK\jdk\bin;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\Program Files\Java\jre1.6.0_07\bin\client;C:\Program Files\Java\jre1.6.0_07\bin;C:\app\nikolaev\product\11.1.0\db_1\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\QuickTime\QTSystem\;C:\Sun\SDK\jdk\bin;C:\Sun\SDK\bin
                            22.07.2008 15:04:17 org.apache.coyote.http11.Http11Protocol init
                            INFO: Initializing Coyote HTTP/1.1 on http-8070
                            22.07.2008 15:04:17 org.apache.catalina.startup.Catalina load
                            INFO: Initialization processed in 314 ms
                            22.07.2008 15:04:18 org.apache.catalina.core.StandardService start
                            INFO: Starting service Catalina
                            22.07.2008 15:04:18 org.apache.catalina.core.StandardEngine start
                            INFO: Starting Servlet Engine: Apache Tomcat/6.0.16
                            22.07.2008 15:04:18 org.apache.catalina.core.StandardContext addApplicationListener
                            INFO: The listener "org.jboss.seam.servlet.SeamListener" is already configured for this context. The duplicate definition has been ignored.
                            22.07.2008 15:04:18 org.apache.catalina.core.StandardContext addApplicationListener
                            INFO: The listener "org.apache.myfaces.webapp.StartupServletContextListener" is already configured for this context. The duplicate definition has been ignored.
                            22.07.2008 15:04:18 org.apache.catalina.core.StandardContext addApplicationListener
                            INFO: The listener "org.apache.myfaces.webapp.StartupServletContextListener" is already configured for this context. The duplicate definition has been ignored.
                            22.07.2008 15:04:18 org.apache.catalina.startup.ContextConfig validateSecurityRoles
                            INFO: WARNING: Security role name NONE used in an <auth-constraint> without being defined in a <security-role>
                            22.07.2008 15:04:18 com.sun.faces.config.ConfigureListener contextInitialized
                            INFO: Initializing Mojarra (1.2_08-b06-FCS) for context '/SeamWebProject3'
                            22.07.2008 15:04:19 org.apache.myfaces.shared_impl.config.MyfacesConfig getBooleanInitParameter
                            INFO: No context init parameter 'org.apache.myfaces.PRETTY_HTML' found, using default value true
                            22.07.2008 15:04:19 org.apache.myfaces.shared_impl.config.MyfacesConfig getBooleanInitParameter
                            INFO: No context init parameter 'org.apache.myfaces.ALLOW_JAVASCRIPT' found, using default value true
                            22.07.2008 15:04:19 org.apache.myfaces.shared_impl.config.MyfacesConfig getBooleanInitParameter
                            INFO: No context init parameter 'org.apache.myfaces.RENDER_CLEAR_JAVASCRIPT_FOR_BUTTON' found, using default value false
                            22.07.2008 15:04:19 org.apache.myfaces.shared_impl.config.MyfacesConfig getBooleanInitParameter
                            INFO: No context init parameter 'org.apache.myfaces.SAVE_FORM_SUBMIT_LINK_IE' found, using default value false
                            22.07.2008 15:04:19 org.apache.myfaces.shared_impl.config.MyfacesConfig getBooleanInitParameter
                            INFO: No context init parameter 'org.apache.myfaces.READONLY_AS_DISABLED_FOR_SELECTS' found, using default value true
                            22.07.2008 15:04:19 org.apache.myfaces.shared_impl.config.MyfacesConfig getBooleanInitParameter
                            INFO: No context init parameter 'org.apache.myfaces.RENDER_VIEWSTATE_ID' found, using default value true
                            22.07.2008 15:04:19 org.apache.myfaces.shared_impl.config.MyfacesConfig getBooleanInitParameter
                            INFO: No context init parameter 'org.apache.myfaces.STRICT_XHTML_LINKS' found, using default value true
                            22.07.2008 15:04:19 org.apache.myfaces.shared_impl.config.MyfacesConfig getLongInitParameter
                            INFO: No context init parameter 'org.apache.myfaces.CONFIG_REFRESH_PERIOD' found, using default value 2
                            22.07.2008 15:04:19 org.apache.myfaces.shared_impl.config.MyfacesConfig getBooleanInitParameter
                            INFO: No context init parameter 'org.apache.myfaces.VIEWSTATE_JAVASCRIPT' found, using default value false
                            22.07.2008 15:04:19 org.apache.myfaces.shared_impl.config.MyfacesConfig createAndInitializeMyFacesConfig
                            INFO: Tomahawk jar not available. Autoscrolling, DetectJavascript, AddResourceClass and CheckExtensionsFilter are disabled now.
                            22.07.2008 15:04:19 org.apache.myfaces.shared_impl.config.MyfacesConfig createAndInitializeMyFacesConfig
                            INFO: Starting up Tomahawk on the RI-JSF-Implementation.
                            22.07.2008 15:04:19 org.apache.myfaces.shared_impl.config.MyfacesConfig createAndInitializeMyFacesConfig
                            INFO: Starting up Tomahawk on the MyFaces-JSF-Implementation
                            22.07.2008 15:04:19 org.apache.myfaces.shared_impl.config.MyfacesConfig createAndInitializeMyFacesConfig
                            SEVERE: Both MyFaces and the RI are on your classpath. Please make sure to use only one of the two JSF-implementations.
                            22.07.2008 15:04:19 org.apache.myfaces.config.FacesConfigurator feedStandardConfig
                            INFO: Reading standard config META-INF/standard-faces-config.xml
                            22.07.2008 15:04:19 org.apache.myfaces.config.FacesConfigurator feedClassloaderConfigurations
                            INFO: Reading config : jar:file:/D:/_projects/_temp/_eclipse_winter_jbt_2_1_2/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/SeamWebProject3/WEB-INF/lib/ajax4jsf-1.1.1-SNAPSHOT.jar!/META-INF/faces-config.xml
                            22.07.2008 15:04:19 org.apache.myfaces.config.FacesConfigurator feedClassloaderConfigurations
                            INFO: Reading config : jar:file:/D:/_projects/_temp/_eclipse_winter_jbt_2_1_2/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/SeamWebProject3/WEB-INF/lib/jboss-seam-debug.jar!/META-INF/faces-config.xml
                            22.07.2008 15:04:19 org.apache.myfaces.config.FacesConfigurator feedClassloaderConfigurations
                            INFO: Reading config : jar:file:/D:/_projects/_temp/_eclipse_winter_jbt_2_1_2/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/SeamWebProject3/WEB-INF/lib/jboss-seam-mail.jar!/META-INF/faces-config.xml
                            22.07.2008 15:04:19 org.apache.myfaces.config.FacesConfigurator feedClassloaderConfigurations
                            INFO: Reading config : jar:file:/D:/_projects/_temp/_eclipse_winter_jbt_2_1_2/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/SeamWebProject3/WEB-INF/lib/jboss-seam-pdf.jar!/META-INF/faces-config.xml
                            22.07.2008 15:04:19 org.apache.myfaces.config.FacesConfigurator feedClassloaderConfigurations
                            INFO: Reading config : jar:file:/D:/_projects/_temp/_eclipse_winter_jbt_2_1_2/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/SeamWebProject3/WEB-INF/lib/jboss-seam-ui.jar!/META-INF/faces-config.xml
                            22.07.2008 15:04:19 org.apache.myfaces.config.FacesConfigurator feedClassloaderConfigurations
                            INFO: Reading config : jar:file:/D:/_projects/_temp/_eclipse_winter_jbt_2_1_2/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/SeamWebProject3/WEB-INF/lib/jboss-seam.jar!/META-INF/faces-config.xml
                            22.07.2008 15:04:19 org.apache.myfaces.config.FacesConfigurator feedClassloaderConfigurations
                            INFO: Reading config : jar:file:/D:/_projects/_temp/_eclipse_winter_jbt_2_1_2/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/SeamWebProject3/WEB-INF/lib/jsf-facelets.jar!/META-INF/faces-config.xml
                            22.07.2008 15:04:19 org.apache.myfaces.config.FacesConfigurator feedClassloaderConfigurations
                            INFO: Reading config : jar:file:/D:/_projects/_temp/_eclipse_winter_jbt_2_1_2/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/SeamWebProject3/WEB-INF/lib/richfaces-3.0.1-SNAPSHOT.jar!/META-INF/faces-config.xml
                            22.07.2008 15:04:19 org.apache.myfaces.config.FacesConfigurator feedWebAppConfig
                            INFO: Reading config /WEB-INF/faces-config.xml
                            22.07.2008 15:04:19 org.apache.myfaces.config.FacesConfigurator logMetaInf
                            INFO: Starting up MyFaces-package : myfaces-api in version : 1.2.3 from path : file:/D:/_projects/_temp/_eclipse_winter_jbt_2_1_2/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/SeamWebProject3/WEB-INF/lib/myfaces-api-1.2.3.jar
                            22.07.2008 15:04:19 org.apache.myfaces.config.FacesConfigurator logMetaInf
                            INFO: Starting up MyFaces-package : myfaces-impl in version : 1.2.3 from path : file:/D:/_projects/_temp/_eclipse_winter_jbt_2_1_2/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/SeamWebProject3/WEB-INF/lib/myfaces-impl-1.2.3.jar
                            22.07.2008 15:04:19 org.apache.myfaces.config.FacesConfigurator logMetaInf
                            INFO: MyFaces-package : tomahawk-sandbox not found.
                            22.07.2008 15:04:19 org.apache.myfaces.config.FacesConfigurator logMetaInf
                            INFO: MyFaces-package : tomahawk not found.
                            22.07.2008 15:04:19 org.apache.myfaces.shared_impl.util.LocaleUtils toLocale
                            WARNING: Locale name in faces-config.xml null or empty, setting locale to default locale : ru_RU
                            22.07.2008 15:04:19 org.jboss.seam.jsf.AbstractSeamPhaseListener <init>
                            WARNING: There should only be one Seam phase listener per application
                            22.07.2008 15:04:19 org.apache.myfaces.config.FacesConfigurator handleSerialFactory
                            INFO: Serialization provider : class org.apache.myfaces.shared_impl.util.serial.DefaultSerialFactory
                            22.07.2008 15:04:19 org.apache.myfaces.webapp.AbstractFacesInitializer initFaces
                            INFO: ServletContext 'D:\_projects\_temp\_eclipse_winter_jbt_2_1_2\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\SeamWebProject3\' initialized.
                            22.07.2008 15:04:19 org.jboss.seam.servlet.SeamListener contextInitialized
                            INFO: Welcome to Seam 1.2.1
                            22.07.2008 15:04:19 org.apache.catalina.core.StandardContext listenerStart
                            SEVERE: Exception sending context initialized event to listener instance of class org.jboss.seam.servlet.SeamListener
                            java.lang.NoClassDefFoundError: javassist/bytecode/ClassFile
                                 at org.jboss.seam.deployment.Scanner.<init>(Scanner.java:42)
                                 at org.jboss.seam.deployment.Scanner.<init>(Scanner.java:35)
                                 at org.jboss.seam.deployment.NamespaceScanner.<init>(NamespaceScanner.java:19)
                                 at org.jboss.seam.init.Initialization.addNamespaces(Initialization.java:689)
                                 at org.jboss.seam.init.Initialization.create(Initialization.java:86)
                                 at org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:33)
                                 at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3843)
                                 at org.apache.catalina.core.StandardContext.start(StandardContext.java:4350)
                                 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(NativeMethodAccessorImpl.java:39)
                                 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                                 at java.lang.reflect.Method.invoke(Method.java:597)
                                 at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
                                 at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
                            Caused by: java.lang.ClassNotFoundException: javassist.bytecode.ClassFile
                                 at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1360)
                                 at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1206)
                                 at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
                                 ... 21 more
                            22.07.2008 15:04:19 org.apache.catalina.core.StandardContext start
                            SEVERE: Error listenerStart
                            22.07.2008 15:04:19 org.apache.catalina.core.StandardContext start
                            SEVERE: Context [/SeamWebProject3] startup failed due to previous errors
                            22.07.2008 15:04:19 org.apache.catalina.core.StandardContext listenerStop
                            SEVERE: Exception sending context destroyed event to listener instance of class org.jboss.seam.servlet.SeamListener
                            java.lang.NoClassDefFoundError: javassist/util/proxy/MethodHandler
                                 at org.jboss.seam.core.Events.instance(Events.java:138)
                                 at org.jboss.seam.core.Events.exists(Events.java:133)
                                 at org.jboss.seam.contexts.Contexts.destroy(Contexts.java:215)
                                 at org.jboss.seam.contexts.Lifecycle.endApplication(Lifecycle.java:185)
                                 at org.jboss.seam.servlet.SeamListener.contextDestroyed(SeamListener.java:37)
                                 at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:3882)
                                 at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4516)
                                 at org.apache.catalina.core.StandardContext.start(StandardContext.java:4380)
                                 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(NativeMethodAccessorImpl.java:39)
                                 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                                 at java.lang.reflect.Method.invoke(Method.java:597)
                                 at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
                                 at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
                            Caused by: java.lang.ClassNotFoundException: javassist.util.proxy.MethodHandler
                                 at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1360)
                                 at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1206)
                                 at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
                                 ... 21 more
                            22.07.2008 15:04:19 org.apache.myfaces.config.annotation.DefaultLifecycleProviderFactory getLifecycleProvider
                            INFO: No ExternalContext using fallback LifecycleProvider.
                            22.07.2008 15:04:19 org.apache.myfaces.config.annotation.DefaultLifecycleProviderFactory getLifecycleProvider
                            INFO: Using LifecycleProvider org.apache.myfaces.config.annotation.AllAnnotationLifecycleProvider
                            22.07.2008 15:04:19 org.apache.coyote.http11.Http11Protocol start
                            INFO: Starting Coyote HTTP/1.1 on http-8070
                            22.07.2008 15:04:19 org.apache.jk.common.ChannelSocket init
                            INFO: JK: ajp13 listening on /0.0.0.0:8009
                            22.07.2008 15:04:19 org.apache.jk.server.JkMain start
                            INFO: Jk running ID=0 time=0/31  config=null
                            22.07.2008 15:04:19 org.apache.catalina.startup.Catalina start
                            INFO: Server startup in 1742 ms


                            • 13. Re: Eclipse and JBossTools. Need for sample worked seam project for Tomcat.
                              Nicklas Karlsson Master

                              Keep throwing in jar libraries to satisfy the ClassNotFoundExceptions (javassist in last case)

                              • 14. Re: Eclipse and JBossTools. Need for sample worked seam project for Tomcat.
                                Samuel Mendenhall Apprentice

                                As the poster said above keep adding the Jars to satisfy the CNFE.   You may also be interested in http://www.jboss.com/products/devstudio  which takes care of all of these problems.

                                1 2 Previous Next