Hello Tobias,

good question. I'd like to know too.
  
Friday, May 24, 2002, 1:55:26 PM, you wrote:

TF> Hi Alex!
TF> Does log4j guarantee to display the log messages in the order they
TF> timely occured ?

TF> With the old logging that wasn't the case (it was NOT guaranteed). It do
TF> not know for log4j.

TF> Just a thought,
TF> Tobias


TF> 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

Reply via email to