You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "viola.lu (JIRA)" <ji...@apache.org> on 2010/07/26 10:49:49 UTC

[jira] Created: (GERONIMO-5469) Add EJB cluster testsuite

Add EJB cluster testsuite
-------------------------

                 Key: GERONIMO-5469
                 URL: https://issues.apache.org/jira/browse/GERONIMO-5469
             Project: Geronimo
          Issue Type: Bug
      Security Level: public (Regular issues)
          Components: testsuite
    Affects Versions: 2.2.2
            Reporter: viola.lu
            Assignee: viola.lu
            Priority: Minor
             Fix For: 2.2.2


1.Create two servers with maven ant plugin which will copy servers from geornimo tomcat javaee assemly and overridde config-subsitution.properties to each server
2.Start two server instances , deploy loadbean to two servers, run ejb client against two: failover:ejbd://127.0.0.1:4202,ejbd://127.0.0.1:4211"
3.Stop one server and run ejb client again. It still work, just on warning: one server down. 

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


[jira] Updated: (GERONIMO-5469) Add EJB cluster testsuite

Posted by "viola.lu (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-5469?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

viola.lu updated GERONIMO-5469:
-------------------------------

    Attachment: G5469.patch

pls help review it.thanks

> Add EJB cluster testsuite
> -------------------------
>
>                 Key: GERONIMO-5469
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-5469
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: testsuite
>    Affects Versions: 2.2.2
>            Reporter: viola.lu
>            Assignee: viola.lu
>            Priority: Minor
>             Fix For: 2.2.2
>
>         Attachments: G5469.patch
>
>
> 1.Create two servers with maven ant plugin which will copy servers from geornimo tomcat javaee assemly and overridde config-subsitution.properties to each server
> 2.Start two server instances , deploy loadbean to two servers, run ejb client against two: failover:ejbd://127.0.0.1:4202,ejbd://127.0.0.1:4211"
> 3.Stop one server and run ejb client again. It still work, just on warning: one server down. 

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


[jira] Commented: (GERONIMO-5469) Add EJB cluster testsuite

Posted by "viola.lu (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GERONIMO-5469?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12896761#action_12896761 ] 

viola.lu commented on GERONIMO-5469:
------------------------------------

Hi, shawn: thanks for your valuable inputs, i will follow your advice.thanks so much.

> Add EJB cluster testsuite
> -------------------------
>
>                 Key: GERONIMO-5469
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-5469
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: testsuite
>    Affects Versions: 2.2.2
>            Reporter: viola.lu
>            Assignee: viola.lu
>            Priority: Minor
>             Fix For: 2.2.2
>
>         Attachments: G5469.patch
>
>
> 1.Create two servers with maven ant plugin which will copy servers from geornimo tomcat javaee assemly and overridde config-subsitution.properties to each server
> 2.Start two server instances , deploy loadbean to two servers, run ejb client against two: failover:ejbd://127.0.0.1:4202,ejbd://127.0.0.1:4211"
> 3.Stop one server and run ejb client again. It still work, just on warning: one server down. 

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


[jira] Commented: (GERONIMO-5469) Add EJB cluster testsuite

Posted by "Shawn Jiang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GERONIMO-5469?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12920143#action_12920143 ] 

Shawn Jiang commented on GERONIMO-5469:
---------------------------------------

There are still some problems in the clustering testsuite.   there's a  class not found error at the build server.   In addition, the current test logic does not throw error even it can't connect the server.

{code}
[INFO] Executed tasks
[INFO] [INFO] [geronimo:start-server {execution: start-server1}]
[INFO] [INFO] Using pre-installed assembly: /home/geronimo/geronimo/2.2/testsuite/cluster-testsuite/ejb-multicast/target/server1
[INFO] [INFO] Installation type is pre-existing; skipping installation
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [ERROR] FATAL ERROR
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [INFO] Requested factory com.ctc.wstx.stax.WstxInputFactory cannot be located.  Classloader =org.codehaus.classworlds.RealmClassLoader@1ac5f13
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [INFO] Trace
[INFO] javax.xml.stream.FactoryConfigurationError: Requested factory com.ctc.wstx.stax.WstxInputFactory cannot be located.  Classloader =org.codehaus.classworlds.RealmClassLoader@1ac5f13
[INFO] 	at javax.xml.stream.FactoryLocator.loadFactory(FactoryLocator.java:120)
[INFO] 	at javax.xml.stream.FactoryLocator.locate(FactoryLocator.java:109)
[INFO] 	at javax.xml.stream.FactoryLocator.locate(FactoryLocator.java:54)
{code}

Disabled it for now from 22 branch@r1021689.  



> Add EJB cluster testsuite
> -------------------------
>
>                 Key: GERONIMO-5469
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-5469
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: testsuite
>    Affects Versions: 2.2, 2.2.1
>            Reporter: viola.lu
>            Assignee: viola.lu
>            Priority: Minor
>             Fix For: 2.2, 2.2.1
>
>         Attachments: G5469.patch, G5469.patch, G5469_update.patch
>
>
> 1.Create two servers with maven ant plugin which will copy servers from geornimo tomcat javaee assemly and overridde config-subsitution.properties to each server
> 2.Start two server instances , deploy loadbean to two servers, run ejb client against two: failover:ejbd://127.0.0.1:4202,ejbd://127.0.0.1:4211"
> 3.Stop one server and run ejb client again. It still work, just on warning: one server down. 

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


[jira] Updated: (GERONIMO-5469) Add EJB cluster testsuite

Posted by "viola.lu (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-5469?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

viola.lu updated GERONIMO-5469:
-------------------------------

    Attachment: G5469_update.patch

Remove binary loadbean jar file, add its source code.

> Add EJB cluster testsuite
> -------------------------
>
>                 Key: GERONIMO-5469
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-5469
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: testsuite
>    Affects Versions: 2.2, 2.2.1
>            Reporter: viola.lu
>            Assignee: viola.lu
>            Priority: Minor
>             Fix For: 2.2, 2.2.1
>
>         Attachments: G5469.patch, G5469.patch, G5469_update.patch
>
>
> 1.Create two servers with maven ant plugin which will copy servers from geornimo tomcat javaee assemly and overridde config-subsitution.properties to each server
> 2.Start two server instances , deploy loadbean to two servers, run ejb client against two: failover:ejbd://127.0.0.1:4202,ejbd://127.0.0.1:4211"
> 3.Stop one server and run ejb client again. It still work, just on warning: one server down. 

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


[jira] Commented: (GERONIMO-5469) Add EJB cluster testsuite

Posted by "Shawn Jiang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GERONIMO-5469?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12903429#action_12903429 ] 

Shawn Jiang commented on GERONIMO-5469:
---------------------------------------

Patch committed to  22branch@r990156.   Thanks Viola for the patch !

> Add EJB cluster testsuite
> -------------------------
>
>                 Key: GERONIMO-5469
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-5469
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: testsuite
>    Affects Versions: 2.2.2
>            Reporter: viola.lu
>            Assignee: viola.lu
>            Priority: Minor
>             Fix For: 2.2.2
>
>         Attachments: G5469.patch, G5469.patch
>
>
> 1.Create two servers with maven ant plugin which will copy servers from geornimo tomcat javaee assemly and overridde config-subsitution.properties to each server
> 2.Start two server instances , deploy loadbean to two servers, run ejb client against two: failover:ejbd://127.0.0.1:4202,ejbd://127.0.0.1:4211"
> 3.Stop one server and run ejb client again. It still work, just on warning: one server down. 

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


[jira] Resolved: (GERONIMO-5469) Add EJB cluster testsuite

Posted by "viola.lu (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-5469?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

viola.lu resolved GERONIMO-5469.
--------------------------------

    Resolution: Fixed

