Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 53923 invoked from network); 18 Oct 2009 05:52:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 18 Oct 2009 05:52:57 -0000 Received: (qmail 80618 invoked by uid 500); 18 Oct 2009 05:52:57 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 80503 invoked by uid 500); 18 Oct 2009 05:52:56 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 80495 invoked by uid 99); 18 Oct 2009 05:52:56 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 18 Oct 2009 05:52:56 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 18 Oct 2009 05:52:52 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 64A74234C1E9 for ; Sat, 17 Oct 2009 22:52:31 -0700 (PDT) Message-ID: <389872681.1255845151411.JavaMail.jira@brutus> Date: Sat, 17 Oct 2009 22:52:31 -0700 (PDT) From: "Ashish Jain (JIRA)" To: dev@geronimo.apache.org Subject: [jira] Commented: (GERONIMO-4900) MissingDependencyException while deploying EAR in Clustering Environment In-Reply-To: <373704266.1254393143525.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/GERONIMO-4900?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12767014#action_12767014 ] Ashish Jain commented on GERONIMO-4900: --------------------------------------- Hello Gianny, Thanks for your review!! Please apply this to g 2.1.5 branch. Thanks Ashish > MissingDependencyException while deploying EAR in Clustering Environment > ------------------------------------------------------------------------ > > Key: GERONIMO-4900 > URL: https://issues.apache.org/jira/browse/GERONIMO-4900 > Project: Geronimo > Issue Type: Bug > Security Level: public(Regular issues) > Components: Clustering > Affects Versions: 2.1.4 > Reporter: Amit puri > Assignee: Ashish Jain > Fix For: 2.1.5 > > Attachments: ClusterTestEAR.ear, Geronimo4900.patch > > > 1. Installed two geronimo instances A and B at different paths > 2. Made the following changes to Geronimo A > For var\config\config-substitutions.properties > clusterNodeName=NODE --> clusterNodeName=NODE-A > For var\config\config.xml, add the following contents to module: org.apache.geronimo.configs/farming/2.1.4/car > ----------------------------------------------------------------- > > NODE-B > > > system > manager > rmi > localhost > 1109 > JMXConnector > false > > > ----------------------------------------------------------------- > 3. Made the following changes to Geronimo B > For var\config\config-substitutions.properties > clusterNodeName=NODE --> clusterNodeName=NODE-B > PortOffset=0 --> PortOffset=10 > For var\config\config.xml, add the following contents to module: org.apache.geronimo.configs/farming/2.1.4/car > ----------------------------------------------------------------- > > NODE-A > > > system > manager > rmi > localhost > 1099 > JMXConnector > false > > > ----------------------------------------------------------------- > 4. Started both Geronimo A and B > 5. Ran the following commands in Geronimo_A_Path\bin > deploy --user system --password manager start org.apache.geronimo.configs/farming/2.1.4/car > deploy --user system --password manager --port 1109 start org.apache.geronimo.configs/farming/2.1.4/car > 6. Deployed one sample ClusterTestEAR.ear in Geronimo_A_Path\bin > deploy --user system --password manager deploy --targets org.apache.geronimo.configs/farming/2.1.4/car?ServiceModule=org.apache.geronimo.configs/farming/2.1.4/car,j2eeType=ConfigurationStore,name=MasterConfigurationStore PATH_SAMPLE\ClusterTestEAR.ear > Output: > A) Errors in Geronimo A geronimo.log > INFO [BasicClusterConfigurationStoreClient] Upload of configuration [default/ClusterTestEAR_G_SLAVE/1.0/ear] - [File(s) transferred to server. Resuming deployment operation.] > INFO [BasicClusterConfigurationController] Exception while starting configuration [default/ClusterTestEAR_G_SLAVE/1.0/ear] on [NODE-B]. Ignoring. > org.apache.geronimo.kernel.config.LifecycleException: load of default/ClusterTestEAR_G_SLAVE/1.0/ear failed > Caused by: > org.apache.geronimo.kernel.config.InvalidConfigException: Error starting configuration gbean default/ClusterTestEAR_G_SLAVE/1.0/ear > at org.apache.geronimo.kernel.config.KernelConfigurationManager.load(KernelConfigurationManager.java:181) > at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:313) > ... 42 more > Caused by: > org.apache.geronimo.gbean.InvalidConfigurationException: Configuration gbean failed to start default/ClusterTestEAR_G_SLAVE/1.0/ear > reason: Missing dependency: default/ClusterTestEAR/1.0/ear > at org.apache.geronimo.kernel.config.KernelConfigurationManager.load(KernelConfigurationManager.java:164) > ... 43 more > B) Errors in Geronimo B geronimo.log > ERROR [GBeanInstanceState] Error while starting; GBean is now in the FAILED state: abstractName="default/ClusterTestEAR_G_SLAVE/1.0/ear?configurationName=default/ClusterTestEAR_G_SLAVE/1.0/ear" > org.apache.geronimo.kernel.repository.MissingDependencyException: Missing dependency: default/ClusterTestEAR/1.0/ear > at org.apache.geronimo.kernel.config.ConfigurationResolver.resolve(ConfigurationResolver.java:113) > at org.apache.geronimo.kernel.config.Configuration.buildClassPath(Configuration.java:410) > at org.apache.geronimo.kernel.config.Configuration.createConfigurationClasssLoader(Configuration.java:327) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.