8 Replies Latest reply on Apr 1, 2009 11:53 PM by Andrew Rubinger

    HELP, org.jboss.ejb3.common.registrar.spi.DuplicateBindExcep

    zwz mycoy Newbie

      Hi,everyone
      I'm studying jboss seam these weeks.
      I use jboss AS 5.0.1GA , jseam2.1.1GA.
      When i deploy a jsea+ejb3 project to the server, there's no problem.
      But if i don't delete the first deployed project, and deploy a second
      jseam+ejb3 project, the server will refused to deploy the second:
      java.lang.RuntimeException: org.jboss.ejb3.common.registrar.spi.DuplicateBindException: Could not register org.jboss.ejb3.proxy.factory.session.stateless.StatelessSessionLocalProxyFactory@477185 under an already registered key, "ProxyFactory/TimerServiceDispatcher/TimerServiceDispatcher/local"

      If i delete the first project, everything is ok.
      It seems that some configuration is wrong.
      Could anyone helps me?
      Thanks a lot.

        • 1. Re: HELP, org.jboss.ejb3.common.registrar.spi.DuplicateBindE
          jaikiran pai Master

          Please post the entire exception stacktrace and the console logs.

          While posting logs or xml content or code, please remember to wrap it in a code block by using the Code button in the message editor window. Please use the Preview button to ensure that your post is correctly formatted.

          • 2. Re: HELP, org.jboss.ejb3.common.registrar.spi.DuplicateBindE
            zwz mycoy Newbie

            To jaikiran:
            The entire exception stacktrace:

            16:29:20,163 ERROR [AbstractKernelController] Error installing to Start: name=jboss.j2ee:ear=JSeamDemo_Integration.ear,jar=JSeamDemo_Integration.ear,name=TimerServiceDispatcher,service=EJB3 state=Create
            java.lang.RuntimeException: org.jboss.ejb3.common.registrar.spi.DuplicateBindException: Could not register org.jboss.ejb3.proxy.factory.session.stateless.StatelessSessionLocalProxyFactory@11fa2fb under an already registered key, "ProxyFactory/TimerServiceDispatcher/TimerServiceDispatcher/local"
             at org.jboss.ejb3.proxy.jndiregistrar.JndiSessionRegistrarBase.createJndiReferenceBindingSet(JndiSessionRegistrarBase.java:495)
             at org.jboss.ejb3.proxy.jndiregistrar.JndiSessionRegistrarBase.bindEjb(JndiSessionRegistrarBase.java:147)
             at org.jboss.ejb3.session.SessionContainer.lockedStart(SessionContainer.java:179)
             at org.jboss.ejb3.session.SessionSpecContainer.lockedStart(SessionSpecContainer.java:589)
             at org.jboss.ejb3.stateless.StatelessContainer.lockedStart(StatelessContainer.java:247)
             at org.jboss.ejb3.EJBContainer.start(EJBContainer.java:884)
             at sun.reflect.GeneratedMethodAccessor484.invoke(Unknown Source)
             at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
             at java.lang.reflect.Method.invoke(Method.java:597)
             at org.jboss.reflect.plugins.introspection.ReflectionUtils.invoke(ReflectionUtils.java:59)
             at org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(ReflectMethodInfoImpl.java:150)
             at org.jboss.joinpoint.plugins.BasicMethodJoinPoint.dispatch(BasicMethodJoinPoint.java:66)
             at org.jboss.kernel.plugins.dependency.KernelControllerContextAction$JoinpointDispatchWrapper.execute(KernelControllerContextAction.java:241)
             at org.jboss.kernel.plugins.dependency.ExecutionWrapper.execute(ExecutionWrapper.java:47)
             at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchExecutionWrapper(KernelControllerContextAction.java:109)
             at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchJoinPoint(KernelControllerContextAction.java:70)
             at org.jboss.kernel.plugins.dependency.LifecycleAction.installActionInternal(LifecycleAction.java:221)
             at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:54)
             at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:42)
             at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
             at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
             at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
             at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
             at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
             at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
             at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
             at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
             at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:774)
             at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:540)
             at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:121)
             at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:51)
             at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)
             at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
             at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)
             at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)
             at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157)
             at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1178)
             at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098)
             at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
             at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
             at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
             at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
             at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
             at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
             at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
             at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781)
             at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:698)
             at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:290)
             at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:221)
             at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
             at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
             at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
             at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
             at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:181)
             at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:205)
             at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
             at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
             at java.lang.Thread.run(Thread.java:619)
            Caused by: org.jboss.ejb3.common.registrar.spi.DuplicateBindException: Could not register org.jboss.ejb3.proxy.factory.session.stateless.StatelessSessionLocalProxyFactory@11fa2fb under an already registered key, "ProxyFactory/TimerServiceDispatcher/TimerServiceDispatcher/local"
             at org.jboss.ejb3.proxy.jndiregistrar.JndiSessionRegistrarBase.registerProxyFactory(JndiSessionRegistrarBase.java:1141)
             at org.jboss.ejb3.proxy.jndiregistrar.JndiSessionRegistrarBase.createJndiReferenceBindingSet(JndiSessionRegistrarBase.java:491)
             ... 57 more
            Caused by: org.jboss.ejb3.common.registrar.spi.DuplicateBindException: Cannot install org.jboss.ejb3.proxy.factory.session.stateless.StatelessSessionLocalProxyFactory@11fa2fb under name "ProxyFactory/TimerServiceDispatcher/TimerServiceDispatcher/local" as there is already an existing object there: org.jboss.ejb3.proxy.factory.session.stateless.StatelessSessionLocalProxyFactory@1a50890
             at org.jboss.ejb3.common.registrar.plugin.mc.Ejb3McRegistrar.bind(Ejb3McRegistrar.java:250)
             at org.jboss.ejb3.proxy.jndiregistrar.JndiSessionRegistrarBase.registerProxyFactory(JndiSessionRegistrarBase.java:1129)
             ... 58 more
            16:29:20,249 INFO [SessionSpecContainer] Starting jboss.j2ee:ear=JSeamDemo_Integration.ear,jar=JSeamDemo_Integration.ear,name=EjbSynchronizations,service=EJB3
            16:29:20,249 INFO [EJBContainer] STARTED EJB: org.jboss.seam.transaction.EjbSynchronizations ejbName: EjbSynchronizations
            16:29:20,256 INFO [SessionSpecContainer] Stopping jboss.j2ee:ear=JSeamDemo_Integration.ear,jar=JSeamDemo_Integration.ear,name=EjbSynchronizations,service=EJB3
            16:29:20,270 INFO [EJBContainer] STOPPED EJB: org.jboss.seam.transaction.EjbSynchronizations ejbName: EjbSynchronizations
            16:29:20,270 ERROR [AbstractKernelController] Error installing to Start: name=jboss.j2ee:ear=JSeamDemo_Integration.ear,jar=JSeamDemo_Integration.ear,name=EjbSynchronizations,service=EJB3 state=Create
            java.lang.RuntimeException: org.jboss.ejb3.common.registrar.spi.DuplicateBindException: Could not register org.jboss.ejb3.proxy.factory.session.stateful.StatefulSessionLocalProxyFactory@1239a23 under an already registered key, "ProxyFactory/EjbSynchronizations/EjbSynchronizations/local"
             at org.jboss.ejb3.proxy.jndiregistrar.JndiSessionRegistrarBase.createJndiReferenceBindingSet(JndiSessionRegistrarBase.java:495)
             at org.jboss.ejb3.proxy.jndiregistrar.JndiSessionRegistrarBase.bindEjb(JndiSessionRegistrarBase.java:147)
             at org.jboss.ejb3.session.SessionContainer.lockedStart(SessionContainer.java:179)
             at org.jboss.ejb3.session.SessionSpecContainer.lockedStart(SessionSpecContainer.java:589)
             at org.jboss.ejb3.stateful.StatefulContainer.lockedStart(StatefulContainer.java:309)
             at org.jboss.ejb3.EJBContainer.start(EJBContainer.java:884)
             at sun.reflect.GeneratedMethodAccessor484.invoke(Unknown Source)
             at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
             at java.lang.reflect.Method.invoke(Method.java:597)
             at org.jboss.reflect.plugins.introspection.ReflectionUtils.invoke(ReflectionUtils.java:59)
             at org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(ReflectMethodInfoImpl.java:150)
             at org.jboss.joinpoint.plugins.BasicMethodJoinPoint.dispatch(BasicMethodJoinPoint.java:66)
             at org.jboss.kernel.plugins.dependency.KernelControllerContextAction$JoinpointDispatchWrapper.execute(KernelControllerContextAction.java:241)
             at org.jboss.kernel.plugins.dependency.ExecutionWrapper.execute(ExecutionWrapper.java:47)
             at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchExecutionWrapper(KernelControllerContextAction.java:109)
             at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchJoinPoint(KernelControllerContextAction.java:70)
             at org.jboss.kernel.plugins.dependency.LifecycleAction.installActionInternal(LifecycleAction.java:221)
             at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:54)
             at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:42)
             at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
             at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
             at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
             at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
             at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
             at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
             at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
             at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
             at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:774)
             at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:540)
             at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:121)
             at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:51)
             at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)
             at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
             at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)
             at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)
             at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157)
             at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1178)
             at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098)
             at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
             at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
             at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
             at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
             at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
             at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
             at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
             at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781)
             at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:698)
             at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:290)
             at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:221)
             at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
             at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
             at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
             at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
             at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:181)
             at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:205)
             at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
             at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
             at java.lang.Thread.run(Thread.java:619)
            Caused by: org.jboss.ejb3.common.registrar.spi.DuplicateBindException: Could not register org.jboss.ejb3.proxy.factory.session.stateful.StatefulSessionLocalProxyFactory@1239a23 under an already registered key, "ProxyFactory/EjbSynchronizations/EjbSynchronizations/local"
             at org.jboss.ejb3.proxy.jndiregistrar.JndiSessionRegistrarBase.registerProxyFactory(JndiSessionRegistrarBase.java:1141)
             at org.jboss.ejb3.proxy.jndiregistrar.JndiSessionRegistrarBase.createJndiReferenceBindingSet(JndiSessionRegistrarBase.java:491)
             ... 57 more
            Caused by: org.jboss.ejb3.common.registrar.spi.DuplicateBindException: Cannot install org.jboss.ejb3.proxy.factory.session.stateful.StatefulSessionLocalProxyFactory@1239a23 under name "ProxyFactory/EjbSynchronizations/EjbSynchronizations/local" as there is already an existing object there: org.jboss.ejb3.proxy.factory.session.stateful.StatefulSessionLocalProxyFactory@18b3a53
             at org.jboss.ejb3.common.registrar.plugin.mc.Ejb3McRegistrar.bind(Ejb3McRegistrar.java:250)
             at org.jboss.ejb3.proxy.jndiregistrar.JndiSessionRegistrarBase.registerProxyFactory(JndiSessionRegistrarBase.java:1129)
             ... 58 more
            16:29:20,322 INFO [PersistenceUnitDeployment] Starting persistence unit persistence.unit:unitName=JSeamDemo_Integration.ear/app.jar#helloworld_integration
            16:29:20,325 WARN [Ejb3Configuration] Persistence provider caller does not implement the EJB3 spec correctly. PersistenceUnitInfo.getNewTempClassLoader() is null.
            16:29:20,325 WARN [Ejb3Configuration] Defining hibernate.transaction.flush_before_completion=true ignored in HEM
            16:29:20,326 INFO [AnnotationBinder] Binding entity from annotated class: Person
            16:29:20,326 INFO [EntityBinder] Bind entity Person on table extperson
            16:29:20,336 INFO [HibernateSearchEventListenerRegister] Unable to find org.hibernate.search.event.FullTextIndexEventListener on the classpath. Hibernate Search is not enabled.
            16:29:20,337 INFO [ConnectionProviderFactory] Initializing connection provider: org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
            16:29:20,338 INFO [InjectedDataSourceConnectionProvider] Using provided datasource
            16:29:20,339 INFO [SettingsFactory] RDBMS: HSQL Database Engine, version: 1.8.0
            16:29:20,339 INFO [SettingsFactory] JDBC driver: HSQL Database Engine Driver, version: 1.8.0
            16:29:20,339 INFO [Dialect] Using dialect: org.hibernate.dialect.HSQLDialect
            16:29:20,339 INFO [TransactionFactoryFactory] Transaction strategy: org.hibernate.ejb.transaction.JoinableCMTTransactionFactory
            16:29:20,340 INFO [TransactionManagerLookupFactory] instantiating TransactionManagerLookup: org.hibernate.transaction.JBossTransactionManagerLookup
            16:29:20,340 INFO [TransactionManagerLookupFactory] instantiated TransactionManagerLookup
            16:29:20,340 INFO [SettingsFactory] Automatic flush during beforeCompletion(): disabled
            16:29:20,340 INFO [SettingsFactory] Automatic session close at end of transaction: disabled
            16:29:20,340 INFO [SettingsFactory] JDBC batch size: 15
            16:29:20,340 INFO [SettingsFactory] JDBC batch updates for versioned data: disabled
            16:29:20,340 INFO [SettingsFactory] Scrollable result sets: enabled
            16:29:20,341 INFO [SettingsFactory] JDBC3 getGeneratedKeys(): disabled
            16:29:20,341 INFO [SettingsFactory] Connection release mode: auto
            16:29:20,341 INFO [SettingsFactory] Default batch fetch size: 1
            16:29:20,341 INFO [SettingsFactory] Generate SQL with comments: disabled
            16:29:20,341 INFO [SettingsFactory] Order SQL updates by primary key: disabled
            16:29:20,341 INFO [SettingsFactory] Order SQL inserts for batching: disabled
            16:29:20,341 INFO [SettingsFactory] Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
            16:29:20,341 INFO [ASTQueryTranslatorFactory] Using ASTQueryTranslatorFactory
            16:29:20,341 INFO [SettingsFactory] Query language substitutions: {}
            16:29:20,341 INFO [SettingsFactory] JPA-QL strict compliance: enabled
            16:29:20,341 INFO [SettingsFactory] Second-level cache: enabled
            16:29:20,341 INFO [SettingsFactory] Query cache: disabled
            16:29:20,341 INFO [SettingsFactory] Cache region factory : org.hibernate.cache.impl.bridge.RegionFactoryCacheProviderBridge
            16:29:20,341 INFO [RegionFactoryCacheProviderBridge] Cache provider: org.hibernate.cache.HashtableCacheProvider
            16:29:20,342 INFO [SettingsFactory] Optimize cache for minimal puts: disabled
            16:29:20,342 INFO [SettingsFactory] Cache region prefix: persistence.unit:unitName=JSeamDemo_Integration.ear/app.jar#helloworld_integration
            16:29:20,342 INFO [SettingsFactory] Structured second-level cache entries: disabled
            16:29:20,342 INFO [SettingsFactory] Statistics: disabled
            16:29:20,342 INFO [SettingsFactory] Deleted entity synthetic identifier rollback: disabled
            16:29:20,342 INFO [SettingsFactory] Default entity-mode: pojo
            16:29:20,342 INFO [SettingsFactory] Named query checking : enabled
            16:29:20,346 INFO [SessionFactoryImpl] building session factory
            16:29:20,351 INFO [SessionFactoryObjectFactory] Factory name: persistence.unit:unitName=JSeamDemo_Integration.ear/app.jar#helloworld_integration
            16:29:20,351 INFO [NamingHelper] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
            16:29:20,354 INFO [SessionFactoryObjectFactory] Bound factory to JNDI name: persistence.unit:unitName=JSeamDemo_Integration.ear/app.jar#helloworld_integration
            16:29:20,354 WARN [SessionFactoryObjectFactory] InitialContext did not implement EventContext
            16:29:20,358 INFO [SchemaExport] Running hbm2ddl schema export
            16:29:20,359 INFO [SchemaExport] exporting generated schema to database
            16:29:20,359 INFO [SchemaExport] schema export complete
            16:29:20,363 INFO [NamingHelper] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
            16:29:20,400 INFO [SessionSpecContainer] Starting jboss.j2ee:ear=JSeamDemo_Integration.ear,jar=app.jar,name=ManagerAction,service=EJB3
            16:29:20,405 INFO [EJBContainer] STARTED EJB: ManagerAction ejbName: ManagerAction
            16:29:20,430 INFO [JndiSessionRegistrarBase] Binding the following Entries in Global JNDI:
            
             JSeamDemo_Integration/ManagerAction/local - EJB3.x Default Local Business Interface
             JSeamDemo_Integration/ManagerAction/local-Manager - EJB3.x Local Business Interface
            
            16:29:20,485 INFO [SessionSpecContainer] Starting jboss.j2ee:ear=JSeamDemo_Integration.ear,jar=jboss-seam.jar,name=TimerServiceDispatcher,service=EJB3
            16:29:20,485 INFO [EJBContainer] STARTED EJB: org.jboss.seam.async.TimerServiceDispatcher ejbName: TimerServiceDispatcher
            16:29:20,497 INFO [JndiSessionRegistrarBase] Binding the following Entries in Global JNDI:
            
             JSeamDemo_Integration/TimerServiceDispatcher/local - EJB3.x Default Local Business Interface
             JSeamDemo_Integration/TimerServiceDispatcher/local-org.jboss.seam.async.LocalTimerServiceDispatcher - EJB3.x Local Business Interface
            
            16:29:20,552 INFO [SessionSpecContainer] Starting jboss.j2ee:ear=JSeamDemo_Integration.ear,jar=jboss-seam.jar,name=EjbSynchronizations,service=EJB3
            16:29:20,553 INFO [EJBContainer] STARTED EJB: org.jboss.seam.transaction.EjbSynchronizations ejbName: EjbSynchronizations
            16:29:20,565 INFO [JndiSessionRegistrarBase] Binding the following Entries in Global JNDI:
            
             JSeamDemo_Integration/EjbSynchronizations/local - EJB3.x Default Local Business Interface
             JSeamDemo_Integration/EjbSynchronizations/local-org.jboss.seam.transaction.LocalEjbSynchronizations - EJB3.x Local Business Interface
            
            16:29:20,683 INFO [TomcatDeployment] deploy, ctxPath=/JSeamDemo_Integration
            16:29:20,858 INFO [ServletContextListener] Welcome to Seam 2.1.1.GA
            16:29:21,480 INFO [Scanner] skipping class org/jboss/seam/remoting/gwt/GWT14Service.class because it cannot be loaded (may reference a type which is not available on the classpath)
            16:29:24,335 INFO [Initialization] Namespace: http://jboss.com/products/seam/ui, package: org.jboss.seam.ui, prefix: org.jboss.seam.ui
            16:29:24,337 INFO [Initialization] reading /WEB-INF/components.xml
            16:29:24,344 ERROR [[/JSeamDemo_Integration]] Exception sending context initialized event to listener instance of class org.jboss.seam.servlet.SeamListener
            java.lang.RuntimeException: error while reading /WEB-INF/components.xml
             at org.jboss.seam.init.Initialization.initComponentsFromXmlDocument(Initialization.java:231)
             at org.jboss.seam.init.Initialization.create(Initialization.java:134)
             at org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:35)
             at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3910)
             at org.apache.catalina.core.StandardContext.start(StandardContext.java:4393)
             at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:312)
             at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:144)
             at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:461)
             at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118)
             at org.jboss.web.deployers.WebModule.start(WebModule.java:97)
             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:597)
             at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
             at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
             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:668)
             at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206)
             at $Proxy36.start(Unknown Source)
             at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42)
             at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:37)
             at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
             at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
             at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
             at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
             at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:286)
             at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
             at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
             at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
             at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
             at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
             at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
             at org.jboss.system.ServiceController.doChange(ServiceController.java:688)
             at org.jboss.system.ServiceController.start(ServiceController.java:460)
             at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:163)
             at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:99)
             at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:46)
             at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)
             at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
             at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)
             at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)
             at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157)
             at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1178)
             at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1210)
             at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098)
             at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
             at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
             at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
             at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
             at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
             at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
             at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
             at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781)
             at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:698)
             at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:290)
             at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:221)
             at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
             at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
             at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
             at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
             at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:181)
             at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:205)
             at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
             at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
             at java.lang.Thread.run(Thread.java:619)
            Caused by: java.lang.RuntimeException: Error loading element Init with component name null and component class null
             at org.jboss.seam.init.Initialization.installComponentsFromXmlElements(Initialization.java:352)
             at org.jboss.seam.init.Initialization.initComponentsFromXmlDocument(Initialization.java:227)
             ... 66 more
            16:29:24,345 ERROR [StandardContext] Error listenerStart
            16:29:24,345 ERROR [StandardContext] Context [/JSeamDemo_Integration] startup failed due to previous errors
            16:29:24,358 ERROR [AbstractKernelController] Error installing to Start: name=jboss.web.deployment:war=/JSeamDemo_Integration state=Create mode=Manual requiredState=Installed
            org.jboss.deployers.spi.DeploymentException: URL file:/D:/jboss-5.0.1.GA/server/default/tmp/aaaa-b3pdyq-fsfcmgwz-1-fsfr5e27-c0/app.war/ deployment failed
             at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:333)
             at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:144)
             at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:461)
             at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118)
             at org.jboss.web.deployers.WebModule.start(WebModule.java:97)
             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:597)
             at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
             at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
             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:668)
             at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206)
             at $Proxy36.start(Unknown Source)
             at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42)
             at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:37)
             at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
             at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
             at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
             at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
             at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:286)
             at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
             at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
             at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
             at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
             at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
             at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
             at org.jboss.system.ServiceController.doChange(ServiceController.java:688)
             at org.jboss.system.ServiceController.start(ServiceController.java:460)
             at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:163)
             at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:99)
             at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:46)
             at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)
             at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
             at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)
             at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)
             at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157)
             at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1178)
             at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1210)
             at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098)
             at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
             at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
             at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
             at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
             at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
             at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
             at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
             at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781)
             at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:698)
             at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:290)
             at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:221)
             at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
             at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
             at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
             at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
             at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:181)
             at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:205)
             at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
             at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
             at java.lang.Thread.run(Thread.java:619)
            16:29:24,366 INFO [SessionSpecContainer] Stopping jboss.j2ee:ear=JSeamDemo_Integration.ear,jar=jboss-seam.jar,name=EjbSynchronizations,service=EJB3
            16:29:24,375 INFO [EJBContainer] STOPPED EJB: org.jboss.seam.transaction.EjbSynchronizations ejbName: EjbSynchronizations
            16:29:24,414 INFO [SessionSpecContainer] Stopping jboss.j2ee:ear=JSeamDemo_Integration.ear,jar=jboss-seam.jar,name=TimerServiceDispatcher,service=EJB3
            16:29:24,428 INFO [EJBContainer] STOPPED EJB: org.jboss.seam.async.TimerServiceDispatcher ejbName: TimerServiceDispatcher
            16:29:24,464 INFO [SessionSpecContainer] Stopping jboss.j2ee:ear=JSeamDemo_Integration.ear,jar=app.jar,name=ManagerAction,service=EJB3
            16:29:24,473 INFO [EJBContainer] STOPPED EJB: ManagerAction ejbName: ManagerAction
            16:29:24,523 INFO [PersistenceUnitDeployment] Stopping persistence unit persistence.unit:unitName=JSeamDemo_Integration.ear/app.jar#helloworld_integration
            16:29:24,523 INFO [SessionFactoryImpl] closing
            16:29:24,523 INFO [SchemaExport] Running hbm2ddl schema export
            16:29:24,523 INFO [SchemaExport] exporting generated schema to database
            16:29:24,524 INFO [SchemaExport] schema export complete
            16:29:24,524 INFO [SessionFactoryObjectFactory] Unbinding factory from JNDI name: persistence.unit:unitName=JSeamDemo_Integration.ear/app.jar#helloworld_integration
            16:29:24,524 INFO [NamingHelper] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
            16:29:24,524 INFO [SessionFactoryObjectFactory] Unbound factory from JNDI name: persistence.unit:unitName=JSeamDemo_Integration.ear/app.jar#helloworld_integration
            16:29:24,534 ERROR [AbstractKernelController] Error installing to Real: name=vfszip:/D:/jboss-5.0.1.GA/server/default/deploy/JSeamDemo_Integration.ear/ state=PreReal mode=Manual requiredState=Real
            org.jboss.deployers.spi.DeploymentException: URL file:/D:/jboss-5.0.1.GA/server/default/tmp/aaaa-b3pdyq-fsfcmgwz-1-fsfr5e27-c0/app.war/ deployment failed
             at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:333)
             at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:144)
             at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:461)
             at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118)
             at org.jboss.web.deployers.WebModule.start(WebModule.java:97)
             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:597)
             at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
             at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
             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:668)
             at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206)
             at $Proxy36.start(Unknown Source)
             at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42)
             at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:37)
             at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
             at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
             at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
             at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
             at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:286)
             at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
             at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
             at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
             at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
             at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
             at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
             at org.jboss.system.ServiceController.doChange(ServiceController.java:688)
             at org.jboss.system.ServiceController.start(ServiceController.java:460)
             at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:163)
             at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:99)
             at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:46)
             at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)
             at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
             at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)
             at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)
             at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157)
             at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1178)
             at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1210)
             at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098)
             at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
             at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
             at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
             at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
             at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
             at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
             at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
             at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781)
             at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:698)
             at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:290)
             at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:221)
             at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
             at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
             at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
             at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
             at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:181)
             at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:205)
             at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
             at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
             at java.lang.Thread.run(Thread.java:619)
            16:29:24,541 WARN [HDScanner] Failed to process changes
            org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
            
            DEPLOYMENTS IN ERROR:
             Deployment "vfszip:/D:/jboss-5.0.1.GA/server/default/deploy/JSeamDemo_Integration.ear/" is in error due to the following reason(s): org.jboss.deployers.spi.DeploymentException: URL file:/D:/jboss-5.0.1.GA/server/default/tmp/aaaa-b3pdyq-fsfcmgwz-1-fsfr5e27-c0/app.war/ deployment failed
            
             at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:863)
             at org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployerImpl.java:806)
             at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:293)
             at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:221)
             at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
             at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
             at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
             at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
             at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:181)
             at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:205)
             at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
             at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
             at java.lang.Thread.run(Thread.java:619)





            • 3. Re: HELP, org.jboss.ejb3.common.registrar.spi.DuplicateBindE
              Andrew Rubinger Master

              Looks like this:

              /**
               * Returns the name of the unique key under which a Proxy Factory will
               * be registered. Will follow form:
               *
               * ProxyFactory/{ejbName}/{jndiName}
               *
               * @param jndiName
               * @param smd
               * @param isLocal
               */
               public String getProxyFactoryRegistryKey(String jndiName, JBossSessionBeanMetaData smd, boolean isLocal)
               {
               // Initialize
               String suffix = null;
              
               // Set Suffix
               suffix = jndiName;
              
               // Ensure suffix is specified
               assert suffix != null && !suffix.equals("") : ProxyFactory.class.getSimpleName()
               + " key prefix for binding to registry is not specified";
              
               // Assemble and return
               String key = JndiSessionRegistrarBase.KEY_PREFIX_PROXY_FACTORY_REGISTRY + smd.getEjbName() + "/" + suffix;
               return key;
               }


              These are not engineered to be unique across applications (ie. EAR). You may have the same ejb-name in 2 EARs, hence the conflict.

              Can you verify that you have two EARs sharing an EJB of the same ejb-name?

              In the meantime, I'll address this.

              https://jira.jboss.org/jira/browse/EJBTHREE-1778

              Thanks for reporting.

              S,
              ALR

              • 4. Re: HELP, org.jboss.ejb3.common.registrar.spi.DuplicateBindE
                Andrew Rubinger Master

                 

                "ALRubinger" wrote:
                https://jira.jboss.org/jira/browse/EJBTHREE-1778


                I've resolved this issue and it will be available in the next Plugin release of EJB3, either Thursday or Friday in accordance with our semi-monthly release schedule.

                S,
                ALR

                • 5. Re: HELP, org.jboss.ejb3.common.registrar.spi.DuplicateBindE
                  zwz mycoy Newbie

                  To ALRubinger:
                  Yes, i have deployed two ear-project into jboss, and the exception occurs. But, i'm sure that there aren't two ejbs sharing a same name.
                  In fact, the exception is:

                  java.lang.RuntimeException: org.jboss.ejb3.common.registrar.spi.DuplicateBindException: Could not register org.jboss.ejb3.proxy.factory.session.stateless.StatelessSessionLocalProxyFactory@477185 under an already registered key, "ProxyFactory/TimerServiceDispatcher/TimerServiceDispatcher/local"

                  It seems that the duplicated ejb is a stateless session bean "StatelessSessionLocalProxyFactory". Obviously, it is the ejb used by the jboss server.


                  Also, i'm not sure what do you mean by "next Plugin release of EJB3".
                  If this is a bug on jboss AS, is it solved. Or i have to use the "plugin" in some way to fix the bug?

                  • 6. Re: HELP, org.jboss.ejb3.common.registrar.spi.DuplicateBindE
                    Andrew Rubinger Master

                    Your exception doesn't tell us that the EJBs in question don't share an ejb-name. I've enhanced the error message:

                    http://fisheye.jboss.org/browse/JBossAS/projects/ejb3/trunk/proxy-impl/src/main/java/org/jboss/ejb3/proxy/impl/jndiregistrar/JndiSessionRegistrarBase.java?r1=86084&r2=86085&u=3&ignore=&k=

                    "zzuli" wrote:
                    It seems that the duplicated ejb is a stateless session bean "StatelessSessionLocalProxyFactory". Obviously, it is the ejb used by the jboss server.


                    Huh? "StatelessSessionLocalProxyFactory" is not an EJB, it's a Proxy Factory which generates proxies for SLSBs (the thing you look up in JNDI).

                    "zzuli" wrote:
                    Also, i'm not sure what do you mean by "next Plugin release of EJB3". If this is a bug on jboss AS, is it solved. Or i have to use the "plugin" in some way to fix the bug?


                    We do releases of the EJB3 project twice a month, and provide a "Plugin Installer" which will replace the latest release of AS with the new EJB3 binaries/configs.

                    http://lists.jboss.org/pipermail/jboss-development/2009-January/013395.html

                    The Plugin may be obtained:

                    http://www.jboss.org/jbossejb3/downloads/

                    Would you please attach your 2 failing JARs to https://jira.jboss.org/jira/browse/EJBTHREE-1778? I want to be sure we're getting to the bottom of this.

                    S,
                    ALR

                    • 7. Re: HELP, org.jboss.ejb3.common.registrar.spi.DuplicateBindE
                      zwz mycoy Newbie

                      To ALRubinger:
                      Sorry for not replying so long, i had something urgent.
                      I have tried the EJB-plugin-installer : jboss-ejb3-plugin-1.0.4-installer.jar

                      But, it seems that things go even worse, I cannot deploy only one ejb projet into the server. The exception:

                      org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
                      
                      DEPLOYMENTS MISSING DEPENDENCIES:
                       Deployment "jboss.j2ee:ear=taas.ear,jar=app.jar,name=CapabilityBindingDaoImpl,service=EJB3" is missing the following dependencies:
                       Dependency "interface org.jboss.ejb3.timerservice.spi.TimerServiceFactory" (should be in state "Configured", but is actually in state "** NOT FOUND interface org.jboss.ejb3.timerservice.spi.TimerServiceFactory (NOTE: using autowiring to resolve this dependency) **")
                       Deployment "jboss.j2ee:ear=taas.ear,jar=app.jar,name=DaoImpl,service=EJB3" is missing the following dependencies:
                       Dependency "interface org.jboss.ejb3.timerservice.spi.TimerServiceFactory" (should be in state "Configured", but is actually in state "** NOT FOUND interface org.jboss.ejb3.timerservice.spi.TimerServiceFactory (NOTE: using autowiring to resolve this dependency) **")
                       Deployment "jboss.j2ee:ear=taas.ear,jar=app.jar,name=ExitAction,service=EJB3" is missing the following dependencies:
                       Dependency "interface org.jboss.ejb3.timerservice.spi.TimerServiceFactory" (should be in state "Configured", but is actually in state "** NOT FOUND interface org.jboss.ejb3.timerservice.spi.TimerServiceFactory (NOTE: using autowiring to resolve this dependency) **")
                       Deployment "jboss.j2ee:ear=taas.ear,jar=app.jar,name=IOParameterDaoImpl,service=EJB3" is missing the following dependencies:
                       Dependency "interface org.jboss.ejb3.timerservice.spi.TimerServiceFactory" (should be in state "Configured", but is actually in state "** NOT FOUND interface org.jboss.ejb3.timerservice.spi.TimerServiceFactory (NOTE: using autowiring to resolve this dependency) **")
                       Deployment "jboss.j2ee:ear=taas.ear,jar=app.jar,name=LoginAction,service=EJB3" is missing the following dependencies:
                       Dependency "<UNKNOWN jboss.j2ee:ear=taas.ear,jar=app.jar,name=LoginAction,service=EJB3>" (should be in state "Described", but is actually in state "** UNRESOLVED Demands 'jndi:taas/UtilImpl/local-pku.ss.taas.util.UtilLocal' **")
                       Dependency "<UNKNOWN jboss.j2ee:ear=taas.ear,jar=app.jar,name=LoginAction,service=EJB3>" (should be in state "Described", but is actually in state "** UNRESOLVED Demands 'jndi:taas/ServiceProviderDaoImpl/local-pku.ss.taas.dao.ServiceProviderDaoLocal' **")
                       Dependency "<UNKNOWN jboss.j2ee:ear=taas.ear,jar=app.jar,name=LoginAction,service=EJB3>" (should be in state "Described", but is actually in state "** UNRESOLVED Demands 'jndi:taas/SysManagerDaoImpl/local-pku.ss.taas.dao.SysManagerDaoLocal' **")
                       Deployment "jboss.j2ee:ear=taas.ear,jar=app.jar,name=ServiceProviderDaoImpl,service=EJB3" is missing the following dependencies:
                       Dependency "interface org.jboss.ejb3.timerservice.spi.TimerServiceFactory" (should be in state "Configured", but is actually in state "** NOT FOUND interface org.jboss.ejb3.timerservice.spi.TimerServiceFactory (NOTE: using autowiring to resolve this dependency) **")
                       Deployment "jboss.j2ee:ear=taas.ear,jar=app.jar,name=SysCPCapAddAction,service=EJB3" is missing the following dependencies:
                       Dependency "<UNKNOWN jboss.j2ee:ear=taas.ear,jar=app.jar,name=SysCPCapAddAction,service=EJB3>" (should be in state "Described", but is actually in state "** UNRESOLVED Demands 'jndi:taas/TestCapabilityDaoImpl/local-pku.ss.taas.dao.TestCapabilityDaoLocal' **")
                       Deployment "jboss.j2ee:ear=taas.ear,jar=app.jar,name=SysCPCapModifyAction,service=EJB3" is missing the following dependencies:
                       Dependency "<UNKNOWN jboss.j2ee:ear=taas.ear,jar=app.jar,name=SysCPCapModifyAction,service=EJB3>" (should be in state "Described", but is actually in state "** UNRESOLVED Demands 'jndi:taas/TestCapabilityDaoImpl/local-pku.ss.taas.dao.TestCapabilityDaoLocal' **")
                       Deployment "jboss.j2ee:ear=taas.ear,jar=app.jar,name=SysCPDisProManageAction,service=EJB3" is missing the following dependencies:
                       Dependency "<UNKNOWN jboss.j2ee:ear=taas.ear,jar=app.jar,name=SysCPDisProManageAction,service=EJB3>" (should be in state "Described", but is actually in state "** UNRESOLVED Demands 'jndi:taas/ServiceProviderDaoImpl/local-pku.ss.taas.dao.ServiceProviderDaoLocal' **")
                       Deployment "jboss.j2ee:ear=taas.ear,jar=app.jar,name=SysCPServiceCapAction,service=EJB3" is missing the following dependencies:
                       Dependency "<UNKNOWN jboss.j2ee:ear=taas.ear,jar=app.jar,name=SysCPServiceCapAction,service=EJB3>" (should be in state "Described", but is actually in state "** UNRESOLVED Demands 'jndi:taas/TestCapabilityDaoImpl/local-pku.ss.taas.dao.TestCapabilityDaoLocal' **")
                       Deployment "jboss.j2ee:ear=taas.ear,jar=app.jar,name=SysMainAction,service=EJB3" is missing the following dependencies:
                       Dependency "<UNKNOWN jboss.j2ee:ear=taas.ear,jar=app.jar,name=SysMainAction,service=EJB3>" (should be in state "Described", but is actually in state "** UNRESOLVED Demands 'jndi:taas/ServiceProviderDaoImpl/local-pku.ss.taas.dao.ServiceProviderDaoLocal' **")
                       Deployment "jboss.j2ee:ear=taas.ear,jar=app.jar,name=SysManagerDaoImpl,service=EJB3" is missing the following dependencies:
                       Dependency "interface org.jboss.ejb3.timerservice.spi.TimerServiceFactory" (should be in state "Configured", but is actually in state "** NOT FOUND interface org.jboss.ejb3.timerservice.spi.TimerServiceFactory (NOTE: using autowiring to resolve this dependency) **")
                       Deployment "jboss.j2ee:ear=taas.ear,jar=app.jar,name=TestAction,service=EJB3" is missing the following dependencies:
                       Dependency "<UNKNOWN jboss.j2ee:ear=taas.ear,jar=app.jar,name=TestAction,service=EJB3>" (should be in state "Described", but is actually in state "** UNRESOLVED Demands 'jndi:taas/ServiceProviderDaoImpl/local-pku.ss.taas.dao.ServiceProviderDaoLocal' **")
                       Deployment "jboss.j2ee:ear=taas.ear,jar=app.jar,name=TestCapabilityDaoImpl,service=EJB3" is missing the following dependencies:
                       Dependency "interface org.jboss.ejb3.timerservice.spi.TimerServiceFactory" (should be in state "Configured", but is actually in state "** NOT FOUND interface org.jboss.ejb3.timerservice.spi.TimerServiceFactory (NOTE: using autowiring to resolve this dependency) **")
                       Deployment "jboss.j2ee:ear=taas.ear,jar=app.jar,name=TestServiceDaoImpl,service=EJB3" is missing the following dependencies:
                       Dependency "interface org.jboss.ejb3.timerservice.spi.TimerServiceFactory" (should be in state "Configured", but is actually in state "** NOT FOUND interface org.jboss.ejb3.timerservice.spi.TimerServiceFactory (NOTE: using autowiring to resolve this dependency) **")
                       Deployment "jboss.j2ee:ear=taas.ear,jar=app.jar,name=TestServiceOperDaoImpl,service=EJB3" is missing the following dependencies:
                       Dependency "interface org.jboss.ejb3.timerservice.spi.TimerServiceFactory" (should be in state "Configured", but is actually in state "** NOT FOUND interface org.jboss.ejb3.timerservice.spi.TimerServiceFactory (NOTE: using autowiring to resolve this dependency) **")
                       Deployment "jboss.j2ee:ear=taas.ear,jar=app.jar,name=TestServiceOperIODaoImpl,service=EJB3" is missing the following dependencies:
                       Dependency "interface org.jboss.ejb3.timerservice.spi.TimerServiceFactory" (should be in state "Configured", but is actually in state "** NOT FOUND interface org.jboss.ejb3.timerservice.spi.TimerServiceFactory (NOTE: using autowiring to resolve this dependency) **")
                       Deployment "jboss.j2ee:ear=taas.ear,jar=app.jar,name=UtilImpl,service=EJB3" is missing the following dependencies:
                       Dependency "interface org.jboss.ejb3.timerservice.spi.TimerServiceFactory" (should be in state "Configured", but is actually in state "** NOT FOUND interface org.jboss.ejb3.timerservice.spi.TimerServiceFactory (NOTE: using autowiring to resolve this dependency) **")
                       Deployment "jboss.j2ee:ear=taas.ear,jar=app.jar,name=ViewServiceOfProAction,service=EJB3" is missing the following dependencies:
                       Dependency "<UNKNOWN jboss.j2ee:ear=taas.ear,jar=app.jar,name=ViewServiceOfProAction,service=EJB3>" (should be in state "Described", but is actually in state "** UNRESOLVED Demands 'jndi:taas/TestServiceDaoImpl/local-pku.ss.taas.dao.TestServiceDaoLocal' **")
                       Dependency "<UNKNOWN jboss.j2ee:ear=taas.ear,jar=app.jar,name=ViewServiceOfProAction,service=EJB3>" (should be in state "Described", but is actually in state "** UNRESOLVED Demands 'jndi:taas/ServiceProviderDaoImpl/local-pku.ss.taas.dao.ServiceProviderDaoLocal' **")
                       Deployment "jboss.j2ee:ear=taas.ear,jar=jboss-seam.jar,name=TimerServiceDispatcher,service=EJB3" is missing the following dependencies:
                       Dependency "interface org.jboss.ejb3.timerservice.spi.TimerServiceFactory" (should be in state "Configured", but is actually in state "** NOT FOUND interface org.jboss.ejb3.timerservice.spi.TimerServiceFactory (NOTE: using autowiring to resolve this dependency) **")
                       Deployment "jboss.j2ee:ear=taas.ear,jar=taas.ear,name=TimerServiceDispatcher,service=EJB3" is missing the following dependencies:
                       Dependency "interface org.jboss.ejb3.timerservice.spi.TimerServiceFactory" (should be in state "Configured", but is actually in state "** NOT FOUND interface org.jboss.ejb3.timerservice.spi.TimerServiceFactory (NOTE: using autowiring to resolve this dependency) **")
                      
                      DEPLOYMENTS IN ERROR:
                       Deployment "<UNKNOWN jboss.j2ee:ear=taas.ear,jar=app.jar,name=SysCPCapModifyAction,service=EJB3>" is in error due to the following reason(s): ** UNRESOLVED Demands 'jndi:taas/TestCapabilityDaoImpl/local-pku.ss.taas.dao.TestCapabilityDaoLocal' **
                       Deployment "<UNKNOWN jboss.j2ee:ear=taas.ear,jar=app.jar,name=LoginAction,service=EJB3>" is in error due to the following reason(s): ** UNRESOLVED Demands 'jndi:taas/SysManagerDaoImpl/local-pku.ss.taas.dao.SysManagerDaoLocal' **, ** UNRESOLVED Demands 'jndi:taas/UtilImpl/local-pku.ss.taas.util.UtilLocal' **, ** UNRESOLVED Demands 'jndi:taas/ServiceProviderDaoImpl/local-pku.ss.taas.dao.ServiceProviderDaoLocal' **
                       Deployment "<UNKNOWN jboss.j2ee:ear=taas.ear,jar=app.jar,name=SysCPServiceCapAction,service=EJB3>" is in error due to the following reason(s): ** UNRESOLVED Demands 'jndi:taas/TestCapabilityDaoImpl/local-pku.ss.taas.dao.TestCapabilityDaoLocal' **
                       Deployment "<UNKNOWN jboss.j2ee:ear=taas.ear,jar=app.jar,name=SysMainAction,service=EJB3>" is in error due to the following reason(s): ** UNRESOLVED Demands 'jndi:taas/ServiceProviderDaoImpl/local-pku.ss.taas.dao.ServiceProviderDaoLocal' **
                       Deployment "<UNKNOWN jboss.j2ee:ear=taas.ear,jar=app.jar,name=SysCPCapAddAction,service=EJB3>" is in error due to the following reason(s): ** UNRESOLVED Demands 'jndi:taas/TestCapabilityDaoImpl/local-pku.ss.taas.dao.TestCapabilityDaoLocal' **
                       Deployment "<UNKNOWN jboss.j2ee:ear=taas.ear,jar=app.jar,name=SysCPDisProManageAction,service=EJB3>" is in error due to the following reason(s): ** UNRESOLVED Demands 'jndi:taas/ServiceProviderDaoImpl/local-pku.ss.taas.dao.ServiceProviderDaoLocal' **
                       Deployment "interface org.jboss.ejb3.timerservice.spi.TimerServiceFactory" is in error due to the following reason(s): ** NOT FOUND interface org.jboss.ejb3.timerservice.spi.TimerServiceFactory (NOTE: using autowiring to resolve this dependency) **
                       Deployment "<UNKNOWN jboss.j2ee:ear=taas.ear,jar=app.jar,name=TestAction,service=EJB3>" is in error due to the following reason(s): ** UNRESOLVED Demands 'jndi:taas/ServiceProviderDaoImpl/local-pku.ss.taas.dao.ServiceProviderDaoLocal' **
                       Deployment "<UNKNOWN jboss.j2ee:ear=taas.ear,jar=app.jar,name=ViewServiceOfProAction,service=EJB3>" is in error due to the following reason(s): ** UNRESOLVED Demands 'jndi:taas/TestServiceDaoImpl/local-pku.ss.taas.dao.TestServiceDaoLocal' **, ** UNRESOLVED Demands 'jndi:taas/ServiceProviderDaoImpl/local-pku.ss.taas.dao.ServiceProviderDaoLocal' **
                      
                       at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:863)
                       at org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployerImpl.java:806)
                       at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:293)
                       at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:221)
                       at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
                       at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
                       at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
                       at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
                       at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:181)
                       at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:205)
                       at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
                       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
                       at java.lang.Thread.run(Thread.java:619)


                      I use jboss as 5.0.1.

                      • 8. Re: HELP, org.jboss.ejb3.common.registrar.spi.DuplicateBindE
                        Andrew Rubinger Master

                        EJB3 Plugin 1.0.4 is for AS 5.1.0.Beta1; try there?

                        S,
                        ALR