9 Replies Latest reply: Apr 24, 2009 4:08 AM by jaikiran pai RSS

    5.0 CR1 - How to enforce deployment ordering within an EAR

    jaikiran pai Master

      System details:
      (Clean installation of) JBoss AS 5.0 CR1
      Sun Java 1.5
      Windows 2003 operating system


      Going by the issues reported by a couple of other users who have posted similar questions about the ordering of EJB (jar) and WAR deployment within an EAR, i decided to give it a try with a simple application EAR consisting of a EJB jar and a WAR file with the following order in the application.xml:

      <?xml version="1.0" encoding="UTF-8"?>
      
      <application>
       <display-name>MyEJB3</display-name>
      
       <module>
       <ejb>myapp_ejb3.jar</ejb>
       </module>
       <module>
       <web>
       <web-uri>myapp.war</web-uri>
       <context-root>/EJB3Persistence</context-root>
       </web>
       </module>
      
      </application>


      A startup servlet in the WAR does a bean lookup in the init method. When i deploy this application in 5.0 CR1, the deployment throws an exception about the bean not being bound. Later in the logs i see that the binding actually happens after the WAR is deployed and servlet inited.

      For JBoss-4.x, i know that the jboss-app.xml supported a module-order where we could override the default "implicit" deployment ordering by specifying the value as "strict". The module-order support is no longer available in 5.0 and looks intentional. Given this, is there any way the ordering can be forced based on the order in the application.xml?

      P.S: I decided to post this as a separate question instead of replying to one other post in the forum, thinking that the other issue might be specific to Seam.



        • 1. Re: 5.0 CR1 - How to enforce deployment ordering within an E
          jaikiran pai Master

          Relevant logs:


          ===============================================================================
          
           JBoss Bootstrap Environment
          
           JBOSS_HOME: D:\jboss-5.0.0.CR1
          
           JAVA: c:\jdk1.5.0_07\bin\java
          
           JAVA_OPTS: -Dprogram.name=run.bat -server -Xms128m -Xmx512m -XX:MaxPermSize=256m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000
          
           CLASSPATH: D:\jboss-5.0.0.CR1\bin\run.jar
          
          ===============================================================================
          
          14:28:50,954 INFO [ServerImpl] Starting JBoss (Microcontainer)...
          14:28:50,954 INFO [ServerImpl] Release ID: JBoss [Morpheus] 5.0.0.CR1 (build: SVNTag=JBoss_5_0_0_CR1 date=200806301254)
          14:28:50,970 INFO [ServerImpl] Home Dir: D:\jboss-5.0.0.CR1
          14:28:50,970 INFO [ServerImpl] Home URL: file:/D:/jboss-5.0.0.CR1/
          14:28:50,970 INFO [ServerImpl] Library URL: file:/D:/jboss-5.0.0.CR1/lib/
          14:28:50,970 INFO [ServerImpl] Patch URL: null
          14:28:50,970 INFO [ServerImpl] Server Name: jaikiran
          14:28:50,970 INFO [ServerImpl] Server Home Dir: D:\jboss-5.0.0.CR1\server\jaikiran
          14:28:50,970 INFO [ServerImpl] Server Home URL: file:/D:/jboss-5.0.0.CR1/server/jaikiran/
          14:28:50,970 INFO [ServerImpl] Server Data Dir: D:\jboss-5.0.0.CR1\server\jaikiran\data
          14:28:50,970 INFO [ServerImpl] Server Temp Dir: D:\jboss-5.0.0.CR1\server\jaikiran\tmp
          14:28:50,970 INFO [ServerImpl] Server Config URL: file:/D:/jboss-5.0.0.CR1/server/jaikiran/conf/
          14:28:50,970 INFO [ServerImpl] Server Library URL: file:/D:/jboss-5.0.0.CR1/server/jaikiran/lib/
          14:28:50,970 INFO [ServerImpl] Root Deployment Filename: jboss-service.xml
          14:28:52,048 INFO [ServerImpl] Starting Microcontainer, bootstrapURL=file:/D:/jboss-5.0.0.CR1/server/jaikiran/conf/bootstrap.xml
          14:28:54,720 INFO [CopyMechanism] VFS temp dir: D:\jboss-5.0.0.CR1\server\jaikiran\tmp
          14:28:54,720 INFO [ZipEntryContext] VFS force nested jars copy-mode is enabled.
          14:29:00,220 INFO [ServerInfo] Java version: 1.5.0_07,Sun Microsystems Inc.
          14:29:00,220 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM 1.5.0_07-b03,Sun Microsystems Inc.
          14:29:00,220 INFO [ServerInfo] OS-System: Windows 2003 5.2,x86
          14:29:00,408 INFO [JMXKernel] Legacy JMX core initialized
          14:29:02,908 INFO [MetaDataAwareProfile] Using profile root:D:\jboss-5.0.0.CR1\server\jaikiran
          14:29:06,627 INFO [WebService] Using RMI server codebase: http://ps3346:8083/
          14:29:25,471 WARN [HackClassloaderMetaDataDeployer] FIXME Using loader repository config: jboss.console:sar=console-mgr.sar for vfsfile:/D:/jboss-5.0.0.CR1/server/jaikiran/deploy/management/console-mgr.sar/ use classloading metadata not loader repository config
          14:29:26,440 INFO [AspectDeployer] Deploying xml into org.jboss.aop.AspectManager@12277ed for BaseClassLoader@1b17b4c{vfsfile:/D:/jboss-5.0.0.CR1/server/jaikiran/deploy/ejb3-interceptors-aop.xml}
          
          ......
          14:30:09,613 INFO [RAMJobStore] RAMJobStore initialized.
          14:30:09,613 INFO [StdSchedulerFactory] Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties'
          14:30:09,613 INFO [StdSchedulerFactory] Quartz scheduler version: 1.5.2
          14:30:09,613 INFO [QuartzScheduler] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started.
          14:30:10,785 INFO [STDOUT] ======> Creating interceptor metadata bridge
          14:30:12,770 INFO [JBossASKernel] Created KernelDeployment for: anotherapp_ejb3.jar
          14:30:12,785 INFO [JBossASKernel] installing bean: jboss.j2ee:ear=ZEJB3Persistence.ear,jar=anotherapp_ejb3.jar,name=AppManagerBean,service=EJB3
          14:30:12,785 INFO [JBossASKernel] with dependencies:
          14:30:12,785 INFO [JBossASKernel] and demands:
          14:30:12,785 INFO [JBossASKernel] jboss.ejb:service=EJBTimerService
          14:30:12,785 INFO [JBossASKernel] and supplies:
          14:30:12,785 INFO [JBossASKernel] jndi:AppManagerBean
          14:30:12,785 INFO [JBossASKernel] Class:org.myapp.ejb.AppManager
          14:30:12,785 INFO [JBossASKernel] jndi:ZEJB3Persistence/AppManagerBean/remote
          14:30:12,785 INFO [JBossASKernel] jndi:ZEJB3Persistence/AppManagerBean/remote-org.myapp.ejb.AppManager
          14:30:12,785 INFO [JBossASKernel] Added bean(jboss.j2ee:ear=ZEJB3Persistence.ear,jar=anotherapp_ejb3.jar,name=AppManagerBean,service=EJB3) to KernelDeployment of: anotherapp_ejb3.jar
          14:30:12,817 INFO [STDOUT] ======> Creating interceptor metadata bridge
          14:30:12,957 WARN [Ejb3AnnotationHandler] JBMETA-4: did not find any bean meta data for annotation bean MyServiceImpl, will create some
          14:30:12,957 INFO [STDOUT] ======> Creating interceptor metadata bridge
          14:30:13,004 INFO [JBossASKernel] Created KernelDeployment for: myapp_ejb3.jar
          14:30:13,004 INFO [JBossASKernel] installing bean: persistence.units:ear=ZEJB3Persistence.ear,jar=myapp_ejb3.jar,unitName=EJB3Persistence
          14:30:13,004 INFO [JBossASKernel] with dependencies:
          14:30:13,004 INFO [JBossASKernel] and demands:
          14:30:13,004 INFO [JBossASKernel] jboss.jca:name=EJB3PersistenceDS,service=DataSourceBinding
          14:30:13,004 INFO [JBossASKernel] and supplies:
          14:30:13,004 INFO [JBossASKernel] persistence.units:unitName=EJB3Persistence
          14:30:13,004 INFO [JBossASKernel] Added bean(persistence.units:ear=ZEJB3Persistence.ear,jar=myapp_ejb3.jar,unitName=EJB3Persistence) to KernelDeployment of: myapp_ejb3.jar
          14:30:13,082 INFO [JBossASKernel] installing bean: jboss.j2ee:ear=ZEJB3Persistence.ear,jar=myapp_ejb3.jar,name=UserManagerBean,service=EJB3
          14:30:13,082 INFO [JBossASKernel] with dependencies:
          14:30:13,082 INFO [JBossASKernel] and demands:
          14:30:13,082 INFO [JBossASKernel] persistence.units:ear=ZEJB3Persistence.ear,jar=myapp_ejb3.jar,unitName=EJB3Persistence
          14:30:13,082 INFO [JBossASKernel] jndi:AppManagerRemote
          14:30:13,082 INFO [JBossASKernel] jboss.ejb:service=EJBTimerService
          14:30:13,082 INFO [JBossASKernel] and supplies:
          14:30:13,082 INFO [JBossASKernel] Class:org.myapp.ejb.UserManagerRemote
          14:30:13,082 INFO [JBossASKernel] jndi:ZEJB3Persistence/UserManagerBean/local-org.myapp.ejb.UserManagerLocal
          14:30:13,082 INFO [JBossASKernel] Class:org.myapp.ejb.UserManagerLocal
          14:30:13,082 INFO [JBossASKernel] jndi:ZEJB3Persistence/UserManagerBean/remote
          14:30:13,082 INFO [JBossASKernel] jndi:ZEJB3Persistence/UserManagerBean/local
          14:30:13,082 INFO [JBossASKernel] jndi:ZEJB3Persistence/UserManagerBean/remote-org.myapp.ejb.UserManagerRemote
          14:30:13,082 INFO [JBossASKernel] jndi:testMappedNameJai
          14:30:13,082 INFO [JBossASKernel] Added bean(jboss.j2ee:ear=ZEJB3Persistence.ear,jar=myapp_ejb3.jar,name=UserManagerBean,service=EJB3) to KernelDeployment of: myapp_ejb3.jar
          14:30:13,082 INFO [JBossASKernel] installing bean: jboss.j2ee:ear=ZEJB3Persistence.ear,jar=myapp_ejb3.jar,name=MyServiceImpl,service=EJB3
          14:30:13,082 INFO [JBossASKernel] with dependencies:
          14:30:13,082 INFO [JBossASKernel] and demands:
          14:30:13,082 INFO [JBossASKernel] jboss.ejb:service=EJBTimerService
          14:30:13,082 INFO [JBossASKernel] and supplies:
          14:30:13,082 INFO [JBossASKernel] Class:org.myapp.service.MyService
          14:30:13,082 INFO [JBossASKernel] Added bean(jboss.j2ee:ear=ZEJB3Persistence.ear,jar=myapp_ejb3.jar,name=MyServiceImpl,service=EJB3) to KernelDeployment of: myapp_ejb3.jar
          14:30:13,160 WARN [WebServiceDeployerEJB] Ingore ejb deployment with null classname: org.jboss.metadata.ejb.jboss.JBossServiceBeanMetaData@50d40109{MyServiceImpl}
          14:30:13,676 INFO [NativeServerConfig] JBoss Web Services - Stack Native Core
          14:30:13,676 INFO [NativeServerConfig] 3.0.2.GA
          14:30:16,411 INFO [TomcatDeployment] deploy, ctxPath=/jmx-console, vfsUrl=jmx-console.war
          14:30:17,161 INFO [TomcatDeployment] deploy, ctxPath=/, vfsUrl=ROOT.war
          14:30:17,239 INFO [TomcatDeployment] deploy, ctxPath=/jbossws, vfsUrl=jbossws.sar/jbossws-management.war
          14:30:17,333 INFO [TomcatDeployment] deploy, ctxPath=/invoker, vfsUrl=http-invoker.sar/invoker.war
          14:30:17,551 INFO [TomcatDeployment] deploy, ctxPath=/EJB3Persistence, vfsUrl=ZEJB3Persistence.ear/myapp.war
           14:30:17,676 INFO [STDOUT] ERROR---> RemoteUserManagerBean lookup failed
           14:30:17,676 ERROR [STDERR] javax.naming.NameNotFoundException: RemoteUserManagerBean not bound
           14:30:17,676 ERROR [STDERR] at org.jnp.server.NamingServer.getBinding(NamingServer.java:542)
          14:30:17,676 ERROR [STDERR] at org.jnp.server.NamingServer.getBinding(NamingServer.java:550)
          14:30:17,676 ERROR [STDERR] at org.jnp.server.NamingServer.getObject(NamingServer.java:556)
          14:30:17,676 ERROR [STDERR] at org.jnp.server.NamingServer.lookup(NamingServer.java:296)
          14:30:17,676 ERROR [STDERR] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:669)
          14:30:17,676 ERROR [STDERR] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:629)
          14:30:17,676 ERROR [STDERR] at javax.naming.InitialContext.lookup(InitialContext.java:351)
          14:30:17,676 ERROR [STDERR] at org.myapp.servlet.MyStartupServlet.init(MyStartupServlet.java:27)
          14:30:17,676 ERROR [STDERR] at javax.servlet.GenericServlet.init(GenericServlet.java:212)
          14:30:17,676 ERROR [STDERR] at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1048)
          14:30:17,676 ERROR [STDERR] at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:950)
          14:30:17,676 ERROR [STDERR] at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4074)
          14:30:17,676 ERROR [STDERR] at org.apache.catalina.core.StandardContext.start(StandardContext.java:4384)
          14:30:17,676 ERROR [STDERR] at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:346)
          14:30:17,676 ERROR [STDERR] at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:139)
          14:30:17,676 ERROR [STDERR] at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:431)
          14:30:17,676 ERROR [STDERR] at org.jboss.web.deployers.WebModule.startModule(WebModule.java:112)
          14:30:17,676 ERROR [STDERR] at org.jboss.web.deployers.WebModule.start(WebModule.java:90)
          14:30:17,676 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          14:30:17,676 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
          14:30:17,676 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
          14:30:17,676 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
          14:30:17,676 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
          14:30:17,676 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
          14:30:17,676 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
          14:30:17,676 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
          14:30:17,676 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
          14:30:17,676 ERROR [STDERR] at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206)
          14:30:17,676 ERROR [STDERR] at $Proxy35.start(Unknown Source)
          14:30:17,676 ERROR [STDERR] at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42)
          14:30:17,676 ERROR [STDERR] at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:37)
          14:30:17,676 ERROR [STDERR] at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
          14:30:17,676 ERROR [STDERR] at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
          14:30:17,676 ERROR [STDERR] at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
          14:30:17,676 ERROR [STDERR] at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
          14:30:17,676 ERROR [STDERR] at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:271)
          14:30:17,676 ERROR [STDERR] at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1392)
          14:30:17,676 ERROR [STDERR] at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:784)
          14:30:17,676 ERROR [STDERR] at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:912)
          14:30:17,676 ERROR [STDERR] at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:834)
          14:30:17,676 ERROR [STDERR] at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:624)
          14:30:17,676 ERROR [STDERR] at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:442)
          14:30:17,676 ERROR [STDERR] at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:88)
          14:30:17,676 ERROR [STDERR] at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:46)
          14:30:17,676 ERROR [STDERR] at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)
          14:30:17,676 ERROR [STDERR] at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
          14:30:17,676 ERROR [STDERR] at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:174)
          14:30:17,676 ERROR [STDERR] at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:970)
          14:30:17,676 ERROR [STDERR] at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:991)
          14:30:17,676 ERROR [STDERR] at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:911)
          14:30:17,676 ERROR [STDERR] at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
          14:30:17,676 ERROR [STDERR] at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1392)
          14:30:17,676 ERROR [STDERR] at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:784)
          14:30:17,676 ERROR [STDERR] at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:912)
          14:30:17,676 ERROR [STDERR] at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:834)
          14:30:17,676 ERROR [STDERR] at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:672)
          14:30:17,676 ERROR [STDERR] at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:455)
          14:30:17,676 ERROR [STDERR] at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:594)
          14:30:17,676 ERROR [STDERR] at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:541)
          14:30:17,676 ERROR [STDERR] at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:257)
          14:30:17,676 ERROR [STDERR] at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:135)
          14:30:17,676 ERROR [STDERR] at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:409)
          14:30:17,676 ERROR [STDERR] at org.jboss.Main.boot(Main.java:209)
          14:30:17,676 ERROR [STDERR] at org.jboss.Main$1.run(Main.java:544)
          14:30:17,676 ERROR [STDERR] at java.lang.Thread.run(Thread.java:595)
          14:30:17,676 ERROR [[/EJB3Persistence]] StandardWrapper.Throwable
          java.lang.RuntimeException: javax.naming.NameNotFoundException: RemoteUserManagerBean not bound
           at org.myapp.servlet.MyStartupServlet.init(MyStartupServlet.java:33)
           at javax.servlet.GenericServlet.init(GenericServlet.java:212)
           at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1048)
           at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:950)
           at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4074)
           at org.apache.catalina.core.StandardContext.start(StandardContext.java:4384)
           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.install(AbstractController.java:624)
           at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:442)
           at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:88)
           at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.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.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.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:257)
           at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:135)
           at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:409)
           at org.jboss.Main.boot(Main.java:209)
           at org.jboss.Main$1.run(Main.java:544)
           at java.lang.Thread.run(Thread.java:595)
          Caused by: javax.naming.NameNotFoundException: RemoteUserManagerBean not bound
           at org.jnp.server.NamingServer.getBinding(NamingServer.java:542)
           at org.jnp.server.NamingServer.getBinding(NamingServer.java:550)
           at org.jnp.server.NamingServer.getObject(NamingServer.java:556)
           at org.jnp.server.NamingServer.lookup(NamingServer.java:296)
           at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:669)
           at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:629)
           at javax.naming.InitialContext.lookup(InitialContext.java:351)
           at org.myapp.servlet.MyStartupServlet.init(MyStartupServlet.java:27)
           ... 57 more
          14:30:17,692 ERROR [[/EJB3Persistence]] Servlet /EJB3Persistence threw load() exception
          javax.naming.NameNotFoundException: RemoteUserManagerBean not bound
           at org.jnp.server.NamingServer.getBinding(NamingServer.java:542)
           at org.jnp.server.NamingServer.getBinding(NamingServer.java:550)
           at org.jnp.server.NamingServer.getObject(NamingServer.java:556)
           at org.jnp.server.NamingServer.lookup(NamingServer.java:296)
           at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:669)
           at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:629)
           at javax.naming.InitialContext.lookup(InitialContext.java:351)
           at org.myapp.servlet.MyStartupServlet.init(MyStartupServlet.java:27)
           at javax.servlet.GenericServlet.init(GenericServlet.java:212)
           at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1048)
           at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:950)
           at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4074)
           at org.apache.catalina.core.StandardContext.start(StandardContext.java:4384)
           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.install(AbstractController.java:624)
           at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:442)
           at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:88)
           at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.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.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.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:257)
           at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:135)
           at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:409)
           at org.jboss.Main.boot(Main.java:209)
           at org.jboss.Main$1.run(Main.java:544)
           at java.lang.Thread.run(Thread.java:595)
          14:30:17,708 INFO [TomcatDeployment] deploy, ctxPath=/web-console, vfsUrl=management/console-mgr.sar/web-console.war
          14:30:18,364 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=EJB3PersistenceDS' to JNDI name 'java:EJB3PersistenceDS'
          14:30:18,364 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS'
          14:30:19,145 WARN [QuartzTimerServiceFactory] sql failed: CREATE TABLE QRTZ_JOB_DETAILS(JOB_NAME VARCHAR(80) NOT NULL, JOB_GROUP VARCHAR(80) NOT NULL, DESCRIPTION VARCHAR(120) NULL, JOB_CLASS_NAME VARCHAR(128) NOT NULL, IS_DURABLE VARCHAR(1) NOT NULL, IS_VOLATILE VARCHAR(1) NOT NULL, IS_STATEFUL VARCHAR(1) NOT NULL, REQUESTS_RECOVERY VARCHAR(1) NOT NULL, JOB_DATA BINARY NULL, PRIMARY KEY (JOB_NAME,JOB_GROUP))
          14:30:19,223 INFO [SimpleThreadPool] Job execution threads will use class loader of thread: main
          14:30:19,239 INFO [QuartzScheduler] Quartz Scheduler v.1.5.2 created.
          14:30:19,239 INFO [JobStoreCMT] Using db table-based data access locking (synchronization).
          14:30:19,254 INFO [JobStoreCMT] Removed 0 Volatile Trigger(s).
          14:30:19,254 INFO [JobStoreCMT] Removed 0 Volatile Job(s).
          14:30:19,254 INFO [JobStoreCMT] JobStoreCMT initialized.
          14:30:19,270 INFO [StdSchedulerFactory] Quartz scheduler 'JBossEJB3QuartzScheduler' initialized from an externally provided properties instance.
          14:30:19,270 INFO [StdSchedulerFactory] Quartz scheduler version: 1.5.2
          14:30:19,270 INFO [JobStoreCMT] Freed 0 triggers from 'acquired' / 'blocked' state.
          14:30:19,270 INFO [JobStoreCMT] Recovering 0 jobs that were in-progress at the time of the last shut-down.
          14:30:19,270 INFO [JobStoreCMT] Recovery complete.
          14:30:19,270 INFO [JobStoreCMT] Removed 0 'complete' triggers.
          14:30:19,270 INFO [JobStoreCMT] Removed 0 stale fired job entries.
          14:30:19,286 INFO [QuartzScheduler] Scheduler JBossEJB3QuartzScheduler_$_NON_CLUSTERED started.
          14:30:19,754 INFO [ServerPeer] JBoss Messaging 1.4.1.CR1 server [0] started
          ........
          ..........
          14:30:20,161 INFO [ConnectionFactory] Connector bisocket://ps3346:4457 has leasing enabled, lease period 10000 milliseconds
          14:30:20,161 INFO [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory@98ab34 started
          14:30:20,161 INFO [QueueService] Queue[/queue/testQueue] started, fullSize=200000, pageSize=2000, downCacheSize=2000
          14:30:20,161 INFO [ConnectionFactory] Connector bisocket://ps3346:4457 has leasing enabled, lease period 10000 milliseconds
          14:30:20,161 INFO [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory@614255 started
          14:30:20,176 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'
          14:30:21,005 INFO [EJBContainer] STARTED EJB: org.myapp.ejb.impl.AppManagerBean ejbName: AppManagerBean
          14:30:21,161 INFO [EJBContainer] STARTED EJB: org.myapp.service.MyServiceImpl ejbName: MyServiceImpl
          14:30:21,192 INFO [JBossASKernel] installing bean: jboss.j2ee:ear=ZEJB3Persistence.ear,jar=myapp_ejb3.jar,name=MyServiceImpl,service=EJB3,type=ManagementInterface
          14:30:21,192 INFO [JBossASKernel] with dependencies:
          14:30:21,192 INFO [JBossASKernel] and demands:
          14:30:21,192 INFO [JBossASKernel] jboss.ejb:service=EJBTimerService
          14:30:21,192 INFO [JBossASKernel] and supplies:
          14:30:21,192 INFO [JBossASKernel] Class:org.myapp.service.MyService
          14:30:21,192 INFO [JBossASKernel] Installing bean(jboss.j2ee:ear=ZEJB3Persistence.ear,jar=myapp_ejb3.jar,name=MyServiceImpl,service=EJB3,type=ManagementInterface) into kernel
          14:30:21,223 INFO [PersistenceUnitDeployment] Starting persistence unit persistence.units:ear=ZEJB3Persistence.ear,jar=myapp_ejb3.jar,unitName=EJB3Persistence
          14:30:21,348 INFO [Version] Hibernate Annotations 3.4.0.CR1
          14:30:21,380 INFO [Environment] Hibernate 3.3.0.CR1
          14:30:21,395 INFO [Environment] hibernate.properties not found
          14:30:21,411 INFO [Environment] Bytecode provider name : javassist
          14:30:21,411 INFO [Environment] using JDK 1.4 java.sql.Timestamp handling
          14:30:21,614 INFO [Version] Hibernate Commons Annotations 3.1.0.CR1
          14:30:21,630 INFO [Version] Hibernate EntityManager 3.4.0.CR1
          14:30:21,770 WARN [Ejb3Configuration] Persistence provider caller does not implement the EJB3 spec correctly. PersistenceUnitInfo.getNewTempClassLoader() is null.
          14:30:22,458 INFO [AnnotationBinder] Binding entity from annotated class: org.myapp.entity.Account
          14:30:22,645 INFO [EntityBinder] Bind entity org.myapp.entity.Account on table Account
          14:30:22,848 INFO [AnnotationBinder] Binding entity from annotated class: org.myapp.entity.User
          14:30:22,848 INFO [EntityBinder] Bind entity org.myapp.entity.User on table User
          14:30:22,942 INFO [AnnotationBinder] Binding entity from annotated class: org.myapp.entity.DeleteMe
          14:30:22,942 INFO [EntityBinder] Bind entity org.myapp.entity.DeleteMe on table DELETEME
          14:30:23,208 INFO [CollectionBinder] Mapping collection: org.myapp.entity.User.accounts -> Account
          14:30:23,223 INFO [Version] Hibernate Validator 3.1.0.CR1
          14:30:23,364 INFO [ConnectionProviderFactory] Initializing connection provider: org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
          14:30:23,380 INFO [InjectedDataSourceConnectionProvider] Using provided datasource
          14:30:23,630 INFO [SettingsFactory] RDBMS: MySQL, version: 5.0.20-community
          14:30:23,630 INFO [SettingsFactory] JDBC driver: MySQL-AB JDBC Driver, version: mysql-connector-java-3.0.17-ga ( $Date: 2005/04/06 14:12:56 $, $Revision: 1.27.2.47 $ )
          14:30:23,677 INFO [Dialect] Using dialect: org.hibernate.dialect.MySQLDialect
          14:30:23,692 INFO [TransactionFactoryFactory] Transaction strategy: org.hibernate.ejb.transaction.JoinableCMTTransactionFactory
          14:30:23,708 INFO [TransactionManagerLookupFactory] instantiating TransactionManagerLookup: org.hibernate.transaction.JBossTransactionManagerLookup
          14:30:23,708 INFO [TransactionManagerLookupFactory] instantiated TransactionManagerLookup
          14:30:23,708 INFO [SettingsFactory] Automatic flush during beforeCompletion(): disabled
          14:30:23,708 INFO [SettingsFactory] Automatic session close at end of transaction: disabled
          14:30:23,708 INFO [SettingsFactory] JDBC batch size: 15
          14:30:23,708 INFO [SettingsFactory] JDBC batch updates for versioned data: disabled
          14:30:23,708 INFO [SettingsFactory] Scrollable result sets: enabled
          14:30:23,708 INFO [SettingsFactory] JDBC3 getGeneratedKeys(): enabled
          14:30:23,708 INFO [SettingsFactory] Connection release mode: auto
          14:30:23,723 INFO [SettingsFactory] Maximum outer join fetch depth: 2
          14:30:23,723 INFO [SettingsFactory] Default batch fetch size: 1
          14:30:23,723 INFO [SettingsFactory] Generate SQL with comments: disabled
          14:30:23,723 INFO [SettingsFactory] Order SQL updates by primary key: disabled
          14:30:23,723 INFO [SettingsFactory] Order SQL inserts for batching: disabled
          14:30:23,723 INFO [SettingsFactory] Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
          14:30:23,723 INFO [ASTQueryTranslatorFactory] Using ASTQueryTranslatorFactory
          14:30:23,723 INFO [SettingsFactory] Query language substitutions: {}
          14:30:23,723 INFO [SettingsFactory] JPA-QL strict compliance: enabled
          14:30:23,723 INFO [SettingsFactory] Second-level cache: enabled
          14:30:23,723 INFO [SettingsFactory] Query cache: disabled
          14:30:23,739 INFO [SettingsFactory] Cache region factory : org.hibernate.cache.impl.bridge.RegionFactoryCacheProviderBridge
          14:30:23,739 INFO [RegionFactoryCacheProviderBridge] Cache provider: org.hibernate.cache.HashtableCacheProvider
          14:30:23,755 INFO [SettingsFactory] Optimize cache for minimal puts: disabled
          14:30:23,755 INFO [SettingsFactory] Cache region prefix: ZEJB3Persistence_ear,myapp_ejb3_jar,EJB3Persistence
          14:30:23,755 INFO [SettingsFactory] Structured second-level cache entries: disabled
          14:30:23,770 INFO [SettingsFactory] Statistics: disabled
          14:30:23,770 INFO [SettingsFactory] Deleted entity synthetic identifier rollback: disabled
          14:30:23,770 INFO [SettingsFactory] Default entity-mode: pojo
          14:30:23,770 INFO [SettingsFactory] Named query checking : enabled
          14:30:23,880 INFO [SessionFactoryImpl] building session factory
          14:30:24,536 INFO [SessionFactoryObjectFactory] Factory name: persistence.units:ear=ZEJB3Persistence.ear,jar=myapp_ejb3.jar,unitName=EJB3Persistence
          14:30:24,536 INFO [NamingHelper] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
          14:30:24,552 INFO [SessionFactoryObjectFactory] Bound factory to JNDI name: persistence.units:ear=ZEJB3Persistence.ear,jar=myapp_ejb3.jar,unitName=EJB3Persistence
          14:30:24,552 WARN [SessionFactoryObjectFactory] InitialContext did not implement EventContext
          14:30:24,552 INFO [NamingHelper] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
          14:30:24,802 INFO [EJBContainer] STARTED EJB: org.myapp.ejb.impl.UserManagerBean ejbName: UserManagerBean
          ....
          2008-07-23 14:30:24,802 DEBUG [org.jboss.ejb3.proxy.factory.ProxyFactoryHelper] (main) Obtaining JNDI name from policy org.jboss.ejb3.jndipolicy.impl.PackagingBasedJndiBindingPolicy
          2008-07-23 14:30:24,802 DEBUG [org.jboss.ejb3.proxy.factory.ProxyFactoryHelper] (main) Obtaining JNDI name from policy org.jboss.ejb3.jndipolicy.impl.PackagingBasedJndiBindingPolicy
          2008-07-23 14:30:24,802 DEBUG [org.jboss.ejb3.proxy.factory.BaseSessionProxyFactory] (main) Binding proxy for UserManagerBean in JNDI at RemoteUserManagerBean
          
          
          ....
          14:30:25,145 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-8080
          14:30:25,177 INFO [AjpProtocol] Starting Coyote AJP/1.3 on ajp-0.0.0.0-8009
          14:30:25,208 INFO [ServerImpl] JBoss (Microcontainer) [5.0.0.CR1 (build: SVNTag=JBoss_5_0_0_CR1 date=200806301254)] Started in 1m:34s:238ms
          


          • 2. Re: 5.0 CR1 - How to enforce deployment ordering within an E
            Sebastian Bayerlein Newbie

            Hi,

            Have you found a solution for your problem?

            Does somebody know, why <module-order> is not yet existing in JBossAS 5?

            Best regards,
            Sebastian

            • 3. Re: 5.0 CR1 - How to enforce deployment ordering within an E
              jaikiran pai Master

              Overall, deployment framework within AS5 has changed completely. Which exact version of AS do you use? And are you running into the same issue? If yes, see this http://www.jboss.org/index.html?module=bb&op=viewtopic&t=151303.

              Does somebody know, why <module-order> is not yet existing in JBossAS 5?


              I don't remember where i read this, but i think it was mainly because of the nature in which (multiple) deployers pick up the deployments in AS5.


              • 4. Re: 5.0 CR1 - How to enforce deployment ordering within an E
                Sebastian Bayerlein Newbie

                Hi,

                I'm using JBossAS 5.0.1.

                My problem is, that i have 300 EJB's which need a correct deployment order... using the -tag in jboss.xml of each EJB is very complex in this case :-)

                Best regards,
                Sebastian

                • 5. Re: 5.0 CR1 - How to enforce deployment ordering within an E
                  jaikiran pai Master

                   

                  "sebbay" wrote:

                  using the < depends>-tag in jboss.xml of each EJB is very complex in this case :-)


                  That wasn't the solution i pointed you to :) All you have to do is change one file http://www.jboss.org/index.html?module=bb&op=viewtopic&t=146745&postdays=0&postorder=asc&start=10

                  • 6. Re: 5.0 CR1 - How to enforce deployment ordering within an E
                    Sebastian Bayerlein Newbie

                    If I do this, I can only configure, that JBoss deploy jar-files previous to war-files. But what I need, is to configure the order of my jar-files.

                    e.g.: ejb3.jar needs to be deployed between ejb1.jar and ejb2.jar (1. ejb1.jar - 2. ejb3.jar - 3. ejb2.jar).

                    I think this is not possible while configuring conf/bootstrap/deployers.xml.

                    best regards,
                    Sebastian

                    • 7. Re: 5.0 CR1 - How to enforce deployment ordering within an E
                      jaikiran pai Master

                       

                      "sebbay" wrote:

                      e.g.: ejb3.jar needs to be deployed between ejb1.jar and ejb2.jar (1. ejb1.jar - 2. ejb3.jar - 3. ejb2.jar).



                      Why do you need the deployment ordering between EJB jars? Are you running into some exceptions? If yes, please post the details including the exception stacktrace and any relevant console logs (not server.log).

                      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.

                      • 8. Re: 5.0 CR1 - How to enforce deployment ordering within an E
                        Sebastian Bayerlein Newbie

                        We have an existing application running under websphere 6.0 and weblogic 10 and I am evaluating the usabilitiy of JBoss for this project. When deploying on websphere and websphere, we need to set the order for deployment - so we must also do this in JBoss... There are several additions between the ejb-jar's.
                        I have recently no Exceptions of the JBoss, because I'm first only evaluating a solution.

                        Best regards,
                        Sebastian

                        • 9. Re: 5.0 CR1 - How to enforce deployment ordering within an E
                          jaikiran pai Master

                           

                          "sebbay" wrote:
                          We have an existing application running under websphere 6.0 and weblogic 10 and I am evaluating the usabilitiy of JBoss for this project. When deploying on websphere and websphere, we need to set the order for deployment - so we must also do this in JBoss...

                          Specifying such deployment ordering is application server specific. Some application servers might mandate those and some may not. Ideally, on JBoss there should not be a need to explicitly specify deployment ordering between EJB deployments.

                          "sebbay" wrote:

                          I have recently no Exceptions of the JBoss

                          That's good news ;)