2 Replies Latest reply on Feb 1, 2011 5:20 AM by nimo stephan

    Welcome to Seam 2.1.0.SP1 in Weld and Seam3

    nimo stephan Master

      I am using jboss 6 and weld. And the only seam3-component, I am actually using is Seam-Soldier. When starting my server, this log is produced:


      10:29:30,130 INFO  [javax.servlet.ServletContextListener] Welcome to Seam 2.1.0.SP1
      10:29:36,333 INFO  [org.jboss.seam.init.Initialization] Namespace: http://jboss.com/products/seam/async, package: org.jboss.seam.async, prefix: org.jboss.seam.async
      10:29:36,333 INFO  [org.jboss.seam.init.Initialization] Namespace: http://jboss.com/products/seam/framework, package: org.jboss.seam.framework, prefix: org.jboss.seam.core.framework
      10:29:36,333 INFO  [org.jboss.seam.init.Initialization] Namespace: http://jboss.com/products/seam/theme, package: org.jboss.seam.theme, prefix: org.jboss.seam.theme
      10:29:36,333 INFO  [org.jboss.seam.init.Initialization] Namespace: http://jboss.com/products/seam/security, package: org.jboss.seam.security.management, prefix: org.jboss.seam.security
      10:29:36,333 INFO  [org.jboss.seam.init.Initialization] Namespace: http://jboss.com/products/seam/bpm, package: org.jboss.seam.bpm, prefix: org.jboss.seam.bpm
      10:29:36,333 INFO  [org.jboss.seam.init.Initialization] Namespace: http://jboss.com/products/seam/mail, package: org.jboss.seam.mail, prefix: org.jboss.seam.mail
      10:29:36,333 INFO  [org.jboss.seam.init.Initialization] Namespace: http://jboss.com/products/seam/security, package: org.jboss.seam.security, prefix: org.jboss.seam.security
      10:29:36,333 INFO  [org.jboss.seam.init.Initialization] Namespace: http://jboss.com/products/seam/web, package: org.jboss.seam.web, prefix: org.jboss.seam.web
      10:29:36,333 INFO  [org.jboss.seam.init.Initialization] Namespace: http://jboss.com/products/seam/captcha, package: org.jboss.seam.captcha, prefix: org.jboss.seam.captcha
      10:29:36,333 INFO  [org.jboss.seam.init.Initialization] Namespace: http://jboss.com/products/seam/navigation, package: org.jboss.seam.navigation, prefix: org.jboss.seam.navigation
      10:29:36,333 INFO  [org.jboss.seam.init.Initialization] Namespace: http://jboss.com/products/seam/core, package: org.jboss.seam.core, prefix: org.jboss.seam.core
      10:29:36,333 INFO  [org.jboss.seam.init.Initialization] Namespace: http://jboss.com/products/seam/international, package: org.jboss.seam.international, prefix: org.jboss.seam.international
      10:29:36,333 INFO  [org.jboss.seam.init.Initialization] Namespace: http://jboss.com/products/seam/cache, package: org.jboss.seam.cache, prefix: org.jboss.seam.cache
      10:29:36,333 INFO  [org.jboss.seam.init.Initialization] Namespace: http://jboss.com/products/seam/jms, package: org.jboss.seam.jms, prefix: org.jboss.seam.jms
      10:29:36,333 INFO  [org.jboss.seam.init.Initialization] Namespace: http://jboss.com/products/seam/ui, package: org.jboss.seam.ui, prefix: org.jboss.seam.ui
      10:29:36,333 INFO  [org.jboss.seam.init.Initialization] Namespace: http://jboss.com/products/seam/transaction, package: org.jboss.seam.transaction, prefix: org.jboss.seam.transaction
      10:29:36,333 INFO  [org.jboss.seam.init.Initialization] Namespace: http://jboss.com/products/seam/security, package: org.jboss.seam.security.permission, prefix: org.jboss.seam.security
      10:29:36,333 INFO  [org.jboss.seam.init.Initialization] Namespace: http://jboss.com/products/seam/drools, package: org.jboss.seam.drools, prefix: org.jboss.seam.drools
      10:29:36,333 INFO  [org.jboss.seam.init.Initialization] Namespace: http://jboss.com/products/seam/persistence, package: org.jboss.seam.persistence, prefix: org.jboss.seam.persistence
      10:29:36,333 INFO  [org.jboss.seam.init.Initialization] Namespace: http://jboss.com/products/seam/document, package: org.jboss.seam.document, prefix: org.jboss.seam.document
      10:29:36,349 INFO  [org.jboss.seam.init.Initialization] reading /WEB-INF/components.xml
      10:29:36,396 INFO  [org.jboss.seam.init.Initialization] reading properties from: /seam.properties
      10:29:36,411 INFO  [org.jboss.seam.init.Initialization] reading properties from: /jndi.properties
      10:29:36,411 INFO  [org.jboss.seam.init.Initialization] initializing Seam
      10:29:36,489 INFO  [org.jboss.seam.init.Initialization] two components with same name, higher precedence wins: org.jboss.seam.web.parameters
      10:29:36,505 INFO  [org.jboss.seam.init.Initialization] two components with same name, higher precedence wins: org.jboss.seam.core.locale
      10:29:36,505 INFO  [org.jboss.seam.init.Initialization] two components with same name, higher precedence wins: org.jboss.seam.core.manager
      10:29:36,505 INFO  [org.jboss.seam.init.Initialization] two components with same name, higher precedence wins: org.jboss.seam.core.resourceLoader
      10:29:36,505 INFO  [org.jboss.seam.init.Initialization] two components with same name, higher precedence wins: org.jboss.seam.core.locale
      10:29:36,505 INFO  [org.jboss.seam.init.Initialization] two components with same name, higher precedence wins: org.jboss.seam.transaction.synchronizations
      10:29:36,505 INFO  [org.jboss.seam.init.Initialization] two components with same name, higher precedence wins: org.jboss.seam.web.userPrincipal
      10:29:36,505 INFO  [org.jboss.seam.init.Initialization] two components with same name, higher precedence wins: org.jboss.seam.web.isUserInRole
      10:29:36,505 INFO  [org.jboss.seam.init.Initialization] two components with same name, higher precedence wins: org.jboss.seam.persistence.persistenceProvider
      10:29:36,521 INFO  [org.jboss.seam.init.Initialization] two components with same name, higher precedence wins: org.jboss.seam.core.expressions
      10:29:36,552 INFO  [org.jboss.seam.Component] Component: org.jboss.seam.core.init, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Init



      So you see: Welcome to Seam 2.1.0.SP1. How it comes? I do not use Seam 2.1 !

        • 1. Re: Welcome to Seam 2.1.0.SP1 in Weld and Seam3
          Sebastian Sachtleben Novice

          All these log messages came from seam 2!


          Seam 3 looks like this:


          10:39:05,446 INFO  [org.jboss.seam.solder.Version] Seam Solder 3.0.0.Beta3 (build id: 3.0.0.Beta3)
          10:39:05,462 INFO  [org.jboss.seam.config.xml.bootstrap.XmlConfigExtension] Seam Config XML provider starting...
          10:39:05,478 INFO  [org.jboss.seam.config.xml.bootstrap.XmlConfigExtension] Loading XmlDocumentProvider: org.jboss.seam.config.xml.bootstrap.ResourceLoaderXmlDocumentProvider
          10:39:05,493 INFO  [org.jboss.seam.config.xml.bootstrap.XmlConfigExtension] Reading XML file: vfs:/C:/jboss-6.0.0.Final/server/default/deploy/AutoWelt.war/WEB-INF/classes/META-INF/seam-beans.xml
          10:39:05,509 INFO  [org.jboss.seam.config.xml.bootstrap.XmlConfigExtension] Reading XML file: vfs:/C:/jboss-6.0.0.Final/server/default/deploy/AutoWelt.war/WEB-INF/lib/seam-security-impl-3.0.0.Beta1.jar/META-INF/beans.xml
          10:39:05,524 INFO  [org.jboss.seam.config.xml.bootstrap.XmlConfigExtension] Reading XML file: vfs:/C:/jboss-6.0.0.Final/server/default/deploy/AutoWelt.war/WEB-INF/lib/seam-international-3.0.0.Beta1.jar/META-INF/beans.xml
          10:39:05,524 INFO  [org.jboss.seam.config.xml.bootstrap.XmlConfigExtension] Reading XML file: vfs:/C:/jboss-6.0.0.Final/server/default/deployers/resteasy.deployer/resteasy-cdi-2.1.0.GA.jar/META-INF/beans.xml
          10:39:05,524 INFO  [org.jboss.seam.config.xml.bootstrap.XmlConfigExtension] Reading XML file: vfs:/C:/jboss-6.0.0.Final/server/default/deploy/AutoWelt.war/WEB-INF/lib/seam-faces-3.0.0.Beta2.jar/META-INF/beans.xml
          10:39:05,524 INFO  [org.jboss.seam.config.xml.bootstrap.XmlConfigExtension] Reading XML file: vfs:/C:/jboss-6.0.0.Final/server/default/deploy/AutoWelt.war/WEB-INF/lib/prettyfaces-jsf2-3.0.1.jar/META-INF/beans.xml
          10:39:05,524 INFO  [org.jboss.seam.config.xml.bootstrap.XmlConfigExtension] Reading XML file: vfs:/C:/jboss-6.0.0.Final/server/default/deploy/AutoWelt.war/WEB-INF/lib/seam-servlet-3.0.0.Beta1.jar/META-INF/beans.xml
          10:39:05,524 INFO  [org.jboss.seam.config.xml.bootstrap.XmlConfigExtension] Reading XML file: vfs:/C:/jboss-6.0.0.Final/server/default/deploy/AutoWelt.war/WEB-INF/lib/seam-solder-3.0.0.Beta3.jar/META-INF/beans.xml
          10:39:05,540 INFO  [org.jboss.seam.config.xml.bootstrap.XmlConfigExtension] Reading XML file: vfs:/C:/jboss-6.0.0.Final/server/default/deploy/AutoWelt.war/WEB-INF/lib/seam-catch-3.0.0.Beta1.jar/META-INF/beans.xml
          10:39:05,540 INFO  [org.jboss.seam.config.xml.bootstrap.XmlConfigExtension] Reading XML file: vfs:/C:/jboss-6.0.0.Final/server/default/deploy/AutoWelt.war/WEB-INF/lib/seam-security-api-3.0.0.Beta1.jar/META-INF/beans.xml



          Maybe do u have seam 2 and seam 3 webapp in deploy folder?


          Post your pom.xml!

          • 2. Re: Welcome to Seam 2.1.0.SP1 in Weld and Seam3
            nimo stephan Master

            I am using jboss 6 with its integrated admin-console which is internally build with seam 2.1. That is the reason why jboss loads seam 2.1, because jboss admin-console needs that!