> Add EJB cluster testsuite
> -------------------------
>
>                 Key: GERONIMO-5469
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-5469
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: testsuite
>    Affects Versions: 2.2.2
>            Reporter: viola.lu
>            Assignee: viola.lu
>            Priority: Minor
>             Fix For: 2.2.2
>
>         Attachments: G5469.patch, G5469.patch
>
>
> 1.Create two servers with maven ant plugin which will copy servers from geornimo tomcat javaee assemly and overridde config-subsitution.properties to each server
> 2.Start two server instances , deploy loadbean to two servers, run ejb client against two: failover:ejbd://127.0.0.1:4202,ejbd://127.0.0.1:4211"
> 3.Stop one server and run ejb client again. It still work, just on warning: one server down. 

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


[jira] Updated: (GERONIMO-5469) Add EJB cluster testsuite

Posted by "viola.lu (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-5469?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

viola.lu updated GERONIMO-5469:
-------------------------------

    Attachment: G5469.patch

Based on Shawn's suggestion, create a new patch, pls review it, thanks in advance!

> Add EJB cluster testsuite
> -------------------------
>
>                 Key: GERONIMO-5469
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-5469
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: testsuite
>    Affects Versions: 2.2.2
>            Reporter: viola.lu
>            Assignee: viola.lu
>            Priority: Minor
>             Fix For: 2.2.2
>
>         Attachments: G5469.patch, G5469.patch
>
>
> 1.Create two servers with maven ant plugin which will copy servers from geornimo tomcat javaee assemly and overridde config-subsitution.properties to each server
> 2.Start two server instances , deploy loadbean to two servers, run ejb client against two: failover:ejbd://127.0.0.1:4202,ejbd://127.0.0.1:4211"
> 3.Stop one server and run ejb client again. It still work, just on warning: one server down. 

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


[jira] Commented: (GERONIMO-5469) Add EJB cluster testsuite

Posted by "Shawn Jiang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GERONIMO-5469?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12896491#action_12896491 ] 

Shawn Jiang commented on GERONIMO-5469:
---------------------------------------

Thanks Viola,  Some quick comments for the patch.

1, Some files are not in a well format.  There are a lot of tabs in the source code.  Some content looks not so good.  eg. ejb-multipoint\pom.xml
2, There are duplicate load.java in each clustering cases.  Could it be reused in some way ?
3, The overide-xml files are full config.xml instead of the snippet that matters to clustering setting. It's not so good for user to understand what's the key change for the setting.
4,  Could we doing config-substitution.properties  overrride in geronimo-maven-plugin ?

> Add EJB cluster testsuite
> -------------------------
>
>                 Key: GERONIMO-5469
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-5469
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: testsuite
>    Affects Versions: 2.2.2
>            Reporter: viola.lu
>            Assignee: viola.lu
>            Priority: Minor
>             Fix For: 2.2.2
>
>         Attachments: G5469.patch
>
>
> 1.Create two servers with maven ant plugin which will copy servers from geornimo tomcat javaee assemly and overridde config-subsitution.properties to each server
> 2.Start two server instances , deploy loadbean to two servers, run ejb client against two: failover:ejbd://127.0.0.1:4202,ejbd://127.0.0.1:4211"
> 3.Stop one server and run ejb client again. It still work, just on warning: one server down. 

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


[jira] Updated: (GERONIMO-5469) Add EJB cluster testsuite

Posted by "Shawn Jiang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-5469?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shawn Jiang updated GERONIMO-5469:
----------------------------------

    Affects Version/s: 2.2
                       2.2.1
                           (was: 2.2.2)
        Fix Version/s: 2.2.1
                       2.2
                           (was: 2.2.2)

> Add EJB cluster testsuite
> -------------------------
>
>                 Key: GERONIMO-5469
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-5469
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: testsuite
>    Affects Versions: 2.2, 2.2.1
>            Reporter: viola.lu
>            Assignee: viola.lu
>            Priority: Minor
>             Fix For: 2.2, 2.2.1
>
>         Attachments: G5469.patch, G5469.patch
>
>
> 1.Create two servers with maven ant plugin which will copy servers from geornimo tomcat javaee assemly and overridde config-subsitution.properties to each server
> 2.Start two server instances , deploy loadbean to two servers, run ejb client against two: failover:ejbd://127.0.0.1:4202,ejbd://127.0.0.1:4211"
> 3.Stop one server and run ejb client again. It still work, just on warning: one server down. 

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