1 2 Previous Next 15 Replies Latest reply on Nov 2, 2007 3:14 AM by Milli Coelho

    Seam Flex Integration, How Easy It Is!

    Cameron Ingram Newbie

      I have successfully integrated Seam and Flex, and it was really easy!

      Through the Seam remoting interface I was able to create a wrapper and an Actionscript object to help with the communication. The Adobe AjaxFlex bridge makes the communication portion from actionscript to javascript fairly simple. By including a couple javascript files and one actionscript file you can be on your way. I thought I would include a simple example to show how easy it can be. One thing I find kind of interesting is that you can have a Flex UI and a Facelets UI in the same project, both using the same backend. The Seam guys did a really great Job on the remoting interface which is what makes this possible!

      Here is an example of the Actionscript code.

      
       <fab:FABridge xmlns:fab="bridge.*" />
      
       private var seamBridge:SeamBridge = new SeamBridge();
      
       private function sayHello(): void {
       seamBridge.setSeamComponent("helloAction");
       seamBridge.setMethod("sayHello");
       seamBridge.addParam(txtName.text);
       seamBridge.setCallBackMethod("sayHelloCallBack");
       seamBridge.callServer();
       }
      
       public function getNameCallBack(result: String): void {
       Alert.show(?Hello ? + result + ? I am from Seam?;
       }
      



      This is what you would use for your Seam code. Looks familiar doesn?t it? As a matter of fact it is from the Seam remoting example. This could easily be changed to a stateful bean and have it return a var or even an object.

      package org.jboss.seam.example.remoting;
      
      import javax.ejb.Stateless;
      
      import org.jboss.seam.annotations.Name;
      
      @Stateless
      @Name("helloAction")
      public class HelloAction implements HelloLocal {
       public String sayHello(String name) {
       return "Hello, " + name;
       }
      }
      
      
      package org.jboss.seam.example.remoting;
      
      import javax.ejb.Local;
      import org.jboss.seam.annotations.WebRemote;
      
      @Local
      public interface HelloLocal {
       @WebRemote
       public String sayHello(String name);
      }
      
      


      The encapsulating html page must include the following references. Per the documentation, any object you want to expose via remoting must be referenced in the ?interface.js? line. The ?flexseam.js? file is just a wrapper file for the ?remote.js? to make the communication easier.

      <script src="FlexSeam.js" ></script>
      <script type="text/javascript" src="seam/resource/remoting/resource/remote.js"></script>
      <script type="text/javascript" src="seam/resource/remoting/interface.js?helloAction "></script>
      


      We are in the process of putting a proof of concept together in Flex with a Seam backend. In this manner you have access to all of the contexts within Seam. If anyone feels this is usefull to their projects, please let me know and I will post the code files.


        • 1. Re: Seam Flex Integration, How Easy It Is!
          Ning Zhao Apprentice

          This is great news! Do please post it in Wiki or as your blog and post the link back, many thanks!


          Regards,
          Ellen
          PS: And yes Seam is doing great work on integration. Thanks to the Seam team too!

          • 2. Re: Seam Flex Integration, How Easy It Is!
            Cameron Ingram Newbie

            I added a basic example to the wiki(Flex Seam example), basically I added a different front end to the hello world remoting. If I get some time I will see about doing a more complex example as it might be more interesting to people. The actionscript and javascript files are pretty new and are a work in progress, but they will get you where you need to go and will most likely handle most of what you need.

            Cameron

            • 3. Re: Seam Flex Integration, How Easy It Is!
              mladen babic Newbie

              Hi ,

              I have tried example but it doesn't work for me.Can you tell me how to run example?

              tnx,
              mb

              • 4. Re: Seam Flex Integration, How Easy It Is!
                Cameron Ingram Newbie

                1. Make sure you have an EJB3 copy of JBoss-4.0.5.GA installed

                2. Make sure you have "jboss-seam-1.2.1.GA" installed. I haven't tested it with Seam-2.0, all though in looking at the documentation it should work.

                3. Unzip the "FlexSeamExample.zip" to the examples\remoting folder of the Seam install. You will be asked to overwrite, that is ok, I didn't change any thing I just added to the example. The original helloworld example will still work as expected.

                4.Build with "ant"

                5.Copy "...\jboss-seam-1.2.1.GA\examples\remoting\helloworld\build\seam-helloworld.ear" to the deploy folder of JBoss.

                6.Open a browser and go to http://localhost:8080/seam-helloworld/flexhelloworld.html

                If this doesn't help post a little more about your problem.

                • 5. Re: Seam Flex Integration, How Easy It Is!
                  mladen babic Newbie

                  Hi again,

                  I did same as you wrote, but it still doesn't work.It's say thet didn't finish deploy.
                  I must say that other example works good.I use seam 2.0.

                  There is small different between old build and new one.
                  This is your build:

                  <property name="Name" value="Seam Remoting HelloWorld Example"/>
                   <property name="example.name" value="seam-helloworld"/>
                  
                   <!-- Overrides -->
                   <property name="example.webinf.lib.dir" value="."/>
                   <property name="example.seam.remoting.lib" value="yes"/>
                   <property name="example.facelets.lib" value="yes"/>
                   <property name="src.java.dir" value="src"/>
                   <property name="src.test.dir" value="src"/>
                   <property name="test.classpath" value="test.eejb.classpath"/>
                   <property name="tomcat.conf" value="eejb.conf"/>
                  
                   <import file="../../../build.xml"/>
                  

                  And old build
                  <property name="Name" value="Seam Remoting HelloWorld Example"/>
                   <property name="example.name" value="jboss-seam-helloworld"/>
                  
                   <!-- Overrides -->
                   <property name="seam.remoting.lib" value="yes"/>
                   <property name="seam.ui.lib" value="yes"/>
                   <property name="facelets.lib" value="yes"/>
                  
                   <import file="../../build.xml"/>
                  

                  Different code is bolded
                  When I modified path in new build and start ant, it trows error
                  Buildfile: /home/elb3/workspace/jboss-seam/examples/remoting/helloworld/build.xml
                  init:
                   [echo] Building Seam Remoting HelloWorld Example 2.0
                   [mkdir] Created dir: /home/elb3/workspace/jboss-seam/examples/remoting/helloworld/exploded-archives/seam-helloworld.jar
                   [mkdir] Created dir: /home/elb3/workspace/jboss-seam/examples/remoting/helloworld/exploded-archives/seam-helloworld.ear
                   [mkdir] Created dir: /home/elb3/workspace/jboss-seam/examples/remoting/helloworld/exploded-archives/seam-helloworld.war
                  select-compiler:
                  compile:
                   [javac] Compiling 2 source files to /home/elb3/workspace/jboss-seam/examples/remoting/helloworld/exploded-archives/seam-helloworld.jar
                   [javac] /home/elb3/workspace/jboss-seam/examples/remoting/helloworld/src/org/jboss/seam/example/remoting/HelloLocal.java:4: cannot find symbol
                   [javac] symbol : class WebRemote
                   [javac] location: package org.jboss.seam.annotations
                   [javac] import org.jboss.seam.annotations.WebRemote;
                   [javac] ^
                   [javac] /home/elb3/workspace/jboss-seam/examples/remoting/helloworld/src/org/jboss/seam/example/remoting/HelloLocal.java:8: cannot find symbol
                   [javac] symbol : class WebRemote
                   [javac] location: interface org.jboss.seam.example.remoting.HelloLocal
                   [javac] @WebRemote
                   [javac] ^
                   [javac] Note: /home/elb3/workspace/jboss-seam/examples/remoting/helloworld/src/org/jboss/seam/example/remoting/HelloAction.java uses or overrides a deprecated API.
                   [javac] Note: Recompile with -Xlint:deprecation for details.
                   [javac] 2 errors
                  
                  BUILD FAILED
                  /home/elb3/workspace/jboss-seam/examples/build.xml:384: Compile failed; see the compiler error output for details.
                  
                  Total time: 1 second
                  
                  

                  I copied only 'view' folder.Then it finished deploy correct. But it trows me error while deploying:
                  19:48:08,813 WARN [ServiceController] Problem starting service jboss.web.deployment:war=seam-helloworld.war,id=1256667677
                  org.jboss.deployment.DeploymentException: URL file:/opt/jboss-4.2.0.GA/server/default/tmp/deploy/tmp45846seam-helloworld.ear-contents/seam-helloworld-exp.war/ deployment failed
                   at org.jboss.web.tomcat.service.TomcatDeployer.performDeployInternal(TomcatDeployer.java:379)
                   at org.jboss.web.tomcat.service.TomcatDeployer.performDeploy(TomcatDeployer.java:104)
                   at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:375)
                   at org.jboss.web.WebModule.startModule(WebModule.java:83)
                   at org.jboss.web.WebModule.startService(WebModule.java:61)
                   at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
                   at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
                   at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
                   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                   at java.lang.reflect.Method.invoke(Method.java:585)
                   at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
                   at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
                   at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
                   at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
                   at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
                   at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
                   at $Proxy0.start(Unknown Source)
                   at org.jboss.system.ServiceController.start(ServiceController.java:417)
                   at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
                   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                   at java.lang.reflect.Method.invoke(Method.java:585)
                   at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
                   at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
                   at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
                   at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
                   at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
                   at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
                   at $Proxy45.start(Unknown Source)
                   at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:466)
                   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:585)
                   at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
                   at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
                   at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
                   at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                   at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
                   at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
                   at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238)
                   at org.jboss.ws.integration.jboss42.DeployerInterceptor.start(DeployerInterceptor.java:93)
                   at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java:188)
                   at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:95)
                   at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                   at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
                   at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
                   at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
                   at $Proxy46.start(Unknown Source)
                   at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
                   at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1015)
                   at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
                   at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
                   at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source)
                   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                   at java.lang.reflect.Method.invoke(Method.java:585)
                   at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
                   at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
                   at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
                   at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                   at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
                   at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                   at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
                   at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
                   at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
                   at $Proxy9.deploy(Unknown Source)
                   at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
                   at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
                   at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
                   at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336)
                   at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
                   at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
                   at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
                   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                   at java.lang.reflect.Method.invoke(Method.java:585)
                   at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
                   at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
                   at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
                   at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
                   at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
                   at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
                   at $Proxy0.start(Unknown Source)
                   at org.jboss.system.ServiceController.start(ServiceController.java:417)
                   at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
                   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                   at java.lang.reflect.Method.invoke(Method.java:585)
                   at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
                   at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
                   at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
                   at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
                   at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
                   at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
                   at $Proxy4.start(Unknown Source)
                   at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
                   at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
                   at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
                   at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
                   at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
                   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:585)
                   at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
                   at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
                   at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
                   at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                   at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
                   at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                   at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
                   at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
                   at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
                   at $Proxy5.deploy(Unknown Source)
                   at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
                   at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
                   at org.jboss.Main.boot(Main.java:200)
                   at org.jboss.Main$1.run(Main.java:508)
                   at java.lang.Thread.run(Thread.java:595)
                  19:48:08,863 ERROR [MainDeployer] Could not start deployment: file:/opt/jboss-4.2.0.GA/server/default/tmp/deploy/tmp45846seam-helloworld.ear-contents/seam-helloworld.war
                  org.jboss.deployment.DeploymentException: URL file:/opt/jboss-4.2.0.GA/server/default/tmp/deploy/tmp45846seam-helloworld.ear-contents/seam-helloworld-exp.war/ deployment failed
                  


                  Do you know what is problem? I think because I use seam 2.
                  Sorry for boring you.

                  tnx
                  mb

                  • 6. Re: Seam Flex Integration, How Easy It Is!
                    Cameron Ingram Newbie

                    You will probably need to extract the remoting helloworld example again, as it got some Seam-1.2.1 files copied in to it. They changed some of the package names for remoting between Seam 1.2.1 GA and Seam 2.0 BETA. I uploaded a new file that excludes the Seam classes. Grab the file from

                    http://wiki.jboss.org/wiki/attach?page=JBossSeam%2FFlexSeamExampleHelloWorld.zip

                    and extract the files to the SEAM_HOME/examples/remoting/helloworld/view dir. Rebuild with ant and deploy.

                    • 7. Re: Seam Flex Integration, How Easy It Is!
                      mladen babic Newbie

                      Hi ,
                      now it trows :

                      09:48:26,329 INFO [TomcatDeployer] deploy, ctxPath=/seam-helloworld, warUrl=.../tmp/deploy/tmp44797seam-helloworld.ear-contents/seam-helloworld-exp.war/
                      09:48:26,445 ERROR [STDERR] java.lang.UnsupportedOperationException
                      09:48:26,445 ERROR [STDERR] at com.sun.faces.config.ConfigureListener$InitFacesContext.getViewRoot(ConfigureListener.java:1690)
                      09:48:26,445 ERROR [STDERR] at com.sun.faces.util.MessageFactory.getMessage(MessageFactory.java:113)
                      09:48:26,445 ERROR [STDERR] at com.sun.faces.util.MessageUtils.getExceptionMessageString(MessageUtils.java:277)
                      09:48:26,445 ERROR [STDERR] at com.sun.faces.util.Util.createInstance(Util.java:477)
                      09:48:26,445 ERROR [STDERR] at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:671)
                      09:48:26,445 ERROR [STDERR] at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:503)
                      09:48:26,446 ERROR [STDERR] at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:402)
                      09:48:26,446 ERROR [STDERR] at org.jboss.web.jsf.integration.config.JBossJSFConfigureListener.contextInitialized(JBossJSFConfigureListener.java:69)
                      09:48:26,446 ERROR [STDERR] at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3854)
                      09:48:26,446 ERROR [STDERR] at org.apache.catalina.core.StandardContext.start(StandardContext.java:4359)
                      09:48:26,446 ERROR [STDERR] at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:761)
                      09:48:26,446 ERROR [STDERR] at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:741)
                      09:48:26,446 ERROR [STDERR] at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:553)
                      09:48:26,446 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                      09:48:26,446 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                      09:48:26,446 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                      09:48:26,446 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
                      09:48:26,446 ERROR [STDERR] at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:297)
                      09:48:26,446 ERROR [STDERR] at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
                      09:48:26,446 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
                      09:48:26,446 ERROR [STDERR] at org.apache.catalina.core.StandardContext.init(StandardContext.java:5310)
                      09:48:26,446 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                      09:48:26,446 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                      09:48:26,447 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                      09:48:26,447 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
                      09:48:26,447 ERROR [STDERR] at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:297)
                      09:48:26,447 ERROR [STDERR] at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
                      09:48:26,447 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
                      09:48:26,447 ERROR [STDERR] at org.jboss.web.tomcat.service.TomcatDeployer.performDeployInternal(TomcatDeployer.java:301)
                      09:48:26,447 ERROR [STDERR] at org.jboss.web.tomcat.service.TomcatDeployer.performDeploy(TomcatDeployer.java:104)
                      09:48:26,447 ERROR [STDERR] at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:375)
                      09:48:26,447 ERROR [STDERR] at org.jboss.web.WebModule.startModule(WebModule.java:83)
                      09:48:26,447 ERROR [STDERR] at org.jboss.web.WebModule.startService(WebModule.java:61)
                      09:48:26,447 ERROR [STDERR] at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
                      09:48:26,447 ERROR [STDERR] at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
                      09:48:26,447 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
                      09:48:26,447 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                      09:48:26,447 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
                      09:48:26,447 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
                      09:48:26,447 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
                      09:48:26,448 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
                      09:48:26,448 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
                      09:48:26,448 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
                      09:48:26,448 ERROR [STDERR] at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
                      09:48:26,448 ERROR [STDERR] at $Proxy0.start(Unknown Source)
                      09:48:26,448 ERROR [STDERR] at org.jboss.system.ServiceController.start(ServiceController.java:417)
                      09:48:26,448 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
                      09:48:26,448 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                      09:48:26,448 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
                      09:48:26,448 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
                      09:48:26,448 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
                      09:48:26,448 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
                      09:48:26,448 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
                      09:48:26,448 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
                      09:48:26,448 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
                      09:48:26,448 ERROR [STDERR] at $Proxy45.start(Unknown Source)
                      09:48:26,448 ERROR [STDERR] at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:466)
                      09:48:26,449 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                      09:48:26,449 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                      09:48:26,449 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                      09:48:26,449 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
                      09:48:26,449 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
                      09:48:26,449 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
                      09:48:26,449 ERROR [STDERR] at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
                      09:48:26,449 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                      09:48:26,449 ERROR [STDERR] at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
                      09:48:26,449 ERROR [STDERR] at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
                      09:48:26,449 ERROR [STDERR] at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238)
                      09:48:26,449 ERROR [STDERR] at org.jboss.ws.integration.jboss42.DeployerInterceptor.start(DeployerInterceptor.java:93)
                      09:48:26,449 ERROR [STDERR] at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java:188)
                      09:48:26,449 ERROR [STDERR] at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:95)
                      09:48:26,449 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                      09:48:26,449 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
                      09:48:26,450 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
                      09:48:26,450 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
                      09:48:26,450 ERROR [STDERR] at $Proxy46.start(Unknown Source)
                      09:48:26,450 ERROR [STDERR] at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
                      09:48:26,450 ERROR [STDERR] at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1015)
                      09:48:26,450 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
                      09:48:26,450 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
                      09:48:26,450 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source)
                      09:48:26,450 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                      09:48:26,450 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
                      09:48:26,450 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
                      09:48:26,450 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
                      09:48:26,450 ERROR [STDERR] at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
                      09:48:26,450 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                      09:48:26,450 ERROR [STDERR] at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
                      09:48:26,450 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                      09:48:26,450 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
                      09:48:26,451 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
                      09:48:26,451 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
                      09:48:26,451 ERROR [STDERR] at $Proxy9.deploy(Unknown Source)
                      09:48:26,451 ERROR [STDERR] at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
                      09:48:26,451 ERROR [STDERR] at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
                      09:48:26,451 ERROR [STDERR] at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
                      09:48:26,451 ERROR [STDERR] at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:274)
                      09:48:26,451 ERROR [STDERR] at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:225)
                      09:48:26,452 ERROR [[/seam-helloworld]] Exception sending context initialized event to listener instance of class org.jboss.web.jsf.integration.config.JBossJSFConfigureListener
                      javax.faces.FacesException: java.lang.UnsupportedOperationException
                       at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:408)
                       at org.jboss.web.jsf.integration.config.JBossJSFConfigureListener.contextInitialized(JBossJSFConfigureListener.java:69)
                       at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3854)
                       at org.apache.catalina.core.StandardContext.start(StandardContext.java:4359)
                       at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:761)
                       at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:741)
                       at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:553)
                       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:585)
                       at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:297)
                       at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
                       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
                       at org.apache.catalina.core.StandardContext.init(StandardContext.java:5310)
                       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:585)
                       at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:297)
                       at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
                       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
                       at org.jboss.web.tomcat.service.TomcatDeployer.performDeployInternal(TomcatDeployer.java:301)
                       at org.jboss.web.tomcat.service.TomcatDeployer.performDeploy(TomcatDeployer.java:104)
                       at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:375)
                       at org.jboss.web.WebModule.startModule(WebModule.java:83)
                       at org.jboss.web.WebModule.startService(WebModule.java:61)
                       at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
                       at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
                       at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
                       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                       at java.lang.reflect.Method.invoke(Method.java:585)
                       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
                       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
                       at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
                       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
                       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
                       at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
                       at $Proxy0.start(Unknown Source)
                       at org.jboss.system.ServiceController.start(ServiceController.java:417)
                       at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
                       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                       at java.lang.reflect.Method.invoke(Method.java:585)
                       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
                       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
                       at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
                       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
                       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
                       at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
                       at $Proxy45.start(Unknown Source)
                       at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:466)
                       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:585)
                       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
                       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
                       at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
                       at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                       at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
                       at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
                       at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238)
                       at org.jboss.ws.integration.jboss42.DeployerInterceptor.start(DeployerInterceptor.java:93)
                       at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java:188)
                       at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:95)
                       at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
                       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
                       at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
                       at $Proxy46.start(Unknown Source)
                       at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
                       at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1015)
                       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
                       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
                       at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source)
                       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                       at java.lang.reflect.Method.invoke(Method.java:585)
                       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
                       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
                       at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
                       at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                       at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
                       at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
                       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
                       at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
                       at $Proxy9.deploy(Unknown Source)
                       at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
                       at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
                       at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
                       at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:274)
                       at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:225)
                      Caused by: java.lang.UnsupportedOperationException
                       at com.sun.faces.config.ConfigureListener$InitFacesContext.getViewRoot(ConfigureListener.java:1690)
                       at com.sun.faces.util.MessageFactory.getMessage(MessageFactory.java:113)
                       at com.sun.faces.util.MessageUtils.getExceptionMessageString(MessageUtils.java:277)
                       at com.sun.faces.util.Util.createInstance(Util.java:477)
                       at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:671)
                       at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:503)
                       at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:402)
                       ... 91 more
                      09:48:26,454 INFO [ServletContextListener] Welcome to Seam 2.0.0.BETA1
                      09:48:26,471 INFO [Scanner] scanning: /opt/jboss-4.2.0.GA/server/default/tmp/deploy/tmp44797seam-helloworld.ear-contents/jboss-seam.jar
                      09:48:26,527 INFO [Initialization] Namespace: http://jboss.com/products/seam/international, package: org.jboss.seam.international, prefix: org.jboss.seam.international
                      09:48:26,528 INFO [Initialization] Namespace: http://jboss.com/products/seam/security, package: org.jboss.seam.security, prefix: org.jboss.seam.security
                      09:48:26,528 INFO [Initialization] Namespace: http://jboss.com/products/seam/persistence, package: org.jboss.seam.persistence, prefix: org.jboss.seam.persistence
                      09:48:26,528 INFO [Initialization] Namespace: http://jboss.com/products/seam/core, package: org.jboss.seam.core, prefix: org.jboss.seam.core
                      09:48:26,528 INFO [Initialization] Namespace: http://jboss.com/products/seam/async, package: org.jboss.seam.async, prefix: org.jboss.seam.async
                      09:48:26,528 INFO [Initialization] Namespace: http://jboss.com/products/seam/drools, package: org.jboss.seam.drools, prefix: org.jboss.seam.drools
                      09:48:26,528 INFO [Initialization] Namespace: http://jboss.com/products/seam/mail, package: org.jboss.seam.mail, prefix: org.jboss.seam.mail
                      09:48:26,528 INFO [Initialization] Namespace: http://jboss.com/products/seam/transaction, package: org.jboss.seam.transaction, prefix: org.jboss.seam.transaction
                      09:48:26,528 INFO [Initialization] Namespace: http://jboss.com/products/seam/web, package: org.jboss.seam.web, prefix: org.jboss.seam.web
                      09:48:26,528 INFO [Initialization] Namespace: http://jboss.com/products/seam/theme, package: org.jboss.seam.theme, prefix: org.jboss.seam.theme
                      09:48:26,528 INFO [Initialization] Namespace: http://jboss.com/products/seam/navigation, package: org.jboss.seam.navigation, prefix: org.jboss.seam.navigation
                      09:48:26,529 INFO [Initialization] Namespace: http://jboss.com/products/seam/bpm, package: org.jboss.seam.bpm, prefix: org.jboss.seam.bpm
                      09:48:26,529 INFO [Initialization] Namespace: http://jboss.com/products/seam/framework, package: org.jboss.seam.framework, prefix: org.jboss.seam.core.framework
                      09:48:26,529 INFO [Initialization] Namespace: http://jboss.com/products/seam/jms, package: org.jboss.seam.jms, prefix: org.jboss.seam.jms
                      09:48:26,529 INFO [Scanner] scanning: /opt/jboss-4.2.0.GA/server/default/tmp/deploy/tmp44797seam-helloworld.ear-contents/seam-helloworld.jar
                      09:48:26,531 INFO [Initialization] reading /WEB-INF/components.xml
                      09:48:26,536 WARN [Initialization] namespace declared in components.xml does not resolve to a package annotated @Namespace:
                      09:48:26,536 WARN [Initialization] namespace declared in components.xml does not resolve to a package annotated @Namespace:
                      09:48:26,536 WARN [Initialization] namespace declared in components.xml does not resolve to a package annotated @Namespace:
                      09:48:26,538 INFO [Initialization] reading jar:file:/opt/jboss-4.2.0.GA/server/default/tmp/deploy/tmp44797seam-helloworld.ear-contents/jboss-seam.jar!/META-INF/components.xml
                      09:48:26,543 INFO [Initialization] reading properties from: /seam.properties
                      09:48:26,543 INFO [Initialization] reading properties from: /jndi.properties
                      09:48:26,544 INFO [Initialization] initializing Seam
                      09:48:26,571 INFO [Scanner] scanning: /opt/jboss-4.2.0.GA/server/default/tmp/deploy/tmp44797seam-helloworld.ear-contents/seam-helloworld.jar
                      09:48:26,592 INFO [Scanner] scanning: /opt/jboss-4.2.0.GA/server/default/tmp/deploy/tmp44797seam-helloworld.ear-contents/jboss-seam.jar
                      09:48:27,577 INFO [Initialization] two components with same name, higher precedence wins: org.jboss.seam.core.locale
                      09:48:27,580 INFO [Initialization] two components with same name, higher precedence wins: org.jboss.seam.core.manager
                      09:48:27,580 INFO [Initialization] two components with same name, higher precedence wins: org.jboss.seam.security.identity
                      09:48:27,582 INFO [Initialization] two components with same name, higher precedence wins: org.jboss.seam.core.expressions
                      09:48:27,583 INFO [Initialization] two components with same name, higher precedence wins: org.jboss.seam.persistence.persistenceProvider
                      09:48:27,583 INFO [Initialization] two components with same name, higher precedence wins: org.jboss.seam.bpm.businessProcess
                      09:48:27,584 INFO [Initialization] two components with same name, higher precedence wins: org.jboss.seam.core.resourceLoader
                      09:48:27,584 INFO [Initialization] two components with same name, higher precedence wins: org.jboss.seam.web.parameters
                      09:48:27,584 INFO [Initialization] two components with same name, higher precedence wins: org.jboss.seam.core.locale
                      09:48:27,585 INFO [Initialization] two components with same name, higher precedence wins: org.jboss.seam.web.isUserInRole
                      09:48:27,586 INFO [Initialization] two components with same name, higher precedence wins: org.jboss.seam.web.userPrincipal
                      09:48:27,626 INFO [Component] Component: org.jboss.seam.core.init, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Init
                      09:48:27,660 WARN [Initialization] Did not install PojoCache due to NoClassDefFoundError: org/jgroups/MembershipListener
                      09:48:27,660 INFO [Initialization] Installing components...
                      09:48:27,679 INFO [Component] Component: helloAction, scope: STATELESS, type: STATELESS_SESSION_BEAN, class: org.jboss.seam.example.remoting.HelloAction, JNDI: seam-helloworld/HelloAction/local
                      09:48:27,696 INFO [Component] Component: org.jboss.seam.async.dispatcher, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.async.ThreadPoolDispatcher
                      09:48:27,703 INFO [Component] Component: org.jboss.seam.core.contexts, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Contexts
                      09:48:27,713 INFO [Component] Component: org.jboss.seam.core.conversation, scope: CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.core.Conversation
                      09:48:27,718 INFO [Component] Component: org.jboss.seam.core.conversationEntries, scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.core.ConversationEntries
                      09:48:27,723 INFO [Component] Component: org.jboss.seam.core.conversationListFactory, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.core.ConversationList
                      09:48:27,820 INFO [Component] Component: org.jboss.seam.core.conversationPropagation, scope: EVENT, type: JAVA_BEAN, class: org.jboss.seam.core.ConversationPropagation
                      09:48:27,824 INFO [Component] Component: org.jboss.seam.core.conversationStackFactory, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.core.ConversationStack
                      09:48:27,827 INFO [Component] Component: org.jboss.seam.core.events, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.core.Events
                      09:48:27,835 INFO [Component] Component: org.jboss.seam.core.expressions, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.faces.FacesExpressions
                      09:48:27,845 INFO [Component] Component: org.jboss.seam.core.interpolator, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.core.Interpolator
                      09:48:27,852 INFO [Component] Component: org.jboss.seam.core.locale, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.international.Locale
                      09:48:27,859 INFO [Component] Component: org.jboss.seam.core.manager, scope: EVENT, type: JAVA_BEAN, class: org.jboss.seam.faces.FacesManager
                      09:48:27,867 INFO [Component] Component: org.jboss.seam.core.resourceBundle, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.core.ResourceBundle
                      09:48:27,871 INFO [Component] Component: org.jboss.seam.core.resourceLoader, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.faces.ResourceLoader
                      09:48:27,878 INFO [Component] Component: org.jboss.seam.core.validators, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Validators
                      09:48:27,883 INFO [Component] Component: org.jboss.seam.exception.exceptions, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.exception.Exceptions
                      09:48:27,915 INFO [Component] Component: org.jboss.seam.faces.dataModels, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.faces.DataModels
                      09:48:27,923 INFO [Component] Component: org.jboss.seam.faces.facesContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.faces.FacesContext
                      09:48:27,927 INFO [Component] Component: org.jboss.seam.faces.facesMessages, scope: CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.faces.FacesMessages
                      09:48:27,934 INFO [Component] Component: org.jboss.seam.faces.facesPage, scope: PAGE, type: JAVA_BEAN, class: org.jboss.seam.faces.FacesPage
                      09:48:27,938 INFO [Component] Component: org.jboss.seam.faces.httpError, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.faces.HttpError
                      09:48:28,070 INFO [Component] Component: org.jboss.seam.faces.redirect, scope: CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.faces.Redirect
                      09:48:28,088 INFO [Component] Component: org.jboss.seam.faces.switcher, scope: PAGE, type: JAVA_BEAN, class: org.jboss.seam.faces.Switcher
                      09:48:28,093 INFO [Component] Component: org.jboss.seam.faces.uiComponent, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.faces.UiComponent
                      09:48:28,172 INFO [Component] Component: org.jboss.seam.faces.validation, scope: EVENT, type: JAVA_BEAN, class: org.jboss.seam.faces.Validation
                      09:48:28,176 INFO [Component] Component: org.jboss.seam.framework.currentDate, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.framework.CurrentDate
                      09:48:28,181 INFO [Component] Component: org.jboss.seam.framework.currentDatetime, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.framework.CurrentDatetime
                      09:48:28,192 INFO [Component] Component: org.jboss.seam.framework.currentTime, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.framework.CurrentTime
                      09:48:28,197 INFO [Component] Component: org.jboss.seam.international.localeSelector, scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.international.LocaleSelector
                      09:48:28,202 INFO [Component] Component: org.jboss.seam.international.messagesFactory, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.international.Messages
                      09:48:28,208 INFO [Component] Component: org.jboss.seam.international.timeZone, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.international.TimeZone
                      09:48:28,212 INFO [Component] Component: org.jboss.seam.international.timeZoneSelector, scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.international.TimeZoneSelector
                      09:48:28,225 INFO [Component] Component: org.jboss.seam.mail.mailSession, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.mail.MailSession
                      09:48:28,242 INFO [Component] Component: org.jboss.seam.navigation.pages, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.navigation.Pages
                      09:48:28,256 INFO [Component] Component: org.jboss.seam.navigation.safeActions, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.navigation.SafeActions
                      09:48:28,260 INFO [Component] Component: org.jboss.seam.persistence.persistenceContexts, scope: CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.persistence.PersistenceContexts
                      09:48:28,264 INFO [Component] Component: org.jboss.seam.security.configurationFactory, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.security.Configuration
                      09:48:28,271 INFO [Component] Component: org.jboss.seam.security.identity, scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.security.Identity
                      09:48:28,278 INFO [Component] Component: org.jboss.seam.theme.themeFactory, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.theme.Theme
                      09:48:28,293 INFO [Component] Component: org.jboss.seam.theme.themeSelector, scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.theme.ThemeSelector
                      09:48:28,298 INFO [Component] Component: org.jboss.seam.transaction.transaction, scope: EVENT, type: JAVA_BEAN, class: org.jboss.seam.transaction.Transaction
                      09:48:28,302 INFO [Component] Component: org.jboss.seam.web.exceptionFilter, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.web.ExceptionFilter
                      09:48:28,312 INFO [Component] Component: org.jboss.seam.web.isUserInRole, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.faces.IsUserInRole
                      09:48:28,316 INFO [Component] Component: org.jboss.seam.web.loggingFilter, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.web.LoggingFilter
                      09:48:28,319 INFO [Component] Component: org.jboss.seam.web.multipartFilter, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.web.MultipartFilter
                      09:48:28,323 INFO [Component] Component: org.jboss.seam.web.parameters, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.faces.Parameters
                      09:48:28,331 INFO [Component] Component: org.jboss.seam.web.redirectFilter, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.web.RedirectFilter
                      09:48:28,339 INFO [Component] Component: org.jboss.seam.web.servletContexts, scope: EVENT, type: JAVA_BEAN, class: org.jboss.seam.web.ServletContexts
                      09:48:28,354 INFO [Component] Component: org.jboss.seam.web.session, scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.web.Session
                      09:48:28,357 INFO [Component] Component: org.jboss.seam.web.userPrincipal, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.faces.UserPrincipal
                      09:48:28,359 INFO [Contexts] starting up: org.jboss.seam.web.multipartFilter
                      09:48:28,359 INFO [Contexts] starting up: org.jboss.seam.web.exceptionFilter
                      09:48:28,360 INFO [Contexts] starting up: org.jboss.seam.web.redirectFilter
                      09:48:28,360 INFO [Contexts] starting up: org.jboss.seam.web.loggingFilter
                      09:48:28,362 INFO [Initialization] done initializing Seam
                      09:48:28,362 ERROR [StandardContext] Error listenerStart
                      09:48:28,362 ERROR [StandardContext] Context [/seam-helloworld] startup failed due to previous errors
                      09:48:28,370 WARN [ServiceController] Problem starting service jboss.web.deployment:war=seam-helloworld.war,id=-1856152935
                      org.jboss.deployment.DeploymentException: URL file:/opt/jboss-4.2.0.GA/server/default/tmp/deploy/tmp44797seam-helloworld.ear-contents/seam-helloworld-exp.war/ deployment failed
                       at org.jboss.web.tomcat.service.TomcatDeployer.performDeployInternal(TomcatDeployer.java:379)
                       at org.jboss.web.tomcat.service.TomcatDeployer.performDeploy(TomcatDeployer.java:104)
                       at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:375)
                       at org.jboss.web.WebModule.startModule(WebModule.java:83)
                       at org.jboss.web.WebModule.startService(WebModule.java:61)
                       at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
                       at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
                       at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
                       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                       at java.lang.reflect.Method.invoke(Method.java:585)
                       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
                       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
                       at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
                       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
                       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
                       at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
                       at $Proxy0.start(Unknown Source)
                       at org.jboss.system.ServiceController.start(ServiceController.java:417)
                       at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
                       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                       at java.lang.reflect.Method.invoke(Method.java:585)
                       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
                       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
                       at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
                       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
                       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
                       at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
                       at $Proxy45.start(Unknown Source)
                       at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:466)
                       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:585)
                       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
                       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
                       at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
                       at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                       at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
                       at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
                       at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238)
                       at org.jboss.ws.integration.jboss42.DeployerInterceptor.start(DeployerInterceptor.java:93)
                       at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java:188)
                       at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:95)
                       at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
                       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
                       at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
                       at $Proxy46.start(Unknown Source)
                       at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
                       at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1015)
                       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
                       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
                       at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source)
                       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                       at java.lang.reflect.Method.invoke(Method.java:585)
                       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
                       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
                       at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
                       at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                       at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
                       at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
                       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
                       at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
                       at $Proxy9.deploy(Unknown Source)
                       at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
                       at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
                       at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
                       at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:274)
                       at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:225)
                      09:48:28,373 ERROR [MainDeployer] Could not start deployment: file:/opt/jboss-4.2.0.GA/server/default/tmp/deploy/tmp44797seam-helloworld.ear-contents/seam-helloworld.war
                      org.jboss.deployment.DeploymentException: URL file:/opt/jboss-4.2.0.GA/server/default/tmp/deploy/tmp44797seam-helloworld.ear-contents/seam-helloworld-exp.war/ deployment failed
                       at org.jboss.web.tomcat.service.TomcatDeployer.performDeployInternal(TomcatDeployer.java:379)
                       at org.jboss.web.tomcat.service.TomcatDeployer.performDeploy(TomcatDeployer.java:104)
                       at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:375)
                       at org.jboss.web.WebModule.startModule(WebModule.java:83)
                       at org.jboss.web.WebModule.startService(WebModule.java:61)
                       at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
                       at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
                       at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
                       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                       at java.lang.reflect.Method.invoke(Method.java:585)
                       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
                       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
                       at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
                       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
                       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
                       at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
                       at $Proxy0.start(Unknown Source)
                       at org.jboss.system.ServiceController.start(ServiceController.java:417)
                       at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
                       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                       at java.lang.reflect.Method.invoke(Method.java:585)
                       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
                       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
                       at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
                       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
                       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
                       at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
                       at $Proxy45.start(Unknown Source)
                       at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:466)
                       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:585)
                       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
                       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
                       at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
                       at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                       at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
                       at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
                       at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238)
                       at org.jboss.ws.integration.jboss42.DeployerInterceptor.start(DeployerInterceptor.java:93)
                       at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java:188)
                       at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:95)
                       at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
                       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
                       at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
                       at $Proxy46.start(Unknown Source)
                       at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
                       at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1015)
                       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
                       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
                       at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source)
                       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                       at java.lang.reflect.Method.invoke(Method.java:585)
                       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
                       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
                       at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
                       at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                       at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
                       at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
                       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
                       at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
                       at $Proxy9.deploy(Unknown Source)
                       at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
                       at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
                       at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
                       at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:274)
                       at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:225)
                      
                      
                      
                      




                      • 8. Re: Seam Flex Integration, How Easy It Is!
                        Cameron Ingram Newbie

                        I tend to think you have a conflict some where in your configuration. The Flex portion is just being used for view and has no impact on the back end deployment, or compiling.

                        I am developing on Seam1.2.1 and I have tested on 2.0. There are some differences with remoting between 1.2.1 and 2.0. Make sure you have a clean version of 2.0 and copy only the following files to the existing view dir to a clean 2.0 install, in the helloworld remoting example (FABridge.as,FABridge.js,flexhelloworld.html, Flexhelloworld.swf,FlexSeam.js,SeamBridge.as). Also make sure you don't have a conflict occurring in your deploy folder. If the helloworld remoting is building and deploying before you add the files, once you add them it should still continue to build and deploy correctly as you are only adding to the view portion.

                        The original file contained some Seam-1.2.1 one configuration and will not port to 2.0. You need to make sure you are using a clean version of 2.0 and use all of the 2.0 files.

                        • 9. Re: Seam Flex Integration, How Easy It Is!
                          mladen babic Newbie

                          Tnx cingram,

                          Now it works.

                          Best regards,
                          mb

                          • 10. Re: Seam Flex Integration, How Easy It Is!
                            Felipe Albertao Newbie

                            Hello cingram, this is a very interesting approach. However, is there any particular reason you chose to use FABridge instead of ExternalInterface? We are using Seam Remoting and Flex, and we do not need to use FABridge at all.

                            I'm just curious to know what would be the advantage to use this approach instead of the simplistic one with ExternalInterface.

                            Thanks!

                            Felipe

                            • 11. Re: Seam Flex Integration, How Easy It Is!
                              Cameron Ingram Newbie

                              In the back ground the FABridge is using the ExternalInterface. If you check out this post http://labs.adobe.com/wiki/index.php/Flex_Framework:FABridge you can find a lot of reasons to use the FABridge over the external interface. There is a one drawback however, the client is required to use FlashPlayer 9. Basically it boils down to the FABridge being easier to use. If you are interested in some other approaches you might want to check this post out http://www.jboss.com/index.html?module=bb&op=viewtopic&t=116204. One of the problems as I am sure you are aware is the seam components that you receive are not strongly typed. GDS looks like it might solve this problem since the flex dataservices would, I think be a better approach.

                              • 12. Re: Seam Flex Integration, How Easy It Is!
                                Herman Chung Newbie

                                Hi all, I have tried integrating this example to my app but with no luck. It loads the flash file, but when I click on the button it just doesn't do anything. I have tested my app using classes and pages from the remoting helloworld example and it worked.

                                Is there any special configurations I need? (I just copied all the files to on directory) Also, is there a JSF version for the flexhelloworld.html. That might be causing the problem.

                                I am using Seam 2.0 (cvs repos version)

                                • 13. Re: Seam Flex Integration, How Easy It Is!
                                  Cameron Ingram Newbie

                                  I am developing on Seam1.2.1 and I have tested on 2.0. There are some differences with remoting between 1.2.1 and 2.0. Make sure you have a clean version of 2.0 and copy only the following files to the existing view dir to a clean 2.0 install, in the helloworld remoting example (FABridge.as,FABridge.js,flexhelloworld.html, Flexhelloworld.swf,FlexSeam.js,SeamBridge.as). Also make sure you don't have a conflict occurring in your deploy folder. If the helloworld remoting is building and deploying before you add the files, once you add them it should still continue to build and deploy correctly as you are only adding to the view portion.


                                  If this doesn't work for you post your stack trace. Also make sure you are using FlashPlayer9

                                  • 14. Re: Seam Flex Integration, How Easy It Is!
                                    Blue Newbie

                                    Hey Cingram,

                                    I downloaded your Seam Flex example and I was able to deploy and run it without any errors....The only problems that I ran into are the following:

                                    1) When using Firefox or IE7 after filling in the text field and clicking the "Say Hello" button I get a Seam Debug window that pops up...This is what was in it:

                                    Mon Oct 15 00:04:44 PDT 2007: Request packet:
                                    <envelope><header><context></context></header><body><call component="helloAction" method="sayHello" id="0">
                                    <params><param><str>Blue</str></param></params><refs></refs></call></body></envelope>
                                    
                                    Mon Oct 15 00:04:44 PDT 2007: Response packet:
                                    <envelope><header><context><conversationId>5</conversationId></context></header><body><result id="0"><value><str>Hello%2C%20Blue</str></value><refs></refs></result></body></envelope>
                                    


                                    Is this the expected behavior?

                                    2) With IE7 after clicking the "Say Hello" button I get the Seam Debug Window and IE7 gets a javascript error which indicates:

                                    Line: 49
                                    Char: 7
                                    Error: 'FABridge.flash' is null or not an object
                                    Code: 0
                                    URL: http://localhost:8080/seam-helloworld/flexhelloworld.html
                                    


                                    With Firefox I don't get a javascript error...

                                    I have a clean install of Seam 2.0...I'm on JBoss Server 4.2...Flash 9 player...Let me know if you need any further information about my setup.

                                    If anyone could help me out with these things I would greatly appreciate it.

                                    1 2 Previous Next