1 Reply Latest reply on Oct 9, 2006 2:17 AM by alesj

    ParentBeanFactory issues...

    uhyonc

      I tried to create two spring bean factories, with
      A
      B (with ParentBeanFactory=(A))

      The problem is B gets deployed before A, in which case it can't find A in JNDI since A has not been deployed yet.

      Any ideas on a solution?

        • 1. Re: ParentBeanFactory issues...
          alesj

          Simple solution is to rename the .spring archives - so that A is lexicograficaly before B.
          Or you can set your own deployment units comparator in MainDeployer - see <JBOSS_HOME>\server\default\conf\xmdesc\org.jboss.deployment.MainDeployer-xmbean.xml