You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Peter Jones (JIRA)" <ji...@apache.org> on 2009/07/29 21:16:14 UTC

[jira] Created: (CXF-2371) WSSCTest fails with OutOfMemoryError with 64 bit jdk 5 on aix

WSSCTest fails with OutOfMemoryError with 64 bit jdk 5 on aix
-------------------------------------------------------------

                 Key: CXF-2371
                 URL: https://issues.apache.org/jira/browse/CXF-2371
             Project: CXF
          Issue Type: Bug
         Environment: 64 bit jdk 5 aix
            Reporter: Peter Jones
            Priority: Minor


The WSSCTest seems to hit an OutOfMemoryError with the 64 bit jdk it creating the service for the 4th or 5th last of the IPingServices which are tested (usually at the _X_IPingService).   Looks like it's trying to parse the service wsdl at the point of running out of memory. 

Can work around the issue by splitting the number of tests to be run into two groups and running half the tests in one test method and half in another test method rather than testing all the services in a single loop in the one test.

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


[jira] Commented: (CXF-2371) WSSCTest fails with OutOfMemoryError with 64 bit jdk 5 on aix

Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CXF-2371?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12851873#action_12851873 ] 

Daniel Kulp commented on CXF-2371:
----------------------------------


Gregor, 

Click on the "Subversion Commits" link just above the comments.   All the details are there.

> WSSCTest fails with OutOfMemoryError with 64 bit jdk 5 on aix
> -------------------------------------------------------------
>
>                 Key: CXF-2371
>                 URL: https://issues.apache.org/jira/browse/CXF-2371
>             Project: CXF
>          Issue Type: Bug
>         Environment: 64 bit jdk 5 aix
>            Reporter: Peter Jones
>            Assignee: Daniel Kulp
>            Priority: Minor
>             Fix For: 2.2.4
>
>
> The WSSCTest seems to hit an OutOfMemoryError with the 64 bit jdk it creating the service for the 4th or 5th last of the IPingServices which are tested (usually at the _X_IPingService).   Looks like it's trying to parse the service wsdl at the point of running out of memory. 
> Can work around the issue by splitting the number of tests to be run into two groups and running half the tests in one test method and half in another test method rather than testing all the services in a single loop in the one test.

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


[jira] Commented: (CXF-2371) WSSCTest fails with OutOfMemoryError with 64 bit jdk 5 on aix

Posted by "Gregor B. Rosenauer (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CXF-2371?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12851783#action_12851783 ] 

Gregor B. Rosenauer commented on CXF-2371:
------------------------------------------

Dan,

We are facing the same problem (however independent of the JVM, both Sun and IBM show OutOfMemoryErrors eventually).
Could you please point me to the patch you committed?
I need a backport for JBossWS 3.1.1, as this is the last version supported under JBoss 4.2.3.
Do you have any info on this? Your help is greatly appreciated, thanks.

> WSSCTest fails with OutOfMemoryError with 64 bit jdk 5 on aix
> -------------------------------------------------------------
>
>                 Key: CXF-2371
>                 URL: https://issues.apache.org/jira/browse/CXF-2371
>             Project: CXF
>          Issue Type: Bug
>         Environment: 64 bit jdk 5 aix
>            Reporter: Peter Jones
>            Assignee: Daniel Kulp
>            Priority: Minor
>             Fix For: 2.2.4
>
>
> The WSSCTest seems to hit an OutOfMemoryError with the 64 bit jdk it creating the service for the 4th or 5th last of the IPingServices which are tested (usually at the _X_IPingService).   Looks like it's trying to parse the service wsdl at the point of running out of memory. 
> Can work around the issue by splitting the number of tests to be run into two groups and running half the tests in one test method and half in another test method rather than testing all the services in a single loop in the one test.

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


[jira] Commented: (CXF-2371) WSSCTest fails with OutOfMemoryError with 64 bit jdk 5 on aix

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

Peter Jones commented on CXF-2371:
----------------------------------

Hi Dan,

This change works great for the aix box where I was seeing the problem.... no OutOfMemoryErrors running the test!  Thanks!

> WSSCTest fails with OutOfMemoryError with 64 bit jdk 5 on aix
> -------------------------------------------------------------
>
>                 Key: CXF-2371
>                 URL: https://issues.apache.org/jira/browse/CXF-2371
>             Project: CXF
>          Issue Type: Bug
>         Environment: 64 bit jdk 5 aix
>            Reporter: Peter Jones
>            Priority: Minor
>
> The WSSCTest seems to hit an OutOfMemoryError with the 64 bit jdk it creating the service for the 4th or 5th last of the IPingServices which are tested (usually at the _X_IPingService).   Looks like it's trying to parse the service wsdl at the point of running out of memory. 
> Can work around the issue by splitting the number of tests to be run into two groups and running half the tests in one test method and half in another test method rather than testing all the services in a single loop in the one test.

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


[jira] Commented: (CXF-2371) WSSCTest fails with OutOfMemoryError with 64 bit jdk 5 on aix

Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CXF-2371?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12737106#action_12737106 ] 

Daniel Kulp commented on CXF-2371:
----------------------------------


Peter, 

