You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Peter Jones (JIRA)" <ji...@apache.org> on 2008/09/10 23:02:52 UTC

[jira] Created: (SM-1570) CxfBcJmsTest fails frequently on slower machine

CxfBcJmsTest fails frequently on slower machine
-----------------------------------------------

                 Key: SM-1570
                 URL: https://issues.apache.org/activemq/browse/SM-1570
             Project: ServiceMix
          Issue Type: Improvement
          Components: servicemix-cxf-bc
    Affects Versions: 3.2.2
            Reporter: Peter Jones
         Attachments: CxfBcJmsTest.patch.txt

Running the CxfBcJmsTest with the ibm jdk on an aix box, the test fails most of the time by hitting a timeout before receiving the expected message.  I've attached a patch which adds a cxf.xml config file which configures the cxf client receive timeout for this test to 10 seconds instead of the default 2 seconds.  This change seems to make the test pass consistently.

The patch can be applied and was tested against the servicemix 3.2 branch deployables/bindingcomponents/servicemix-cxf-bc directory as well as against the servicemix-cxf-bc trunk.

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


[jira] Work started: (SM-1570) CxfBcJmsTest fails frequently on slower machine

Posted by "Freeman Fang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SM-1570?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on SM-1570 started by Freeman Fang.

> CxfBcJmsTest fails frequently on slower machine
> -----------------------------------------------
>
>                 Key: SM-1570
>                 URL: https://issues.apache.org/activemq/browse/SM-1570
>             Project: ServiceMix
>          Issue Type: Improvement
>          Components: servicemix-cxf-bc
>    Affects Versions: 3.2.2
>            Reporter: Peter Jones
>            Assignee: Freeman Fang
>         Attachments: CxfBcJmsTest.patch.txt
>
>
> Running the CxfBcJmsTest with the ibm jdk on an aix box, the test fails most of the time by hitting a timeout before receiving the expected message.  I've attached a patch which adds a cxf.xml config file which configures the cxf client receive timeout for this test to 10 seconds instead of the default 2 seconds.  This change seems to make the test pass consistently.
> The patch can be applied and was tested against the servicemix 3.2 branch deployables/bindingcomponents/servicemix-cxf-bc directory as well as against the servicemix-cxf-bc trunk.

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


[jira] Updated: (SM-1570) CxfBcJmsTest fails frequently on slower machine

Posted by "Peter Jones (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SM-1570?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Peter Jones updated SM-1570:
----------------------------

    Attachment:     (was: CxfBcJmsTest.patch.txt)

> CxfBcJmsTest fails frequently on slower machine
> -----------------------------------------------
>
>                 Key: SM-1570
>                 URL: https://issues.apache.org/activemq/browse/SM-1570
>             Project: ServiceMix
>          Issue Type: Improvement
>          Components: servicemix-cxf-bc
>    Affects Versions: 3.2.2
>            Reporter: Peter Jones
>            Assignee: Freeman Fang
>         Attachments: CxfBcJmsTest2.patch.txt
>
>
> Running the CxfBcJmsTest with the ibm jdk on an aix box, the test fails most of the time by hitting a timeout before receiving the expected message.  I've attached a patch which adds a cxf.xml config file which configures the cxf client receive timeout for this test to 10 seconds instead of the default 2 seconds.  This change seems to make the test pass consistently.
> The patch can be applied and was tested against the servicemix 3.2 branch deployables/bindingcomponents/servicemix-cxf-bc directory as well as against the servicemix-cxf-bc trunk.

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


[jira] Assigned: (SM-1570) CxfBcJmsTest fails frequently on slower machine

Posted by "Freeman Fang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SM-1570?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Freeman Fang reassigned SM-1570:
--------------------------------

    Assignee: Freeman Fang

> CxfBcJmsTest fails frequently on slower machine
> -----------------------------------------------
>
>                 Key: SM-1570
>                 URL: https://issues.apache.org/activemq/browse/SM-1570
>             Project: ServiceMix
>          Issue Type: Improvement
>          Components: servicemix-cxf-bc
>    Affects Versions: 3.2.2
>            Reporter: Peter Jones
>            Assignee: Freeman Fang
>         Attachments: CxfBcJmsTest.patch.txt
>
>
> Running the CxfBcJmsTest with the ibm jdk on an aix box, the test fails most of the time by hitting a timeout before receiving the expected message.  I've attached a patch which adds a cxf.xml config file which configures the cxf client receive timeout for this test to 10 seconds instead of the default 2 seconds.  This change seems to make the test pass consistently.
> The patch can be applied and was tested against the servicemix 3.2 branch deployables/bindingcomponents/servicemix-cxf-bc directory as well as against the servicemix-cxf-bc trunk.

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


