3 Replies Latest reply on Aug 28, 2008 1:57 PM by jbalunas.jbalunas.jboss.org

    Deployed Seam booking example to WebLogic 10.3

      Seam Team and others,


      Just wanted to let you know that I was able to follow the examples provided in Chapter 34 to deploy the JEE5 Booking example to Oracle WebLogic 10.3


      I sadly must report that the TimerService CR was not included in this release.  At first I tried to deploy without replacing jboss-seam.jar with jboss-seam-wsl-compatible.jar and received numerous EJB3Module errors.  I replaced the jar as specified in Chapter 34 and was able to deploy and run the application.


      I'd like to also report that WebLogic 10.3 comes bundled with JDK 1.6 and JRockit 1.6.  There was mention of a second CR that affected JDK 1.5_11; I have not found this issue thus far, so I do not know if it is a byproduct of the latest release or the JRE that ships with WebLogic 10.3.  FYI, I am using the Sun JRE rather than JRockit at this time.


      So far so good - now I begin the process of migrating build scripts for our current application to see if we can get it to deploy to WebLogic (currently JBoss 4.2.2).  If you'd like to do this for me please let me know as I am taking bribes. :)


      Thanks.

        • 1. Re: Deployed Seam booking example to WebLogic 10.3
          jbalunas.jbalunas.jboss.org

          Thanks a lot for confirming this - I have updated the relevant jira JBSEAM-3076.


          I really wish that they had gotten this in that release - it would have made our lives a lot easier ;-)


          In any case the plan is to update the reference guide chapter on this for 2.1.0.GA.


          Thanks again for the info,


          -Jay

          • 2. Re: Deployed Seam booking example to WebLogic 10.3
            ulath

            I'm trying to run jpa sample (without ejb support) on weblogic 10.3 but i encounter to the following error:



            Aug 28, 2008 10:48:06 AM com.sun.faces.config.ConfigureListener contextInitialized
            INFO: Initializing Sun's JavaServer Faces implementation (1.2_03-20070706-NIGHTLY) for context '/jboss-seam-jpa'
            Aug 28, 2008 10:48:08 AM org.jboss.seam.servlet.SeamListener contextInitialized
            INFO: Welcome to Seam 2.1.0.BETA1
            <Aug 28, 2008 10:48:10 AM EEST> <Warning> <HTTP> <BEA-101162> <User defined listener org.jboss.seam.servlet.SeamListener failed: java.lang.NullPointerException.
            java.lang.NullPointerException
                    at org.jboss.seam.deployment.URLScanner.handleDirectory(URLScanner.java:132)
                    at org.jboss.seam.deployment.URLScanner.scanDirectories(URLScanner.java:40)
                    at org.jboss.seam.deployment.StandardDeploymentStrategy.scan(StandardDeploymentStrategy.java:107)
                    at org.jboss.seam.init.Initialization.create(Initialization.java:113)
                    at org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:34)
                    Truncated. see log file for complete stacktrace
            >
            <Aug 28, 2008 10:48:10 AM EEST> <Error> <Deployer> <BEA-149231> <Unable to set the activation state to true for the application 'jboss-seam-jpa'.
            weblogic.application.ModuleException:
                    at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1373)
                    at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:468)
                    at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
                    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
                    at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
                    Truncated. see log file for complete stacktrace
            java.lang.NullPointerException
                    at org.jboss.seam.deployment.URLScanner.handleDirectory(URLScanner.java:132)
                    at org.jboss.seam.deployment.URLScanner.scanDirectories(URLScanner.java:40)
                    at org.jboss.seam.deployment.StandardDeploymentStrategy.scan(StandardDeploymentStrategy.java:107)
                    at org.jboss.seam.init.Initialization.create(Initialization.java:113)
                    at org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:34)
                    Truncated. see log file for complete stacktrace
            >
            Aug 28, 2008 10:48:10 AM org.hibernate.impl.SessionFactoryImpl close
            INFO: closing
            Aug 28, 2008 10:48:10 AM org.hibernate.tool.hbm2ddl.SchemaExport execute
            INFO: Running hbm2ddl schema export
            Aug 28, 2008 10:48:10 AM org.hibernate.tool.hbm2ddl.SchemaExport execute
            INFO: exporting generated schema to database
            Aug 28, 2008 10:48:10 AM org.hibernate.tool.hbm2ddl.SchemaExport execute



            i defined data source as told in 36.2.2.1 and jsf support as 36.2.2.2 ... any ideas?


            regards ....

            • 3. Re: Deployed Seam booking example to WebLogic 10.3
              jbalunas.jbalunas.jboss.org

              Could create your own forum topic for your question - I'll take a look there.


              Thanks,
              Jay