[ https://issues.apache.org/jira/browse/GERONIMO-4900?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Amit puri updated GERONIMO-4900: -------------------------------- Attachment: ClusterTestEAR.ear > 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 > Attachments: ClusterTestEAR.ear > > > 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.