[jira] Updated: (SM-1570) CxfBcJmsTest fails frequently on slower machine

Posted by "Peter Jones (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SM-1570?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Peter Jones updated SM-1570:
----------------------------

    Attachment:     (was: CxfBcJmsTest2.patch.txt)

> CxfBcJmsTest fails frequently on slower machine
> -----------------------------------------------
>
>                 Key: SM-1570
>                 URL: https://issues.apache.org/activemq/browse/SM-1570
>             Project: ServiceMix
>          Issue Type: Improvement
>          Components: servicemix-cxf-bc
>    Affects Versions: 3.2.2
>            Reporter: Peter Jones
>            Assignee: Freeman Fang
>         Attachments: CxfBcJmsTest3.patch.txt
>
>
> Running the CxfBcJmsTest with the ibm jdk on an aix box, the test fails most of the time by hitting a timeout before receiving the expected message.  I've attached a patch which adds a cxf.xml config file which configures the cxf client receive timeout for this test to 10 seconds instead of the default 2 seconds.  This change seems to make the test pass consistently.
> The patch can be applied and was tested against the servicemix 3.2 branch deployables/bindingcomponents/servicemix-cxf-bc directory as well as against the servicemix-cxf-bc trunk.

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


[jira] Updated: (SM-1570) CxfBcJmsTest fails frequently on slower machine

Posted by "Peter Jones (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SM-1570?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Peter Jones updated SM-1570:
----------------------------

    Attachment: CxfBcJmsTest3.patch.txt

Actually, made a small change to the patch. I notice an error message being checked in the CxfBCSEProviderSystemTest seems to have changed with the update of the cxf version, so modified that test to pass.

> CxfBcJmsTest fails frequently on slower machine
> -----------------------------------------------
>
>                 Key: SM-1570
>                 URL: https://issues.apache.org/activemq/browse/SM-1570
>             Project: ServiceMix
>          Issue Type: Improvement
>          Components: servicemix-cxf-bc
>    Affects Versions: 3.2.2
>            Reporter: Peter Jones
>            Assignee: Freeman Fang
>         Attachments: CxfBcJmsTest2.patch.txt, CxfBcJmsTest3.patch.txt
>
>
> Running the CxfBcJmsTest with the ibm jdk on an aix box, the test fails most of the time by hitting a timeout before receiving the expected message.  I've attached a patch which adds a cxf.xml config file which configures the cxf client receive timeout for this test to 10 seconds instead of the default 2 seconds.  This change seems to make the test pass consistently.
> The patch can be applied and was tested against the servicemix 3.2 branch deployables/bindingcomponents/servicemix-cxf-bc directory as well as against the servicemix-cxf-bc trunk.

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


[jira] Updated: (SM-1570) CxfBcJmsTest fails frequently on slower machine

Posted by "Peter Jones (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SM-1570?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Peter Jones updated SM-1570:
----------------------------

    Attachment: CxfBcJmsTest2.patch.txt


Hi Freeman,

I had to modify the CxfBcJmsTest itself to create a new bus using the new config file which configured the timeout.  For whatever reason, setting the busCfg on the provider in the jms_transport.xml just wouldn't work.  Anyway, I've attached a new patch to resolve the issue.  Please let me know if you have any comments or suggestions!

Thanks,
Peter 

> CxfBcJmsTest fails frequently on slower machine
> -----------------------------------------------
>
>                 Key: SM-1570
>                 URL: https://issues.apache.org/activemq/browse/SM-1570
>             Project: ServiceMix
>          Issue Type: Improvement
>          Components: servicemix-cxf-bc
>    Affects Versions: 3.2.2
>            Reporter: Peter Jones
>            Assignee: Freeman Fang
>         Attachments: CxfBcJmsTest2.patch.txt
>
>
> Running the CxfBcJmsTest with the ibm jdk on an aix box, the test fails most of the time by hitting a timeout before receiving the expected message.  I've attached a patch which adds a cxf.xml config file which configures the cxf client receive timeout for this test to 10 seconds instead of the default 2 seconds.  This change seems to make the test pass consistently.
> The patch can be applied and was tested against the servicemix 3.2 branch deployables/bindingcomponents/servicemix-cxf-bc directory as well as against the servicemix-cxf-bc trunk.

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


[jira] Resolved: (SM-1570) CxfBcJmsTest fails frequently on slower machine

Posted by "Freeman Fang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SM-1570?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Freeman Fang resolved SM-1570.
------------------------------

    Fix Version/s: 3.2.3
       Resolution: Fixed

patch get applied on behalf of Peter with thanks
http://svn.apache.org/viewvc?rev=695719&view=rev

> CxfBcJmsTest fails frequently on slower machine
> -----------------------------------------------
>
>                 Key: SM-1570
>                 URL: https://issues.apache.org/activemq/browse/SM-1570
>             Project: ServiceMix
>          Issue Type: Improvement
>          Components: servicemix-cxf-bc
>    Affects Versions: 3.2.2
>            Reporter: Peter Jones
>            Assignee: Freeman Fang
>             Fix For: 3.2.3
>
>         Attachments: CxfBcJmsTest3.patch.txt
>
>
> Running the CxfBcJmsTest with the ibm jdk on an aix box, the test fails most of the time by hitting a timeout before receiving the expected message.  I've attached a patch which adds a cxf.xml config file which configures the cxf client receive timeout for this test to 10 seconds instead of the default 2 seconds.  This change seems to make the test pass consistently.
> The patch can be applied and was tested against the servicemix 3.2 branch deployables/bindingcomponents/servicemix-cxf-bc directory as well as against the servicemix-cxf-bc trunk.

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


[jira] Commented: (SM-1570) CxfBcJmsTest fails frequently on slower machine

Posted by "Peter Jones (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/SM-1570?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=45634#action_45634 ] 

Peter Jones commented on SM-1570:
---------------------------------


Hi Freeman,

Ah ok.  I thought it wouldn't hurt to put things in cxf.xml, since it was just configuration for the port name used in the Jms test and would be ignored by tests which used other port names.

I just changed things around and set the busCfg on the provider and consumer in the jms_transport.xml, but the configuration doesn't seem to have any affect in this case (i.e. the test times out again now).  I know I'm picking up the JmsTestTimeOut.xml config file since if I put garbage in there, things will complain appropriately.  Not sure if you have any suggestions.  Anyway, I'll fiddle with it a bit more and see if I can get the test working with a different patch.

Cheers,
Peter

> CxfBcJmsTest fails frequently on slower machine
> -----------------------------------------------
>
>                 Key: SM-1570
>                 URL: https://issues.apache.org/activemq/browse/SM-1570
>             Project: ServiceMix
>          Issue Type: Improvement
>          Components: servicemix-cxf-bc
>    Affects Versions: 3.2.2
>            Reporter: Peter Jones
>            Assignee: Freeman Fang
>         Attachments: CxfBcJmsTest.patch.txt
>
>
> Running the CxfBcJmsTest with the ibm jdk on an aix box, the test fails most of the time by hitting a timeout before receiving the expected message.  I've attached a patch which adds a cxf.xml config file which configures the cxf client receive timeout for this test to 10 seconds instead of the default 2 seconds.  This change seems to make the test pass consistently.
> The patch can be applied and was tested against the servicemix 3.2 branch deployables/bindingcomponents/servicemix-cxf-bc directory as well as against the servicemix-cxf-bc trunk.

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


[jira] Commented: (SM-1570) CxfBcJmsTest fails frequently on slower machine

Posted by "Freeman Fang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/SM-1570?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=45614#action_45614 ] 

Freeman Fang commented on SM-1570:
----------------------------------

Hi Peter,

You bus cfg file with name "cxf.xml" will be loaded by all bus initalization by default,  which means all tests will use this bus configuration. I think we should avoid this, would you please change the cfg file name such as JmsTestTimeOut.xml and specify it in the cxf bc configuration. For this test, you can edit
./src/test/resources/org/apache/servicemix/cxfbc/jms_transport.xml
and busCfg="JmsTestTimeOut.xml" attribute for cxf bc provider

Regards
Freeman

> CxfBcJmsTest fails frequently on slower machine
> -----------------------------------------------
>
>                 Key: SM-1570
>                 URL: https://issues.apache.org/activemq/browse/SM-1570
>             Project: ServiceMix
>          Issue Type: Improvement
>          Components: servicemix-cxf-bc
>    Affects Versions: 3.2.2
>            Reporter: Peter Jones
>            Assignee: Freeman Fang
>         Attachments: CxfBcJmsTest.patch.txt
>
>
> Running the CxfBcJmsTest with the ibm jdk on an aix box, the test fails most of the time by hitting a timeout before receiving the expected message.  I've attached a patch which adds a cxf.xml config file which configures the cxf client receive timeout for this test to 10 seconds instead of the default 2 seconds.  This change seems to make the test pass consistently.
> The patch can be applied and was tested against the servicemix 3.2 branch deployables/bindingcomponents/servicemix-cxf-bc directory as well as against the servicemix-cxf-bc trunk.

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