I just committed a change to trunk that SHOULD fix this.   Can you test it?    Basically, it uses the wsdl that was used at code gen time and just overrides the endpoint address.   Thus, a single wsdl should be used and not-reparsed every time.

It would probably be good to get the other ws-* tests to do the same.   Would speed them up a bit.


> WSSCTest fails with OutOfMemoryError with 64 bit jdk 5 on aix
> -------------------------------------------------------------
>
>                 Key: CXF-2371
>                 URL: https://issues.apache.org/jira/browse/CXF-2371
>             Project: CXF
>          Issue Type: Bug
>         Environment: 64 bit jdk 5 aix
>            Reporter: Peter Jones
>            Priority: Minor
>
> The WSSCTest seems to hit an OutOfMemoryError with the 64 bit jdk it creating the service for the 4th or 5th last of the IPingServices which are tested (usually at the _X_IPingService).   Looks like it's trying to parse the service wsdl at the point of running out of memory. 
> Can work around the issue by splitting the number of tests to be run into two groups and running half the tests in one test method and half in another test method rather than testing all the services in a single loop in the one test.

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


[jira] Resolved: (CXF-2371) WSSCTest fails with OutOfMemoryError with 64 bit jdk 5 on aix

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

Daniel Kulp resolved CXF-2371.
------------------------------

       Resolution: Fixed
    Fix Version/s: 2.2.4
         Assignee: Daniel Kulp

> WSSCTest fails with OutOfMemoryError with 64 bit jdk 5 on aix
> -------------------------------------------------------------
>
>                 Key: CXF-2371
>                 URL: https://issues.apache.org/jira/browse/CXF-2371
>             Project: CXF
>          Issue Type: Bug
>         Environment: 64 bit jdk 5 aix
>            Reporter: Peter Jones
>            Assignee: Daniel Kulp
>            Priority: Minor
>             Fix For: 2.2.4
>
>
> The WSSCTest seems to hit an OutOfMemoryError with the 64 bit jdk it creating the service for the 4th or 5th last of the IPingServices which are tested (usually at the _X_IPingService).   Looks like it's trying to parse the service wsdl at the point of running out of memory. 
> Can work around the issue by splitting the number of tests to be run into two groups and running half the tests in one test method and half in another test method rather than testing all the services in a single loop in the one test.

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


[jira] Commented: (CXF-2371) WSSCTest fails with OutOfMemoryError with 64 bit jdk 5 on aix

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

Peter Jones commented on CXF-2371:
----------------------------------

Hi Dan,

Looks like for this test, the WSDLManagerImpl cached the definition (and schemas) for each service the test calls... that is, the wsdl is cached under the following keys:

http://localhost:9001/SecureConversation_MutualCertificate10SignEncrypt_IPingService?wsdl
http://localhost:9001/AC_IPingService?wsdl
http://localhost:9001/ADC-ES_IPingService?wsdl
http://localhost:9001/_A_IPingService?wsdl
http://localhost:9001/_AD_IPingService?wsdl
... etc. etc.

So, it's caching it... repeatedly. :)


> WSSCTest fails with OutOfMemoryError with 64 bit jdk 5 on aix
> -------------------------------------------------------------
>
>                 Key: CXF-2371
>                 URL: https://issues.apache.org/jira/browse/CXF-2371
>             Project: CXF
>          Issue Type: Bug
>         Environment: 64 bit jdk 5 aix
>            Reporter: Peter Jones
>            Priority: Minor
>
> The WSSCTest seems to hit an OutOfMemoryError with the 64 bit jdk it creating the service for the 4th or 5th last of the IPingServices which are tested (usually at the _X_IPingService).   Looks like it's trying to parse the service wsdl at the point of running out of memory. 
> Can work around the issue by splitting the number of tests to be run into two groups and running half the tests in one test method and half in another test method rather than testing all the services in a single loop in the one test.

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


[jira] Commented: (CXF-2371) WSSCTest fails with OutOfMemoryError with 64 bit jdk 5 on aix

Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CXF-2371?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12736830#action_12736830 ] 

Daniel Kulp commented on CXF-2371:
----------------------------------


Since they all use the same wsdl, this STRONGLY implies that the wsdl caching mechanism in WSDLManagerImpl isn't working on the IBM JDK.   Rather than fixing the symptom, is it possible for you to debug in and see if the caching is actually working?

> WSSCTest fails with OutOfMemoryError with 64 bit jdk 5 on aix
> -------------------------------------------------------------
>
>                 Key: CXF-2371
>                 URL: https://issues.apache.org/jira/browse/CXF-2371
>             Project: CXF
>          Issue Type: Bug
>         Environment: 64 bit jdk 5 aix
>            Reporter: Peter Jones
>            Priority: Minor
>
> The WSSCTest seems to hit an OutOfMemoryError with the 64 bit jdk it creating the service for the 4th or 5th last of the IPingServices which are tested (usually at the _X_IPingService).   Looks like it's trying to parse the service wsdl at the point of running out of memory. 
> Can work around the issue by splitting the number of tests to be run into two groups and running half the tests in one test method and half in another test method rather than testing all the services in a single loop in the one test.

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