ServiceMix
  1. ServiceMix
  2. SM-972

authenticationService is null - Several SA deployed on the same instance of Smx

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: 3.1
    • Fix Version/s: 3.1.2, 3.2
    • Component/s: servicemix-soap
    • Labels:
      None
    • Environment:

      Linux Redhat EL 4

      Description

      We've deployed 2 sa on the same instance of Smx.
      There both work when they are deployed alone.

      But when they are deployed together, the second sa returns the following error :

      <?xml version="1.0" encoding="UTF-8"?>
      <soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope">
      <soapenv:Body>
      <soapenv:Fault>
      <soapenv:Code>
      <soapenv:Value>soapenv:Receiver</soapenv:Value>
      </soapenv:Code>
      <soapenv:Reason>
      <soapenv:Text xml:lang="en">java.lang.IllegalArgumentException: authenticationService is null</soapenv:Text>
      </soapenv:Reason>
      </soapenv:Fault>
      </soapenv:Body>
      </soapenv:Envelope>

      Then, we send a request to the first sa, it works then to the second sa and the error changes :

      <?xml version="1.0" encoding="UTF-8"?>
      <soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope">
      <soapenv:Body>
      <soapenv:Fault>
      <soapenv:Code>
      <soapenv:Value>soapenv:Receiver</soapenv:Value>
      </soapenv:Code>
      <soapenv:Reason>
      <soapenv:Text xml:lang="en">java.lang.SecurityException: Endpoint is not authorized for this user</soapenv:Text>
      </soapenv:Reason>
      </soapenv:Fault>
      </soapenv:Body>
      </soapenv:Envelope>

      It seems something is overwrited ...

        Activity

          People

          • Assignee:
            Guillaume Nodet
            Reporter:
            Noseda Anne
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development