Hi Sameera, Noted and thanks for the explanation. Will refactor the design correctly.
Thanks On Fri, Apr 11, 2014 at 11:48 PM, Sameera Jayasoma <[email protected]> wrote: > AFAIK, DepSync doesn't work in this manner. DepSync first get a checkout. > Once that is completed it tries to deploy. I guess you guys are doing > something wrong here :). Let me explain. > > By looking at the exception stack trace, I can see that ServerStartUpInspector > is invoking deployers. Deployers should only invoked by the Deployment > Engine. This is not a good design. > > You need to let deployment engine to invoke deployers. Here > the ServerStartUpInspector is invoking the deployers while deployment > synchronizer is checking out the artifacts. > > Thanks, > Sameera. > > > On Fri, Apr 11, 2014 at 9:58 AM, Malith Dhanushka <[email protected]> wrote: > >> Hi folks, >> >> We noticed following exception in dep sync enabled BAM clustered set up. >> It seems node1 is trying to deploy a tbox while checking out the same tbox >> from management node. Is it a possible behavior? >> >> TID: [0] [BAM] [2014-04-11 18:49:57,125] ERROR >> {org.wso2.carbon.bam.toolbox.deployer.core.BAMArtifactProcessor} - >> Exception while extracting the BAM >> artifact:/home/wso2/4.2.0/BAM241/cluster/full/10Apr/wso2bam-2.4.1/repository/deployment/server/bam-toolbox/Message_Tracing.tbox >> {org.wso2.carbon.bam.toolbox.deployer.core.BAMArtifactProcessor} >> java.io.FileNotFoundException: >> /home/wso2/4.2.0/BAM241/cluster/full/10Apr/wso2bam-2.4.1/repository/deployment/server/bam-toolbox/Message_Tracing.tbox >> (No such file or directory) >> at java.util.zip.ZipFile.open(Native Method) >> at java.util.zip.ZipFile.<init>(ZipFile.java:214) >> at java.util.zip.ZipFile.<init>(ZipFile.java:144) >> at java.util.zip.ZipFile.<init>(ZipFile.java:115) >> at >> org.wso2.carbon.bam.toolbox.deployer.core.BAMArtifactProcessor.unzipFolder(BAMArtifactProcessor.java:54) >> at >> org.wso2.carbon.bam.toolbox.deployer.core.BAMArtifactProcessor.extractBAMArtifact(BAMArtifactProcessor.java:48) >> at >> org.wso2.carbon.bam.toolbox.deployer.core.BAMToolBoxDeployer.deploy(BAMToolBoxDeployer.java:114) >> at >> org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136) >> at >> org.wso2.carbon.bam.toolbox.deployer.internal.ServerStartUpInspector.doPausedDeployments(ServerStartUpInspector.java:49) >> at >> org.wso2.carbon.bam.toolbox.deployer.internal.ServerStartUpInspector.invoke(ServerStartUpInspector.java:35) >> at >> org.wso2.carbon.core.internal.CarbonCoreServiceComponent.startup(CarbonCoreServiceComponent.java:185) >> at >> org.wso2.carbon.core.internal.StartupFinalizerServiceComponent.completeInitialization(StartupFinalizerServiceComponent.java:205) >> at >> org.wso2.carbon.core.internal.StartupFinalizerServiceComponent.serviceChanged(StartupFinalizerServiceComponent.java:282) >> at >> org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:107) >> at >> org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861) >> at >> org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230) >> ....................................................... >> >> For full trace refer[1]. >> >> [1] https://wso2.org/jira/browse/BAM-1558 >> >> Thanks >> -- >> Malith Dhanushka >> Software Engineer - Data Technologies >> *WSO2, Inc. : wso2.com <http://wso2.com/>* >> *Mobile* : +94 716 506 693 >> > > > > -- > Sameera Jayasoma, > Software Architect, > > WSO2, Inc. (http://wso2.com) > email: [email protected] > blog: http://sameera.adahas.org > twitter: https://twitter.com/sameerajayasoma > flickr: http://www.flickr.com/photos/sameera-jayasoma/collections > Mobile: 0094776364456 > > Lean . Enterprise . Middleware > > -- Malith Dhanushka Software Engineer - Data Technologies *WSO2, Inc. : wso2.com <http://wso2.com/>* *Mobile* : +94 716 506 693
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
