Uploaded image for project: 'OpenAM Agents'
  1. OpenAM Agents
  2. AMAGENTS-2282

Sun Appserver J2EE Agent custom-install for additional instances on the same server fails

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • None
    • None
    • J2EE Agents
    • GlassFish Application Server v3.0.1, Java HotSpot VM (build 1.7.0-b147), RHEL 6 (2.6.32-131.0.15.el6.x86_64 #1 SMP Tue May 10 15:42:40 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux)

    Description

      Setup Domain Administration Server on host A
      Create ssh-config-host on host B
      Create standalone instance1 on host B
      Create 2nd standalone instance on host B

      Install agent on 'DAS' host A using 'agentagmin --custom-install'

      Install first agent on host B using 'agentadmin --custom-install' will create 'Agent_001' configuration, agent is working as expected.

      Listing the agents on host B shows ....

      ./agentadmin --listAgents

      The following agents are configured on this Application Server.

      The following are the details for agent Agent_001 :-
      Application Server Config Directory:
      /var/opt/sun/glassfish3/nodes/gf-node1/gf-inst1/config
      Application Server Instance name: gf-inst1

      No try to install a 2nd agent ...

      ./agentadmin --custom-install --debug
      AdminToolLauncher: Added system property: com.sun.identity.product.debug.enable=true
      AdminToolLauncher: Launcher Jar File: opensso-installtools-launcher.jar
      AdminToolLauncher: product home=/opt/sun/policyagent/j2ee_agents/appserver_v10_agent
      AdminToolLauncher: Directory: /opt/sun/policyagent/j2ee_agents/appserver_v10_agent exists and is valid directory
      AdminToolLauncher: Added system property: com.sun.identity.product.install.home=/opt/sun/policyagent/j2ee_agents/appserver_v10_agent
      AdminToolLauncher: Product home dir: /opt/sun/policyagent/j2ee_agents/appserver_v10_agent
      AdminToolLauncher: Directory: /opt/sun/policyagent/j2ee_agents/appserver_v10_agent/bin exists and is valid directory
      AdminToolLauncher: Added system property: com.sun.identity.product.bin.dir=/opt/sun/policyagent/j2ee_agents/appserver_v10_agent/bin
      AdminToolLauncher: Directory: /opt/sun/policyagent/j2ee_agents/appserver_v10_agent/config exists and is valid directory
      AdminToolLauncher: Added system property: com.sun.identity.product.config.dir=/opt/sun/policyagent/j2ee_agents/appserver_v10_agent/config
      AdminToolLauncher: Product Config Dir: /opt/sun/policyagent/j2ee_agents/appserver_v10_agent/config
      AdminToolLauncher: Directory: /opt/sun/policyagent/j2ee_agents/appserver_v10_agent/data exists and is valid directory
      AdminToolLauncher: Added system property: com.sun.identity.product.data.dir=/opt/sun/policyagent/j2ee_agents/appserver_v10_agent/data
      AdminToolLauncher: Product Data Dir: /opt/sun/policyagent/j2ee_agents/appserver_v10_agent/data
      AdminToolLauncher: Directory: /opt/sun/policyagent/j2ee_agents/appserver_v10_agent/etc exists and is valid directory
      AdminToolLauncher: Added system property: com.sun.identity.product.etc.dir=/opt/sun/policyagent/j2ee_agents/appserver_v10_agent/etc
      AdminToolLauncher: Directory: /opt/sun/policyagent/j2ee_agents/appserver_v10_agent/lib exists and is valid directory
      AdminToolLauncher: Added system property: com.sun.identity.product.lib.dir=/opt/sun/policyagent/j2ee_agents/appserver_v10_agent/lib
      AdminToolLauncher: Product lib dir: /opt/sun/policyagent/j2ee_agents/appserver_v10_agent/lib
      AdminToolLauncher: Directory: /opt/sun/policyagent/j2ee_agents/appserver_v10_agent/locale exists and is valid directory
      AdminToolLauncher: Added system property: com.sun.identity.product.locale.dir=/opt/sun/policyagent/j2ee_agents/appserver_v10_agent/locale
      AdminToolLauncher: Product locale dir: /opt/sun/policyagent/j2ee_agents/appserver_v10_agent/locale
      AdminToolLauncher: Directory: /opt/sun/policyagent/j2ee_agents/appserver_v10_agent/installer-logs exists and is valid directory
      AdminToolLauncher: Added system property: com.sun.identity.product.logs.dir=/opt/sun/policyagent/j2ee_agents/appserver_v10_agent/installer-logs
      AdminToolLauncher: Product Logs Dir: /opt/sun/policyagent/j2ee_agents/appserver_v10_agent/installer-logs
      AdminToolLauncher: Is JDK 14 or Above: true
      AdminToolLauncher: Product classpath elements: [/opt/sun/policyagent/j2ee_agents/appserver_v10_agent/lib/openssoclientsdk.jar, /opt/sun/policyagent/j2ee_agents/appserver_v10_agent/lib/agent.jar, /opt/sun/policyagent/j2ee_agents/appserver_v10_agent/lib/agent-3.0.3.jar, /opt/sun/policyagent/j2ee_agents/appserver_v10_agent/lib/commons-io-1.4.jar, /opt/sun/policyagent/j2ee_agents/appserver_v10_agent/lib/opensso-installtools.jar, /opt/sun/policyagent/j2ee_agents/appserver_v10_agent/locale, /opt/sun/policyagent/j2ee_agents/appserver_v10_agent/config]
      AdminToolLauncher: Current classpath: ./../lib/opensso-installtools-launcher.jar:./../lib/commons-io-1.4.jar
      AdminToolLauncher: Final Classpath: ./../lib/opensso-installtools-launcher.jar:./../lib/commons-io-1.4.jar:/opt/sun/policyagent/j2ee_agents/appserver_v10_agent/lib/openssoclientsdk.jar:/opt/sun/policyagent/j2ee_agents/appserver_v10_agent/lib/agent.jar:/opt/sun/policyagent/j2ee_agents/appserver_v10_agent/lib/agent-3.0.3.jar:/opt/sun/policyagent/j2ee_agents/appserver_v10_agent/lib/commons-io-1.4.jar:/opt/sun/policyagent/j2ee_agents/appserver_v10_agent/lib/opensso-installtools.jar:/opt/sun/policyagent/j2ee_agents/appserver_v10_agent/locale:/opt/sun/policyagent/j2ee_agents/appserver_v10_agent/config
      AdminToolLauncher: Path URLS: file:/opt/sun/policyagent/j2ee_agents/appserver_v10_agent/lib/openssoclientsdk.jar, file:/opt/sun/policyagent/j2ee_agents/appserver_v10_agent/lib/agent.jar, file:/opt/sun/policyagent/j2ee_agents/appserver_v10_agent/lib/agent-3.0.3.jar, file:/opt/sun/policyagent/j2ee_agents/appserver_v10_agent/lib/commons-io-1.4.jar, file:/opt/sun/policyagent/j2ee_agents/appserver_v10_agent/lib/opensso-installtools.jar, file:/opt/sun/policyagent/j2ee_agents/appserver_v10_agent/locale/, file:/opt/sun/policyagent/j2ee_agents/appserver_v10_agent/config/
      AdminToolLauncher: Context thread loader has been set.
      [02/27/2012 15:51:46:109 CET] AdminTool is now starting up.
      [02/27/2012 15:51:46:111 CET] Trying to acquire lock.
      [02/27/2012 15:51:46:111 CET] Lock acquired = true
      [02/27/2012 15:51:46:112 CET] AdminTool.checkImplicitLicenseAcceptance(): License check will be enforced if applicable.
      [02/27/2012 15:51:46:128 CET] AdminTool.run(): License check for option: --custom-install, required: true
      [02/27/2012 15:51:46:128 CET] AdminTool.run(): License check required: true
      [02/27/2012 15:51:46:130 CET] Starting LicenseChecker
      [02/27/2012 15:51:46:130 CET] License files found
      [02/27/2012 15:51:46:130 CET] User Name: root
      [02/27/2012 15:51:46:130 CET] Checking for previous license acceptance
      [02/27/2012 15:51:46:130 CET] Licence log file exists: /opt/sun/policyagent/j2ee_agents/appserver_v10_agent/data/license.log
      [02/27/2012 15:51:46:130 CET] Checking entry for user: root
      [02/27/2012 15:51:46:131 CET] User acceptence entry: 10/11/2011 02:33:45 CEST
      [02/27/2012 15:51:46:137 CET] License check is valid: Tue Oct 11 02:33:45 CEST 2011
      [02/27/2012 15:51:46:137 CET] User License Acceptance = true
      [02/27/2012 15:51:46:137 CET] License already accepted by the user
      [02/27/2012 15:51:46:137 CET] Trying to dispatch to option handler for: --custom-install
      [02/27/2012 15:51:46:144 CET] CustomInstallHandler: invoked with 0 arguments.
      [02/27/2012 15:51:46:144 CET] CustomInstallDriver.install() Starting Install..
      [02/27/2012 15:51:46:226 CET] Run Info: InstallRunInfo For: Uninstall
      Welcome message:
      Welcome to the OpenSSO Policy Agent 3.0 for Sun Java System Application Server 8.1/8.2/9.0/9.1/10.
      Exit message:
      Thank you for using OpenSSO Policy Agent 3.0.
      HomeDirLocator: com.sun.identity.agents.install.appserver.v81.HomeDirLocator
      Instance Finder Interactions:
      InteractionInfo:
      LookupKey : CONFIG_DIR
      i18n : i18n(INT_CONFIG_DIR, as81Tools)
      Type : install
      Is-Required : true
      Is-Persistent: true
      optional-display: true
      valueNormalizerClass : com.sun.identity.install.tools.configurator.PathNormalizer
      DefaultValueFinderInfo:
      [Static: null, Class: com.sun.identity.agents.install.appserver.v81.ConfigFinder]
      ValidationInfo:
      Validation[0] :[Name: DIR_EXISTS, Class: com.sun.identity.install.tools.configurator.FileSystemValidator, Property Map: {}]
      Validation[1] :[Name: VALID_AS_CONFIG_DIR, Class: com.sun.identity.agents.install.appserver.v81.ConfigDirValidator, Property Map: {}]

      InteractionInfo:
      LookupKey : INSTANCE_NAME
      i18n : i18n(INT_INSTANCE_NAME, as81Tools)
      Type : install
      Is-Required : true
      Is-Persistent: true
      optional-display: false
      DefaultValueFinderInfo:
      [Static: server, Class: com.sun.identity.install.tools.configurator.StaticDefaultValueFinder]
      ValidationInfo:
      Validation[0] :[Name: VALID_STRING, Class: com.sun.identity.install.tools.configurator.StringValidator, Property Map: {}]

      Common Interactions:
      InteractionInfo:
      LookupKey : AM_SERVER_URL
      i18n : i18n(INT_AM_SERVER_URL, amToolsMessages)
      Type : install
      Is-Required : true
      Is-Persistent: false
      optional-display: true ValidationInfo:
      Validation[0] :[Name: VALID_SERVER_URL, Class: com.sun.identity.install.tools.configurator.ValidateURL, Property Map: {}]

      InteractionInfo:
      LookupKey : DAS_HOST_IS_REMOTE
      i18n : i18n(INT_DAS_HOST_IS_REMOTE, as81Tools)
      Type : install
      Is-Required : true
      Is-Persistent: true
      optional-display: true
      DefaultValueFinderInfo:
      [Static: false, Class: com.sun.identity.install.tools.configurator.StaticDefaultValueFinder]
      ValidationInfo:
      Validation[0] :[Name: VALID_CHOICE, Class: com.sun.identity.install.tools.configurator.ChoiceValidator, Property Map:

      {value1=true, ignorecase=true, value2=false}]

      Instance Interactions:
      InteractionInfo:
      LookupKey : AGENT_URL
      i18n : i18n(INT_AGENT_URL, amToolsMessages)
      Type : install
      Is-Required : true
      Is-Persistent: true
      optional-display: true ValidationInfo:
      Validation[0] :[Name: VALID_AGENT_URL, Class: com.sun.identity.install.tools.configurator.ValidateURL, Property Map: {}]

      InteractionInfo:
      LookupKey : AGENT_ENCRYPT_KEY
      i18n : i18n(INT_AGENT_ENCRYPT_KEY, amToolsMessages)
      Type : install
      Is-Required : true
      Is-Persistent: false
      optional-display: true
      DefaultValueFinderInfo:
      [Static: null, Class: com.sun.identity.install.tools.configurator.RandomKeyGenerator]
      ValidationInfo:
      Validation[0] :[Name: VALID_STRING, Class: com.sun.identity.install.tools.configurator.StringValidator, Property Map: {}]
      Validation[1] :[Name: VALID_KEY, Class: com.sun.identity.install.tools.configurator.StringValidator, Property Map: {minLen=12}]

      InteractionInfo:
      LookupKey : AGENT_PROFILE_NAME
      i18n : i18n(INT_AGENT_PROFILE_NAME, amToolsMessages)
      Type : install
      Is-Required : true
      Is-Persistent: false
      optional-display: true ValidationInfo:
      Validation[0] :[Name: VALID_STRING, Class: com.sun.identity.install.tools.configurator.StringValidator, Property Map: {}]

      InteractionInfo:
      LookupKey : AGENT_PASSWORD_FILE
      i18n : i18n(INT_AGENT_PASSWORD_FILE, amToolsMessages)
      Type : install
      Is-Required : true
      Is-Persistent: false
      optional-display: true
      valueNormalizerClass : com.sun.identity.install.tools.configurator.PathNormalizer ValidationInfo:
      Validation[0] :[Name: FILE_VALID, Class: com.sun.identity.install.tools.configurator.FileSystemValidator, Property Map: {}]
      Validation[1] :[Name: FILE_READABLE, Class: com.sun.identity.install.tools.configurator.FileSystemValidator, Property Map: {}]
      Validation[2] :[Name: VALID_PASSWORD, Class: com.sun.identity.install.tools.configurator.PasswordValidator, Property Map: {minLen=1, maxLen=256}]
      Validation[3] :[Name: VALIDATE_AGENT_PASSWORD, Class: com.sun.identity.install.tools.configurator.PasswordValidator, Property Map: {AGENT_PROFILE_LOOKUP_KEY=AGENT_PROFILE_NAME}]

      InteractionInfo:
      LookupKey : CREATE_AGENT_PROFILE_NAME
      i18n : i18n(INT_CREATE_AGENT_PROFILE_NAME, amToolsMessages)
      Type : install
      Is-Required : true
      Is-Persistent: false
      optional-display: true
      skipIf : SkipInfo(CREATE_AGENT_PROFILE_KEY, [false])
      DefaultValueFinderInfo:
      [Static: false, Class: com.sun.identity.install.tools.configurator.StaticDefaultValueFinder]
      ValidationInfo:
      Validation[0] :[Name: VALID_CHOICE, Class: com.sun.identity.install.tools.configurator.ChoiceValidator, Property Map: {value1=true, ignorecase=true, value2=false}

      ]

      InteractionInfo:
      LookupKey : AGENT_ADMINISTRATOR_NAME
      i18n : i18n(INT_AGENT_ADMINISTRATOR_NAME, amToolsMessages)
      Type : install
      Is-Required : true
      Is-Persistent: false
      optional-display: true
      skipIf : SkipInfo(CREATE_AGENT_PROFILE_NAME, [false]) ValidationInfo:
      Validation[0] :[Name: VALID_STRING, Class: com.sun.identity.install.tools.configurator.StringValidator, Property Map: {}]

      InteractionInfo:
      LookupKey : AGENT_ADMINISTRATOR_PASSWORD_FILE
      i18n : i18n(INT_AGENT_ADMINISTRATOR_PASSWORD_FILE, amToolsMessages)
      Type : install
      Is-Required : true
      Is-Persistent: false
      optional-display: true
      skipIf : SkipInfo(CREATE_AGENT_PROFILE_NAME, [false])
      valueNormalizerClass : com.sun.identity.install.tools.configurator.PathNormalizer ValidationInfo:
      Validation[0] :[Name: FILE_VALID, Class: com.sun.identity.install.tools.configurator.FileSystemValidator, Property Map: {}]
      Validation[1] :[Name: FILE_READABLE, Class: com.sun.identity.install.tools.configurator.FileSystemValidator, Property Map: {}]
      Validation[2] :[Name: VALID_PASSWORD, Class: com.sun.identity.install.tools.configurator.PasswordValidator, Property Map:

      {minLen=1, maxLen=256}

      ]
      Validation[3] :[Name: VALIDATE_AGENT_PASSWORD, Class: com.sun.identity.install.tools.configurator.PasswordValidator, Property Map:

      {AGENT_PROFILE_LOOKUP_KEY=AGENT_ADMINISTRATOR_NAME}

      ]

      InteractionInfo:
      LookupKey : REMOTE_INSTANCE_LOCAL_DAS
      i18n : i18n(INT_REMOTE_INSTANCE_LOCAL_DAS, as81Tools)
      Type : install
      Is-Required : true
      Is-Persistent: true
      optional-display: true
      DefaultValueFinderInfo:
      [Static: false, Class: com.sun.identity.install.tools.configurator.StaticDefaultValueFinder]
      ValidationInfo:
      Validation[0] :[Name: VALID_CHOICE, Class: com.sun.identity.install.tools.configurator.ChoiceValidator, Property Map:

      {value1=true, ignorecase=true, value2=false}

      ]

      InteractionInfo:
      LookupKey : AGENT_INSTANCE_NAME
      i18n : i18n(INT_AGENT_INSTANCE_NAME, as81Tools)
      Type : install
      Is-Required : true
      Is-Persistent: true
      optional-display: true
      skipIf : SkipInfo(REMOTE_INSTANCE_LOCAL_DAS, [false])
      DefaultValueFinderInfo:
      [Static: , Class: com.sun.identity.install.tools.configurator.StaticDefaultValueFinder]
      ValidationInfo:
      Validation[0] :[Name: VALID_STRING, Class: com.sun.identity.install.tools.configurator.StringValidator, Property Map: {}]

      InteractionInfo:
      LookupKey : REMOTE_AGENT_INSTALL_DIR
      i18n : i18n(INT_REMOTE_AGENT_INSTALL_DIR, as81Tools)
      Type : install
      Is-Required : true
      Is-Persistent: true
      optional-display: true
      skipIf : SkipInfo(REMOTE_INSTANCE_LOCAL_DAS, [false])
      DefaultValueFinderInfo:
      [Static: /opt/j2ee_agents/am_as81_agent, Class: com.sun.identity.install.tools.configurator.StaticDefaultValueFinder]
      ValidationInfo:
      Validation[0] :[Name: VALID_STRING, Class: com.sun.identity.install.tools.configurator.StringValidator, Property Map: {}]

      Common Tasks:
      [ BACKUP_FILE: class=com.sun.identity.install.tools.configurator.BackupFileTask, Property Map:

      {BACK_UP_FILE_LOOKUP_KEY=AS_LOGIN_CONF_FILE}

      ]
      [ BACKUP_FILE: class=com.sun.identity.install.tools.configurator.BackupFileTask, Property Map:

      {BACK_UP_FILE_LOOKUP_KEY=AS_SERVER_POLICY_FILE}

      ]
      [ CONFIGURE_LOGIN_CONF: class=com.sun.identity.agents.install.appserver.v81.ConfigureLoginConfTask, Property Map: {}]
      [ GRANT_JAVA_PERMS: class=com.sun.identity.agents.install.appserver.v81.ConfigureServerPolicyTask, Property Map: {}]
      Instance Tasks:
      [ CREATE_LAYOUT: class=com.sun.identity.install.tools.configurator.CreateLayoutTask, Property Map: {}]
      [ ENCRYPT_DATA: class=com.sun.identity.agents.install.configurator.EncryptTask, Property Map:

      {ENCRYPTED_VALUE_KEY_LOOKUP_KEY=AGENT_ENCRYPTED_PASSWORD, DATA_FILE_LOOKUP_KEY=AGENT_PASSWORD_FILE, ENCRYPTION_KEY_LOOKUP_KEY=AGENT_ENCRYPT_KEY}

      ]
      [ GENERATE_AUDIT_LOGFILE_NAME: class=com.sun.identity.install.tools.configurator.AuditLogFileNameTask, Property Map:

      {HOSTNAME_LOOKUP_KEY=AGENT_HOST, LOGFILE_NAME_OUTPUT_KEY=AUDIT_LOG_FILENAME, PORT_LOOKUP_KEY=AGENT_PREF_PORT}

      ]
      [ CONFIGURE_AGENT_PROPS: class=com.sun.identity.install.tools.configurator.ConfigurePropertiesTask, Property Map:

      {CONFIG_FILENAME_AGENT_CONFIG_TEMPLATE=OpenSSOAgentConfiguration.template, CONFIG_FILENAME_AGENT_BOOTSTRAP_TEMPLATE=OpenSSOAgentBootstrap.template, CONFIG_FILENAME_AGENT_BOOTSTRAP=OpenSSOAgentBootstrap.properties, CONFIG_FILENAME_AGENT_CONFIG=OpenSSOAgentConfiguration.properties}

      ]
      [ CREATE_AGENT_PROFILE: class=com.sun.identity.install.tools.configurator.CreateProfileTask, Property Map:

      {AGENT_PROFILE_TYPE=J2EEAgent}

      ]
      [ BACKUP_FILE: class=com.sun.identity.install.tools.configurator.BackupFileTask, Property Map:

      {BACK_UP_FILE_LOOKUP_KEY=AS_DOMAIN_XML_FILE}

      ]
      [ CONFIGURE_DOMAIN_XML: class=com.sun.identity.agents.install.appserver.v81.ConfigureDomainXMLTask, Property Map: {}]
      [ COPY_AGENTS_FILES: class=com.sun.identity.agents.install.appserver.v81.CopyAgentFilesTask, Property Map: {}]
      Check optional-display attribute:false
      --------------------------------------------------

      ************************************************************************
      Welcome to the OpenSSO Policy Agent 3.0 for Sun Java System Application
      Server 8.1/8.2/9.0/9.1/10.

      ************************************************************************
      [02/27/2012 15:51:46:234 CET] Creating Install Interaction
      [02/27/2012 15:51:46:240 CET] Creating Install Interaction
      [02/27/2012 15:51:46:244 CET] InstallDataStore : loading an existing store.
      [02/27/2012 15:51:46:269 CET] Creating Install Interaction
      [02/27/2012 15:51:46:269 CET] Creating Install Interaction
      [02/27/2012 15:51:46:269 CET] Creating Install Interaction
      [02/27/2012 15:51:46:269 CET] Creating Install Interaction
      [02/27/2012 15:51:46:270 CET] Creating Install Interaction
      [02/27/2012 15:51:46:270 CET] Creating Install Interaction
      [02/27/2012 15:51:46:270 CET] Creating Install Interaction
      [02/27/2012 15:51:46:270 CET] Creating Install Interaction
      [02/27/2012 15:51:46:271 CET] Creating Install Interaction
      [02/27/2012 15:51:46:271 CET] Creating Install Interaction
      [02/27/2012 15:51:46:271 CET] Creating Install Interaction
      [02/27/2012 15:51:46:274 CET] Creating Install Interaction
      [02/27/2012 15:51:46:278 CET] Driver.executeIFinderInteractions() Running Instance
      Finder interactions ..
      [02/27/2012 15:51:46:278 CET] InteractionsRunnerBase: Calling skipInteraction on: 0
      [02/27/2012 15:51:46:278 CET] InteractionsRunnerBase: Running Interaction[0].
      [02/27/2012 15:51:46:281 CET] OSChecker.getOS() threw exception :
      java.lang.NumberFormatException: For input string: "6.32-131.0.15.el6.x86_64"
      at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
      at java.lang.Integer.parseInt(Integer.java:492)
      at java.lang.Integer.valueOf(Integer.java:582)
      at com.sun.identity.install.tools.util.OSChecker.getOS(OSChecker.java:52)
      at com.sun.identity.install.tools.util.OSChecker.<clinit>(OSChecker.java:265)
      at com.sun.identity.agents.install.appserver.v81.ConfigFinder.getDefaultConfigDirectoryPath(ConfigFinder.java:56)
      at com.sun.identity.agents.install.appserver.v81.ConfigFinder.getDefaultValue(ConfigFinder.java:47)
      at com.sun.identity.install.tools.configurator.UserDataInteraction.processDefaultValFromAllSources(UserDataInteraction.java:484)
      at com.sun.identity.install.tools.configurator.InstallInteraction.setDefaultValue(InstallInteraction.java:261)
      at com.sun.identity.install.tools.configurator.InstallInteraction.interact(InstallInteraction.java:66)
      at com.sun.identity.install.tools.configurator.InteractionsRunnerBase.runInteraction(InteractionsRunnerBase.java:180)
      at com.sun.identity.install.tools.configurator.InteractionsRunnerBase.runInteractions(InteractionsRunnerBase.java:96)
      at com.sun.identity.install.tools.configurator.InstFinderInteractionsRunner.runInteractions(InstFinderInteractionsRunner.java:55)
      at com.sun.identity.install.tools.configurator.Driver.executeIFinderInteractions(Driver.java:95)
      at com.sun.identity.install.tools.configurator.Driver.executeAllInteractions(Driver.java:72)
      at com.sun.identity.install.tools.configurator.CustomInstallDriver.install(CustomInstallDriver.java:81)
      at com.sun.identity.install.tools.configurator.CustomInstallDriver.install(CustomInstallDriver.java:39)
      at com.sun.identity.install.tools.handler.CustomInstallHandler.handleRequest(CustomInstallHandler.java:61)
      at com.sun.identity.install.tools.admin.AdminTool.dispatch(AdminTool.java:230)
      at com.sun.identity.install.tools.admin.AdminTool.run(AdminTool.java:133)
      at com.sun.identity.install.tools.launch.AdminToolLauncher.launchAdminTool(AdminToolLauncher.java:201)
      at com.sun.identity.install.tools.launch.AdminToolLauncher.main(AdminToolLauncher.java:313)

      Enter the complete path to the directory which is used by Application Server
      to store its configuration Files. This directory uniquely identifies the
      Application Server instance that is secured by this Agent.
      [ ? : Help, ! : Exit ]
      Enter the Application Server Config Directory Path
      [/opt/SUNWappserver/domains/domain1/config]: /var/opt/sun/glassfish3/nodes/gf-node1/batman/config
      [02/27/2012 15:52:16:249 CET] FileSystemValidator : Is directory : /var/opt/sun/glassfish3/nodes/gf-node1/batman/config valid ? true
      [02/27/2012 15:52:16:254 CET] ConfigDirValidator : Is AS Config dir /var/opt/sun/glassfish3/nodes/gf-node1/batman/config valid ? true
      [02/27/2012 15:52:16:254 CET] InstallInteraction.processData: null
      [02/27/2012 15:52:16:254 CET] UserDataInteraction.getNormalizedValue: input: /var/opt/sun/glassfish3/nodes/gf-node1/batman/config, normalized value: /var/opt/sun/glassfish3/nodes/gf-node1/batman/config
      [02/27/2012 15:52:16:255 CET] InteractionsRunnerBase: Interaction resulted in CONTINUE @ Index: 0
      [02/27/2012 15:52:16:255 CET] InteractionsRunnerBase: Calling skipInteraction on: 1
      [02/27/2012 15:52:16:255 CET] InteractionsRunnerBase: Running Interaction[1].

      Enter the name of the Application Server instance that is secured by this
      Agent.
      [ ? : Help, < : Back, ! : Exit ]
      Enter the Application Server Instance name [server]: batman
      [02/27/2012 15:52:18:726 CET] StringValidator : Is string : batman valid ? true
      [02/27/2012 15:52:18:726 CET] InstallInteraction.processData: null
      [02/27/2012 15:52:18:726 CET] InteractionsRunnerBase: Interaction resulted in CONTINUE @ Index: 1
      [02/27/2012 15:52:18:727 CET] InteractionsRunnerBase.runInteractions() Exiting at index: 2
      [02/27/2012 15:52:18:727 CET] HomeDirLocator : Application server home directory = /var/opt/sun/glassfish3/nodes/gf-node1/batman/config
      [02/27/2012 15:52:18:728 CET] InstanceInteractionsRunner : Error - Product Locator file was not found at '/var/opt/sun/glassfish3/nodes/gf-node1/batman/config/.amAgentLocator. But Install State information found!
      [02/27/2012 15:52:18:728 CET] CustomInstallHandler: Failed to process install request
      [ProductInstallException Stack]
      com.sun.identity.install.tools.configurator.InstallException: The agent installation state for this container is in corrupted state; the root cause may be that the same agent binary has already been used for installing an agent in another container domain. Please unzip the agent zip file into a new directory and run agentadmin --install in the new directory for installing an agent in this domain.
      at com.sun.identity.install.tools.configurator.InstFinderInteractionsRunner.runInteractions(InstFinderInteractionsRunner.java:91)
      at com.sun.identity.install.tools.configurator.Driver.executeIFinderInteractions(Driver.java:95)
      at com.sun.identity.install.tools.configurator.Driver.executeAllInteractions(Driver.java:72)
      at com.sun.identity.install.tools.configurator.CustomInstallDriver.install(CustomInstallDriver.java:81)
      at com.sun.identity.install.tools.configurator.CustomInstallDriver.install(CustomInstallDriver.java:39)
      at com.sun.identity.install.tools.handler.CustomInstallHandler.handleRequest(CustomInstallHandler.java:61)
      at com.sun.identity.install.tools.admin.AdminTool.dispatch(AdminTool.java:230)
      at com.sun.identity.install.tools.admin.AdminTool.run(AdminTool.java:133)
      at com.sun.identity.install.tools.launch.AdminToolLauncher.launchAdminTool(AdminToolLauncher.java:201)
      at com.sun.identity.install.tools.launch.AdminToolLauncher.main(AdminToolLauncher.java:313)

          • ERROR: Installation failed due to the following error - (The agent
            installation state for this container is in corrupted state; the root cause
            may be that the same agent binary has already been used for installing an agent
            in another container domain. Please unzip the agent zip file into a new
            directory and run agentadmin --install in the new directory for installing
            an agent in this domain.).

      [02/27/2012 15:52:18:730 CET] Exiting with code: 0

      Attachments

        Issue Links

          Activity

            People

              kamal.sivanandam@forgerock.com Kamal Sivanandam
              bthalmayr Bernhard Thalmayr
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: