3 Replies Latest reply on Mar 31, 2008 8:25 PM by Martin Goik

    seam examples deploy problem

    Martin Goik Newbie

      I'm unable to get the seam examples deployed on Jboss AS. Before bothering you with my stack trace I'd like to state my system environment:


      Seam: jboss-seam-2.0.1.GA
      Jboss AS: jboss-4.2.2.GA
      OS: Linux/Centos 5.1 i386 current patchlevel


      I tried my best to follow exactly Seam's getting started instructions. My build.properties file reads:


      #See build/sample.build.properties for properties you might want to set
      #Tue Jan 29 16:48:36 CST 2008
      qualifier=.GA
      mavenized=false
      jboss.home=/ma/goik/Seam/jboss-4.2.2.GA
      #tomcat.home=/ma/goik/apache-tomcat



      Deploying seems to work fine:


      [goik@mupter numberguess]$ ant undeploy clean deploy
      Buildfile: build.xml
      Overriding previous definition of reference to emma.classpath
      ...
      deploy:
           [copy] Copying 1 file to /ma/goik/Seam/jboss-4.2.2.GA/server/default/deploy
      
      BUILD SUCCESSFUL
      Total time: 50 seconds



      I also tried additional ombinations of Seam and Jboss AS not being mentioned here. But I always get the follwing result for different example applications  like examples/numbergess:



      [goik@mupter bin]$ ./run.sh
      =========================================================================
      
        JBoss Bootstrap Environment
      
        JBOSS_HOME: /ma/goik/Seam/jboss-4.2.2.GA
      
        JAVA: java
      
        JAVA_OPTS: -Dprogram.name=run.sh -server -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djava.net.preferIPv4Stack=true
      
        CLASSPATH: /ma/goik/Seam/jboss-4.2.2.GA/bin/run.jar
      
      =========================================================================
      
      18:15:51,200 INFO  [Server] Starting JBoss (MX MicroKernel)...
      18:15:51,201 INFO  [Server] Release ID: JBoss [Trinity] 4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)
      18:15:51,203 INFO  [Server] Home Dir: /ma/goik/Seam/jboss-4.2.2.GA
      18:15:51,203 INFO  [Server] Home URL: file:/ma/goik/Seam/jboss-4.2.2.GA/
      18:15:51,204 INFO  [Server] Patch URL: null
      18:15:51,205 INFO  [Server] Server Name: default
      18:15:51,205 INFO  [Server] Server Home Dir: /ma/goik/Seam/jboss-4.2.2.GA/server/default
      18:15:51,205 INFO  [Server] Server Home URL: file:/ma/goik/Seam/jboss-4.2.2.GA/server/default/
      18:15:51,206 INFO  [Server] Server Log Dir: /ma/goik/Seam/jboss-4.2.2.GA/server/default/log
      18:15:51,206 INFO  [Server] Server Temp Dir: /ma/goik/Seam/jboss-4.2.2.GA/server/default/tmp
      18:15:51,206 INFO  [Server] Root Deployment Filename: jboss-service.xml
      18:15:51,623 INFO  [ServerInfo] Java version: 1.5.0_15,Sun Microsystems Inc.
      18:15:51,624 INFO  [ServerInfo] Java VM: Java HotSpot(TM) Server VM 1.5.0_15-b04,Sun Microsystems Inc.
      18:15:51,624 INFO  [ServerInfo] OS-System: Linux 2.6.18-53.1.14.el5,i386
      18:15:52,376 INFO  [Server] Core system initialized
      18:15:57,259 INFO  [WebService] Using RMI server codebase: http://127.0.0.1:8083/
      18:15:57,264 INFO  [Log4jService$URLWatchTimerTask] Configuring from URL: resource:jboss-log4j.xml
      18:15:59,113 INFO  [TransactionManagerService] JBossTS Transaction Service (JTA version) - JBoss Inc.
      18:15:59,114 INFO  [TransactionManagerService] Setting up property manager MBean and JMX layer
      18:15:59,442 INFO  [TransactionManagerService] Starting recovery manager
      18:15:59,587 INFO  [TransactionManagerService] Recovery manager started
      18:15:59,587 INFO  [TransactionManagerService] Binding TransactionManager JNDI Reference
      18:16:06,269 INFO  [EJB3Deployer] Starting java:comp multiplexer
      18:16:07,571 INFO  [STDOUT] no object for null
      18:16:07,575 INFO  [STDOUT] no object for null
      18:16:07,607 INFO  [STDOUT] no object for null
      18:16:07,643 INFO  [STDOUT] no object for {urn:jboss:bean-deployer}supplyType
      18:16:07,672 INFO  [STDOUT] no object for {urn:jboss:bean-deployer}dependsType
      18:16:11,716 INFO  [NativeServerConfig] JBoss Web Services - Native
      18:16:11,717 INFO  [NativeServerConfig] jbossws-native-2.0.1.SP2 (build=200710210837)
      18:16:14,001 INFO  [Embedded] Catalina naming disabled
      18:16:14,279 INFO  [AprLifecycleListener] The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/lib/jvm/java-1.5.0-sun-1.5.0.15/jre/lib/i386/server:/usr/lib/jvm/java-1.5.0-sun-1.5.0.15/jre/lib/i386:/usr/lib/jvm/java-1.5.0-sun-1.5.0.15/jre/../lib/i386
      18:16:14,699 INFO  [Http11Protocol] Initializing Coyote HTTP/1.1 on http-127.0.0.1-8080
      18:16:14,876 INFO  [AjpProtocol] Initializing Coyote AJP/1.3 on ajp-127.0.0.1-8009
      18:16:14,876 INFO  [Catalina] Initialization processed in 875 ms
      18:16:14,877 INFO  [StandardService] Starting service jboss.web
      18:16:14,882 INFO  [StandardEngine] Starting Servlet Engine: JBossWeb/2.0.1.GA
      18:16:15,021 INFO  [Catalina] Server startup in 144 ms
      18:16:15,415 INFO  [TomcatDeployer] deploy, ctxPath=/, warUrl=.../deploy/jboss-web.deployer/ROOT.war/
      18:16:16,389 INFO  [TomcatDeployer] deploy, ctxPath=/invoker, warUrl=.../deploy/http-invoker.sar/invoker.war/
      18:16:16,632 INFO  [TomcatDeployer] deploy, ctxPath=/jbossws, warUrl=.../deploy/jbossws.sar/jbossws-context.war/
      18:16:16,814 INFO  [TomcatDeployer] deploy, ctxPath=/jbossmq-httpil, warUrl=.../deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/
      18:16:20,066 INFO  [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=.../deploy/management/console-mgr.sar/web-console.war/
      18:16:20,735 INFO  [MailService] Mail Service bound to java:/Mail
      18:16:20,946 INFO  [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-local-jdbc.rar
      18:16:20,991 INFO  [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-xa-jdbc.rar
      18:16:21,058 INFO  [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-local-jdbc.rar
      18:16:21,113 INFO  [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-xa-jdbc.rar
      18:16:21,212 INFO  [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jms/jms-ra.rar
      18:16:21,268 INFO  [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/mail-ra.rar
      18:16:21,330 INFO  [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/quartz-ra.rar
      18:16:21,345 INFO  [QuartzResourceAdapter] start quartz!!!
      18:16:21,507 INFO  [SimpleThreadPool] Job execution threads will use class loader of thread: main
      18:16:21,548 INFO  [QuartzScheduler] Quartz Scheduler v.1.5.2 created.
      18:16:21,554 INFO  [RAMJobStore] RAMJobStore initialized.
      18:16:21,555 INFO  [StdSchedulerFactory] Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties'
      18:16:21,555 INFO  [StdSchedulerFactory] Quartz scheduler version: 1.5.2
      18:16:21,556 INFO  [QuartzScheduler] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started.
      18:16:22,800 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS'
      18:16:23,645 INFO  [A] Bound to JNDI name: queue/A
      18:16:23,647 INFO  [B] Bound to JNDI name: queue/B
      18:16:23,650 INFO  [C] Bound to JNDI name: queue/C
      18:16:23,654 INFO  [D] Bound to JNDI name: queue/D
      18:16:23,658 INFO  [ex] Bound to JNDI name: queue/ex
      18:16:23,695 INFO  [testTopic] Bound to JNDI name: topic/testTopic
      18:16:23,699 INFO  [securedTopic] Bound to JNDI name: topic/securedTopic
      18:16:23,702 INFO  [testDurableTopic] Bound to JNDI name: topic/testDurableTopic
      18:16:23,709 INFO  [testQueue] Bound to JNDI name: queue/testQueue
      18:16:23,838 INFO  [UILServerILService] JBossMQ UIL service available at : /127.0.0.1:8093
      18:16:23,905 INFO  [DLQ] Bound to JNDI name: queue/DLQ
      18:16:24,313 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'
      18:16:24,412 INFO  [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=.../deploy/jmx-console.war/
      18:16:27,650 INFO  [EARDeployer] Init J2EE application: file:/ma/goik/Seam/jboss-4.2.2.GA/server/default/deploy/jboss-seam-numberguess.ear
      18:16:44,594 WARN  [ServiceController] Problem creating service jboss.j2ee:service=EJB3,module=jboss-seam.jar
      


      After that I see:



      java.lang.IllegalStateException: Can't overwrite cause
              at java.lang.Throwable.initCause(Throwable.java:320)
              at org.jboss.security.jacc.JBossPolicyConfigurationFactory.<init>(JBossPolicyConfigurationFactory.java:64)
              at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
              at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
              at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
              at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
              at java.lang.Class.newInstance0(Class.java:350)
              at java.lang.Class.newInstance(Class.java:303)
              at org.jboss.ejb3.security.Ejb3PolicyConfigurationFactory.getPolicyConfigurationFactory(Ejb3PolicyConfigurationFactory.java:87)
              at org.jboss.ejb3.security.JaccHelper.initialiseJacc(JaccHelper.java:71)
              at org.jboss.ejb3.Ejb3JmxDeployment.createPolicyConfiguration(Ejb3JmxDeployment.java:53)
              at org.jboss.ejb3.Ejb3Deployment.create(Ejb3Deployment.java:325)
              at org.jboss.ejb3.Ejb3Module.createService(Ejb3Module.java:77)
              at org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBeanSupport.java:260)
              at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:243)
              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.create(Unknown Source)
              at org.jboss.system.ServiceController.create(ServiceController.java:330)
              at org.jboss.system.ServiceController.create(ServiceController.java:273)
              at sun.reflect.GeneratedMethodAccessor2.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 $Proxy33.create(Unknown Source)
              at org.jboss.ejb3.EJB3Deployer.create(EJB3Deployer.java:492)
              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.wsf.container.jboss42.DeployerInterceptor.create(DeployerInterceptor.java:76)
              at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.create(SubDeployerInterceptorSupport.java:180)
              at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:91)
              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 $Proxy34.create(Unknown Source)
              at org.jboss.deployment.MainDeployer.create(MainDeployer.java:969)
              at org.jboss.deployment.MainDeployer.create(MainDeployer.java:959)
              at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:818)
              at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
              at sun.reflect.GeneratedMethodAccessor20.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)
      18:16:44,655 INFO  [EJB3Deployer] Deployed: file:/ma/goik/Seam/jboss-4.2.2.GA/server/default/tmp/deploy/tmp13713jboss-seam-numberguess.ear-contents/jboss-seam.jar
      18:16:44,714 INFO  [TomcatDeployer] deploy, ctxPath=/seam-numberguess, warUrl=.../tmp/deploy/tmp13713jboss-seam-numberguess.ear-contents/jboss-seam-numberguess-exp.war/
      18:16:44,834 WARN  [ServiceController] Problem starting service jboss.web.deployment:war=jboss-seam-numberguess.war,id=1051985338
      org.jboss.deployment.DeploymentException: Error during deploy; - nested throwable: (javax.naming.NameNotFoundException: comp not bound)
              at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:384)
              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 $Proxy44.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.wsf.container.jboss42.DeployerInterceptor.start(DeployerInterceptor.java:87)
              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 $Proxy45.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.GeneratedMethodAccessor20.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)
      Caused by: javax.naming.NameNotFoundException: comp not bound
              at org.jnp.server.NamingServer.getBinding(NamingServer.java:542)
              at org.jnp.server.NamingServer.getBinding(NamingServer.java:550)
              at org.jnp.server.NamingServer.getObject(NamingServer.java:556)
              at org.jnp.server.NamingServer.lookup(NamingServer.java:296)
              at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:669)
              at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:629)
              at javax.naming.InitialContext.lookup(InitialContext.java:351)
              at org.jboss.web.AbstractWebDeployer.parseWebAppDescriptors(AbstractWebDeployer.java:475)
              at org.jboss.web.AbstractWebDeployer$DescriptorParser.parseWebAppDescriptors(AbstractWebDeployer.java:878)
              at org.jboss.web.tomcat.service.TomcatDeployer.performDeployInternal(TomcatDeployer.java:159)
              at org.jboss.web.tomcat.service.TomcatDeployer.performDeploy(TomcatDeployer.java:104)
              at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:375)
              ... 113 more
      18:16:44,851 ERROR [MainDeployer] Could not start deployment: file:/ma/goik/Seam/jboss-4.2.2.GA/server/default/tmp/deploy/tmp13713jboss-seam-numberguess.ear-contents/jboss-seam-numberguess.war
      org.jboss.deployment.DeploymentException: Error during deploy; - nested throwable: (javax.naming.NameNotFoundException: comp not bound)
      ...
      Caused by: javax.naming.NameNotFoundException: comp not bound
              at org.jnp.server.NamingServer.getBinding(NamingServer.java:542)
              at org.jnp.server.NamingServer.getBinding(NamingServer.java:550)
      ...
      
      18:16:44,877 ERROR [URLDeploymentScanner] Incomplete Deployment listing:
      
      --- Incompletely deployed packages ---
      org.jboss.deployment.DeploymentInfo@8c0aaf5b { url=file:/ma/goik/Seam/jboss-4.2.2.GA/server/default/deploy/jboss-seam-numberguess.ear }
        deployer: org.jboss.deployment.EARDeployer@103fcaa
        status: Deployment FAILED reason: Error during deploy; - nested throwable: (javax.naming.NameNotFoundException: comp not bound)
        state: FAILED
        watch: file:/ma/goik/Seam/jboss-4.2.2.GA/server/default/deploy/jboss-seam-numberguess.ear
        altDD: null
        lastDeployed: 1206728202671
        lastModified: 1206728187000
        mbeans:
      
      --- MBeans waiting for other MBeans ---
      ObjectName: jboss.j2ee:service=EJB3,module=jboss-seam.jar
        State: FAILED
        Reason: java.lang.IllegalStateException: Can't overwrite cause
      
      ObjectName: jboss.web.deployment:war=jboss-seam-numberguess.war,id=1051985338
        State: FAILED
        Reason: org.jboss.deployment.DeploymentException: Error during deploy; - nested throwable: (javax.naming.NameNotFoundException: comp not bound)
      
      --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
      ObjectName: jboss.web.deployment:war=jboss-seam-numberguess.war,id=1051985338
        State: FAILED
        Reason: org.jboss.deployment.DeploymentException: Error during deploy; - nested throwable: (javax.naming.NameNotFoundException: comp not bound)
      
      ObjectName: jboss.j2ee:service=EJB3,module=jboss-seam.jar
        State: FAILED
        Reason: java.lang.IllegalStateException: Can't overwrite cause
      
      
      18:16:45,074 INFO  [Http11Protocol] Starting Coyote HTTP/1.1 on http-127.0.0.1-8080
      18:16:45,134 INFO  [AjpProtocol] Starting Coyote AJP/1.3 on ajp-127.0.0.1-8009
      18:16:45,154 INFO  [Server] JBoss (MX MicroKernel) [4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)] Started in 53s:945ms