4 Replies Latest reply on Jun 10, 2008 8:02 AM by Scott Stark

    Seam order or JBAS-5190

    Ales Justin Master

      As discussed, I've added the following comparator/order numbers to our structure deployers:

      All -ds.xml deployments go before anything else.

       <bean name="dsContextComparator" class="org.jboss.system.deployers.DsDeploymentContextComparator"/>
      
       <!-- The MainDeployer -->
       <bean name="MainDeployer" class="org.jboss.deployers.plugins.main.MainDeployerImpl">
       <property name="structuralDeployers"><inject bean="StructuralDeployers"/></property>
       <property name="deployers"><inject bean="Deployers"/></property>
       <property name="mgtDeploymentCreator"><inject bean="ManagedDeploymentCreator"/></property>
       <property name="comparator"><inject bean="dsContextComparator"/></property>
       </bean>
      


      War's have the biggest relative order - picked by default deployment context:
       <bean name="WARStructure" class="org.jboss.deployers.vfs.plugins.structure.war.WARStructure">
       <property name="webInfLibFilter">
       <!-- We accept all .jar files in WEB-INF/lib -->
       <bean name="WebInfLibFilter" class="org.jboss.virtual.plugins.vfs.helpers.SuffixMatchFilter">
       <constructor><parameter class="java.lang.String">.jar</parameter></constructor>
       </bean>
       </property>
       <property name="contextInfoOrder">1000</property>
       </bean>
      


      Looking at the log, afaik I got the expected order:

      DS created and started:
      2008-06-09 14:08:22,369 DEBUG [org.jboss.system.ServiceCreator] (HDScanner) About to create bean: jboss.jca:service=ManagedConnectionPool,name=dvdDatasource with code: org.jboss.resource.connectionmanager.JBossManagedConnectionPool
      2008-06-09 14:08:22,385 DEBUG [org.jboss.system.ServiceCreator] (HDScanner) Created mbean: jboss.jca:service=ManagedConnectionPool,name=dvdDatasource
      2008-06-09 14:08:22,385 DEBUG [org.jboss.system.ServiceConfigurator] (HDScanner) PoolJndiName set to dvdDatasource in jboss.jca:service=ManagedConnectionPool,name=dvdDatasource
      2008-06-09 14:08:22,385 DEBUG [org.jboss.system.ServiceConfigurator] (HDScanner) MinSize set to 0 in jboss.jca:service=ManagedConnectionPool,name=dvdDatasource
      2008-06-09 14:08:22,385 DEBUG [org.jboss.system.ServiceConfigurator] (HDScanner) MaxSize set to 10 in jboss.jca:service=ManagedConnectionPool,name=dvdDatasource
      2008-06-09 14:08:22,385 DEBUG [org.jboss.system.ServiceConfigurator] (HDScanner) BlockingTimeoutMillis set to 30000 in jboss.jca:service=ManagedConnectionPool,name=dvdDatasource
      2008-06-09 14:08:22,385 DEBUG [org.jboss.system.ServiceConfigurator] (HDScanner) IdleTimeoutMinutes set to 30 in jboss.jca:service=ManagedConnectionPool,name=dvdDatasource
      2008-06-09 14:08:22,385 DEBUG [org.jboss.system.ServiceConfigurator] (HDScanner) BackGroundValidationMillis set to 0 in jboss.jca:service=ManagedConnectionPool,name=dvdDatasource
      2008-06-09 14:08:22,385 DEBUG [org.jboss.system.ServiceConfigurator] (HDScanner) PreFill set to false in jboss.jca:service=ManagedConnectionPool,name=dvdDatasource
      2008-06-09 14:08:22,385 DEBUG [org.jboss.system.ServiceConfigurator] (HDScanner) StrictMin set to false in jboss.jca:service=ManagedConnectionPool,name=dvdDatasource
      2008-06-09 14:08:22,385 DEBUG [org.jboss.system.ServiceConfigurator] (HDScanner) StatisticsFormatter set to org.jboss.resource.statistic.pool.JBossDefaultSubPoolStatisticFormatter in jboss.jca:service=ManagedConnectionPool,name=dvdDatasource
      2008-06-09 14:08:22,385 DEBUG [org.jboss.system.ServiceConfigurator] (HDScanner) Criteria set to ByNothing in jboss.jca:service=ManagedConnectionPool,name=dvdDatasource
      2008-06-09 14:08:22,385 DEBUG [org.jboss.system.ServiceConfigurator] (HDScanner) ManagedConnectionFactoryName set to jboss.jca:service=ManagedConnectionFactory,name=dvdDatasource in jboss.jca:service=ManagedConnectionPool,name=dvdDatasource
      2008-06-09 14:08:22,385 DEBUG [org.jboss.system.ServiceController] (HDScanner) Creating service jboss.jca:service=ManagedConnectionPool,name=dvdDatasource
      2008-06-09 14:08:22,385 DEBUG [org.jboss.resource.connectionmanager.JBossManagedConnectionPool] (HDScanner) Creating jboss.jca:service=ManagedConnectionPool,name=dvdDatasource
      2008-06-09 14:08:22,385 DEBUG [org.jboss.resource.connectionmanager.JBossManagedConnectionPool] (HDScanner) Created jboss.jca:service=ManagedConnectionPool,name=dvdDatasource
      2008-06-09 14:08:22,385 DEBUG [org.jboss.system.ServiceController] (HDScanner) starting service jboss.jca:service=ManagedConnectionPool,name=dvdDatasource
      2008-06-09 14:08:22,385 DEBUG [org.jboss.resource.connectionmanager.JBossManagedConnectionPool] (HDScanner) Starting jboss.jca:service=ManagedConnectionPool,name=dvdDatasource
      2008-06-09 14:08:22,385 DEBUG [org.jboss.resource.connectionmanager.JBossManagedConnectionPool] (HDScanner) Started jboss.jca:service=ManagedConnectionPool,name=dvdDatasource
      2008-06-09 14:08:22,385 DEBUG [org.jboss.system.ServiceCreator] (HDScanner) About to create bean: jboss.jca:service=LocalTxCM,name=dvdDatasource with code: org.jboss.resource.connectionmanager.TxConnectionManager
      2008-06-09 14:08:22,385 DEBUG [org.jboss.system.ServiceCreator] (HDScanner) Created mbean: jboss.jca:service=LocalTxCM,name=dvdDatasource
      2008-06-09 14:08:22,385 DEBUG [org.jboss.system.ServiceConfigurator] (HDScanner) JndiName set to dvdDatasource in jboss.jca:service=LocalTxCM,name=dvdDatasource
      2008-06-09 14:08:22,401 DEBUG [org.jboss.system.ServiceConfigurator] (HDScanner) SubjectFactory set to org.jboss.security.integration.JBossSecuritySubjectFactory@1a2b4a1 in jboss.jca:service=LocalTxCM,name=dvdDatasource
      2008-06-09 14:08:22,401 DEBUG [org.jboss.system.ServiceConfigurator] (HDScanner) CachedConnectionManager set to jboss.jca:service=CachedConnectionManager in jboss.jca:service=LocalTxCM,name=dvdDatasource
      2008-06-09 14:08:22,401 DEBUG [org.jboss.system.ServiceConfigurator] (HDScanner) JaasSecurityManagerService set to jboss.security:service=JaasSecurityManager in jboss.jca:service=LocalTxCM,name=dvdDatasource
      2008-06-09 14:08:22,401 DEBUG [org.jboss.system.ServiceConfigurator] (HDScanner) ManagedConnectionPool set to jboss.jca:service=ManagedConnectionPool,name=dvdDatasource in jboss.jca:service=LocalTxCM,name=dvdDatasource
      2008-06-09 14:08:22,401 DEBUG [org.jboss.system.ServiceConfigurator] (HDScanner) TransactionManagerService set to jboss:service=TransactionManager in jboss.jca:service=LocalTxCM,name=dvdDatasource
      2008-06-09 14:08:22,401 DEBUG [org.jboss.system.ServiceConfigurator] (HDScanner) LocalTransactions set to true in jboss.jca:service=LocalTxCM,name=dvdDatasource
      2008-06-09 14:08:22,401 DEBUG [org.jboss.system.ServiceConfigurator] (HDScanner) TrackConnectionByTx set to true in jboss.jca:service=LocalTxCM,name=dvdDatasource
      2008-06-09 14:08:22,401 DEBUG [org.jboss.system.ServiceController] (HDScanner) Creating service jboss.jca:service=LocalTxCM,name=dvdDatasource
      2008-06-09 14:08:22,401 DEBUG [org.jboss.resource.connectionmanager.TxConnectionManager] (HDScanner) Creating jboss.jca:service=LocalTxCM,name=dvdDatasource
      2008-06-09 14:08:22,401 DEBUG [org.jboss.resource.connectionmanager.TxConnectionManager] (HDScanner) Created jboss.jca:service=LocalTxCM,name=dvdDatasource
      2008-06-09 14:08:22,401 DEBUG [org.jboss.system.ServiceController] (HDScanner) starting service jboss.jca:service=LocalTxCM,name=dvdDatasource
      2008-06-09 14:08:22,401 DEBUG [org.jboss.resource.connectionmanager.TxConnectionManager] (HDScanner) Starting jboss.jca:service=LocalTxCM,name=dvdDatasource
      2008-06-09 14:08:22,401 DEBUG [org.jboss.resource.connectionmanager.TxConnectionManager] (HDScanner) Started jboss.jca:service=LocalTxCM,name=dvdDatasource
      2008-06-09 14:08:22,401 DEBUG [org.jboss.system.ServiceCreator] (HDScanner) About to create bean: jboss.jca:service=DataSourceBinding,name=dvdDatasource with code: org.jboss.resource.adapter.jdbc.remote.WrapperDataSourceService
      2008-06-09 14:08:22,401 DEBUG [org.jboss.system.ServiceCreator] (HDScanner) Created mbean: jboss.jca:service=DataSourceBinding,name=dvdDatasource
      2008-06-09 14:08:22,401 DEBUG [org.jboss.system.ServiceConfigurator] (HDScanner) JndiName set to dvdDatasource in jboss.jca:service=DataSourceBinding,name=dvdDatasource
      2008-06-09 14:08:22,401 DEBUG [org.jboss.system.ServiceConfigurator] (HDScanner) UseJavaContext set to true in jboss.jca:service=DataSourceBinding,name=dvdDatasource
      2008-06-09 14:08:22,401 DEBUG [org.jboss.system.ServiceConfigurator] (HDScanner) ConnectionManager set to jboss.jca:service=LocalTxCM,name=dvdDatasource in jboss.jca:service=DataSourceBinding,name=dvdDatasource
      2008-06-09 14:08:22,401 DEBUG [org.jboss.system.ServiceController] (HDScanner) Creating service jboss.jca:service=DataSourceBinding,name=dvdDatasource
      2008-06-09 14:08:22,401 DEBUG [org.jboss.resource.adapter.jdbc.remote.WrapperDataSourceService] (HDScanner) Creating jboss.jca:service=DataSourceBinding,name=dvdDatasource
      2008-06-09 14:08:22,401 DEBUG [org.jboss.resource.adapter.jdbc.remote.WrapperDataSourceService] (HDScanner) Created jboss.jca:service=DataSourceBinding,name=dvdDatasource
      2008-06-09 14:08:22,401 DEBUG [org.jboss.system.ServiceController] (HDScanner) starting service jboss.jca:service=DataSourceBinding,name=dvdDatasource
      


      War deployed as ServiceMetaData:
      2008-06-09 14:09:00,119 DEBUG [org.jboss.system.ServiceCreator] (HDScanner) About to create bean: jboss.web.deployment:war=/seam-dvd with code: org.jboss.web.deployers.WebModule
      2008-06-09 14:09:00,119 DEBUG [org.jboss.system.ServiceCreator] (HDScanner) Created mbean: jboss.web.deployment:war=/seam-dvd
      2008-06-09 14:09:00,119 DEBUG [org.jboss.system.ServiceConfigurator] (HDScanner) SecurityManagement set to org.jboss.security.integration.JNDIBasedSecurityManagement@162db22 in jboss.web.deployment:war=/seam-dvd
      2008-06-09 14:09:00,119 DEBUG [org.jboss.system.ServiceConfigurator] (HDScanner) PolicyRegistration set to org.jboss.security.plugins.JBossPolicyRegistration@8ea496 in jboss.web.deployment:war=/seam-dvd
      2008-06-09 14:09:00,119 DEBUG [org.jboss.system.ServiceController] (HDScanner) Creating service jboss.web.deployment:war=/seam-dvd
      2008-06-09 14:09:00,119 DEBUG [org.jboss.system.ServiceController] (HDScanner) starting service jboss.web.deployment:war=/seam-dvd
      2008-06-09 14:09:00,119 DEBUG [org.jboss.web.tomcat.service.deployers.TomcatDeployment] (HDScanner) webContext: /seam-dvd
      2008-06-09 14:09:00,119 DEBUG [org.jboss.web.tomcat.service.deployers.TomcatDeployment] (HDScanner) warURL: file:/C:/projects/jboss5/trunk/build/output/jboss-5.0.0.CR1/server/default/tmp/deploy/jboss-seam-dvd36225-exp.war/
      2008-06-09 14:09:00,119 INFO [org.jboss.web.tomcat.service.deployers.TomcatDeployment] (HDScanner) deploy, ctxPath=/seam-dvd, vfsUrl=jboss-seam-dvd.ear/jboss-seam-dvd.war
      2008-06-09 14:09:00,119 DEBUG [org.jboss.web.tomcat.service.deployers.TomcatDeployment] (HDScanner) Using session cookies default setting
      2008-06-09 14:09:00,135 DEBUG [org.jboss.web.tomcat.service.WebCtxLoader] (HDScanner) injectionContainer enabled and processing beginning with JBoss WebCtxLoader
      


      But I still get what we used to get - indexer starting in web's servlet listener failing.
      2008-06-09 14:09:20,916 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/seam-dvd]] (HDScanner) Exception sending context initialized event to listener instance of class org.jboss.seam.servlet.SeamListener
      org.jboss.seam.InstantiationException: Could not instantiate Seam component: indexer
       at org.jboss.seam.Component.newInstance(Component.java:1986)
       at org.jboss.seam.contexts.Contexts.startup(Contexts.java:304)
       at org.jboss.seam.contexts.Contexts.startup(Contexts.java:278)
       at org.jboss.seam.contexts.ServletLifecycle.endInitialization(ServletLifecycle.java:95)
       at org.jboss.seam.init.Initialization.init(Initialization.java:596)
       at org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:34)
       at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3862)
       at org.apache.catalina.core.StandardContext.start(StandardContext.java:4356)
       at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:346)
       at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:139)
       at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:431)
       at org.jboss.web.deployers.WebModule.startModule(WebModule.java:112)
       at org.jboss.web.deployers.WebModule.start(WebModule.java:90)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java: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 $Proxy35.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:271)
       at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1392)
       at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:784)
       at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:912)
       at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:834)
       at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:672)
       at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:455)
       at org.jboss.system.ServiceController.doChange(ServiceController.java:664)
       at org.jboss.system.ServiceController.start(ServiceController.java:436)
       at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:150)
       at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:108)
       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:174)
       at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:970)
       at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:991)
       at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1023)
       at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:911)
       at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
       at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1392)
       at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:784)
       at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:912)
       at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:834)
       at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:672)
       at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:455)
       at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:594)
       at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:541)
       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:417)
       at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:280)
       at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:135)
       at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:65)
       at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:142)
       at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:166)
       at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
       at java.lang.Thread.run(Thread.java:595)
      Caused by: javax.naming.NameNotFoundException: jboss-seam-dvd not bound
       at org.jnp.server.NamingServer.getBinding(NamingServer.java:542)
       at org.jnp.server.NamingServer.getBinding(NamingServer.java:550)
       at org.jnp.server.NamingServer.getObject(NamingServer.java:556)
       at org.jnp.server.NamingServer.lookup(NamingServer.java:267)
       at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:669)
       at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:629)
       at javax.naming.InitialContext.lookup(InitialContext.java:351)
       at org.jboss.seam.Component.instantiateSessionBean(Component.java:1290)
       at org.jboss.seam.Component.instantiate(Component.java:1276)
       at org.jboss.seam.Component.newInstance(Component.java:1970)
       ... 68 more
      
      


      Does this exception still 'read' indexer is missing (started) ds?

        • 1. Re: Seam order or JBAS-5190
          Ales Justin Master

          Here I see IndexerAction being bound to MC:

          2008-06-09 14:08:38,963 INFO [org.jboss.ejb3.deployers.JBossASKernel] (HDScanner) installing bean: jboss.j2ee:ear=jboss-seam-dvd.ear,jar=jboss-seam-dvd.jar,name=IndexerAction,service=EJB3
          2008-06-09 14:08:38,963 INFO [org.jboss.ejb3.deployers.JBossASKernel] (HDScanner) with dependencies:
          2008-06-09 14:08:38,963 INFO [org.jboss.ejb3.deployers.JBossASKernel] (HDScanner) and demands:
          2008-06-09 14:08:38,963 INFO [org.jboss.ejb3.deployers.JBossASKernel] (HDScanner) persistence.units:ear=jboss-seam-dvd.ear,jar=jboss-seam-dvd.jar,unitName=dvdDatabase
          2008-06-09 14:08:38,963 INFO [org.jboss.ejb3.deployers.JBossASKernel] (HDScanner) jboss.ejb:service=EJBTimerService
          2008-06-09 14:08:38,963 INFO [org.jboss.ejb3.deployers.JBossASKernel] (HDScanner) and supplies:
          2008-06-09 14:08:38,963 INFO [org.jboss.ejb3.deployers.JBossASKernel] (HDScanner) jndi:IndexerAction/local
          2008-06-09 14:08:38,963 INFO [org.jboss.ejb3.deployers.JBossASKernel] (HDScanner) jndi:IndexerAction/local-com.jboss.dvd.seam.Indexer
          2008-06-09 14:08:38,963 INFO [org.jboss.ejb3.deployers.JBossASKernel] (HDScanner) Class:com.jboss.dvd.seam.Indexer
          2008-06-09 14:08:38,963 INFO [org.jboss.ejb3.deployers.JBossASKernel] (HDScanner) jndi:IndexerAction
          2008-06-09 14:08:38,963 INFO [org.jboss.ejb3.deployers.JBossASKernel] (HDScanner) Added bean(jboss.j2ee:ear=jboss-seam-dvd.ear,jar=jboss-seam-dvd.jar,name=IndexerAction,service=EJB3) to KernelDeployment of: jboss-seam-dvd.jar
          2008-06-09 14:08:38,963 DEBUG [org.jboss.ejb3.Ejb3Deployment] (HDScanner) Bound ejb3 container jboss.j2ee:ear=jboss-seam-dvd.ear,jar=jboss-seam-dvd.jar,name=IndexerAction,service=EJB3
          

          This is also what we had before, it was just that the ejb wasn't started soon enough.

          But this is not the case here.
          I can see this before the exception.
          Starting Indexer ejb.
          2008-06-09 14:08:58,307 INFO [org.jboss.ejb3.EJBContainer] (HDScanner) STARTED EJB: com.jboss.dvd.seam.IndexerAction ejbName: IndexerAction
          2008-06-09 14:08:58,307 DEBUG [org.jboss.ejb3.proxy.factory.ProxyFactoryHelper] (HDScanner) Obtaining JNDI name from policy org.jboss.ejb3.jndipolicy.impl.PackagingBasedJndiBindingPolicy
          2008-06-09 14:08:58,338 DEBUG [org.jboss.ejb3.proxy.factory.ProxyFactoryHelper] (HDScanner) Obtaining JNDI name from policy org.jboss.ejb3.jndipolicy.impl.PackagingBasedJndiBindingPolicy
          2008-06-09 14:08:58,338 DEBUG [org.jboss.ejb3.proxy.factory.stateful.BaseStatefulProxyFactory] (HDScanner) Binding reference for IndexerAction in JNDI at local
          2008-06-09 14:08:58,338 DEBUG [org.jboss.ejb3.cache.simple.StatefulSessionFilePersistenceManager] (HDScanner) Storing sessions for 'IndexerAction' in: C:\projects\jboss5\trunk\build\output\jboss-5.0.0.CR1\server\default\tmp\sessions\IndexerAction-fh90tm1u-1v
          2008-06-09 14:08:58,338 DEBUG [org.jboss.ejb3.cache.simple.StatefulSessionFilePersistenceManager] (HDScanner) Purging all session data in: C:\projects\jboss5\trunk\build\output\jboss-5.0.0.CR1\server\default\tmp\sessions\IndexerAction-fh90tm1u-1v
          2008-06-09 14:08:58,338 DEBUG [org.jboss.ejb3.cache.simple.SimpleStatefulCache.IndexerAction] (HDScanner) Initializing SimpleStatefulCache with maxSize: 100000 timeout: 300 for jboss.j2ee:ear=jboss-seam-dvd.ear,jar=jboss-seam-dvd.jar,name=IndexerAction,service=EJB3
          


          JNDI naming issue then?

          • 2. Re: Seam order or JBAS-5190
            Scott Stark Master

            Need to look at what the ejb3 information input into the proxy layer is. What bean is the jboss-seam-dvd jndi name supposed to reference? Show the corresponding "JBossASKernel] (HDScanner) installing bean" line from the log.

            • 3. Re: Seam order or JBAS-5190
              Ales Justin Master

               

              "scott.stark@jboss.org" wrote:
              Show the corresponding "JBossASKernel] (HDScanner) installing bean" line from the log.

              You already got it, it's the first line in my last post. ;-)
              "alesj" wrote:
              2008-06-09 14:08:38,963 INFO [org.jboss.ejb3.deployers.JBossASKernel] (HDScanner) installing bean:
              jboss.j2ee:ear=jboss-seam-dvd.ear,jar=jboss-seam-dvd.jar,name=IndexerAction,service=EJB3


              Or is there another one similar?



              • 4. Re: Seam order or JBAS-5190
                Scott Stark Master

                Ok, I see, the jboss-seam-dvd context is not bound. The default jndi naming policy is different now or being overriden by the server policy. We need to reconcile the defaults for earlier apps it appears.