Uploaded image for project: 'ServiceMix'
  1. ServiceMix
  2. SM-972

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 3.1
    • 3.1.2, 3.2
    • servicemix-soap
    • None
    • 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 ...

      Attachments

        Activity

          People

            gnodet Guillaume Nodet
            anoseda Noseda Anne
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: