0 Replies Latest reply: Sep 27, 2013 11:36 AM by Mpalski RSS

    Asset Upload/Download config.properties

    Mpalski

      WebCenter Portal 11.1.1.8

      JDeveloper 11.1.1.7

       

      In the config.properties file there are instructions to obtain the location of the userConfigFile and userKeyFile that store admin credentials. These instructions are very unclear. I am able to get to Step 3.

       

      If I am trying to obtain a path to these files, how can I enter their locations as stated in Step 4? Someone please assist.

       

      ## For security purposes, administrator user name and password details

      ## are stored in secure files.

      ## Obtain the location of these secure files from your systems administrator

      ## or run WLST commands to generate these files as follows:

      ##   1. Navigate to: WC_ORACLE_HOME/common/bin

      ##   2. Enter the command: wlst.sh

      ##   3. At the WLST command prompt, connect to the Administration Server

      ##       for Oracle WebCenter:

      ##        connect('<admin_user>','<admin_pwd>', '<host>:<port>')

      ##     Where admin_user is the user name of the administrator, admin_pwd is

      ##     the administrator's password, host is the WebCenter instance, and port is

      ##     the Administration Server port.

      ##  4. Run the following command to create a user configuration file and key file

      ##      in a specified location:

      ##           storeUserConfig('<userConfigFile>', <userKeyFile>')

      ##     Where userConfigFile is the name and location of the file storing user details

      ##      and userKeyFile is the name and location of the file storing passwords.

      ##      For example:

      ##      storeUserConfig('C:/myFiles/myuserconfigfile.secure', 'C:/myFiles/myuserkeyfile.secure')

      ## For example:

      ## On Windows, enter the path as:

      ## wls.userkey=C:\\JDeveloper\\mywork\\ps1userkeyfile.secure

      ## wls.userconfig=C:\\JDeveloper\\mywork\\ps1userconfigfile.secure

      ## On Linux, enter the path as:

      ## wls.userkey=/scratch/myfiles/ps1userkeyfile.secure

      ## wls.userconfig=/scratch/myfiles/ps1userconfigfile.secure

      ## Use the wls.userconfig property to set the userConfigFile path and

      ## the wls.userkey property to set the userKeyFile path.