geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "viola.lu (JIRA)" <j...@apache.org>
Subject [jira] Updated: (GERONIMO-4895) Application items are not removed from config.xml on farm members after farm undeploy applications from master node
Date Thu, 24 Sep 2009 03:30:05 GMT

     [ https://issues.apache.org/jira/browse/GERONIMO-4895?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

viola.lu updated GERONIMO-4895:
-------------------------------

    Attachment: FarmConfig.zip

> Application items are not removed from config.xml on farm members after farm undeploy
applications from master node
> -------------------------------------------------------------------------------------------------------------------
>
>                 Key: GERONIMO-4895
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4895
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: Clustering
>    Affects Versions: 2.2
>         Environment: OS:Winxp, win2003, suse 10 sp2
> Build:2009.09.22-10:37:57.501+0800
> JDK 1.6
>            Reporter: viola.lu
>            Priority: Minor
>         Attachments: FarmConfig.zip
>
>
> 1.Follow guide on http://cwiki.apache.org/GMOxDOC22/farming-using-deployment.html, win2003
as master farm 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: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: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="org.apache.geronimo.configs/farming/2.2-SNAPSHOT/car?ServiceModule=org.apache.geronimo.configs/farming/2.2-SNAPSHOT/car,j2eeType=GBean,name=Node3"
gbeanInfo="org.apache.geronimo.farm.config.BasicNodeInfo">
>             <attribute name="name">NODE3</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: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: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.68</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
> ..
> <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>
> ..
> Suse same as winxp:
> <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>
> ...
> 2.Successfully deploy an hello.war to all nodes from master node 2, via 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
> 3.Run undeploy command:
> deploy.bat --user system --password manager undeploy ***/hello_G_MASTER/***
> Hello module is removed from master repository from master node 2 and cluster repository
from all farm members, but still exist in config.xml of farm members.
> If i alone deploy same hello applications, there is an error, module already exists,
pls undeploy or redeploy it.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message