geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jarek Gawor (JIRA)" <j...@apache.org>
Subject [jira] Commented: (GERONIMO-4579) There are errors during zip file extracted on Linux OS using farm clustering
Date Wed, 11 Mar 2009 15:40:50 GMT

    [ 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.


Mime
View raw message