Uploaded image for project: 'ODE'
  1. ODE
  2. ODE-701

Threading / Synchronization problem with initialization of client side Axis2Services

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.0
    • 2.0-beta3
    • Axis2 Integration
    • None

    Description

      Hi,

      1.) 'm using the Axis2 Integration mechanism to configure the client side AxisServices (for outgoing service calls, in my case i used it to config rampart and the corresponding policies).
      Everything works as expected if I start the server (Apache Tomcat) and call the process with one client. After that it's possible to call the process with multiple concurrent clients.

      2.) But if I call the process with multiple concurrent clients right after the start of the server it happens that some of the ServiceClients bypass the Axis2 Integration mechanism and the service is not correctly configured (in my case no WS-Security is applied). All further concurrent calls suffer form the same problem and some of them are using the miss-configured ServiceClients.

      It happens most of the time, but sometimes it works as expected (all client calls have a consitent behavoiur), thus I conclude that this is some sort of thread synchronization at the client side AxisService initialization.

      The workaround has been described in 1.

      Greetings

      Christian

      Attachments

        Activity

          People

            Unassigned Unassigned
            mellowsnow Christian Connert
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: