12 Replies Latest reply on Mar 27, 2008 10:45 AM by pmuir

    Seam Examples on JBoss5.beta4

      Hi all,


      I saw in the JBoss announcement of the 5.beta4 that the Seam examples should run on it. I tried the booking example of Seam 2.0.1.GA but it fail on deployment:


      Here is the stacktrace:


      C:\temp\pt\jboss-5.0.0.Beta4\bin>run
      
      ===============================================================================
      
      
        JBoss Bootstrap Environment
      
      
        JBOSS_HOME: C:\temp\pt\jboss-5.0.0.Beta4
      
      
        JAVA: C:\Programme\Java\jdk1.6.0_04\bin\java
      
      
        JAVA_OPTS:  -Dprogram.name=run.bat -server -Xms128m -Xmx512m -XX:MaxPermSize=256m -Dsun.lang.ClassLoader.allowArraySyntax=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.
      
      gc.server.gcInterval=3600000
      
      
        CLASSPATH: C:\Programme\Java\jdk1.6.0_04\lib\tools.jar;C:\temp\pt\jboss-5.0.0.Beta4\bin\run.jar
      
      
      ===============================================================================
      
      
      15:14:16,359 INFO  [ServerImpl] Starting JBoss (Microcontainer)...
      
      15:14:16,359 INFO  [ServerImpl] Release ID: JBoss [Morpheus] 5.0.0.Beta4 (build: SVNTag=JBoss_5_0_0_Beta4 date=200802091115)
      
      15:14:16,359 INFO  [ServerImpl] Home Dir: C:\temp\pt\jboss-5.0.0.Beta4
      
      15:14:16,359 INFO  [ServerImpl] Home URL: file:/C:/temp/pt/jboss-5.0.0.Beta4/
      
      15:14:16,359 INFO  [ServerImpl] Library URL: file:/C:/temp/pt/jboss-5.0.0.Beta4/lib/
      
      15:14:16,359 INFO  [ServerImpl] Patch URL: null
      
      15:14:16,359 INFO  [ServerImpl] Server Name: default
      
      15:14:16,359 INFO  [ServerImpl] Server Home Dir: C:\temp\pt\jboss-5.0.0.Beta4\server\default
      
      15:14:16,359 INFO  [ServerImpl] Server Home URL: file:/C:/temp/pt/jboss-5.0.0.Beta4/server/default/
      
      15:14:16,359 INFO  [ServerImpl] Server Data Dir: C:\temp\pt\jboss-5.0.0.Beta4\server\default\data
      
      15:14:16,359 INFO  [ServerImpl] Server Temp Dir: C:\temp\pt\jboss-5.0.0.Beta4\server\default\tmp
      
      15:14:16,359 INFO  [ServerImpl] Server Config URL: file:/C:/temp/pt/jboss-5.0.0.Beta4/server/default/conf/
      
      15:14:16,359 INFO  [ServerImpl] Server Library URL: file:/C:/temp/pt/jboss-5.0.0.Beta4/server/default/lib/
      
      15:14:16,359 INFO  [ServerImpl] Root Deployment Filename: jboss-service.xml
      
      15:14:16,671 INFO  [ServerImpl] Starting Microcontainer, bootstrapURL=file:/C:/temp/pt/jboss-5.0.0.Beta4/server/default/conf/bootstrap-beans.xml
      
      15:14:17,328 INFO  [ProfileImpl] Using profile root:C:\temp\pt\jboss-5.0.0.Beta4\server\default
      
      15:14:17,718 INFO  [ServerInfo] Java version: 1.6.0_04,Sun Microsystems Inc.
      
      15:14:17,718 INFO  [ServerInfo] Java VM: Java HotSpot(TM) Server VM 10.0-b19,Sun Microsystems Inc.
      
      15:14:17,718 INFO  [ServerInfo] OS-System: Windows XP 5.1,x86
      
      15:14:17,750 INFO  [JMXKernel] Legacy JMX core initialized
      
      15:14:21,406 INFO  [WebService] Using RMI server codebase: http://127.0.0.1:8083/
      
      15:14:22,140 INFO  [TransactionManagerService] JBossTS Transaction Service (JTA version) - JBoss Inc.
      
      15:14:22,140 INFO  [TransactionManagerService] Setting up property manager MBean and JMX layer
      
      15:14:22,375 INFO  [TransactionManagerService] Starting recovery manager
      
      15:14:22,515 INFO  [TransactionManagerService] Recovery manager started
      
      15:14:22,515 INFO  [TransactionManagerService] Binding TransactionManager JNDI Reference
      
      15:14:36,515 INFO  [PersistenceUnitParsingDeployer] Found persistence units [org.jboss.ejb3.metadata.jpa.spec.PersistenceUnitMetaData@87b71b{name=bookingDatabase}]
      
      15:14:38,671 INFO  [AspectDeployer] Deploying xml into org.jboss.aop.AspectManager@1d2625d for BaseClassLoader@e85a35{vfsfile:/C:/temp/pt/jboss-5.0.0.Beta4/server/default/deploy/e
      
      b3-interceptors-aop.xml}
      
      15:14:39,000 INFO  [TransactionAttributeClassProcessor] org.jboss.metadata.ejb.spec.ContainerTransactionMetaData@1f
      
      15:14:40,937 INFO  [TransactionAttributeClassProcessor] org.jboss.metadata.ejb.spec.ContainerTransactionMetaData@1f
      
      15:14:43,156 INFO  [MCKernelAbstraction] installing bean: persistence.units:ear=jboss-seam-booking.ear,jar=jboss-seam-booking.jar,unitName=bookingDatabase with dependencies:
      
      15:14:43,156 INFO  [MCKernelAbstraction]   and demands:
      
      15:14:43,156 INFO  [MCKernelAbstraction]        jboss.jca:name=bookingDatasource,service=DataSourceBinding
      
      15:14:43,156 INFO  [MCKernelAbstraction]   and supplies:
      
      15:14:43,250 INFO  [MCKernelAbstraction] installing bean: jboss.j2ee:ear=jboss-seam-booking.ear,jar=jboss-seam-booking.jar,name=AuthenticatorAction,service=EJB3 with dependencies:
      
      15:14:43,250 INFO  [MCKernelAbstraction]   and demands:
      
      15:14:43,250 INFO  [MCKernelAbstraction]        jboss.ejb:service=EJBTimerService
      
      15:14:43,250 INFO  [MCKernelAbstraction]        persistence.units:ear=jboss-seam-booking.ear,jar=jboss-seam-booking.jar,unitName=bookingDatabase
      
      15:14:43,250 INFO  [MCKernelAbstraction]   and supplies:
      
      15:14:43,250 INFO  [MCKernelAbstraction]        Class:org.jboss.seam.example.booking.Authenticator
      
      15:14:43,281 INFO  [MCKernelAbstraction] installing bean: jboss.j2ee:ear=jboss-seam-booking.ear,jar=jboss-seam-booking.jar,name=BookingListAction,service=EJB3 with dependencies:
      
      15:14:43,281 INFO  [MCKernelAbstraction]   and demands:
      
      15:14:43,281 INFO  [MCKernelAbstraction]        jboss.ejb:service=EJBTimerService
      
      15:14:43,281 INFO  [MCKernelAbstraction]        persistence.units:ear=jboss-seam-booking.ear,jar=jboss-seam-booking.jar,unitName=bookingDatabase
      
      15:14:43,296 INFO  [MCKernelAbstraction]   and supplies:
      
      15:14:43,296 INFO  [MCKernelAbstraction]        Class:org.jboss.seam.example.booking.BookingList
      
      15:14:43,296 INFO  [MCKernelAbstraction] installing bean: jboss.j2ee:ear=jboss-seam-booking.ear,jar=jboss-seam-booking.jar,name=ChangePasswordAction,service=EJB3 with dependencies
      
      
      15:14:43,296 INFO  [MCKernelAbstraction]   and demands:
      
      15:14:43,296 INFO  [MCKernelAbstraction]        jboss.ejb:service=EJBTimerService
      
      15:14:43,296 INFO  [MCKernelAbstraction]        persistence.units:ear=jboss-seam-booking.ear,jar=jboss-seam-booking.jar,unitName=bookingDatabase
      
      15:14:43,296 INFO  [MCKernelAbstraction]   and supplies:
      
      15:14:43,296 INFO  [MCKernelAbstraction]        Class:org.jboss.seam.example.booking.ChangePassword
      
      15:14:43,312 INFO  [MCKernelAbstraction] installing bean: jboss.j2ee:ear=jboss-seam-booking.ear,jar=jboss-seam-booking.jar,name=HotelBookingAction,service=EJB3 with dependencies:
      
      15:14:43,312 INFO  [MCKernelAbstraction]   and demands:
      
      15:14:43,312 INFO  [MCKernelAbstraction]        jboss.ejb:service=EJBTimerService
      
      15:14:43,312 INFO  [MCKernelAbstraction]        persistence.units:ear=jboss-seam-booking.ear,jar=jboss-seam-booking.jar,unitName=bookingDatabase
      
      15:14:43,312 INFO  [MCKernelAbstraction]   and supplies:
      
      15:14:43,312 INFO  [MCKernelAbstraction]        Class:org.jboss.seam.example.booking.HotelBooking
      
      15:14:43,312 INFO  [MCKernelAbstraction] installing bean: jboss.j2ee:ear=jboss-seam-booking.ear,jar=jboss-seam-booking.jar,name=HotelSearchingAction,service=EJB3 with dependencies
      
      
      15:14:43,328 INFO  [MCKernelAbstraction]   and demands:
      
      15:14:43,328 INFO  [MCKernelAbstraction]        jboss.ejb:service=EJBTimerService
      
      15:14:43,328 INFO  [MCKernelAbstraction]        persistence.units:ear=jboss-seam-booking.ear,jar=jboss-seam-booking.jar,unitName=bookingDatabase
      
      15:14:43,328 INFO  [MCKernelAbstraction]   and supplies:
      
      15:14:43,328 INFO  [MCKernelAbstraction]        Class:org.jboss.seam.example.booking.HotelSearching
      
      15:14:43,328 INFO  [MCKernelAbstraction] installing bean: jboss.j2ee:ear=jboss-seam-booking.ear,jar=jboss-seam-booking.jar,name=RegisterAction,service=EJB3 with dependencies:
      
      15:14:43,328 INFO  [MCKernelAbstraction]   and demands:
      
      15:14:43,328 INFO  [MCKernelAbstraction]        jboss.ejb:service=EJBTimerService
      
      15:14:43,328 INFO  [MCKernelAbstraction]        persistence.units:ear=jboss-seam-booking.ear,jar=jboss-seam-booking.jar,unitName=bookingDatabase
      
      15:14:43,328 INFO  [MCKernelAbstraction]   and supplies:
      
      15:14:43,328 INFO  [MCKernelAbstraction]        Class:org.jboss.seam.example.booking.Register
      
      15:14:43,343 INFO  [MCKernelAbstraction] uninstalling bean: jboss.j2ee:ear=jboss-seam-booking.ear,jar=jboss-seam-booking.jar,name=AuthenticatorAction,service=EJB3
      
      15:14:43,343 INFO  [MCKernelAbstraction] uninstalling bean: jboss.j2ee:ear=jboss-seam-booking.ear,jar=jboss-seam-booking.jar,name=BookingListAction,service=EJB3
      
      15:14:43,343 INFO  [MCKernelAbstraction] uninstalling bean: jboss.j2ee:ear=jboss-seam-booking.ear,jar=jboss-seam-booking.jar,name=ChangePasswordAction,service=EJB3
      
      15:14:43,343 INFO  [MCKernelAbstraction] uninstalling bean: jboss.j2ee:ear=jboss-seam-booking.ear,jar=jboss-seam-booking.jar,name=HotelBookingAction,service=EJB3
      
      15:14:43,343 INFO  [MCKernelAbstraction] uninstalling bean: jboss.j2ee:ear=jboss-seam-booking.ear,jar=jboss-seam-booking.jar,name=HotelSearchingAction,service=EJB3
      
      15:14:43,343 INFO  [MCKernelAbstraction] uninstalling bean: jboss.j2ee:ear=jboss-seam-booking.ear,jar=jboss-seam-booking.jar,name=RegisterAction,service=EJB3
      
      15:14:43,359 INFO  [MCKernelAbstraction] uninstalling bean: persistence.units:ear=jboss-seam-booking.ear,jar=jboss-seam-booking.jar,unitName=bookingDatabase
      
      15:14:43,359 WARN  [Ejb3Deployer] Failed to destroy deployment org.jboss.ejb3.deployers.Ejb3JBoss5Deployment@c51169
      
      java.lang.IllegalStateException: Container jboss.j2ee:ear=jboss-seam-booking.ear,jar=jboss-seam.jar,name=TimerServiceDispatcher,service=EJB3,VMID=3e8ca07c7f218758:79c38245:1181d72
      
      06a:-7ffd + is not registered
      
              at org.jboss.ejb3.Ejb3Registry.unregister(Ejb3Registry.java:147)
      
              at org.jboss.ejb3.Ejb3Deployment.undeploy(Ejb3Deployment.java:664)
      
              at org.jboss.ejb3.Ejb3Deployment.destroy(Ejb3Deployment.java:653)
      
              at org.jboss.ejb3.deployers.Ejb3Deployer.undeploy(Ejb3Deployer.java:265)
      
              at org.jboss.deployers.vfs.spi.deployer.AbstractVFSRealDeployer.internalUndeploy(AbstractVFSRealDeployer.java:54)
      
              at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.undeploy(AbstractRealDeployer.java:112)
      
              at org.jboss.deployers.plugins.deployers.DeployerWrapper.undeploy(DeployerWrapper.java:187)
      
              at org.jboss.deployers.plugins.deployers.DeployersImpl.doUninstallParentLast(DeployersImpl.java:1072)
      
              at org.jboss.deployers.plugins.deployers.DeployersImpl.doUninstallParentLast(DeployersImpl.java:1052)
      
              at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:810)
      
              at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:327)
      
              at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1309)
      
              at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:734)
      
              at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:862)
      
              at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:784)
      
              at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:622)
      
              at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:411)
      
              at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:498)
      
              at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:506)
      
              at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:246)
      
              at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:131)
      
              at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:408)
      
              at org.jboss.Main.boot(Main.java:208)
      
              at org.jboss.Main$1.run(Main.java:534)
      
              at java.lang.Thread.run(Thread.java:619)
      
      15:14:43,359 ERROR [AbstractKernelController] Error installing to Real: name=vfsfile:/C:/temp/pt/jboss-5.0.0.Beta4/server/default/deploy/jboss-seam-booking.ear state=PostClassLoad
      
      r mode=Manual requiredState=Real
      
      org.jboss.deployers.spi.DeploymentException: Error during deploy: vfsfile:/C:/temp/pt/jboss-5.0.0.Beta4/server/default/deploy/jboss-seam-booking.ear/jboss-seam.jar
      
              at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49)
      
              at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:175)
      
              at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:853)
      
              at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:906)
      
              at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:794)
      
              at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:327)
      
              at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1309)
      
              at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:734)
      
              at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:862)
      
              at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:784)
      
              at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:622)
      
              at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:411)
      
              at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:498)
      
              at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:506)
      
              at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:246)
      
              at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:131)
      
              at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:408)
      
              at org.jboss.Main.boot(Main.java:208)
      
              at org.jboss.Main$1.run(Main.java:534)
      
              at java.lang.Thread.run(Thread.java:619)
      
      Caused by: java.lang.RuntimeException: java.lang.RuntimeException: mapped-name is required for timerService of deployment TimerServiceDispatcher
      
              at org.jboss.ejb3.deployers.EJBStage2Deployer.deploy(EJBStage2Deployer.java:57)
      
              at org.jboss.ejb3.deployers.EJBStage2Deployer.deploy(EJBStage2Deployer.java:37)
      
              at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:65)
      
              at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
      
              at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:169)
      
              ... 18 more
      
      Caused by: java.lang.RuntimeException: mapped-name is required for timerService of deployment TimerServiceDispatcher
      
              at org.jboss.injection.ResourceHandler.loadXmlResourceEnvRefs(ResourceHandler.java:228)
      
              at org.jboss.injection.ResourceHandler.loadXml(ResourceHandler.java:268)
      
              at org.jboss.ejb3.EJBContainer.processMetadata(EJBContainer.java:457)
      
              at org.jboss.ejb3.Ejb3Deployment.processEJBContainerMetadata(Ejb3Deployment.java:343)
      
              at org.jboss.ejb3.Ejb3Deployment.start(Ejb3Deployment.java:407)
      
              at org.jboss.ejb3.deployers.EJBStage2Deployer.deploy(EJBStage2Deployer.java:53)
      
              ... 22 more
      
      15:14:43,406 INFO  [RARDeployment] Required license terms exist, view vfsfile:/C:/temp/pt/jboss-5.0.0.Beta4/server/default/deploy/jboss-xa-jdbc.rar/META-INF/ra.xml
      
      15:14:43,406 INFO  [RARDeployment] Required license terms exist, view vfsfile:/C:/temp/pt/jboss-5.0.0.Beta4/server/default/deploy/jboss-local-jdbc.rar/META-INF/ra.xml
      
      15:14:43,468 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS'
      
      15:14:43,468 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=bookingDatasource' to JNDI name 'java:bookingDatasource'
      
      15:14:43,671 WARN  [QuartzTimerServiceFactory] sql failed: CREATE TABLE qrtz_job_details(JOB_NAME VARCHAR(80) NOT NULL, JOB_GROUP VARCHAR(80) NOT NULL, DESCRIPTION VARCHAR(120) NU
      
      L, JOB_CLASS_NAME VARCHAR(128) NOT NULL, IS_DURABLE VARCHAR(1) NOT NULL, IS_VOLATILE VARCHAR(1) NOT NULL, IS_STATEFUL VARCHAR(1) NOT NULL, REQUESTS_RECOVERY VARCHAR(1) NOT NULL, J
      
      B_DATA BINARY NULL, PRIMARY KEY (JOB_NAME,JOB_GROUP))
      
      15:14:43,796 INFO  [SimpleThreadPool] Job execution threads will use class loader of thread: main
      
      15:14:43,828 INFO  [QuartzScheduler] Quartz Scheduler v.1.5.2 created.
      
      15:14:43,843 INFO  [JobStoreCMT] Using db table-based data access locking (synchronization).
      
      15:14:43,859 INFO  [JobStoreCMT] Removed 0 Volatile Trigger(s).
      
      15:14:43,859 INFO  [JobStoreCMT] Removed 0 Volatile Job(s).
      
      15:14:43,859 INFO  [JobStoreCMT] JobStoreCMT initialized.
      
      15:14:43,859 INFO  [StdSchedulerFactory] Quartz scheduler 'JBossEJB3QuartzScheduler' initialized from an externally provided properties instance.
      
      15:14:43,859 INFO  [StdSchedulerFactory] Quartz scheduler version: 1.5.2
      
      15:14:43,859 INFO  [JobStoreCMT] Freed 0 triggers from 'acquired' / 'blocked' state.
      
      15:14:43,875 INFO  [JobStoreCMT] Recovering 0 jobs that were in-progress at the time of the last shut-down.
      
      15:14:43,875 INFO  [JobStoreCMT] Recovery complete.
      
      15:14:43,875 INFO  [JobStoreCMT] Removed 0 'complete' triggers.
      
      15:14:43,875 INFO  [JobStoreCMT] Removed 0 stale fired job entries.
      
      15:14:43,875 INFO  [QuartzScheduler] Scheduler JBossEJB3QuartzScheduler_$_NON_CLUSTERED started.
      
      15:14:44,640 INFO  [AprLifecycleListener] The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\P
      
      ogramme\Java\jdk1.6.0_04\bin;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\Programme\ImageMagick-6.2.8-Q16;C:\Programme\MiKTeX 2.5\miktex\bin;C:\WINDOWS\system32;C:\
      
      INDOWS;C:\WINDOWS\System32\Wbem;C:\Programme\HPQ\IAM\bin;C:\Programme\ant\bin;C:\Programme\sant\bin;C:\Programme\ATI Technologies\ATI.ACE\;C:\Programme\Gemeinsame Dateien\GTK\2.0\
      
      in;C:\PROGRA~1\IBM\SQLLIB\BIN;C:\PROGRA~1\IBM\SQLLIB\FUNCTION;C:\PROGRA~1\IBM\SQLLIB\SAMPLES\REPL;C:\Programme\maven-2.0.8\bin;C:\Programme\CollabNet Subversion
      
      15:14:44,765 INFO  [Http11Protocol] Initializing Coyote HTTP/1.1 on http-127.0.0.1-8080
      
      15:14:44,765 INFO  [AjpProtocol] Initializing Coyote AJP/1.3 on ajp-127.0.0.1-8009
      
      15:14:44,765 INFO  [Catalina] Initialization processed in 482 ms
      
      15:14:44,765 INFO  [StandardService] Starting service jboss.web
      
      15:14:44,781 INFO  [StandardEngine] Starting Servlet Engine: JBoss Web/2.1.0.CR12
      
      15:14:44,859 INFO  [Catalina] Server startup in 95 ms
      
      15:14:44,890 INFO  [TomcatDeployment] deploy, ctxPath=/invoker, vfsUrl=http-invoker.sar/invoker.war
      
      15:14:46,328 INFO  [NativeServerConfig] JBoss Web Services - Native
      
      15:14:46,328 INFO  [NativeServerConfig] jbossws-native-2.0.3.GA (build=200801241020)
      
      15:14:47,859 INFO  [TomcatDeployment] deploy, ctxPath=/jbossws, vfsUrl=jbossws.sar/jbossws-context.war
      
      15:14:47,953 INFO  [RARDeployment] Required license terms exist, view vfsfile:/C:/temp/pt/jboss-5.0.0.Beta4/server/default/deploy/jms-ra.rar/META-INF/ra.xml
      
      15:14:47,984 INFO  [TomcatDeployment] deploy, ctxPath=/jmx-console, vfsUrl=jmx-console.war
      
      15:14:49,265 INFO  [JMXConnectorServerService] JMX Connector server: service:jmx:rmi://127.0.0.1/jndi/rmi://127.0.0.1:1090/jmxconnector
      
      15:14:49,296 INFO  [RARDeployment] Required license terms exist, view vfsfile:/C:/temp/pt/jboss-5.0.0.Beta4/server/default/deploy/mail-ra.rar/META-INF/ra.xml
      
      15:14:49,406 INFO  [MailService] Mail Service bound to java:/Mail
      
      15:14:49,625 INFO  [TomcatDeployment] deploy, ctxPath=/web-console, vfsUrl=management/console-mgr.sar/web-console.war
      
      15:14:50,515 WARN  [SecurityMetadataStore] WARNING! POTENTIAL SECURITY RISK. It has been detected that the MessageSucker component which sucks messages from one node to another ha
      
       not had its password changed from the installation default. Please see the JBoss Messaging user guide for instructions on how to do this.
      
      15:14:50,875 INFO  [ServerPeer] JBoss Messaging 1.4.1.Beta1 server [0] started
      
      15:14:51,062 INFO  [ConnectionFactory] Connector bisocket://127.0.0.1:4457 has leasing enabled, lease period 10000 milliseconds
      
      15:14:51,062 INFO  [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory@130d53c started
      
      15:14:51,062 WARN  [ConnectionFactoryJNDIMapper] supportsFailover attribute is true on connection factory: jboss.messaging.connectionfactory:service=ClusteredConnectionFactory but
      
      post office is non clustered. So connection factory will *not* support failover
      
      15:14:51,062 WARN  [ConnectionFactoryJNDIMapper] supportsLoadBalancing attribute is true on connection factory: jboss.messaging.connectionfactory:service=ClusteredConnectionFactor
      
       but post office is non clustered. So connection factory will *not* support load balancing
      
      15:14:51,062 INFO  [ConnectionFactory] Connector bisocket://127.0.0.1:4457 has leasing enabled, lease period 10000 milliseconds
      
      15:14:51,078 INFO  [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory@36d880 started
      
      15:14:51,078 INFO  [ConnectionFactory] Connector bisocket://127.0.0.1:4457 has leasing enabled, lease period 10000 milliseconds
      
      15:14:51,078 INFO  [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory@1d5cac4 started
      
      15:14:51,093 INFO  [QueueService] Queue[/queue/DLQ] started, fullSize=200000, pageSize=2000, downCacheSize=2000
      
      15:14:51,093 INFO  [QueueService] Queue[/queue/ExpiryQueue] started, fullSize=200000, pageSize=2000, downCacheSize=2000
      
      15:14:51,093 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'
      
      15:14:51,125 INFO  [RARDeployment] Required license terms exist, view vfsfile:/C:/temp/pt/jboss-5.0.0.Beta4/server/default/deploy/quartz-ra.rar/META-INF/ra.xml
      
      15:14:51,156 INFO  [SimpleThreadPool] Job execution threads will use class loader of thread: main
      
      15:14:51,171 INFO  [QuartzScheduler] Quartz Scheduler v.1.5.2 created.
      
      15:14:51,171 INFO  [RAMJobStore] RAMJobStore initialized.
      
      15:14:51,171 INFO  [StdSchedulerFactory] Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties'
      
      15:14:51,171 INFO  [StdSchedulerFactory] Quartz scheduler version: 1.5.2
      
      15:14:51,171 INFO  [QuartzScheduler] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started.
      
      15:14:51,187 INFO  [TomcatDeployment] deploy, ctxPath=/, vfsUrl=ROOT.war
      
      15:14:51,375 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=sepusDS' to JNDI name 'java:sepusDS'
      
      15:14:51,406 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=storageDS' to JNDI name 'java:storageDS'
      
      15:14:51,484 ERROR [ProfileServiceBootstrap] Failed to load profile: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
      
      
      *** CONTEXTS IN ERROR: Name -> Error
      
      
      vfsfile:/C:/temp/pt/jboss-5.0.0.Beta4/server/default/deploy/jboss-seam-booking.ear -> java.lang.RuntimeException: mapped-name is required for timerService of deployment TimerServi
      
      eDispatcher
      
      
      
      15:14:51,531 INFO  [Http11Protocol] Starting Coyote HTTP/1.1 on http-127.0.0.1-8080
      
      15:14:51,562 INFO  [AjpProtocol] Starting Coyote AJP/1.3 on ajp-127.0.0.1-8009
      
      15:14:51,578 INFO  [ServerImpl] JBoss (Microcontainer) [5.0.0.Beta4 (build: SVNTag=JBoss_5_0_0_Beta4 date=200802091115)] Started in 35s:219ms
      
      



      I could figure out what the problem is. I've just unzipped the JBoss and copied the example, which was generated with ant into the deploy directory.


      Have someone tried the Seam examples on JBoss 5?
      It would be glad if someone can give me a hint.


      Regards
      Marco

        • 1. Re: Seam Examples on JBoss5.beta4
          pmuir

          There is no way I can read that. Please read the help and use a code block.

          • 2. Re: Seam Examples on JBoss5.beta4

            Thank you Pete for your response. Here is the stacktrace again.


            C:\temp\pt\jboss-5.0.0.Beta4\bin>run
            ===============================================================================
            
              JBoss Bootstrap Environment
            
              JBOSS_HOME: C:\temp\pt\jboss-5.0.0.Beta4
            
              JAVA: C:\Programme\Java\jdk1.6.0_04\bin\java
            
              JAVA_OPTS:  -Dprogram.name=run.bat -server -Xms128m -Xmx512m -XX:MaxPermSize=256m -Dsun.lang.ClassLoader.allowArraySyntax=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.d
            gc.server.gcInterval=3600000
            
              CLASSPATH: C:\Programme\Java\jdk1.6.0_04\lib\tools.jar;C:\temp\pt\jboss-5.0.0.Beta4\bin\run.jar
            
            ===============================================================================
            
            20:49:47,406 INFO  [ServerImpl] Starting JBoss (Microcontainer)...
            20:49:47,406 INFO  [ServerImpl] Release ID: JBoss [Morpheus] 5.0.0.Beta4 (build: SVNTag=JBoss_5_0_0_Beta4 date=200802091115)
            20:49:47,406 INFO  [ServerImpl] Home Dir: C:\temp\pt\jboss-5.0.0.Beta4
            20:49:47,406 INFO  [ServerImpl] Home URL: file:/C:/temp/pt/jboss-5.0.0.Beta4/
            20:49:47,406 INFO  [ServerImpl] Library URL: file:/C:/temp/pt/jboss-5.0.0.Beta4/lib/
            20:49:47,406 INFO  [ServerImpl] Patch URL: null
            20:49:47,406 INFO  [ServerImpl] Server Name: default
            20:49:47,406 INFO  [ServerImpl] Server Home Dir: C:\temp\pt\jboss-5.0.0.Beta4\server\default
            20:49:47,406 INFO  [ServerImpl] Server Home URL: file:/C:/temp/pt/jboss-5.0.0.Beta4/server/default/
            20:49:47,406 INFO  [ServerImpl] Server Data Dir: C:\temp\pt\jboss-5.0.0.Beta4\server\default\data
            20:49:47,406 INFO  [ServerImpl] Server Temp Dir: C:\temp\pt\jboss-5.0.0.Beta4\server\default\tmp
            20:49:47,406 INFO  [ServerImpl] Server Config URL: file:/C:/temp/pt/jboss-5.0.0.Beta4/server/default/conf/
            20:49:47,406 INFO  [ServerImpl] Server Library URL: file:/C:/temp/pt/jboss-5.0.0.Beta4/server/default/lib/
            20:49:47,406 INFO  [ServerImpl] Root Deployment Filename: jboss-service.xml
            20:49:47,718 INFO  [ServerImpl] Starting Microcontainer, bootstrapURL=file:/C:/temp/pt/jboss-5.0.0.Beta4/server/default/conf/bootstrap-beans.xml
            20:49:48,375 INFO  [ProfileImpl] Using profile root:C:\temp\pt\jboss-5.0.0.Beta4\server\default
            20:49:48,765 INFO  [ServerInfo] Java version: 1.6.0_04,Sun Microsystems Inc.
            20:49:48,765 INFO  [ServerInfo] Java VM: Java HotSpot(TM) Server VM 10.0-b19,Sun Microsystems Inc.
            20:49:48,765 INFO  [ServerInfo] OS-System: Windows XP 5.1,x86
            20:49:48,828 INFO  [JMXKernel] Legacy JMX core initialized
            20:49:52,765 INFO  [WebService] Using RMI server codebase: http://127.0.0.1:8083/
            20:49:53,562 INFO  [TransactionManagerService] JBossTS Transaction Service (JTA version) - JBoss Inc.
            20:49:53,578 INFO  [TransactionManagerService] Setting up property manager MBean and JMX layer
            20:49:53,812 INFO  [TransactionManagerService] Starting recovery manager
            20:49:53,968 INFO  [TransactionManagerService] Recovery manager started
            20:49:53,968 INFO  [TransactionManagerService] Binding TransactionManager JNDI Reference
            20:50:08,187 INFO  [PersistenceUnitParsingDeployer] Found persistence units [org.jboss.ejb3.metadata.jpa.spec.PersistenceUnitMetaData@196dcb4{name=bookingDatabase}]
            20:50:10,437 INFO  [AspectDeployer] Deploying xml into org.jboss.aop.AspectManager@49bed2 for BaseClassLoader@c3d026{vfsfile:/C:/temp/pt/jboss-5.0.0.Beta4/server/default/deploy/ejb
            3-interceptors-aop.xml}
            20:50:10,796 INFO  [TransactionAttributeClassProcessor] org.jboss.metadata.ejb.spec.ContainerTransactionMetaData@1f
            20:50:12,953 INFO  [TransactionAttributeClassProcessor] org.jboss.metadata.ejb.spec.ContainerTransactionMetaData@1f
            20:50:15,015 INFO  [MCKernelAbstraction] installing bean: persistence.units:ear=jboss-seam-booking.ear,jar=jboss-seam-booking.jar,unitName=bookingDatabase with dependencies:
            20:50:15,015 INFO  [MCKernelAbstraction]   and demands:
            20:50:15,015 INFO  [MCKernelAbstraction]        jboss.jca:name=bookingDatasource,service=DataSourceBinding
            20:50:15,015 INFO  [MCKernelAbstraction]   and supplies:
            20:50:15,125 INFO  [MCKernelAbstraction] installing bean: jboss.j2ee:ear=jboss-seam-booking.ear,jar=jboss-seam-booking.jar,name=AuthenticatorAction,service=EJB3 with dependencies:
            20:50:15,125 INFO  [MCKernelAbstraction]   and demands:
            20:50:15,125 INFO  [MCKernelAbstraction]        jboss.ejb:service=EJBTimerService
            20:50:15,125 INFO  [MCKernelAbstraction]        persistence.units:ear=jboss-seam-booking.ear,jar=jboss-seam-booking.jar,unitName=bookingDatabase
            20:50:15,125 INFO  [MCKernelAbstraction]   and supplies:
            20:50:15,125 INFO  [MCKernelAbstraction]        Class:org.jboss.seam.example.booking.Authenticator
            20:50:15,140 INFO  [MCKernelAbstraction] installing bean: jboss.j2ee:ear=jboss-seam-booking.ear,jar=jboss-seam-booking.jar,name=BookingListAction,service=EJB3 with dependencies:
            20:50:15,140 INFO  [MCKernelAbstraction]   and demands:
            20:50:15,140 INFO  [MCKernelAbstraction]        jboss.ejb:service=EJBTimerService
            20:50:15,140 INFO  [MCKernelAbstraction]        persistence.units:ear=jboss-seam-booking.ear,jar=jboss-seam-booking.jar,unitName=bookingDatabase
            20:50:15,140 INFO  [MCKernelAbstraction]   and supplies:
            20:50:15,140 INFO  [MCKernelAbstraction]        Class:org.jboss.seam.example.booking.BookingList
            20:50:15,156 INFO  [MCKernelAbstraction] installing bean: jboss.j2ee:ear=jboss-seam-booking.ear,jar=jboss-seam-booking.jar,name=ChangePasswordAction,service=EJB3 with dependencies:
            
            20:50:15,156 INFO  [MCKernelAbstraction]   and demands:
            20:50:15,156 INFO  [MCKernelAbstraction]        jboss.ejb:service=EJBTimerService
            20:50:15,156 INFO  [MCKernelAbstraction]        persistence.units:ear=jboss-seam-booking.ear,jar=jboss-seam-booking.jar,unitName=bookingDatabase
            20:50:15,156 INFO  [MCKernelAbstraction]   and supplies:
            20:50:15,156 INFO  [MCKernelAbstraction]        Class:org.jboss.seam.example.booking.ChangePassword
            20:50:15,156 INFO  [MCKernelAbstraction] installing bean: jboss.j2ee:ear=jboss-seam-booking.ear,jar=jboss-seam-booking.jar,name=HotelBookingAction,service=EJB3 with dependencies:
            20:50:15,156 INFO  [MCKernelAbstraction]   and demands:
            20:50:15,156 INFO  [MCKernelAbstraction]        jboss.ejb:service=EJBTimerService
            20:50:15,156 INFO  [MCKernelAbstraction]        persistence.units:ear=jboss-seam-booking.ear,jar=jboss-seam-booking.jar,unitName=bookingDatabase
            20:50:15,156 INFO  [MCKernelAbstraction]   and supplies:
            20:50:15,156 INFO  [MCKernelAbstraction]        Class:org.jboss.seam.example.booking.HotelBooking
            20:50:15,156 INFO  [MCKernelAbstraction] installing bean: jboss.j2ee:ear=jboss-seam-booking.ear,jar=jboss-seam-booking.jar,name=HotelSearchingAction,service=EJB3 with dependencies:
            
            20:50:15,156 INFO  [MCKernelAbstraction]   and demands:
            20:50:15,156 INFO  [MCKernelAbstraction]        jboss.ejb:service=EJBTimerService
            20:50:15,156 INFO  [MCKernelAbstraction]        persistence.units:ear=jboss-seam-booking.ear,jar=jboss-seam-booking.jar,unitName=bookingDatabase
            20:50:15,156 INFO  [MCKernelAbstraction]   and supplies:
            20:50:15,156 INFO  [MCKernelAbstraction]        Class:org.jboss.seam.example.booking.HotelSearching
            20:50:15,156 INFO  [MCKernelAbstraction] installing bean: jboss.j2ee:ear=jboss-seam-booking.ear,jar=jboss-seam-booking.jar,name=RegisterAction,service=EJB3 with dependencies:
            20:50:15,156 INFO  [MCKernelAbstraction]   and demands:
            20:50:15,171 INFO  [MCKernelAbstraction]        jboss.ejb:service=EJBTimerService
            20:50:15,171 INFO  [MCKernelAbstraction]        persistence.units:ear=jboss-seam-booking.ear,jar=jboss-seam-booking.jar,unitName=bookingDatabase
            20:50:15,171 INFO  [MCKernelAbstraction]   and supplies:
            20:50:15,171 INFO  [MCKernelAbstraction]        Class:org.jboss.seam.example.booking.Register
            20:50:15,171 INFO  [MCKernelAbstraction] uninstalling bean: jboss.j2ee:ear=jboss-seam-booking.ear,jar=jboss-seam-booking.jar,name=AuthenticatorAction,service=EJB3
            20:50:15,187 INFO  [MCKernelAbstraction] uninstalling bean: jboss.j2ee:ear=jboss-seam-booking.ear,jar=jboss-seam-booking.jar,name=BookingListAction,service=EJB3
            20:50:15,187 INFO  [MCKernelAbstraction] uninstalling bean: jboss.j2ee:ear=jboss-seam-booking.ear,jar=jboss-seam-booking.jar,name=ChangePasswordAction,service=EJB3
            20:50:15,187 INFO  [MCKernelAbstraction] uninstalling bean: jboss.j2ee:ear=jboss-seam-booking.ear,jar=jboss-seam-booking.jar,name=HotelBookingAction,service=EJB3
            20:50:15,187 INFO  [MCKernelAbstraction] uninstalling bean: jboss.j2ee:ear=jboss-seam-booking.ear,jar=jboss-seam-booking.jar,name=HotelSearchingAction,service=EJB3
            20:50:15,187 INFO  [MCKernelAbstraction] uninstalling bean: jboss.j2ee:ear=jboss-seam-booking.ear,jar=jboss-seam-booking.jar,name=RegisterAction,service=EJB3
            20:50:15,187 INFO  [MCKernelAbstraction] uninstalling bean: persistence.units:ear=jboss-seam-booking.ear,jar=jboss-seam-booking.jar,unitName=bookingDatabase
            20:50:15,187 WARN  [Ejb3Deployer] Failed to destroy deployment org.jboss.ejb3.deployers.Ejb3JBoss5Deployment@1bc18ca
            java.lang.IllegalStateException: Container jboss.j2ee:ear=jboss-seam-booking.ear,jar=jboss-seam.jar,name=TimerServiceDispatcher,service=EJB3,VMID=3e8ca07c7f218758:74a600e5:1182e186
            2b9:-7ffd + is not registered
                    at org.jboss.ejb3.Ejb3Registry.unregister(Ejb3Registry.java:147)
                    at org.jboss.ejb3.Ejb3Deployment.undeploy(Ejb3Deployment.java:664)
                    at org.jboss.ejb3.Ejb3Deployment.destroy(Ejb3Deployment.java:653)
                    at org.jboss.ejb3.deployers.Ejb3Deployer.undeploy(Ejb3Deployer.java:265)
                    at org.jboss.deployers.vfs.spi.deployer.AbstractVFSRealDeployer.internalUndeploy(AbstractVFSRealDeployer.java:54)
                    at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.undeploy(AbstractRealDeployer.java:112)
                    at org.jboss.deployers.plugins.deployers.DeployerWrapper.undeploy(DeployerWrapper.java:187)
                    at org.jboss.deployers.plugins.deployers.DeployersImpl.doUninstallParentLast(DeployersImpl.java:1072)
                    at org.jboss.deployers.plugins.deployers.DeployersImpl.doUninstallParentLast(DeployersImpl.java:1052)
                    at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:810)
                    at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:327)
                    at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1309)
                    at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:734)
                    at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:862)
                    at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:784)
                    at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:622)
                    at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:411)
                    at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:498)
                    at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:506)
                    at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:246)
                    at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:131)
                    at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:408)
                    at org.jboss.Main.boot(Main.java:208)
                    at org.jboss.Main$1.run(Main.java:534)
                    at java.lang.Thread.run(Thread.java:619)
            20:50:15,218 ERROR [AbstractKernelController] Error installing to Real: name=vfsfile:/C:/temp/pt/jboss-5.0.0.Beta4/server/default/deploy/jboss-seam-booking.ear state=PostClassLoade
            r mode=Manual requiredState=Real
            org.jboss.deployers.spi.DeploymentException: Error during deploy: vfsfile:/C:/temp/pt/jboss-5.0.0.Beta4/server/default/deploy/jboss-seam-booking.ear/jboss-seam.jar
                    at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49)
                    at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:175)
                    at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:853)
                    at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:906)
                    at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:794)
                    at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:327)
                    at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1309)
                    at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:734)
                    at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:862)
                    at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:784)
                    at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:622)
                    at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:411)
                    at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:498)
                    at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:506)
                    at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:246)
                    at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:131)
                    at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:408)
                    at org.jboss.Main.boot(Main.java:208)
                    at org.jboss.Main$1.run(Main.java:534)
                    at java.lang.Thread.run(Thread.java:619)
            Caused by: java.lang.RuntimeException: java.lang.RuntimeException: mapped-name is required for timerService of deployment TimerServiceDispatcher
                    at org.jboss.ejb3.deployers.EJBStage2Deployer.deploy(EJBStage2Deployer.java:57)
                    at org.jboss.ejb3.deployers.EJBStage2Deployer.deploy(EJBStage2Deployer.java:37)
                    at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:65)
                    at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
                    at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:169)
                    ... 18 more
            Caused by: java.lang.RuntimeException: mapped-name is required for timerService of deployment TimerServiceDispatcher
                    at org.jboss.injection.ResourceHandler.loadXmlResourceEnvRefs(ResourceHandler.java:228)
                    at org.jboss.injection.ResourceHandler.loadXml(ResourceHandler.java:268)
                    at org.jboss.ejb3.EJBContainer.processMetadata(EJBContainer.java:457)
                    at org.jboss.ejb3.Ejb3Deployment.processEJBContainerMetadata(Ejb3Deployment.java:343)
                    at org.jboss.ejb3.Ejb3Deployment.start(Ejb3Deployment.java:407)
                    at org.jboss.ejb3.deployers.EJBStage2Deployer.deploy(EJBStage2Deployer.java:53)
                    ... 22 more
            20:50:15,312 INFO  [RARDeployment] Required license terms exist, view vfsfile:/C:/temp/pt/jboss-5.0.0.Beta4/server/default/deploy/jboss-xa-jdbc.rar/META-INF/ra.xml
            20:50:15,312 INFO  [RARDeployment] Required license terms exist, view vfsfile:/C:/temp/pt/jboss-5.0.0.Beta4/server/default/deploy/jboss-local-jdbc.rar/META-INF/ra.xml
            20:50:15,375 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=bookingDatasource' to JNDI name 'java:bookingDatasource'
            20:50:15,375 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS'
            20:50:15,578 WARN  [QuartzTimerServiceFactory] sql failed: CREATE TABLE qrtz_job_details(JOB_NAME VARCHAR(80) NOT NULL, JOB_GROUP VARCHAR(80) NOT NULL, DESCRIPTION VARCHAR(120) NUL
            L, JOB_CLASS_NAME VARCHAR(128) NOT NULL, IS_DURABLE VARCHAR(1) NOT NULL, IS_VOLATILE VARCHAR(1) NOT NULL, IS_STATEFUL VARCHAR(1) NOT NULL, REQUESTS_RECOVERY VARCHAR(1) NOT NULL, JO
            B_DATA BINARY NULL, PRIMARY KEY (JOB_NAME,JOB_GROUP))
            20:50:15,703 INFO  [SimpleThreadPool] Job execution threads will use class loader of thread: main
            20:50:15,734 INFO  [QuartzScheduler] Quartz Scheduler v.1.5.2 created.
            20:50:15,734 INFO  [JobStoreCMT] Using db table-based data access locking (synchronization).
            20:50:15,750 INFO  [JobStoreCMT] Removed 0 Volatile Trigger(s).
            20:50:15,750 INFO  [JobStoreCMT] Removed 0 Volatile Job(s).
            20:50:15,750 INFO  [JobStoreCMT] JobStoreCMT initialized.
            20:50:15,750 INFO  [StdSchedulerFactory] Quartz scheduler 'JBossEJB3QuartzScheduler' initialized from an externally provided properties instance.
            20:50:15,765 INFO  [StdSchedulerFactory] Quartz scheduler version: 1.5.2
            20:50:15,765 INFO  [JobStoreCMT] Freed 0 triggers from 'acquired' / 'blocked' state.
            20:50:15,781 INFO  [JobStoreCMT] Recovering 0 jobs that were in-progress at the time of the last shut-down.
            20:50:15,781 INFO  [JobStoreCMT] Recovery complete.
            20:50:15,781 INFO  [JobStoreCMT] Removed 0 'complete' triggers.
            20:50:15,781 INFO  [JobStoreCMT] Removed 0 stale fired job entries.
            20:50:15,781 INFO  [QuartzScheduler] Scheduler JBossEJB3QuartzScheduler_$_NON_CLUSTERED started.
            20:50:16,546 INFO  [AprLifecycleListener] The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Pr
            ogramme\Java\jdk1.6.0_04\bin;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\Programme\ImageMagick-6.2.8-Q16;C:\Programme\MiKTeX 2.5\miktex\bin;C:\WINDOWS\system32;C:\W
            INDOWS;C:\WINDOWS\System32\Wbem;C:\Programme\HPQ\IAM\bin;C:\Programme\ant\bin;C:\Programme\sant\bin;C:\Programme\ATI Technologies\ATI.ACE\;C:\Programme\Gemeinsame Dateien\GTK\2.0\b
            in;C:\PROGRA~1\IBM\SQLLIB\BIN;C:\PROGRA~1\IBM\SQLLIB\FUNCTION;C:\PROGRA~1\IBM\SQLLIB\SAMPLES\REPL;C:\Programme\maven-2.0.8\bin;C:\Programme\CollabNet Subversion
            20:50:16,656 INFO  [Http11Protocol] Initializing Coyote HTTP/1.1 on http-127.0.0.1-8080
            20:50:16,671 INFO  [AjpProtocol] Initializing Coyote AJP/1.3 on ajp-127.0.0.1-8009
            20:50:16,671 INFO  [Catalina] Initialization processed in 486 ms
            20:50:16,671 INFO  [StandardService] Starting service jboss.web
            20:50:16,671 INFO  [StandardEngine] Starting Servlet Engine: JBoss Web/2.1.0.CR12
            20:50:16,781 INFO  [Catalina] Server startup in 104 ms
            20:50:16,812 INFO  [TomcatDeployment] deploy, ctxPath=/invoker, vfsUrl=http-invoker.sar/invoker.war
            20:50:18,171 INFO  [NativeServerConfig] JBoss Web Services - Native
            20:50:18,171 INFO  [NativeServerConfig] jbossws-native-2.0.3.GA (build=200801241020)
            20:50:19,765 INFO  [TomcatDeployment] deploy, ctxPath=/jbossws, vfsUrl=jbossws.sar/jbossws-context.war
            20:50:19,875 INFO  [RARDeployment] Required license terms exist, view vfsfile:/C:/temp/pt/jboss-5.0.0.Beta4/server/default/deploy/jms-ra.rar/META-INF/ra.xml
            20:50:19,906 INFO  [TomcatDeployment] deploy, ctxPath=/jmx-console, vfsUrl=jmx-console.war
            20:50:21,140 INFO  [JMXConnectorServerService] JMX Connector server: service:jmx:rmi://127.0.0.1/jndi/rmi://127.0.0.1:1090/jmxconnector
            20:50:21,171 INFO  [RARDeployment] Required license terms exist, view vfsfile:/C:/temp/pt/jboss-5.0.0.Beta4/server/default/deploy/mail-ra.rar/META-INF/ra.xml
            20:50:21,281 INFO  [MailService] Mail Service bound to java:/Mail
            20:50:21,453 INFO  [TomcatDeployment] deploy, ctxPath=/web-console, vfsUrl=management/console-mgr.sar/web-console.war
            20:50:22,312 WARN  [SecurityMetadataStore] WARNING! POTENTIAL SECURITY RISK. It has been detected that the MessageSucker component which sucks messages from one node to another has
             not had its password changed from the installation default. Please see the JBoss Messaging user guide for instructions on how to do this.
            20:50:22,593 INFO  [ServerPeer] JBoss Messaging 1.4.1.Beta1 server [0] started
            20:50:22,703 INFO  [QueueService] Queue[/queue/ExpiryQueue] started, fullSize=200000, pageSize=2000, downCacheSize=2000
            20:50:22,828 INFO  [ConnectionFactory] Connector bisocket://127.0.0.1:4457 has leasing enabled, lease period 10000 milliseconds
            20:50:22,828 INFO  [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory@4c05c1 started
            20:50:22,828 INFO  [ConnectionFactory] Connector bisocket://127.0.0.1:4457 has leasing enabled, lease period 10000 milliseconds
            20:50:22,828 INFO  [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory@f81c8a started
            20:50:22,828 WARN  [ConnectionFactoryJNDIMapper] supportsFailover attribute is true on connection factory: jboss.messaging.connectionfactory:service=ClusteredConnectionFactory but
            post office is non clustered. So connection factory will *not* support failover
            20:50:22,828 WARN  [ConnectionFactoryJNDIMapper] supportsLoadBalancing attribute is true on connection factory: jboss.messaging.connectionfactory:service=ClusteredConnectionFactory
             but post office is non clustered. So connection factory will *not* support load balancing
            20:50:22,859 INFO  [ConnectionFactory] Connector bisocket://127.0.0.1:4457 has leasing enabled, lease period 10000 milliseconds
            20:50:22,859 INFO  [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory@119bf16 started
            20:50:22,859 INFO  [QueueService] Queue[/queue/DLQ] started, fullSize=200000, pageSize=2000, downCacheSize=2000
            20:50:22,859 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'
            20:50:22,890 INFO  [RARDeployment] Required license terms exist, view vfsfile:/C:/temp/pt/jboss-5.0.0.Beta4/server/default/deploy/quartz-ra.rar/META-INF/ra.xml
            20:50:22,921 INFO  [SimpleThreadPool] Job execution threads will use class loader of thread: main
            20:50:22,937 INFO  [QuartzScheduler] Quartz Scheduler v.1.5.2 created.
            20:50:22,937 INFO  [RAMJobStore] RAMJobStore initialized.
            20:50:22,937 INFO  [StdSchedulerFactory] Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties'
            20:50:22,937 INFO  [StdSchedulerFactory] Quartz scheduler version: 1.5.2
            20:50:22,937 INFO  [QuartzScheduler] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started.
            20:50:22,953 INFO  [TomcatDeployment] deploy, ctxPath=/, vfsUrl=ROOT.war
            20:50:23,140 ERROR [ProfileServiceBootstrap] Failed to load profile: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
            
            *** CONTEXTS IN ERROR: Name -> Error
            
            vfsfile:/C:/temp/pt/jboss-5.0.0.Beta4/server/default/deploy/jboss-seam-booking.ear -> java.lang.RuntimeException: mapped-name is required for timerService of deployment TimerServic
            eDispatcher
            
            
            20:50:23,187 INFO  [Http11Protocol] Starting Coyote HTTP/1.1 on http-127.0.0.1-8080
            20:50:23,218 INFO  [AjpProtocol] Starting Coyote AJP/1.3 on ajp-127.0.0.1-8009
            20:50:23,218 INFO  [ServerImpl] JBoss (Microcontainer) [5.0.0.Beta4 (build: SVNTag=JBoss_5_0_0_Beta4 date=200802091115)] Started in 35s:812ms
            



            Sorry for the missformatted text.


            I wonder why this 'mapped-name is required for timerService' is thrown.

            • 3. Re: Seam Examples on JBoss5.beta4
              alesj

              Have you modified anything in the booking example?
              Since I didn't have any similar problems when testing against JBoss5.

              I still suggest posting this on the JBoss EJB3 user forum, and attaching the code of this TimerService.

              • 4. Re: Seam Examples on JBoss5.beta4
                pmuir

                Ales Justin wrote on Feb 18, 2008 11:13 PM:


                Have you modified anything in the booking example?
                Since I didn't have any similar problems when testing against JBoss5.

                I still suggest posting this on the JBoss EJB3 user forum, and attaching the code of this TimerService.


                TimerService is an container provided service injected into TimerSerivceDispatcher (an @Stateless EJB3 in jboss-seam.jar) using @Resource TimerService timerService;

                • 5. Re: Seam Examples on JBoss5.beta4

                  I double checked my installations. I didn't changed anything on the booking example nor I add something to the JBoss. I just extracted them, build the example with ant (V 1.6.5) and copied the files into the deploy directory of JBoss5.


                  I tried the dvd-store example to, but with the same error. I tried also JDK5 (jdk1.5.0_09) and JDK6 (jdk1.6.0_04) to compile and run the example.


                  @Ales: What do you mean with testing against JBoss5? Did you deployed a Seam application successfully on JBoss5?


                  @Pete: Do you have ever seen this mapped-name is required for timerService when you develop Seam?


                  • 6. Re: Seam Examples on JBoss5.beta4
                    pmuir

                    Marco Huber wrote on Feb 20, 2008 08:17 PM:


                    @Ales: What do you mean with testing against JBoss5? Did you deployed a Seam application successfully on JBoss5?


                    Yes, the JBoss AS 5 testsuite includes deploying the Seam booking example. It was passing last time we checked.


                    @Pete: Do you have ever seen this mapped-name is required for timerService when you develop Seam?


                    No.

                    • 7. Re: Seam Examples on JBoss5.beta4
                      pmuir

                      As Ales says, post on the EJB3 forum.

                      • 8. Re: Seam Examples on JBoss5.beta4
                        sergeypk2

                        I have posted there but nobody seems to care. Did you actually try deploying the examples on beta4 by hand instead of relying on some automated test suite? Maybe the test suite is reporting success even though deployment actually failed.

                        • 9. Re: Seam Examples on JBoss5.beta4
                          srineel

                          Did anyone get an answer to this.. none of the examples are deploying. Ales and Pete, I see that multiple folks are having the same issues posted on EJB3 forum but no replies.


                          Any help appreciated. Thanks

                          • 10. Re: Seam Examples on JBoss5.beta4
                            srineel

                            Here's the error:


                            ERROR ProfileServiceBootstrap Failed to load profile: Summary of
                            
                            incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
                            
                            
                            CONTEXTS IN ERROR: Name -> Error
                            
                            
                            vfsfile:/C:/jboss-5.0.0.Beta4/server/default/deploy/jboss-seam-registration.ear -> java.lang.RuntimeException: mapped-name is required for timerService of deployment TimerServiceDispatcher
                            
                            


                            • 11. Re: Seam Examples on JBoss5.beta4

                              I just wonder, that after this long time I posted this, there is already response to my problem but no solution yet.
                              Thank you Sergey and Neel S for posting and commenting this in the JBoss forum, unfortunally with no any success.


                              I thought a little bit about the JBoss AS 5 testsuite mentioned by Ales. Maybe there is a differnce between the tests (maybe the tests runs against the embedded JBoss) and the released beta4 version. But I have no idea how to check this.


                              So I hope that the problem is solved when the JBossAS-5.0.0.CR1 comes out, because it seems that neither one from the Seam team nor from JBoss-AS/EJB3 team feel very responsible for this problem which occures only on all Seam examples because on a problem inside jboss-seam.jar.


                              Regards
                              Marco

                              • 12. Re: Seam Examples on JBoss5.beta4
                                pmuir

                                Unfortunately the problem is more lack of time from the necessary people than lack of caring. And please remember whilst complaining, both of these are open source projects so you can easily fix the problem yourself and contribute back.


                                Seam should have worked with beta4, but unfortunately it looks like someone committed something to AS at the last minute without rechecking whether it worked.


                                There is, I hope you agree, little point in revisiting beta4 now (as it would require another release of AS beta.1 or something) but better to concentrate on AS trunk. Once AS trunk is stabilised (if you follow jboss-development@lists.jboss.org you'll see what I mean) we will work more on this.