3 Replies Latest reply on Jan 22, 2009 6:19 PM by Willy De La Cruz Sierra

    Seam configuration

    Willy De La Cruz Sierra Newbie

      Hi...I'm new in the Seam Framework world, but I can't create a web project with Seam and Richfaces. I will only use POJOS (not EJB).
      So..this what I did :


      web.xml


      <?xml version="1.0" encoding="UTF-8"?>
      <web-app version="2.5"
      xmlns="http://java.sun.com/xml/ns/javaee"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
          <context-param>
              <param-name>org.ajax4jsf.VIEW_HANDLERS</param-name>
              <param-value>com.sun.facelets.FaceletViewHandler</param-value>
          </context-param>
      <!-- Seam -->
          <listener>
              <listener-class>org.jboss.seam.servlet.SeamListener</listener-class>
          </listener>
          <servlet>
              <servlet-name>Seam Resource Servlet</servlet-name>
              <servlet-class>org.jboss.seam.servlet.SeamResourceServlet</servlet-class>
          </servlet>
          <servlet-mapping>
              <servlet-name>Seam Resource Servlet</servlet-name>
              <url-pattern>/seam/resource/*</url-pattern>
          </servlet-mapping>
          <filter>
              <filter-name>Seam Filter</filter-name>
              <filter-class>org.jboss.seam.servlet.SeamFilter</filter-class>
          </filter>
          <filter-mapping>
              <filter-name>Seam Filter</filter-name>
              <url-pattern>/*</url-pattern>
          </filter-mapping>
      <!-- JSF -->
          <context-param>
              <param-name>javax.faces.DEFAULT_SUFFIX</param-name>
              <param-value>.xhtml</param-value>
          </context-param>
          <context-param>
              <param-name>facelets.DEVELOPMENT</param-name>
              <param-value>true</param-value>
          </context-param>
          <servlet>
              <servlet-name>Faces Servlet</servlet-name>
              <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
              <load-on-startup>1</load-on-startup>
          </servlet>
          <servlet-mapping>
              <servlet-name>Faces Servlet</servlet-name>
              <url-pattern>*.seam</url-pattern>
          </servlet-mapping>
      </web-app>




      pages.xml


      <?xml version="1.0" encoding="UTF-8"?>
      <pages xmlns="http://jboss.com/products/seam/pages"
             xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
             xsi:schemaLocation="http://jboss.com/products/seam/pages http://jboss.com/products/seam/pages-2.0.xsd"
      >
      
      
          <exception class="org.jboss.seam.framework.EntityNotFoundException">
              <redirect view-id="/error.xhtml">
                  <message>Not found</message>
              </redirect>
          </exception>
      
          <exception class="javax.persistence.EntityNotFoundException">
              <redirect view-id="/error.xhtml">
                  <message>Not found</message>
              </redirect>
          </exception>
      
          <exception class="javax.persistence.OptimisticLockException">
              <end-conversation/>
              <redirect view-id="/error.xhtml">
                  <message>Another user changed the same data, please try again</message>
              </redirect>
          </exception>
      
          <exception class="org.jboss.seam.security.AuthorizationException">
              <redirect>
                  <message>You don't have permission to do this</message>
              </redirect>
          </exception>
      
      
          <exception>
              <redirect view-id="/error.xhtml">
                  <message>Unexpected error, please try again</message>
              </redirect>
          </exception>
      
      </pages>
      



      faces-config.xml


      <?xml version="1.0" encoding="UTF-8"?>
      <faces-config version="1.2"
      xmlns="http://java.sun.com/xml/ns/javaee"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/
      javaee/web-facesconfig_1_2.xsd">
      <!-- Facelets support -->
      <application>
      <view-handler>com.sun.facelets.FaceletViewHandler</view-handler>
      
      </application>
      </faces-config>
      
      home.xhtml
      <?xml version="1.0" encoding="UTF-8"?>
      <faces-config version="1.2"
      xmlns="http://java.sun.com/xml/ns/javaee"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/
      javaee/web-facesconfig_1_2.xsd">
      <!-- Facelets support -->
      <application>
      <view-handler>com.sun.facelets.FaceletViewHandler</view-handler>
      
      </application>
      </faces-config>




      index.jsp


      <% response.sendRedirect("home.seam"); %>  




      Greeter.java


      /*
       * To change this template, choose Tools | Templates
       * and open the template in the editor.
       */
      package sample;
      
      import static org.jboss.seam.ScopeType.SESSION;
      import java.io.Serializable;
      import org.jboss.seam.annotations.Name;
      import org.jboss.seam.annotations.Scope;
      
      /**
       *
       * @author Willy De La Cruz Sierra
       */
      
      @Name("greeter")
      @Scope(SESSION)
      public class Greeter implements Serializable {
      
          private String name;
         
          // getter and setter methods for the "name" property
      
      //    public String getName() {
      //        return name;
      //    }
      //
      //    public void setName(String name) {
      //        this.name = name;
      //    }
      
          
      }




      But I get this error when I click the Get Greeting button:



      WARNING: /home.xhtml @22,59 value="#{greeter.name}": Target Unreachable, identifier 'greeter' resolved to null
      javax.el.PropertyNotFoundException: /home.xhtml @22,59 value="#{greeter.name}": Target Unreachable, identifier 'greeter' resolved to null
              at com.sun.facelets.el.TagValueExpression.getType(TagValueExpression.java:62)




      Any idea of what I'm doing wrong???
      Thanks in advance.


        • 1. Re: Seam configuration
          Coen Damen Novice

          You need a seam.properties file so Seam will recognize your Greeter component.


          Do you see that Seam creates the component in the application server log? If not, then it is probably not created.


          Add a seam.properties (may be an empty file) to the project.


          Good luck,
          Coen

          • 2. Re: Seam configuration
            Willy De La Cruz Sierra Newbie

            Done that but still it doesn't work.
            I modified the faces-config.xml


            faces-config.xml


            <?xml version="1.0" encoding="UTF-8"?>
            <!DOCTYPE faces-config
            PUBLIC "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.0//EN"
                                        "http://java.sun.com/dtd/web-facesconfig_1_0.dtd">
            <faces-config>
            
                <!-- A phase listener is needed by all Seam applications -->
            
                <lifecycle>
                    <phase-listener>org.jboss.seam.jsf.SeamPhaseListener</phase-listener>
                </lifecycle>
            
            </faces-config>



            components.xml


            <?xml version="1.0" encoding="UTF-8"?>
            <components xmlns="http://jboss.com/products/seam/components"
              xmlns:core="http://jboss.com/products/seam/core"
              xmlns:persistence="http://jboss.com/products/seam/persistence"
              xmlns:security="http://jboss.com/products/seam/security"
              xmlns:drools="http://jboss.com/products/seam/drools"
              xmlns:web="http://jboss.com/products/seam/web"
              xmlns:mail="http://jboss.com/products/seam/mail"
              xmlns:transaction="http://jboss.com/products/seam/transaction"
              xmlns:remoting="http://jboss.com/products/seam/remoting"
              xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
              xsi:schemaLocation=
                  "http://jboss.com/products/seam/core http://jboss.com/products/seam/core-2.0.xsd
                   http://jboss.com/products/seam/persistence http://jboss.com/products/seam/persistence-2.0.xsd
                   http://jboss.com/products/seam/security http://jboss.com/products/seam/security-2.0.xsd
                   http://jboss.com/products/seam/web http://jboss.com/products/seam/web-2.0.xsd
                   http://jboss.com/products/seam/drools http://jboss.com/products/seam/drools-2.0.xsd
                   http://jboss.com/products/seam/mail http://jboss.com/products/seam/mail-2.0.xsd
                   http://jboss.com/products/seam/transaction http://jboss.com/products/seam/transaction-2.0.xsd
                   http://jboss.com/products/seam/components http://jboss.com/products/seam/components-2.0.xsd">
            
                <core:init transaction-management-enabled="false"/>
                <!--<core:init jndi-pattern="@jndiPattern@" debug="true"/>
               <transaction:no-transaction/>
            
            
            
            </components>



            web.xml


            <?xml version="1.0" encoding="UTF-8"?>
            <web-app version="2.5"
            xmlns="http://java.sun.com/xml/ns/javaee"
            xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
            xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
                <context-param>
                    <param-name>org.ajax4jsf.VIEW_HANDLERS</param-name>
                    <param-value>com.sun.facelets.FaceletViewHandler</param-value>
                </context-param>
            <!-- Seam -->
                <listener>
                    <listener-class>org.jboss.seam.servlet.SeamListener</listener-class>
                </listener>
                <servlet>
                    <servlet-name>Seam Resource Servlet</servlet-name>
                    <servlet-class>org.jboss.seam.servlet.SeamResourceServlet</servlet-class>
                </servlet>
                <servlet-mapping>
                    <servlet-name>Seam Resource Servlet</servlet-name>
                    <url-pattern>/seam/resource/*</url-pattern>
                </servlet-mapping>
                <filter>
                    <filter-name>Seam Filter</filter-name>
                    <filter-class>org.jboss.seam.servlet.SeamFilter</filter-class>
                </filter>
                <filter-mapping>
                    <filter-name>Seam Filter</filter-name>
                    <url-pattern>/*</url-pattern>
                </filter-mapping>
            <!-- JSF -->
                <context-param>
                    <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
                    <param-value>client</param-value>
                </context-param>
            
                <context-param>
                    <param-name>javax.faces.DEFAULT_SUFFIX</param-name>
                    <param-value>.xhtml</param-value>
                </context-param>
                <context-param>
                    <param-name>facelets.DEVELOPMENT</param-name>
                    <param-value>true</param-value>
                </context-param>
                <servlet>
                    <servlet-name>Faces Servlet</servlet-name>
                    <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
                    <load-on-startup>1</load-on-startup>
                </servlet>
                <servlet-mapping>
                    <servlet-name>Faces Servlet</servlet-name>
                    <url-pattern>*.seam</url-pattern>
                </servlet-mapping>
            </web-app>



            Thanks in advance




            • 3. Re: Seam configuration
              Willy De La Cruz Sierra Newbie

              I forgot to attach the Tomcat log:



              Loading conf/setenv.bat
              CATALINA_OPTS:  -Dk12.environment=local -Dk12.app=epr_admin_ui -Dk12.httpPort=8094 -Dk12.httpsPort=8443
              Using CATALINA_BASE:   D:\k12\apache-tomcat
              Using CATALINA_HOME:   D:\k12\apache-tomcat
              Using CATALINA_TMPDIR: D:\k12\apache-tomcat\temp
              Using JRE_HOME:        C:\Program Files\Java\jdk1.6.0_04
              Jan 22, 2009 11:25:59 AM org.apache.catalina.core.AprLifecycleListener init
              INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jdk1.6.0_04\bin;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Intel\DMIX;C:\Program Files\Subversion\bin;C:\Program Files\QuickTime\QTSystem\
              Jan 22, 2009 11:25:59 AM org.apache.coyote.http11.Http11Protocol init
              INFO: Initializing Coyote HTTP/1.1 on http-8094
              Jan 22, 2009 11:26:00 AM org.apache.coyote.http11.Http11Protocol init
              INFO: Initializing Coyote HTTP/1.1 on http-8443
              Jan 22, 2009 11:26:00 AM org.apache.catalina.startup.Catalina load
              INFO: Initialization processed in 2012 ms
              Jan 22, 2009 11:26:00 AM org.apache.catalina.core.StandardService start
              INFO: Starting service Catalina
              Jan 22, 2009 11:26:00 AM org.apache.catalina.core.StandardEngine start
              INFO: Starting Servlet Engine: Apache Tomcat/6.0.14
              Jan 22, 2009 11:26:02 AM com.sun.faces.config.ConfigureListener contextInitialized
              INFO: Initializing Mojarra (1.2_08-b06-FCS) for context '/texam'
              Jan 22, 2009 11:26:03 AM org.jboss.seam.jsf.SeamPhaseListener <init>
              WARNING: There should only be one Seam phase listener per application
              Jan 22, 2009 11:26:06 AM org.jboss.seam.servlet.SeamListener contextInitialized
              INFO: Welcome to Seam 2.0.2.SP1
              Jan 22, 2009 11:26:08 AM org.jboss.seam.init.Initialization addNamespace
              INFO: Namespace: http://jboss.com/products/seam/async, package: org.jboss.seam.async, prefix: org.jboss.seam.async
              Jan 22, 2009 11:26:08 AM 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
              Jan 22, 2009 11:26:08 AM org.jboss.seam.init.Initialization addNamespace
              INFO: Namespace: http://jboss.com/products/seam/theme, package: org.jboss.seam.theme, prefix: org.jboss.seam.theme
              Jan 22, 2009 11:26:08 AM org.jboss.seam.init.Initialization addNamespace
              INFO: Namespace: http://jboss.com/products/seam/bpm, package: org.jboss.seam.bpm, prefix: org.jboss.seam.bpm
              Jan 22, 2009 11:26:08 AM org.jboss.seam.init.Initialization addNamespace
              INFO: Namespace: http://jboss.com/products/seam/mail, package: org.jboss.seam.mail, prefix: org.jboss.seam.mail
              Jan 22, 2009 11:26:08 AM org.jboss.seam.init.Initialization addNamespace
              INFO: Namespace: http://jboss.com/products/seam/security, package: org.jboss.seam.security, prefix: org.jboss.seam.security
              Jan 22, 2009 11:26:08 AM org.jboss.seam.init.Initialization addNamespace
              INFO: Namespace: http://jboss.com/products/seam/web, package: org.jboss.seam.web, prefix: org.jboss.seam.web
              Jan 22, 2009 11:26:08 AM org.jboss.seam.init.Initialization addNamespace
              INFO: Namespace: http://jboss.com/products/seam/captcha, package: org.jboss.seam.captcha, prefix: org.jboss.seam.captcha
              Jan 22, 2009 11:26:08 AM org.jboss.seam.init.Initialization addNamespace
              INFO: Namespace: http://jboss.com/products/seam/navigation, package: org.jboss.seam.navigation, prefix: org.jboss.seam.navigation
              Jan 22, 2009 11:26:08 AM org.jboss.seam.init.Initialization addNamespace
              INFO: Namespace: http://jboss.com/products/seam/core, package: org.jboss.seam.core, prefix: org.jboss.seam.core
              Jan 22, 2009 11:26:08 AM org.jboss.seam.init.Initialization addNamespace
              INFO: Namespace: http://jboss.com/products/seam/international, package: org.jboss.seam.international, prefix: org.jboss.seam.international
              Jan 22, 2009 11:26:08 AM org.jboss.seam.init.Initialization addNamespace
              INFO: Namespace: http://jboss.com/products/seam/jms, package: org.jboss.seam.jms, prefix: org.jboss.seam.jms
              Jan 22, 2009 11:26:08 AM org.jboss.seam.init.Initialization addNamespace
              INFO: Namespace: http://jboss.com/products/seam/transaction, package: org.jboss.seam.transaction, prefix: org.jboss.seam.transaction
              Jan 22, 2009 11:26:08 AM org.jboss.seam.init.Initialization addNamespace
              INFO: Namespace: http://jboss.com/products/seam/drools, package: org.jboss.seam.drools, prefix: org.jboss.seam.drools
              Jan 22, 2009 11:26:08 AM org.jboss.seam.init.Initialization addNamespace
              INFO: Namespace: http://jboss.com/products/seam/persistence, package: org.jboss.seam.persistence, prefix: org.jboss.seam.persistence
              Jan 22, 2009 11:26:08 AM org.jboss.seam.init.Initialization initComponentsFromXmlDocument
              INFO: reading /WEB-INF/components.xml
              Jan 22, 2009 11:26:09 AM org.apache.catalina.core.StandardContext start
              SEVERE: Error listenerStart
              Jan 22, 2009 11:26:09 AM org.apache.catalina.core.StandardContext start
              SEVERE: Context [/texam] startup failed due to previous errors
              Jan 22, 2009 11:26:10 AM org.apache.coyote.http11.Http11Protocol start
              INFO: Starting Coyote HTTP/1.1 on http-8094
              Jan 22, 2009 11:26:10 AM org.apache.coyote.http11.Http11Protocol start
              INFO: Starting Coyote HTTP/1.1 on http-8443
              Jan 22, 2009 11:26:10 AM org.apache.jk.common.ChannelSocket init
              INFO: JK: ajp13 listening on /0.0.0.0:8009
              Jan 22, 2009 11:26:10 AM org.apache.jk.server.JkMain start
              INFO: Jk running ID=0 time=0/109  config=null
              Jan 22, 2009 11:26:10 AM org.apache.catalina.startup.Catalina start
              INFO: Server startup in 10034 ms
              Jan 22, 2009 11:26:28 AM org.apache.catalina.core.StandardContext stop
              INFO: Container org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/texam] has not been started
              Jan 22, 2009 11:26:28 AM org.apache.catalina.startup.HostConfig checkResources
              INFO: Undeploying context [/texam]
              Jan 22, 2009 11:26:47 AM com.sun.faces.config.ConfigureListener contextInitialized
              INFO: Initializing Mojarra (1.2_08-b06-FCS) for context '/texam'
              Jan 22, 2009 11:26:48 AM org.jboss.seam.jsf.SeamPhaseListener <init>
              WARNING: There should only be one Seam phase listener per application
              Jan 22, 2009 11:26:48 AM org.apache.catalina.loader.WebappClassLoader loadClass
              INFO: Illegal access: this web application instance has been stopped already.  Could not load java.lang.Object.  The eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact.
              java.lang.IllegalStateException
                      at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1244)
                      at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1204)
                      at com.sun.faces.application.ConverterPropertyEditorFactory$DisposableClassLoader.loadClass(ConverterPropertyEditorFactory.java:465)
                      at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
                      at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
                      at java.lang.Class.getDeclaredConstructors0(Native Method)
                      at java.lang.Class.privateGetDeclaredConstructors(Class.java:2389)
                      at java.lang.Class.getConstructor0(Class.java:2699)
                      at java.lang.Class.newInstance0(Class.java:326)
                      at java.lang.Class.newInstance(Class.java:308)
                      at java.beans.PropertyEditorManager.findEditor(PropertyEditorManager.java:79)
                      at com.sun.faces.application.ApplicationImpl.addPropertyEditorIfNecessary(ApplicationImpl.java:703)
                      at com.sun.faces.application.ApplicationImpl.addConverter(ApplicationImpl.java:671)
                      at org.jboss.seam.jsf.SeamApplication.addConverter(SeamApplication.java:78)
                      at com.sun.faces.config.processor.ConverterConfigProcessor.addConverters(ConverterConfigProcessor.java:176)
                      at com.sun.faces.config.processor.ConverterConfigProcessor.process(ConverterConfigProcessor.java:114)
                      at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:94)
                      at com.sun.faces.config.processor.ComponentConfigProcessor.process(ComponentConfigProcessor.java:108)
                      at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:94)
                      at com.sun.faces.config.processor.ApplicationConfigProcessor.process(ApplicationConfigProcessor.java:252)
                      at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:94)
                      at com.sun.faces.config.processor.LifecycleConfigProcessor.process(LifecycleConfigProcessor.java:119)
                      at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:94)
                      at com.sun.faces.config.processor.FactoryConfigProcessor.process(FactoryConfigProcessor.java:132)
                      at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:202)
                      at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:174)
                      at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3830)
                      at org.apache.catalina.core.StandardContext.start(StandardContext.java:4337)
                      at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
                      at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
                      at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
                      at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:626)
                      at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:511)
                      at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1220)
                      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.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:297)
                      at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
                      at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
                      at org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1458)
                      at org.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:820)
                      at org.apache.catalina.manager.ManagerServlet.doGet(ManagerServlet.java:348)
                      at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
                      at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
                      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
                      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
                      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
                      at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525)
                      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
                      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
                      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
                      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:263)
                      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
                      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:584)
                      at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
                      at java.lang.Thread.run(Thread.java:619)
              Jan 22, 2009 11:26:50 AM org.jboss.seam.servlet.SeamListener contextInitialized
              INFO: Welcome to Seam 2.0.2.SP1
              Jan 22, 2009 11:26:52 AM org.jboss.seam.init.Initialization addNamespace
              INFO: Namespace: http://jboss.com/products/seam/async, package: org.jboss.seam.async, prefix: org.jboss.seam.async
              Jan 22, 2009 11:26:52 AM 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
              Jan 22, 2009 11:26:52 AM org.jboss.seam.init.Initialization addNamespace
              INFO: Namespace: http://jboss.com/products/seam/theme, package: org.jboss.seam.theme, prefix: org.jboss.seam.theme
              Jan 22, 2009 11:26:52 AM org.jboss.seam.init.Initialization addNamespace
              INFO: Namespace: http://jboss.com/products/seam/bpm, package: org.jboss.seam.bpm, prefix: org.jboss.seam.bpm
              Jan 22, 2009 11:26:52 AM org.jboss.seam.init.Initialization addNamespace
              INFO: Namespace: http://jboss.com/products/seam/mail, package: org.jboss.seam.mail, prefix: org.jboss.seam.mail
              Jan 22, 2009 11:26:52 AM org.jboss.seam.init.Initialization addNamespace
              INFO: Namespace: http://jboss.com/products/seam/security, package: org.jboss.seam.security, prefix: org.jboss.seam.security
              Jan 22, 2009 11:26:52 AM org.jboss.seam.init.Initialization addNamespace
              INFO: Namespace: http://jboss.com/products/seam/web, package: org.jboss.seam.web, prefix: org.jboss.seam.web
              Jan 22, 2009 11:26:52 AM org.jboss.seam.init.Initialization addNamespace
              INFO: Namespace: http://jboss.com/products/seam/captcha, package: org.jboss.seam.captcha, prefix: org.jboss.seam.captcha
              Jan 22, 2009 11:26:52 AM org.jboss.seam.init.Initialization addNamespace
              INFO: Namespace: http://jboss.com/products/seam/navigation, package: org.jboss.seam.navigation, prefix: org.jboss.seam.navigation
              Jan 22, 2009 11:26:52 AM org.jboss.seam.init.Initialization addNamespace
              INFO: Namespace: http://jboss.com/products/seam/core, package: org.jboss.seam.core, prefix: org.jboss.seam.core
              Jan 22, 2009 11:26:52 AM org.jboss.seam.init.Initialization addNamespace
              INFO: Namespace: http://jboss.com/products/seam/international, package: org.jboss.seam.international, prefix: org.jboss.seam.international
              Jan 22, 2009 11:26:52 AM org.jboss.seam.init.Initialization addNamespace
              INFO: Namespace: http://jboss.com/products/seam/jms, package: org.jboss.seam.jms, prefix: org.jboss.seam.jms
              Jan 22, 2009 11:26:52 AM org.jboss.seam.init.Initialization addNamespace
              INFO: Namespace: http://jboss.com/products/seam/transaction, package: org.jboss.seam.transaction, prefix: org.jboss.seam.transaction
              Jan 22, 2009 11:26:52 AM org.jboss.seam.init.Initialization addNamespace
              INFO: Namespace: http://jboss.com/products/seam/drools, package: org.jboss.seam.drools, prefix: org.jboss.seam.drools
              Jan 22, 2009 11:26:52 AM org.jboss.seam.init.Initialization addNamespace
              INFO: Namespace: http://jboss.com/products/seam/persistence, package: org.jboss.seam.persistence, prefix: org.jboss.seam.persistence
              Jan 22, 2009 11:26:52 AM org.jboss.seam.init.Initialization initComponentsFromXmlDocument
              INFO: reading /WEB-INF/components.xml
              Jan 22, 2009 11:26:53 AM org.apache.catalina.core.StandardContext start
              SEVERE: Error listenerStart
              Jan 22, 2009 11:26:53 AM org.apache.catalina.core.StandardContext start
              SEVERE: Context [/texam] startup failed due to previous errors
              Jan 22, 2009 11:26:54 AM com.sun.faces.config.ConfigureListener contextInitialized
              INFO: Initializing Mojarra (1.2_08-b06-FCS) for context '/texam'
              Jan 22, 2009 11:26:55 AM org.jboss.seam.jsf.SeamPhaseListener <init>
              WARNING: There should only be one Seam phase listener per application
              Jan 22, 2009 11:26:57 AM org.jboss.seam.servlet.SeamListener contextInitialized
              INFO: Welcome to Seam 2.0.2.SP1
              Jan 22, 2009 11:26:59 AM org.jboss.seam.init.Initialization addNamespace
              INFO: Namespace: http://jboss.com/products/seam/async, package: org.jboss.seam.async, prefix: org.jboss.seam.async
              Jan 22, 2009 11:26:59 AM 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
              Jan 22, 2009 11:26:59 AM org.jboss.seam.init.Initialization addNamespace
              INFO: Namespace: http://jboss.com/products/seam/theme, package: org.jboss.seam.theme, prefix: org.jboss.seam.theme
              Jan 22, 2009 11:26:59 AM org.jboss.seam.init.Initialization addNamespace
              INFO: Namespace: http://jboss.com/products/seam/bpm, package: org.jboss.seam.bpm, prefix: org.jboss.seam.bpm
              Jan 22, 2009 11:26:59 AM org.jboss.seam.init.Initialization addNamespace
              INFO: Namespace: http://jboss.com/products/seam/mail, package: org.jboss.seam.mail, prefix: org.jboss.seam.mail
              Jan 22, 2009 11:26:59 AM org.jboss.seam.init.Initialization addNamespace
              INFO: Namespace: http://jboss.com/products/seam/security, package: org.jboss.seam.security, prefix: org.jboss.seam.security
              Jan 22, 2009 11:26:59 AM org.jboss.seam.init.Initialization addNamespace
              INFO: Namespace: http://jboss.com/products/seam/web, package: org.jboss.seam.web, prefix: org.jboss.seam.web
              Jan 22, 2009 11:26:59 AM org.jboss.seam.init.Initialization addNamespace
              INFO: Namespace: http://jboss.com/products/seam/captcha, package: org.jboss.seam.captcha, prefix: org.jboss.seam.captcha
              Jan 22, 2009 11:26:59 AM org.jboss.seam.init.Initialization addNamespace
              INFO: Namespace: http://jboss.com/products/seam/navigation, package: org.jboss.seam.navigation, prefix: org.jboss.seam.navigation
              Jan 22, 2009 11:26:59 AM org.jboss.seam.init.Initialization addNamespace
              INFO: Namespace: http://jboss.com/products/seam/core, package: org.jboss.seam.core, prefix: org.jboss.seam.core
              Jan 22, 2009 11:26:59 AM org.jboss.seam.init.Initialization addNamespace
              INFO: Namespace: http://jboss.com/products/seam/international, package: org.jboss.seam.international, prefix: org.jboss.seam.international
              Jan 22, 2009 11:26:59 AM org.jboss.seam.init.Initialization addNamespace
              INFO: Namespace: http://jboss.com/products/seam/jms, package: org.jboss.seam.jms, prefix: org.jboss.seam.jms
              Jan 22, 2009 11:26:59 AM org.jboss.seam.init.Initialization addNamespace
              INFO: Namespace: http://jboss.com/products/seam/transaction, package: org.jboss.seam.transaction, prefix: org.jboss.seam.transaction
              Jan 22, 2009 11:26:59 AM org.jboss.seam.init.Initialization addNamespace
              INFO: Namespace: http://jboss.com/products/seam/drools, package: org.jboss.seam.drools, prefix: org.jboss.seam.drools
              Jan 22, 2009 11:26:59 AM org.jboss.seam.init.Initialization addNamespace
              INFO: Namespace: http://jboss.com/products/seam/persistence, package: org.jboss.seam.persistence, prefix: org.jboss.seam.persistence
              Jan 22, 2009 11:26:59 AM org.jboss.seam.init.Initialization initComponentsFromXmlDocument
              INFO: reading /WEB-INF/components.xml
              Jan 22, 2009 11:26:59 AM org.apache.catalina.core.StandardContext start
              SEVERE: Error listenerStart
              Jan 22, 2009 11:26:59 AM org.apache.catalina.core.StandardContext start
              SEVERE: Context [/texam] startup failed due to previous errors