Details
Description
Win2003 as master node( NODE2) with config.xml
...
<module name="org.apache.geronimo.configs/farming/2.2-SNAPSHOT/car">
<gbean name="org.apache.geronimo.configs/farming/2.2-SNAPSHOT/car?ServiceModule=org.apache.geronimo.configs/farming/2.2-SNAPSHOT/car,j2eeType=GBean,name=Node1" gbeanInfo="org.apache.geronimo.farm.config.BasicNodeInfo">
<attribute name="name">NODE1</attribute>
<attribute propertyEditor="org.apache.geronimo.farm.config.BasicExtendedJMXConnectorInfoEditor" name="extendedJMXConnectorInfo">
<ns:javabean class="org.apache.geronimo.farm.config.BasicExtendedJMXConnectorInfo" xmlns="" xmlns:ns10="http://geronimo.apache.org/xml/ns/plugins-1.3" xmlns:ns="http://geronimo.apache.org/xml/ns/deployment/javabean-1.0" xmlns:ns12="http://geronimo.apache.org/xml/ns/plugins-1.3" xmlns:ns14="http://geronimo.apache.org/xml/ns/plugins-1.3" xmlns:ns16="http://geronimo.apache.org/xml/ns/plugins-1.3" xmlns:ns8_="http://geronimo.apache.org/xml/ns/attributes-1.2" xmlns:ns6_="http://geronimo.apache.org/xml/ns/attributes-1.2" xmlns:ns4="http://geronimo.apache.org/xml/ns/attributes-1.2" xmlns:ns6="http://geronimo.apache.org/xml/ns/plugins-1.3" xmlns:ns8="http://geronimo.apache.org/xml/ns/plugins-1.3" xmlns:ns16_="http://geronimo.apache.org/xml/ns/attributes-1.2" xmlns:ns14_="http://geronimo.apache.org/xml/ns/attributes-1.2" xmlns:ns12_="http://geronimo.apache.org/xml/ns/attributes-1.2" xmlns:ns10_="http://geronimo.apache.org/xml/ns/attributes-1.2">
<ns:property name="username">system</ns:property>
<ns:property name="password">manager</ns:property>
<ns:property name="protocol">rmi</ns:property>
<ns:property name="host">9.186.10.167</ns:property>
<ns:property name="port">1099</ns:property>
<ns:property name="urlPath">JMXConnector</ns:property>
<ns:property name="local">false</ns:property>
</ns:javabean>
</attribute>
</gbean>
<gbean name="NodeInfo">
<attribute name="name">${ClusterNodeName}</attribute>
</gbean>
<gbean name="ClusterInfo">
<attribute name="name">${FarmName}</attribute>
</gbean>
</module>
...
WinXP as node 1
WinXp. as node 1
..
<module name="org.apache.geronimo.configs/farming/2.2-SNAPSHOT/car">
<gbean name="org.apache.geronimo.configs/farming/2.2-SNAPSHOT/car?ServiceModule=org.apache.geronimo.configs/farming/2.2-SNAPSHOT/car,j2eeType=GBean,name=Node2" gbeanInfo="org.apache.geronimo.farm.config.BasicNodeInfo">
<attribute name="name">NODE2</attribute>
<attribute propertyEditor="org.apache.geronimo.farm.config.BasicExtendedJMXConnectorInfoEditor" name="extendedJMXConnectorInfo">
<ns:javabean class="org.apache.geronimo.farm.config.BasicExtendedJMXConnectorInfo" xmlns="" xmlns:ns20="http://geronimo.apache.org/xml/ns/attributes-1.2" xmlns:ns10="http://geronimo.apache.org/xml/ns/attributes-1.2" xmlns:ns22="http://geronimo.apache.org/xml/ns/plugins-1.3" xmlns:ns="http://geronimo.apache.org/xml/ns/deployment/javabean-1.0" xmlns:ns12="http://geronimo.apache.org/xml/ns/plugins-1.3" xmlns:ns14="http://geronimo.apache.org/xml/ns/plugins-1.3" xmlns:ns16="http://geronimo.apache.org/xml/ns/plugins-1.3" xmlns:ns18="http://geronimo.apache.org/xml/ns/plugins-1.3" xmlns:ns19="http://geronimo.apache.org/xml/ns/attributes-1.2" xmlns:ns6_="http://geronimo.apache.org/xml/ns/attributes-1.2" xmlns:ns4="http://geronimo.apache.org/xml/ns/attributes-1.2" xmlns:ns6="http://geronimo.apache.org/xml/ns/plugins-1.3" xmlns:ns7="http://geronimo.apache.org/xml/ns/attributes-1.2" xmlns:ns8="http://geronimo.apache.org/xml/ns/attributes-1.2" xmlns:ns18_="http://geronimo.apache.org/xml/ns/attributes-1.2" xmlns:ns9="http://geronimo.apache.org/xml/ns/attributes-1.2" xmlns:ns16_="http://geronimo.apache.org/xml/ns/attributes-1.2" xmlns:ns14_="http://geronimo.apache.org/xml/ns/attributes-1.2" xmlns:ns12_="http://geronimo.apache.org/xml/ns/attributes-1.2" xmlns:ns22_="http://geronimo.apache.org/xml/ns/attributes-1.2">
<ns:property name="username">system</ns:property>
<ns:property name="password">manager</ns:property>
<ns:property name="protocol">rmi</ns:property>
<ns:property name="host">9.186.10.67</ns:property>
<ns:property name="port">1099</ns:property>
<ns:property name="urlPath">JMXConnector</ns:property>
<ns:property name="local">false</ns:property>
</ns:javabean>
</attribute>
</gbean>
<gbean name="NodeInfo">
<attribute name="name">${ClusterNodeName}</attribute>
</gbean>
<gbean name="ClusterInfo">
<attribute name="name">${FarmName}</attribute>
</gbean>
</module>
..
1.Following doc http://cwiki.apache.org/GMOxDOC22/farming-using-deployment.html to farm deploy apps
with command:
deploy.bat --user system --password manager deploy --targets org.apache.geronimo.configs/farming/2.2-SNAPSHOT/car?ServiceModule=org.apache.geronimo.configs/farming/2.2-SNAPSHOT/car,j2eeType=ConfigurationStore,name=MasterConfigurationStore %Sample_HOME%\applications\hello\target\hello-2.1.1.2.war
2.First deploy hello.war, successfully, second deploy cviewer with command:
deploy.bat --user system --password manager deploy --targets org.apache.geronimo.configs/farming/2.2-SNAPSHOT/car?ServiceModule=org.apache.geronimo.configs/farming/2.2-SNAPSHOT/car,j2eeType=ConfigurationStore,name=MasterConfigurationStore %Sample_HOME%\applications\cviewer\target\cviewer-2.1.1.2.war
but errors popup:
2009-09-23 17:00:02,937 ERROR [DeployTool] Error:
org.apache.geronimo.common.DeploymentException: Operation failed: start of com.ibm.wasce.samples/cviewer_G_MASTER/2.1.1.2/car failed
org.apache.geronimo.kernel.GBeanAlreadyExistsException: GBean already registered: geronimo:J2EEServer=geronimo,nodeName=NODE1
GBean already registered: geronimo:J2EEServer=geronimo,nodeName=NODE1
at org.apache.geronimo.deployment.cli.CommandDistribute.executeOnline(CommandDistribute.java:169)
at org.apache.geronimo.deployment.cli.CommandDistribute.execute(CommandDistribute.java:125)
at org.apache.geronimo.deployment.cli.DeployTool.execute(DeployTool.java:168)
at org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.main(MainConfigurationBootstrapper.java:45)
at org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:65)
at org.apache.geronimo.cli.deployer.DeployerCLI.main(DeployerCLI.java:31)
3.After deployment, on master node, open web app modules porlet, hello and cviewer app don't exist in it, but in its master-repository and config.xml, on other cluster nodes, these apps exist
Attachments
Attachments
Issue Links
- is related to
-
GERONIMO-4900 MissingDependencyException while deploying EAR in Clustering Environment
- Closed