Uploaded image for project: 'OpenAM'
  1. OpenAM
  2. OPENAM-2618

ssoadm create-agent cdsso domain array input

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 10.1.0-Xpress
    • Fix Version/s: 10.0.2, 11.0.0
    • Component/s: cdsso, CLI, install
    • Labels:
      None
    • Environment:
      CentOS 5.8, JDK 1.6
    • Rank:
      1|hznyrz:

      Description

      ssoadm create-agent command fails when attempting to load in cdsso cookie domain information.

      Fails if the cdsso cookie domain properties are entered as:

      com.sun.identity.agents.config.cdsso.cookie.domain[1]=.atest.net
      com.sun.identity.agents.config.cdsso.cookie.domain[0]=.btest.net

      Success if there is an import with:

      com.sun.identity.agents.config.cdsso.cookie.domain[2]=.atest.net
      com.sun.identity.agents.config.cdsso.cookie.domain[1]=.btest.net

      However, when imported like this a blank entry will be placed in the [0] sport in the array.

      Additionally, the export of the properties always includes a [0]. Due to this, an import using the exported properties list will always fail.

      Error (using -d) is:

      Caused by: Message:Plug-in com.sun.identity.idm.plugins.internal.AgentsRepo: Unable to create agent.

      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
      at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
      at com.sun.identity.shared.jaxrpc.SOAPClient$SOAPContentHandler.createResourceBasedException(SOAPClient.java:847)
      at com.sun.identity.shared.jaxrpc.SOAPClient$SOAPContentHandler.endDocument(SOAPClient.java:800)
      at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endDocument(AbstractSAXParser.java:737)
      at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:516)
      at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:808)
      at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
      at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119)
      at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)
      at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)
      at com.sun.identity.shared.jaxrpc.SOAPClient.send(SOAPClient.java:345)
      at com.sun.identity.shared.jaxrpc.SOAPClient.send(SOAPClient.java:314)
      at com.sun.identity.idm.remote.IdRemoteServicesImpl.create(IdRemoteServicesImpl.java:198)
      at com.sun.identity.idm.AMIdentityRepository.createIdentity(AMIdentityRepository.java:384)
      at com.sun.identity.common.configuration.AgentConfiguration.createAgentEx(AgentConfiguration.java:461)
      at com.sun.identity.common.configuration.AgentConfiguration.createAgent(AgentConfiguration.java:392)
      at com.sun.identity.cli.agentconfig.CreateAgent.handleRequest(CreateAgent.java:183)
      ... 6 more

      Plug-in com.sun.identity.idm.plugins.internal.AgentsRepo: Unable to create agent.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              kohei kohei
              Reporter:
              anilm2 anilm2 [X] (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: