>From your description below I think FoeDeployer depends on WebLogicConverter. If you explicitly state this dependency with a depends tag the deployment system will create WLC before FD and start WLC before FD. If FD is designed to accept lots of converters you can use a depends-list element.
How does FD know about WLC now? I'd recommend using an ObjectName and calling through the mbean server. If you want to allow dynamically adding converters you will have to make FD keep a list of undeployables that it tries to deploy whenever a new converter is registered. I don't think I recommend this. david jencks On 2002.05.24 06:04:11 -0400 Alex Loubyansky wrote: > Hello, > > I am now testing FoeDeployer and have a question that, probably, affects > behaviour of other deployers too. > > Suppose we have deployment units in the deploy dir waiting for the > deployer. And the deployer is at last deployed. I expect the following > sequence of calls on the deployer: createService(), startService and > then start to deploy utnits waiting for the deployer (done in > MainDeployer.addDeployer()). The code proves it but logging doesn't. > Here is the log: > INFO [org.jboss.deployment.MainDeployer] Starting deployment of package: > >file:/C:/CVSROOT/jboss-all/build/output/jboss-3.1.0alpha/server/default/deploy/wlar-examples.wlar > INFO [org.jboss.deployment.MainDeployer] Deployment of package: > >file:/C:/CVSROOT/jboss-all/build/output/jboss-3.1.0alpha/server/default/deploy/wlar-examples.wlar > is waiting for an appropriate deployer. > INFO [org.jboss.deployment.MainDeployer] Starting deployment of package: > >file:/C:/CVSROOT/jboss-all/build/output/jboss-3.1.0alpha/server/default/deploy/foe-deployer.sar > INFO [org.jboss.deployment.SARDeployer] Created ServiceModule: > >jboss.management.single:J2EEServer=Single,j2eeType=ServiceModule,name=foe-deployer.sar > INFO [org.jboss.varia.deployment.FoeDeployer] Creating > INFO [org.jboss.varia.deployment.FoeDeployer] Created > INFO [org.jboss.varia.deployment.convertor.WebLogicConvertor] Creating > INFO [org.jboss.varia.deployment.convertor.WebLogicConvertor] Created > INFO [org.jboss.deployment.SARDeployer] Create MBean, name: > jboss:service=FoeDeployer, SAR Module: > >jboss.management.single:J2EEServer=Single,j2eeType=ServiceModule,name=foe-deployer.sar > INFO [org.jboss.deployment.SARDeployer] Create MBean, name: > jboss:service=Convertor,type=WebLogic, SAR Module: > >jboss.management.single:J2EEServer=Single,j2eeType=ServiceModule,name=foe-deployer.sar > INFO [org.jboss.varia.deployment.FoeDeployer] Starting > INFO [org.jboss.deployment.MainDeployer] Adding deployer: > org.jboss.varia.deployment.FoeDeployer@e8606c > INFO [org.jboss.deployment.MainDeployer] Starting deployment of package: > >file:/C:/CVSROOT/jboss-all/build/output/jboss-3.1.0alpha/server/default/deploy/wlar-examples.wlar > DEBUG [org.jboss.varia.deployment.FoeDeployer] create(), got info: > org.jboss.deployment.DeploymentInfo@ee07486d{ > >url=file:/C:/CVSROOT/jboss-all/build/output/jboss-3.1.0alpha/server/default/deploy/wlar-examples.wlar > } > DEBUG [org.jboss.varia.deployment.FoeDeployer] undeploying document > >file:/C:/CVSROOT/jboss-all/build/output/jboss-3.1.0alpha/server/default/deploy/wlar-examples.wlar > INFO [org.jboss.deployment.MainDeployer] Successfully completed > deployment of package: >file:/C:/CVSROOT/jboss-all/build/output/jboss-3.1.0alpha/server/default/deploy/wlar-examples.wlar > INFO [org.jboss.varia.deployment.FoeDeployer] Started > INFO [org.jboss.varia.deployment.convertor.WebLogicConvertor] Starting > INFO [org.jboss.varia.deployment.convertor.WebLogicConvertor] Started > INFO [org.jboss.deployment.MainDeployer] Successfully completed > deployment of package: >file:/C:/CVSROOT/jboss-all/build/output/jboss-3.1.0alpha/server/default/deploy/foe-deployer.sar > INFO [org.jboss.deployment.MainDeployer] Starting deployment of package: > >file:/C:/CVSROOT/jboss-all/build/output/jboss-3.1.0alpha/server/default/deploy/wlar-examples.jar > ... > > So, the log says that waiting for the deployer units > (wlar-examples.wlar) are deployed before the deployer (FoeDeployer) is > actually started. And WebLogicConverter isn't started at all by the > time of successful deployment of wlar. > > In FoeDeployer super.startService() is the last line in method > startService(). And converters (WebLogicConverter) are invoked in > FoeDeployer.create() method. > > Could someone clarify it, please? Is it just logging? > > -- > Best regards, > Alex Loubyansky > > > > _______________________________________________________________ > > Don't miss the 2002 Sprint PCS Application Developer's Conference > August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm > > _______________________________________________ > Jboss-development mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-development > > _______________________________________________________________ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm _______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development