You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Zhen Chen (JIRA)" <ji...@apache.org> on 2009/03/10 03:36:50 UTC
[jira] Created: (GERONIMO-4579) There are errors during zip file
extracted on Linux OS using farm clustering
There are errors during zip file extracted on Linux OS using farm clustering
----------------------------------------------------------------------------
Key: GERONIMO-4579
URL: https://issues.apache.org/jira/browse/GERONIMO-4579
Project: Geronimo
Issue Type: Bug
Security Level: public (Regular issues)
Components: Clustering
Affects Versions: 2.1.4
Environment: SW:
JAVA6+WIN2008+SLES10SP2
HW:
Intel x86
Reporter: Zhen Chen
Can't deploy a war to farm clustering successfully, because the zip file extracted on Linux OS is wrong.
After deploying a war to farm clustering(ex, NODE-A,NODE-B), I found that the files are not in the correct path, while named in the form like "WEB-INF\classes\......
.java" in cluster-repository on Linux OS.
I have tried that on RHEL 5.2, SLES 10 OS. Same error occurs.
I think this is a bug, Please check it.
My steps:
1.Login on NODE-A server
1.1 For var\config\config-substitutions.properties
{code:xml}
clusterNodeName=NODE --> clusterNodeName=NODE-A RemoteDeployHostname=MachineA_IP
{code}
1.2 For var\config\config.xml, add the following contents to module: org.apache.geronimo.configs/farming/2.1.4-SNAPSHOT/car
{code:xml}
<gbean name="org.apache.geronimo.configs/farming/2.1.4-SNAPSHOT/car?ServiceModule=org.apache.geronimo.configs/farming/2
.1.4/car,j2eeType=NodeInfo,name=NodeInfoB" gbeanInfo="org.apache.geronimo.farm.config.BasicNodeInfo">
<attribute name="name">NODE-B</attribute>
<attribute propertyEditor="org.apache.geronimo.farm.config.BasicExtendedJMXConnectorInfoEditor"
name="extendedJMXConnectorInfo">
<ns:javabean class="org.apache.geronimo.farm.config.BasicExtendedJMXConnectorInfo"
xmlns:ns4="http://geronimo.apache.org/xml/ns/attributes-1.2"
xmlns:ns="http://geronimo.apache.org/xml/ns/deployment/javabean-1.0" xmlns="">
<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">MachineB_IP</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>
{code}
2.Login on NODE-B server
2.1 For var\config\config-substitutions.properties
{code:xml}
clusterNodeName=NODE --> clusterNodeName=NODE-B RemoteDeployHostname=MachineB_IP
{code}
2.2 For var\config\config.xml, add the following contents to module: org.apache.geronimo.configs/farming/2.1.4-SNAPSHOT/car
{code:xml}
<gbean name="org.apache.geronimo.configs/farming/2.1.4-SNAPSHOT/car?ServiceModule=org.apache.geronimo.configs/far
ming/2.1.4-SNAPSHOT/car,j2eeType=NodeInfo,name=NodeInfoA"
gbeanInfo="org.apache.geronimo.farm.config.BasicNodeInfo">
<attribute name="name">NODE-A</attribute>
<attribute propertyEditor="org.apache.geronimo.farm.config.BasicExtendedJMXConnectorInfoEditor"
name="extendedJMXConnectorInfo">
<ns:javabean class="org.apache.geronimo.farm.config.BasicExtendedJMXConnectorInfo"
xmlns:ns4="http://geronimo.apache.org/xml/ns/attributes-1.2"
xmlns:ns="http://geronimo.apache.org/xml/ns/deployment/javabean-1.0" xmlns="">
<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">MachineA_IP</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>
{code}
3. Start NODE- A server , and NODE-B server
4.Run the following commands in GERONIMO_HOME\bin in Machine A
{code:xml}
4.1 deploy.bat/sh --user system --password manager start org.apache.geronimo.configs/farming//car
4.2 deploy.bat/sh --user system --password manager --host MachineB_IP start org.apache.geronimo.configs/farming//car
{code}
5.deploy.bat/sh --user system --password manager deploy --targets
{code:xml}
org.apache.geronimo.configs/farming/2.1.4-SNAPSHOT/car?ServiceModule=org.apache.geronimo.configs/farming/2.1.4-SNAPSHOT/car,j2eeType=Confi
gurationStore,name=MasterConfigurationStore SAMPLE_HOME\applications\tomcat-cluster\servlet-examples-cluster-server1.war
servlet-examples-cluster-plan.xml
{code}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (GERONIMO-4579) There are errors during zip file
extracted on Linux OS using farm clustering
Posted by "Shawn Jiang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMO-4579?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12680819#action_12680819 ]
Shawn Jiang commented on GERONIMO-4579:
---------------------------------------
The file in the snapshot is a flatten long file:
"WEB-INF\classes\....java"
But it should be just a short file xxx.java under directories like this;
Web-INF
-----classes
---- xxx.java
This only happens when deploying a cluster with one farm node on windows and the other on linux/unix. I guess this is caused by "RMI + different file.separator" .
> There are errors during zip file extracted on Linux OS using farm clustering
> ----------------------------------------------------------------------------
>
> Key: GERONIMO-4579
> URL: https://issues.apache.org/jira/browse/GERONIMO-4579
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: Clustering
> Affects Versions: 2.1.4
> Environment: SW:
> JAVA6+WIN2008+SLES10SP2
> HW:
> Intel x86
> Reporter: Zhen Chen
> Attachments: G4579_21.patch, G4579_trunk.patch, zip_extracted_errors .jpg
>
>
> Can't deploy a war to farm clustering successfully, because the zip file extracted on Linux OS is wrong.
> After deploying a war to farm clustering(ex, NODE-A,NODE-B), I found that the files are not in the correct path, while named in the form like "WEB-INF\classes\......
> .java" in cluster-repository on Linux OS.
> I have tried that on RHEL 5.2, SLES 10 OS. Same error occurs.
> I think this is a bug, Please check it.
> My steps:
> 1.Login on NODE-A server
> 1.1 For var\config\config-substitutions.properties
> {code:xml}
> clusterNodeName=NODE --> clusterNodeName=NODE-A RemoteDeployHostname=MachineA_IP
> {code}
> 1.2 For var\config\config.xml, add the following contents to module: org.apache.geronimo.configs/farming/2.1.4-SNAPSHOT/car
> {code:xml}
> <gbean name="org.apache.geronimo.configs/farming/2.1.4-SNAPSHOT/car?ServiceModule=org.apache.geronimo.configs/farming/2
> .1.4/car,j2eeType=NodeInfo,name=NodeInfoB" gbeanInfo="org.apache.geronimo.farm.config.BasicNodeInfo">
> <attribute name="name">NODE-B</attribute>
> <attribute propertyEditor="org.apache.geronimo.farm.config.BasicExtendedJMXConnectorInfoEditor"
> name="extendedJMXConnectorInfo">
> <ns:javabean class="org.apache.geronimo.farm.config.BasicExtendedJMXConnectorInfo"
> xmlns:ns4="http://geronimo.apache.org/xml/ns/attributes-1.2"
> xmlns:ns="http://geronimo.apache.org/xml/ns/deployment/javabean-1.0" xmlns="">
> <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">MachineB_IP</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>
> {code}
> 2.Login on NODE-B server
> 2.1 For var\config\config-substitutions.properties
> {code:xml}
> clusterNodeName=NODE --> clusterNodeName=NODE-B RemoteDeployHostname=MachineB_IP
> {code}
> 2.2 For var\config\config.xml, add the following contents to module: org.apache.geronimo.configs/farming/2.1.4-SNAPSHOT/car
> {code:xml}
> <gbean name="org.apache.geronimo.configs/farming/2.1.4-SNAPSHOT/car?ServiceModule=org.apache.geronimo.configs/far
> ming/2.1.4-SNAPSHOT/car,j2eeType=NodeInfo,name=NodeInfoA"
> gbeanInfo="org.apache.geronimo.farm.config.BasicNodeInfo">
> <attribute name="name">NODE-A</attribute>
> <attribute propertyEditor="org.apache.geronimo.farm.config.BasicExtendedJMXConnectorInfoEditor"
> name="extendedJMXConnectorInfo">
> <ns:javabean class="org.apache.geronimo.farm.config.BasicExtendedJMXConnectorInfo"
> xmlns:ns4="http://geronimo.apache.org/xml/ns/attributes-1.2"
> xmlns:ns="http://geronimo.apache.org/xml/ns/deployment/javabean-1.0" xmlns="">
> <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">MachineA_IP</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>
> {code}
> 3. Start NODE- A server , and NODE-B server
> 4.Run the following commands in GERONIMO_HOME\bin in Machine A
> {code:xml}
> 4.1 deploy.bat/sh --user system --password manager start org.apache.geronimo.configs/farming//car
> 4.2 deploy.bat/sh --user system --password manager --host MachineB_IP start org.apache.geronimo.configs/farming//car
> {code}
> 5.deploy.bat/sh --user system --password manager deploy --targets
> {code:xml}
> org.apache.geronimo.configs/farming/2.1.4-SNAPSHOT/car?ServiceModule=org.apache.geronimo.configs/farming/2.1.4-SNAPSHOT/car,j2eeType=Confi
> gurationStore,name=MasterConfigurationStore SAMPLE_HOME\applications\tomcat-cluster\servlet-examples-cluster-server1.war
> servlet-examples-cluster-plan.xml
> {code}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (GERONIMO-4579) There are errors during zip file
extracted on Linux OS using farm clustering
Posted by "Jarek Gawor (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMO-4579?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jarek Gawor updated GERONIMO-4579:
----------------------------------
Affects Version/s: 2.2
> There are errors during zip file extracted on Linux OS using farm clustering
> ----------------------------------------------------------------------------
>
> Key: GERONIMO-4579
> URL: https://issues.apache.org/jira/browse/GERONIMO-4579
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: Clustering
> Affects Versions: 2.1.4, 2.2
> Environment: SW:
> JAVA6+WIN2008+SLES10SP2
> HW:
> Intel x86
> Reporter: Zhen Chen
> Assignee: Jarek Gawor
> Attachments: G4579_21.patch, G4579_trunk.patch, zip_extracted_errors .jpg
>
>
> Can't deploy a war to farm clustering successfully, because the zip file extracted on Linux OS is wrong.
> After deploying a war to farm clustering(ex, NODE-A,NODE-B), I found that the files are not in the correct path, while named in the form like "WEB-INF\classes\......
> .java" in cluster-repository on Linux OS.
> I have tried that on RHEL 5.2, SLES 10 OS. Same error occurs.
> I think this is a bug, Please check it.
> My steps:
> 1.Login on NODE-A server
> 1.1 For var\config\config-substitutions.properties
> {code:xml}
> clusterNodeName=NODE --> clusterNodeName=NODE-A RemoteDeployHostname=MachineA_IP
> {code}
> 1.2 For var\config\config.xml, add the following contents to module: org.apache.geronimo.configs/farming/2.1.4-SNAPSHOT/car
> {code:xml}
> <gbean name="org.apache.geronimo.configs/farming/2.1.4-SNAPSHOT/car?ServiceModule=org.apache.geronimo.configs/farming/2
> .1.4/car,j2eeType=NodeInfo,name=NodeInfoB" gbeanInfo="org.apache.geronimo.farm.config.BasicNodeInfo">
> <attribute name="name">NODE-B</attribute>
> <attribute propertyEditor="org.apache.geronimo.farm.config.BasicExtendedJMXConnectorInfoEditor"
> name="extendedJMXConnectorInfo">
> <ns:javabean class="org.apache.geronimo.farm.config.BasicExtendedJMXConnectorInfo"
> xmlns:ns4="http://geronimo.apache.org/xml/ns/attributes-1.2"
> xmlns:ns="http://geronimo.apache.org/xml/ns/deployment/javabean-1.0" xmlns="">
> <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">MachineB_IP</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>
> {code}
> 2.Login on NODE-B server
> 2.1 For var\config\config-substitutions.properties
> {code:xml}
> clusterNodeName=NODE --> clusterNodeName=NODE-B RemoteDeployHostname=MachineB_IP
> {code}
> 2.2 For var\config\config.xml, add the following contents to module: org.apache.geronimo.configs/farming/2.1.4-SNAPSHOT/car
> {code:xml}
> <gbean name="org.apache.geronimo.configs/farming/2.1.4-SNAPSHOT/car?ServiceModule=org.apache.geronimo.configs/far
> ming/2.1.4-SNAPSHOT/car,j2eeType=NodeInfo,name=NodeInfoA"
> gbeanInfo="org.apache.geronimo.farm.config.BasicNodeInfo">
> <attribute name="name">NODE-A</attribute>
> <attribute propertyEditor="org.apache.geronimo.farm.config.BasicExtendedJMXConnectorInfoEditor"
> name="extendedJMXConnectorInfo">
> <ns:javabean class="org.apache.geronimo.farm.config.BasicExtendedJMXConnectorInfo"
> xmlns:ns4="http://geronimo.apache.org/xml/ns/attributes-1.2"
> xmlns:ns="http://geronimo.apache.org/xml/ns/deployment/javabean-1.0" xmlns="">
> <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">MachineA_IP</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>
> {code}
> 3. Start NODE- A server , and NODE-B server
> 4.Run the following commands in GERONIMO_HOME\bin in Machine A
> {code:xml}
> 4.1 deploy.bat/sh --user system --password manager start org.apache.geronimo.configs/farming//car
> 4.2 deploy.bat/sh --user system --password manager --host MachineB_IP start org.apache.geronimo.configs/farming//car
> {code}
> 5.deploy.bat/sh --user system --password manager deploy --targets
> {code:xml}
> org.apache.geronimo.configs/farming/2.1.4-SNAPSHOT/car?ServiceModule=org.apache.geronimo.configs/farming/2.1.4-SNAPSHOT/car,j2eeType=Confi
> gurationStore,name=MasterConfigurationStore SAMPLE_HOME\applications\tomcat-cluster\servlet-examples-cluster-server1.war
> servlet-examples-cluster-plan.xml
> {code}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (GERONIMO-4579) There are errors during zip file
extracted on Linux OS using farm clustering
Posted by "Shawn Jiang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMO-4579?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Shawn Jiang updated GERONIMO-4579:
----------------------------------
Attachment: G4579_trunk.patch
G4579_21.patch
See the patch to fix this problem. Couple with the snapshot, you will understand what the defect is.
> There are errors during zip file extracted on Linux OS using farm clustering
> ----------------------------------------------------------------------------
>
> Key: GERONIMO-4579
> URL: https://issues.apache.org/jira/browse/GERONIMO-4579
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: Clustering
> Affects Versions: 2.1.4
> Environment: SW:
> JAVA6+WIN2008+SLES10SP2
> HW:
> Intel x86
> Reporter: Zhen Chen
> Attachments: G4579_21.patch, G4579_trunk.patch, zip_extracted_errors .jpg
>
>
> Can't deploy a war to farm clustering successfully, because the zip file extracted on Linux OS is wrong.
> After deploying a war to farm clustering(ex, NODE-A,NODE-B), I found that the files are not in the correct path, while named in the form like "WEB-INF\classes\......
> .java" in cluster-repository on Linux OS.
> I have tried that on RHEL 5.2, SLES 10 OS. Same error occurs.
> I think this is a bug, Please check it.
> My steps:
> 1.Login on NODE-A server
> 1.1 For var\config\config-substitutions.properties
> {code:xml}
> clusterNodeName=NODE --> clusterNodeName=NODE-A RemoteDeployHostname=MachineA_IP
> {code}
> 1.2 For var\config\config.xml, add the following contents to module: org.apache.geronimo.configs/farming/2.1.4-SNAPSHOT/car
> {code:xml}
> <gbean name="org.apache.geronimo.configs/farming/2.1.4-SNAPSHOT/car?ServiceModule=org.apache.geronimo.configs/farming/2
> .1.4/car,j2eeType=NodeInfo,name=NodeInfoB" gbeanInfo="org.apache.geronimo.farm.config.BasicNodeInfo">
> <attribute name="name">NODE-B</attribute>
> <attribute propertyEditor="org.apache.geronimo.farm.config.BasicExtendedJMXConnectorInfoEditor"
> name="extendedJMXConnectorInfo">
> <ns:javabean class="org.apache.geronimo.farm.config.BasicExtendedJMXConnectorInfo"
> xmlns:ns4="http://geronimo.apache.org/xml/ns/attributes-1.2"
> xmlns:ns="http://geronimo.apache.org/xml/ns/deployment/javabean-1.0" xmlns="">
> <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">MachineB_IP</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>
> {code}
> 2.Login on NODE-B server
> 2.1 For var\config\config-substitutions.properties
> {code:xml}
> clusterNodeName=NODE --> clusterNodeName=NODE-B RemoteDeployHostname=MachineB_IP
> {code}
> 2.2 For var\config\config.xml, add the following contents to module: org.apache.geronimo.configs/farming/2.1.4-SNAPSHOT/car
> {code:xml}
> <gbean name="org.apache.geronimo.configs/farming/2.1.4-SNAPSHOT/car?ServiceModule=org.apache.geronimo.configs/far
> ming/2.1.4-SNAPSHOT/car,j2eeType=NodeInfo,name=NodeInfoA"
> gbeanInfo="org.apache.geronimo.farm.config.BasicNodeInfo">
> <attribute name="name">NODE-A</attribute>
> <attribute propertyEditor="org.apache.geronimo.farm.config.BasicExtendedJMXConnectorInfoEditor"
> name="extendedJMXConnectorInfo">
> <ns:javabean class="org.apache.geronimo.farm.config.BasicExtendedJMXConnectorInfo"
> xmlns:ns4="http://geronimo.apache.org/xml/ns/attributes-1.2"
> xmlns:ns="http://geronimo.apache.org/xml/ns/deployment/javabean-1.0" xmlns="">
> <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">MachineA_IP</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>
> {code}
> 3. Start NODE- A server , and NODE-B server
> 4.Run the following commands in GERONIMO_HOME\bin in Machine A
> {code:xml}
> 4.1 deploy.bat/sh --user system --password manager start org.apache.geronimo.configs/farming//car
> 4.2 deploy.bat/sh --user system --password manager --host MachineB_IP start org.apache.geronimo.configs/farming//car
> {code}
> 5.deploy.bat/sh --user system --password manager deploy --targets
> {code:xml}
> org.apache.geronimo.configs/farming/2.1.4-SNAPSHOT/car?ServiceModule=org.apache.geronimo.configs/farming/2.1.4-SNAPSHOT/car,j2eeType=Confi
> gurationStore,name=MasterConfigurationStore SAMPLE_HOME\applications\tomcat-cluster\servlet-examples-cluster-server1.war
> servlet-examples-cluster-plan.xml
> {code}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (GERONIMO-4579) There are errors during zip file
extracted on Linux OS using farm clustering
Posted by "Zhen Chen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMO-4579?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12682248#action_12682248 ]
Zhen Chen commented on GERONIMO-4579:
-------------------------------------
I verified that the bug has been fixed.
> There are errors during zip file extracted on Linux OS using farm clustering
> ----------------------------------------------------------------------------
>
> Key: GERONIMO-4579
> URL: https://issues.apache.org/jira/browse/GERONIMO-4579
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: Clustering
> Affects Versions: 2.1.4, 2.2
> Environment: SW:
> JAVA6+WIN2008+SLES10SP2
> HW:
> Intel x86
> Reporter: Zhen Chen
> Assignee: Jarek Gawor
> Fix For: 2.1.4, 2.2
>
> Attachments: G4579_21.patch, G4579_trunk.patch, zip_extracted_errors .jpg
>
>
> Can't deploy a war to farm clustering successfully, because the zip file extracted on Linux OS is wrong.
> After deploying a war to farm clustering(ex, NODE-A,NODE-B), I found that the files are not in the correct path, while named in the form like "WEB-INF\classes\......
> .java" in cluster-repository on Linux OS.
> I have tried that on RHEL 5.2, SLES 10 OS. Same error occurs.
> I think this is a bug, Please check it.
> My steps:
> 1.Login on NODE-A server
> 1.1 For var\config\config-substitutions.properties
> {code:xml}
> clusterNodeName=NODE --> clusterNodeName=NODE-A RemoteDeployHostname=MachineA_IP
> {code}
> 1.2 For var\config\config.xml, add the following contents to module: org.apache.geronimo.configs/farming/2.1.4-SNAPSHOT/car
> {code:xml}
> <gbean name="org.apache.geronimo.configs/farming/2.1.4-SNAPSHOT/car?ServiceModule=org.apache.geronimo.configs/farming/2
> .1.4/car,j2eeType=NodeInfo,name=NodeInfoB" gbeanInfo="org.apache.geronimo.farm.config.BasicNodeInfo">
> <attribute name="name">NODE-B</attribute>
> <attribute propertyEditor="org.apache.geronimo.farm.config.BasicExtendedJMXConnectorInfoEditor"
> name="extendedJMXConnectorInfo">
> <ns:javabean class="org.apache.geronimo.farm.config.BasicExtendedJMXConnectorInfo"
> xmlns:ns4="http://geronimo.apache.org/xml/ns/attributes-1.2"
> xmlns:ns="http://geronimo.apache.org/xml/ns/deployment/javabean-1.0" xmlns="">
> <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">MachineB_IP</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>
> {code}
> 2.Login on NODE-B server
> 2.1 For var\config\config-substitutions.properties
> {code:xml}
> clusterNodeName=NODE --> clusterNodeName=NODE-B RemoteDeployHostname=MachineB_IP
> {code}
> 2.2 For var\config\config.xml, add the following contents to module: org.apache.geronimo.configs/farming/2.1.4-SNAPSHOT/car
> {code:xml}
> <gbean name="org.apache.geronimo.configs/farming/2.1.4-SNAPSHOT/car?ServiceModule=org.apache.geronimo.configs/far
> ming/2.1.4-SNAPSHOT/car,j2eeType=NodeInfo,name=NodeInfoA"
> gbeanInfo="org.apache.geronimo.farm.config.BasicNodeInfo">
> <attribute name="name">NODE-A</attribute>
> <attribute propertyEditor="org.apache.geronimo.farm.config.BasicExtendedJMXConnectorInfoEditor"
> name="extendedJMXConnectorInfo">
> <ns:javabean class="org.apache.geronimo.farm.config.BasicExtendedJMXConnectorInfo"
> xmlns:ns4="http://geronimo.apache.org/xml/ns/attributes-1.2"
> xmlns:ns="http://geronimo.apache.org/xml/ns/deployment/javabean-1.0" xmlns="">
> <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">MachineA_IP</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>
> {code}
> 3. Start NODE- A server , and NODE-B server
> 4.Run the following commands in GERONIMO_HOME\bin in Machine A
> {code:xml}
> 4.1 deploy.bat/sh --user system --password manager start org.apache.geronimo.configs/farming//car
> 4.2 deploy.bat/sh --user system --password manager --host MachineB_IP start org.apache.geronimo.configs/farming//car
> {code}
> 5.deploy.bat/sh --user system --password manager deploy --targets
> {code:xml}
> org.apache.geronimo.configs/farming/2.1.4-SNAPSHOT/car?ServiceModule=org.apache.geronimo.configs/farming/2.1.4-SNAPSHOT/car,j2eeType=Confi
> gurationStore,name=MasterConfigurationStore SAMPLE_HOME\applications\tomcat-cluster\servlet-examples-cluster-server1.war
> servlet-examples-cluster-plan.xml
> {code}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (GERONIMO-4579) There are errors during zip file
extracted on Linux OS using farm clustering
Posted by "Jarek Gawor (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMO-4579?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12680889#action_12680889 ]
Jarek Gawor commented on GERONIMO-4579:
---------------------------------------
Shawn,
When submitting a patch make sure it does not change the formatting of the file (even though the formatting of the original file might be wrong) because it is hard to see the particular changes.
> There are errors during zip file extracted on Linux OS using farm clustering
> ----------------------------------------------------------------------------
>
> Key: GERONIMO-4579
> URL: https://issues.apache.org/jira/browse/GERONIMO-4579
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: Clustering
> Affects Versions: 2.1.4, 2.2
> Environment: SW:
> JAVA6+WIN2008+SLES10SP2
> HW:
> Intel x86
> Reporter: Zhen Chen
> Assignee: Jarek Gawor
> Attachments: G4579_21.patch, G4579_trunk.patch, zip_extracted_errors .jpg
>
>
> Can't deploy a war to farm clustering successfully, because the zip file extracted on Linux OS is wrong.
> After deploying a war to farm clustering(ex, NODE-A,NODE-B), I found that the files are not in the correct path, while named in the form like "WEB-INF\classes\......
> .java" in cluster-repository on Linux OS.
> I have tried that on RHEL 5.2, SLES 10 OS. Same error occurs.
> I think this is a bug, Please check it.
> My steps:
> 1.Login on NODE-A server
> 1.1 For var\config\config-substitutions.properties
> {code:xml}
> clusterNodeName=NODE --> clusterNodeName=NODE-A RemoteDeployHostname=MachineA_IP
> {code}
> 1.2 For var\config\config.xml, add the following contents to module: org.apache.geronimo.configs/farming/2.1.4-SNAPSHOT/car
> {code:xml}
> <gbean name="org.apache.geronimo.configs/farming/2.1.4-SNAPSHOT/car?ServiceModule=org.apache.geronimo.configs/farming/2
> .1.4/car,j2eeType=NodeInfo,name=NodeInfoB" gbeanInfo="org.apache.geronimo.farm.config.BasicNodeInfo">
> <attribute name="name">NODE-B</attribute>
> <attribute propertyEditor="org.apache.geronimo.farm.config.BasicExtendedJMXConnectorInfoEditor"
> name="extendedJMXConnectorInfo">
> <ns:javabean class="org.apache.geronimo.farm.config.BasicExtendedJMXConnectorInfo"
> xmlns:ns4="http://geronimo.apache.org/xml/ns/attributes-1.2"
> xmlns:ns="http://geronimo.apache.org/xml/ns/deployment/javabean-1.0" xmlns="">
> <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">MachineB_IP</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>
> {code}
> 2.Login on NODE-B server
> 2.1 For var\config\config-substitutions.properties
> {code:xml}
> clusterNodeName=NODE --> clusterNodeName=NODE-B RemoteDeployHostname=MachineB_IP
> {code}
> 2.2 For var\config\config.xml, add the following contents to module: org.apache.geronimo.configs/farming/2.1.4-SNAPSHOT/car
> {code:xml}
> <gbean name="org.apache.geronimo.configs/farming/2.1.4-SNAPSHOT/car?ServiceModule=org.apache.geronimo.configs/far
> ming/2.1.4-SNAPSHOT/car,j2eeType=NodeInfo,name=NodeInfoA"
> gbeanInfo="org.apache.geronimo.farm.config.BasicNodeInfo">
> <attribute name="name">NODE-A</attribute>
> <attribute propertyEditor="org.apache.geronimo.farm.config.BasicExtendedJMXConnectorInfoEditor"
> name="extendedJMXConnectorInfo">
> <ns:javabean class="org.apache.geronimo.farm.config.BasicExtendedJMXConnectorInfo"
> xmlns:ns4="http://geronimo.apache.org/xml/ns/attributes-1.2"
> xmlns:ns="http://geronimo.apache.org/xml/ns/deployment/javabean-1.0" xmlns="">
> <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">MachineA_IP</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>
> {code}
> 3. Start NODE- A server , and NODE-B server
> 4.Run the following commands in GERONIMO_HOME\bin in Machine A
> {code:xml}
> 4.1 deploy.bat/sh --user system --password manager start org.apache.geronimo.configs/farming//car
> 4.2 deploy.bat/sh --user system --password manager --host MachineB_IP start org.apache.geronimo.configs/farming//car
> {code}
> 5.deploy.bat/sh --user system --password manager deploy --targets
> {code:xml}
> org.apache.geronimo.configs/farming/2.1.4-SNAPSHOT/car?ServiceModule=org.apache.geronimo.configs/farming/2.1.4-SNAPSHOT/car,j2eeType=Confi
> gurationStore,name=MasterConfigurationStore SAMPLE_HOME\applications\tomcat-cluster\servlet-examples-cluster-server1.war
> servlet-examples-cluster-plan.xml
> {code}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (GERONIMO-4579) There are errors during zip file
extracted on Linux OS using farm clustering
Posted by "Zhen Chen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMO-4579?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Zhen Chen updated GERONIMO-4579:
--------------------------------
Attachment: zip_extracted_errors .jpg
You can find that files are not in the correct path, while named in the form like "WEB-INF\classes\.......java".
> There are errors during zip file extracted on Linux OS using farm clustering
> ----------------------------------------------------------------------------
>
> Key: GERONIMO-4579
> URL: https://issues.apache.org/jira/browse/GERONIMO-4579
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: Clustering
> Affects Versions: 2.1.4
> Environment: SW:
> JAVA6+WIN2008+SLES10SP2
> HW:
> Intel x86
> Reporter: Zhen Chen
> Attachments: zip_extracted_errors .jpg
>
>
> Can't deploy a war to farm clustering successfully, because the zip file extracted on Linux OS is wrong.
> After deploying a war to farm clustering(ex, NODE-A,NODE-B), I found that the files are not in the correct path, while named in the form like "WEB-INF\classes\......
> .java" in cluster-repository on Linux OS.
> I have tried that on RHEL 5.2, SLES 10 OS. Same error occurs.
> I think this is a bug, Please check it.
> My steps:
> 1.Login on NODE-A server
> 1.1 For var\config\config-substitutions.properties
> {code:xml}
> clusterNodeName=NODE --> clusterNodeName=NODE-A RemoteDeployHostname=MachineA_IP
> {code}
> 1.2 For var\config\config.xml, add the following contents to module: org.apache.geronimo.configs/farming/2.1.4-SNAPSHOT/car
> {code:xml}
> <gbean name="org.apache.geronimo.configs/farming/2.1.4-SNAPSHOT/car?ServiceModule=org.apache.geronimo.configs/farming/2
> .1.4/car,j2eeType=NodeInfo,name=NodeInfoB" gbeanInfo="org.apache.geronimo.farm.config.BasicNodeInfo">
> <attribute name="name">NODE-B</attribute>
> <attribute propertyEditor="org.apache.geronimo.farm.config.BasicExtendedJMXConnectorInfoEditor"
> name="extendedJMXConnectorInfo">
> <ns:javabean class="org.apache.geronimo.farm.config.BasicExtendedJMXConnectorInfo"
> xmlns:ns4="http://geronimo.apache.org/xml/ns/attributes-1.2"
> xmlns:ns="http://geronimo.apache.org/xml/ns/deployment/javabean-1.0" xmlns="">
> <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">MachineB_IP</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>
> {code}
> 2.Login on NODE-B server
> 2.1 For var\config\config-substitutions.properties
> {code:xml}
> clusterNodeName=NODE --> clusterNodeName=NODE-B RemoteDeployHostname=MachineB_IP
> {code}
> 2.2 For var\config\config.xml, add the following contents to module: org.apache.geronimo.configs/farming/2.1.4-SNAPSHOT/car
> {code:xml}
> <gbean name="org.apache.geronimo.configs/farming/2.1.4-SNAPSHOT/car?ServiceModule=org.apache.geronimo.configs/far
> ming/2.1.4-SNAPSHOT/car,j2eeType=NodeInfo,name=NodeInfoA"
> gbeanInfo="org.apache.geronimo.farm.config.BasicNodeInfo">
> <attribute name="name">NODE-A</attribute>
> <attribute propertyEditor="org.apache.geronimo.farm.config.BasicExtendedJMXConnectorInfoEditor"
> name="extendedJMXConnectorInfo">
> <ns:javabean class="org.apache.geronimo.farm.config.BasicExtendedJMXConnectorInfo"
> xmlns:ns4="http://geronimo.apache.org/xml/ns/attributes-1.2"
> xmlns:ns="http://geronimo.apache.org/xml/ns/deployment/javabean-1.0" xmlns="">
> <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">MachineA_IP</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>
> {code}
> 3. Start NODE- A server , and NODE-B server
> 4.Run the following commands in GERONIMO_HOME\bin in Machine A
> {code:xml}
> 4.1 deploy.bat/sh --user system --password manager start org.apache.geronimo.configs/farming//car
> 4.2 deploy.bat/sh --user system --password manager --host MachineB_IP start org.apache.geronimo.configs/farming//car
> {code}
> 5.deploy.bat/sh --user system --password manager deploy --targets
> {code:xml}
> org.apache.geronimo.configs/farming/2.1.4-SNAPSHOT/car?ServiceModule=org.apache.geronimo.configs/farming/2.1.4-SNAPSHOT/car,j2eeType=Confi
> gurationStore,name=MasterConfigurationStore SAMPLE_HOME\applications\tomcat-cluster\servlet-examples-cluster-server1.war
> servlet-examples-cluster-plan.xml
> {code}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (GERONIMO-4579) There are errors during zip file
extracted on Linux OS using farm clustering
Posted by "Jarek Gawor (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMO-4579?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jarek Gawor resolved GERONIMO-4579.
-----------------------------------
Resolution: Fixed
Fix Version/s: 2.2
2.1.4
The problem was really witch creating the zip file and not extracting it. Anyway, committed the fixes to trunk (revision 752493), branches/2.1 (revision 752494) and branches/2.1.4 (revision 752506). Thanks for the patch!
> There are errors during zip file extracted on Linux OS using farm clustering
> ----------------------------------------------------------------------------
>
> Key: GERONIMO-4579
> URL: https://issues.apache.org/jira/browse/GERONIMO-4579
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: Clustering
> Affects Versions: 2.1.4, 2.2
> Environment: SW:
> JAVA6+WIN2008+SLES10SP2
> HW:
> Intel x86
> Reporter: Zhen Chen
> Assignee: Jarek Gawor
> Fix For: 2.1.4, 2.2
>
> Attachments: G4579_21.patch, G4579_trunk.patch, zip_extracted_errors .jpg
>
>
> Can't deploy a war to farm clustering successfully, because the zip file extracted on Linux OS is wrong.
> After deploying a war to farm clustering(ex, NODE-A,NODE-B), I found that the files are not in the correct path, while named in the form like "WEB-INF\classes\......
> .java" in cluster-repository on Linux OS.
> I have tried that on RHEL 5.2, SLES 10 OS. Same error occurs.
> I think this is a bug, Please check it.
> My steps:
> 1.Login on NODE-A server
> 1.1 For var\config\config-substitutions.properties
> {code:xml}
> clusterNodeName=NODE --> clusterNodeName=NODE-A RemoteDeployHostname=MachineA_IP
> {code}
> 1.2 For var\config\config.xml, add the following contents to module: org.apache.geronimo.configs/farming/2.1.4-SNAPSHOT/car
> {code:xml}
> <gbean name="org.apache.geronimo.configs/farming/2.1.4-SNAPSHOT/car?ServiceModule=org.apache.geronimo.configs/farming/2
> .1.4/car,j2eeType=NodeInfo,name=NodeInfoB" gbeanInfo="org.apache.geronimo.farm.config.BasicNodeInfo">
> <attribute name="name">NODE-B</attribute>
> <attribute propertyEditor="org.apache.geronimo.farm.config.BasicExtendedJMXConnectorInfoEditor"
> name="extendedJMXConnectorInfo">
> <ns:javabean class="org.apache.geronimo.farm.config.BasicExtendedJMXConnectorInfo"
> xmlns:ns4="http://geronimo.apache.org/xml/ns/attributes-1.2"
> xmlns:ns="http://geronimo.apache.org/xml/ns/deployment/javabean-1.0" xmlns="">
> <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">MachineB_IP</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>
> {code}
> 2.Login on NODE-B server
> 2.1 For var\config\config-substitutions.properties
> {code:xml}
> clusterNodeName=NODE --> clusterNodeName=NODE-B RemoteDeployHostname=MachineB_IP
> {code}
> 2.2 For var\config\config.xml, add the following contents to module: org.apache.geronimo.configs/farming/2.1.4-SNAPSHOT/car
> {code:xml}
> <gbean name="org.apache.geronimo.configs/farming/2.1.4-SNAPSHOT/car?ServiceModule=org.apache.geronimo.configs/far
> ming/2.1.4-SNAPSHOT/car,j2eeType=NodeInfo,name=NodeInfoA"
> gbeanInfo="org.apache.geronimo.farm.config.BasicNodeInfo">
> <attribute name="name">NODE-A</attribute>
> <attribute propertyEditor="org.apache.geronimo.farm.config.BasicExtendedJMXConnectorInfoEditor"
> name="extendedJMXConnectorInfo">
> <ns:javabean class="org.apache.geronimo.farm.config.BasicExtendedJMXConnectorInfo"
> xmlns:ns4="http://geronimo.apache.org/xml/ns/attributes-1.2"
> xmlns:ns="http://geronimo.apache.org/xml/ns/deployment/javabean-1.0" xmlns="">
> <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">MachineA_IP</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>
> {code}
> 3. Start NODE- A server , and NODE-B server
> 4.Run the following commands in GERONIMO_HOME\bin in Machine A
> {code:xml}
> 4.1 deploy.bat/sh --user system --password manager start org.apache.geronimo.configs/farming//car
> 4.2 deploy.bat/sh --user system --password manager --host MachineB_IP start org.apache.geronimo.configs/farming//car
> {code}
> 5.deploy.bat/sh --user system --password manager deploy --targets
> {code:xml}
> org.apache.geronimo.configs/farming/2.1.4-SNAPSHOT/car?ServiceModule=org.apache.geronimo.configs/farming/2.1.4-SNAPSHOT/car,j2eeType=Confi
> gurationStore,name=MasterConfigurationStore SAMPLE_HOME\applications\tomcat-cluster\servlet-examples-cluster-server1.war
> servlet-examples-cluster-plan.xml
> {code}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (GERONIMO-4579) There are errors during zip file
extracted on Linux OS using farm clustering
Posted by "Jarek Gawor (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMO-4579?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jarek Gawor reassigned GERONIMO-4579:
-------------------------------------
Assignee: Jarek Gawor
> There are errors during zip file extracted on Linux OS using farm clustering
> ----------------------------------------------------------------------------
>
> Key: GERONIMO-4579
> URL: https://issues.apache.org/jira/browse/GERONIMO-4579
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: Clustering
> Affects Versions: 2.1.4
> Environment: SW:
> JAVA6+WIN2008+SLES10SP2
> HW:
> Intel x86
> Reporter: Zhen Chen
> Assignee: Jarek Gawor
> Attachments: G4579_21.patch, G4579_trunk.patch, zip_extracted_errors .jpg
>
>
> Can't deploy a war to farm clustering successfully, because the zip file extracted on Linux OS is wrong.
> After deploying a war to farm clustering(ex, NODE-A,NODE-B), I found that the files are not in the correct path, while named in the form like "WEB-INF\classes\......
> .java" in cluster-repository on Linux OS.
> I have tried that on RHEL 5.2, SLES 10 OS. Same error occurs.
> I think this is a bug, Please check it.
> My steps:
> 1.Login on NODE-A server
> 1.1 For var\config\config-substitutions.properties
> {code:xml}
> clusterNodeName=NODE --> clusterNodeName=NODE-A RemoteDeployHostname=MachineA_IP
> {code}
> 1.2 For var\config\config.xml, add the following contents to module: org.apache.geronimo.configs/farming/2.1.4-SNAPSHOT/car
> {code:xml}
> <gbean name="org.apache.geronimo.configs/farming/2.1.4-SNAPSHOT/car?ServiceModule=org.apache.geronimo.configs/farming/2
> .1.4/car,j2eeType=NodeInfo,name=NodeInfoB" gbeanInfo="org.apache.geronimo.farm.config.BasicNodeInfo">
> <attribute name="name">NODE-B</attribute>
> <attribute propertyEditor="org.apache.geronimo.farm.config.BasicExtendedJMXConnectorInfoEditor"
> name="extendedJMXConnectorInfo">
> <ns:javabean class="org.apache.geronimo.farm.config.BasicExtendedJMXConnectorInfo"
> xmlns:ns4="http://geronimo.apache.org/xml/ns/attributes-1.2"
> xmlns:ns="http://geronimo.apache.org/xml/ns/deployment/javabean-1.0" xmlns="">
> <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">MachineB_IP</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>
> {code}
> 2.Login on NODE-B server
> 2.1 For var\config\config-substitutions.properties
> {code:xml}
> clusterNodeName=NODE --> clusterNodeName=NODE-B RemoteDeployHostname=MachineB_IP
> {code}
> 2.2 For var\config\config.xml, add the following contents to module: org.apache.geronimo.configs/farming/2.1.4-SNAPSHOT/car
> {code:xml}
> <gbean name="org.apache.geronimo.configs/farming/2.1.4-SNAPSHOT/car?ServiceModule=org.apache.geronimo.configs/far
> ming/2.1.4-SNAPSHOT/car,j2eeType=NodeInfo,name=NodeInfoA"
> gbeanInfo="org.apache.geronimo.farm.config.BasicNodeInfo">
> <attribute name="name">NODE-A</attribute>
> <attribute propertyEditor="org.apache.geronimo.farm.config.BasicExtendedJMXConnectorInfoEditor"
> name="extendedJMXConnectorInfo">
> <ns:javabean class="org.apache.geronimo.farm.config.BasicExtendedJMXConnectorInfo"
> xmlns:ns4="http://geronimo.apache.org/xml/ns/attributes-1.2"
> xmlns:ns="http://geronimo.apache.org/xml/ns/deployment/javabean-1.0" xmlns="">
> <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">MachineA_IP</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>
> {code}
> 3. Start NODE- A server , and NODE-B server
> 4.Run the following commands in GERONIMO_HOME\bin in Machine A
> {code:xml}
> 4.1 deploy.bat/sh --user system --password manager start org.apache.geronimo.configs/farming//car
> 4.2 deploy.bat/sh --user system --password manager --host MachineB_IP start org.apache.geronimo.configs/farming//car
> {code}
> 5.deploy.bat/sh --user system --password manager deploy --targets
> {code:xml}
> org.apache.geronimo.configs/farming/2.1.4-SNAPSHOT/car?ServiceModule=org.apache.geronimo.configs/farming/2.1.4-SNAPSHOT/car,j2eeType=Confi
> gurationStore,name=MasterConfigurationStore SAMPLE_HOME\applications\tomcat-cluster\servlet-examples-cluster-server1.war
> servlet-examples-cluster-plan.xml
> {code}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (GERONIMO-4579) There are errors during zip file
extracted on Linux OS using farm clustering
Posted by "Gianny Damour (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMO-4579?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12680397#action_12680397 ]
Gianny Damour commented on GERONIMO-4579:
-----------------------------------------
I do not understand what you mean by "files are not in the correct path".
Can you start the WAR on NODE-A?
> There are errors during zip file extracted on Linux OS using farm clustering
> ----------------------------------------------------------------------------
>
> Key: GERONIMO-4579
> URL: https://issues.apache.org/jira/browse/GERONIMO-4579
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: Clustering
> Affects Versions: 2.1.4
> Environment: SW:
> JAVA6+WIN2008+SLES10SP2
> HW:
> Intel x86
> Reporter: Zhen Chen
> Attachments: zip_extracted_errors .jpg
>
>
> Can't deploy a war to farm clustering successfully, because the zip file extracted on Linux OS is wrong.
> After deploying a war to farm clustering(ex, NODE-A,NODE-B), I found that the files are not in the correct path, while named in the form like "WEB-INF\classes\......
> .java" in cluster-repository on Linux OS.
> I have tried that on RHEL 5.2, SLES 10 OS. Same error occurs.
> I think this is a bug, Please check it.
> My steps:
> 1.Login on NODE-A server
> 1.1 For var\config\config-substitutions.properties
> {code:xml}
> clusterNodeName=NODE --> clusterNodeName=NODE-A RemoteDeployHostname=MachineA_IP
> {code}
> 1.2 For var\config\config.xml, add the following contents to module: org.apache.geronimo.configs/farming/2.1.4-SNAPSHOT/car
> {code:xml}
> <gbean name="org.apache.geronimo.configs/farming/2.1.4-SNAPSHOT/car?ServiceModule=org.apache.geronimo.configs/farming/2
> .1.4/car,j2eeType=NodeInfo,name=NodeInfoB" gbeanInfo="org.apache.geronimo.farm.config.BasicNodeInfo">
> <attribute name="name">NODE-B</attribute>
> <attribute propertyEditor="org.apache.geronimo.farm.config.BasicExtendedJMXConnectorInfoEditor"
> name="extendedJMXConnectorInfo">
> <ns:javabean class="org.apache.geronimo.farm.config.BasicExtendedJMXConnectorInfo"
> xmlns:ns4="http://geronimo.apache.org/xml/ns/attributes-1.2"
> xmlns:ns="http://geronimo.apache.org/xml/ns/deployment/javabean-1.0" xmlns="">
> <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">MachineB_IP</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>
> {code}
> 2.Login on NODE-B server
> 2.1 For var\config\config-substitutions.properties
> {code:xml}
> clusterNodeName=NODE --> clusterNodeName=NODE-B RemoteDeployHostname=MachineB_IP
> {code}
> 2.2 For var\config\config.xml, add the following contents to module: org.apache.geronimo.configs/farming/2.1.4-SNAPSHOT/car
> {code:xml}
> <gbean name="org.apache.geronimo.configs/farming/2.1.4-SNAPSHOT/car?ServiceModule=org.apache.geronimo.configs/far
> ming/2.1.4-SNAPSHOT/car,j2eeType=NodeInfo,name=NodeInfoA"
> gbeanInfo="org.apache.geronimo.farm.config.BasicNodeInfo">
> <attribute name="name">NODE-A</attribute>
> <attribute propertyEditor="org.apache.geronimo.farm.config.BasicExtendedJMXConnectorInfoEditor"
> name="extendedJMXConnectorInfo">
> <ns:javabean class="org.apache.geronimo.farm.config.BasicExtendedJMXConnectorInfo"
> xmlns:ns4="http://geronimo.apache.org/xml/ns/attributes-1.2"
> xmlns:ns="http://geronimo.apache.org/xml/ns/deployment/javabean-1.0" xmlns="">
> <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">MachineA_IP</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>
> {code}
> 3. Start NODE- A server , and NODE-B server
> 4.Run the following commands in GERONIMO_HOME\bin in Machine A
> {code:xml}
> 4.1 deploy.bat/sh --user system --password manager start org.apache.geronimo.configs/farming//car
> 4.2 deploy.bat/sh --user system --password manager --host MachineB_IP start org.apache.geronimo.configs/farming//car
> {code}
> 5.deploy.bat/sh --user system --password manager deploy --targets
> {code:xml}
> org.apache.geronimo.configs/farming/2.1.4-SNAPSHOT/car?ServiceModule=org.apache.geronimo.configs/farming/2.1.4-SNAPSHOT/car,j2eeType=Confi
> gurationStore,name=MasterConfigurationStore SAMPLE_HOME\applications\tomcat-cluster\servlet-examples-cluster-server1.war
> servlet-examples-cluster-plan.xml
> {code}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.