6 Replies Latest reply on Jun 19, 2008 12:48 PM by mattlc.mathieu.lecain.econexia.com

    Seam 2.0.1 -> 2.0.2 upgrade

    ziphyre

      Hi,


      I have a seam 2.0.1 ear project in eclipse build with JBoss Tools. It's now source controlled with SVN and I don't wanna start over with 2.0.2 and manually copy the codes to the new project.


      What is the proper way to upgrade to 2.0.2


      Thanks

        • 1. Re: Seam 2.0.1 -> 2.0.2 upgrade
          nickarls

          Drop in the new jar files?

          • 2. Re: Seam 2.0.1 -> 2.0.2 upgrade
            ziphyre

            Is that all? Any config changes, anything to do in eclipse?


            • 3. Re: Seam 2.0.1 -> 2.0.2 upgrade
              nickarls

              Nah, don't think so (until proven otherwise). It's rare to have breaking changes between minor versions.


              Unless your Oracle, then you can replace your entire product with something you both and rebrand from 9.0.2.0.1 to 9.0.2.0.2 or how was it the Orion-deal went? ;-)

              • 4. Re: Seam 2.0.1 -> 2.0.2 upgrade
                mattlc.mathieu.lecain.econexia.com

                Hi,


                I have troubles while upgrading from seam 2.0.0GA to 2.0.2GA.


                I replaced all seam jars in my webcontent/web-inf/lib directory with seam2.0.2GA libs and I still have



                "00:29:45,093 INFO  [ServletContextListener] Welcome to Seam 2.0.0.GA"



                while starting my jboss AS 4.2.


                any help ? Is there som config files to change within the server itself ?


                Tks !!

                • 5. Re: Seam 2.0.1 -> 2.0.2 upgrade
                  ziphyre

                  Hi,


                  Do you use ear or war packaging?


                  If ear, you should also update the jboss-seam.jar under project-name-ear/EarContent/META-INF folder...

                  • 6. Re: Seam 2.0.1 -> 2.0.2 upgrade
                    mattlc.mathieu.lecain.econexia.com

                    Hi,


                    Apologies for not being here for a long time.


                    I think I have any obvious change to do, but with no upgrade road book (apart from just copying files) the only solution I have is to post the complete stack trace :



                    12:30:52,171 INFO  [TomcatDeployer] deploy, ctxPath=/, warUrl=.../deploy/ENREconexia-ear.ear/ENREconexia.war/
                    12:30:57,359 ERROR [[/]] Exception lors de l'envoi de l'?v?nement contexte initialis? (context initialized) ? l'instance de classe d'?coute (listener) org.jboss.web.jsf.integration.config.JBossJSFConfigureListener
                    java.lang.IllegalStateException: Application was not properly initialized at startup, could not find Factory: javax.faces.application.ApplicationFactory
                         at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:256)
                         at com.sun.faces.config.ConfigureListener$InitFacesContext.getApplication(ConfigureListener.java:1614)
                    
                    ..........
                    
                    12:30:57,406 ERROR [StandardContext] Error listenerStart
                    12:30:57,406 ERROR [StandardContext] Erreur de d?marrage du contexte [] suite aux erreurs pr?c?dentes
                    12:30:57,421 WARN  [ServiceController] Problem starting service jboss.web.deployment:war=ENREconexia.war,id=-14987728
                    org.jboss.deployment.DeploymentException: URL file:/D:/JDS/jboss-eap/jboss-as/server/default/deploy/ENREconexia-ear.ear/ENREconexia.war/ deployment failed
                    
                    ..........
                    
                    12:30:57,484 ERROR [MainDeployer] Could not start deployment: file:/D:/JDS/jboss-eap/jboss-as/server/default/deploy/ENREconexia-ear.ear/ENREconexia.war/
                    org.jboss.deployment.DeploymentException: URL file:/D:/JDS/jboss-eap/jboss-as/server/default/deploy/ENREconexia-ear.ear/ENREconexia.war/ deployment failed
                         at org.jboss.web.tomcat.service.TomcatDeployer.performDeployInternal(TomcatDeployer.java:379)
                    ........
                         at java.lang.Thread.run(Unknown Source)
                    12:30:57,500 ERROR [URLDeploymentScanner] Incomplete Deployment listing:
                    
                    --- Incompletely deployed packages ---
                    org.jboss.deployment.DeploymentInfo@ff1b4e30 { url=file:/D:/JDS/jboss-eap/jboss-as/server/default/deploy/ENREconexia-ear.ear/ENREconexia.war/ }
                      deployer: MBeanProxyExt[jboss.web:service=WebServer]
                      status: Deployment FAILED reason: URL file:/D:/JDS/jboss-eap/jboss-as/server/default/deploy/ENREconexia-ear.ear/ENREconexia.war/ deployment failed
                      state: FAILED
                      watch: file:/D:/JDS/jboss-eap/jboss-as/server/default/deploy/ENREconexia-ear.ear/ENREconexia.war/WEB-INF/web.xml
                      altDD: null
                      lastDeployed: 1213871431296
                      lastModified: 1213871240187
                      mbeans:
                    
                    org.jboss.deployment.DeploymentInfo@e76cfb8c { url=file:/D:/JDS/jboss-eap/jboss-as/server/default/deploy/ENREconexia-ear.ear/ }
                      deployer: org.jboss.deployment.EARDeployer@1c39412
                      status: Deployment FAILED reason: URL file:/D:/JDS/jboss-eap/jboss-as/server/default/deploy/ENREconexia-ear.ear/ENREconexia.war/ deployment failed
                      state: FAILED
                      watch: file:/D:/JDS/jboss-eap/jboss-as/server/default/deploy/ENREconexia-ear.ear/META-INF/application.xml
                      altDD: null
                      lastDeployed: 1213871431296
                      lastModified: 1213871196046
                      mbeans:
                        persistence.units:ear=ENREconexia-ear.ear,jar=ENREconexia-ejb.jar,unitName=ENREconexia state: Started
                        jboss.j2ee:ear=ENREconexia-ear.ear,jar=ENREconexia-ejb.jar,name=AdminFrameBean,service=EJB3 state: Started
                        jboss.j2ee:ear=ENREconexia-ear.ear,jar=ENREconexia-ejb.jar,name=AdminPartenaireDataBean,service=EJB3 state: Started
                        jboss.j2ee:ear=ENREconexia-ear.ear,jar=ENREconexia-ejb.jar,name=ExtProductSearchBean,service=EJB3 state: Started
                        jboss.j2ee:ear=ENREconexia-ear.ear,jar=ENREconexia-ejb.jar,name=InscriptionConfPartenaireBean,service=EJB3 state: Started
                        jboss.j2ee:ear=ENREconexia-ear.ear,jar=ENREconexia-ejb.jar,name=InscriptPartenaireBean,service=EJB3 state: Started
                        jboss.j2ee:ear=ENREconexia-ear.ear,jar=ENREconexia-ejb.jar,name=AccNStatEntrepriseBean,service=EJB3 state: Started
                        jboss.j2ee:ear=ENREconexia-ear.ear,jar=ENREconexia-ejb.jar,name=AdminBlogBean,service=EJB3 state: Started
                        jboss.j2ee:ear=ENREconexia-ear.ear,jar=ENREconexia-ejb.jar,name=AdminImageBean,service=EJB3 state: Started
                        jboss.j2ee:ear=ENREconexia-ear.ear,jar=ENREconexia-ejb.jar,name=AdminInstallateursBean,service=EJB3 state: Started
                        jboss.j2ee:ear=ENREconexia-ear.ear,jar=ENREconexia-ejb.jar,name=AdminStructureDataBean,service=EJB3 state: Started
                        jboss.j2ee:ear=ENREconexia-ear.ear,jar=ENREconexia-ejb.jar,name=InscriptionBean,service=EJB3 state: Started
                        jboss.j2ee:ear=ENREconexia-ear.ear,jar=ENREconexia-ejb.jar,name=InscriptionConfBean,service=EJB3 state: Started
                        jboss.j2ee:ear=ENREconexia-ear.ear,jar=ENREconexia-ejb.jar,name=ProduitEditBean,service=EJB3 state: Started
                        jboss.j2ee:ear=ENREconexia-ear.ear,jar=ENREconexia-ejb.jar,name=PublicProductSearchBean,service=EJB3 state: Started
                        jboss.j2ee:ear=ENREconexia-ear.ear,jar=ENREconexia-ejb.jar,name=FileUploadBean,service=EJB3 state: Started
                        jboss.j2ee:ear=ENREconexia-ear.ear,jar=ENREconexia-ejb.jar,name=GestionCataloguesBean,service=EJB3 state: Started
                        jboss.j2ee:ear=ENREconexia-ear.ear,jar=ENREconexia-ejb.jar,name=NodeTreeBean,service=EJB3 state: Started
                        jboss.j2ee:ear=ENREconexia-ear.ear,jar=ENREconexia-ejb.jar,name=PublicSearchService,service=EJB3 state: Started
                        jboss.j2ee:ear=ENREconexia-ear.ear,jar=jboss-seam.jar,name=TimerServiceDispatcher,service=EJB3 state: Started
                        jboss.j2ee:ear=ENREconexia-ear.ear,jar=jboss-seam.jar,name=EjbSynchronizations,service=EJB3 state: Started
                    
                    --- MBeans waiting for other MBeans ---
                    ObjectName: jboss.web.deployment:war=ENREconexia.war,id=-14987728
                      State: FAILED
                      Reason: org.jboss.deployment.DeploymentException: URL file:/D:/JDS/jboss-eap/jboss-as/server/default/deploy/ENREconexia-ear.ear/ENREconexia.war/ deployment failed
                    
                    --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
                    ObjectName: jboss.web.deployment:war=ENREconexia.war,id=-14987728
                      State: FAILED
                      Reason: org.jboss.deployment.DeploymentException: URL file:/D:/JDS/jboss-eap/jboss-as/server/default/deploy/ENREconexia-ear.ear/ENREconexia.war/ deployment failed




                    Thanks in advance!