5 Replies Latest reply: Nov 27, 2012 2:56 PM by Hussein Sawwan-Oracle RSS

    adrelink issue in windows 2008 R2

    564841
      Hi,

      i completed migration with you guys help successfully from 32bit to 64bit windows,now i am trying to relink ad executables, i opend SR,they suggested action,as per action plan i am not able to find appsora.cmd.

      can you please tell me where i can find the appsora.cmd.

      === ACTION PLAN ===
      1. Run %APPL_TOP%\envshell.cmd using either Windows Explorer or the Run command from the Start menu. This creates a Command Prompt window that
      contains the required environment settings for Oracle Applications. Run all subsequent commands in this Command Prompt window

      2. If you have made any changes to the environment, check that it is correctly set by typing the following commands
      C:\> echo %LOCAL%
      C:\> echo %ORACLE_HOME%
      C:\> echo %PATH%
      C:\> echo %APPL_CONFIG%

      3. Ensure all the PATH to the executables checked earlier using which command returns the PATH under cygwin directory
      ex: which sort or which make

      4. You must be sure to shut down the concurrent managers and other application tier services to avoid error like :
      Error executing cp -pf D:\oracle\mocdev\devapps\apps\apps_st\appl\au\12.0.0/bin/alr*.dll D:\oracle\mocdev\devapps\apps\apps_st\appl\alr\12.0.0/bin
      Please make sure file isn't being used.

      5.-
      2.1 Open a command prompt.

      --> Start --> Run... --> type "cmd"

      2.2 Change to the APPL_TOP directory

      cd <full path of your APPL_TOP>

      *2.3 Source the E-Business Suite Environment Settings*

      APPSORA.cmd

      I am not able to find the appsora.cmd under appl_top

      *2.4 Setup the UNIX Environment, needed for relinking*

      *2.4.1 Open a Unix shell :*
      sh

      i am not sure how to open this.as i am in windows environment.

      2.4.2 Source the E-Business Suite UNIX Environment.
      ./APPS.sh

      NOTE: This is a case sensitive command and the periods and slashes are important.


      2.5 relink the binarie(s) needed.

      adrelink.sh force=y "ad all"
        • 1. Re: adrelink issue in windows 2008 R2
          Hussein Sawwan-Oracle
          can you please tell me where i can find the appsora.cmd.
          Run APPS<CONTEXT_NAME>.cmd under %APPL_TOP% directory. Or, search for envshell*.cmd

          Thanks,
          Hussein
          • 2. Re: adrelink issue in windows 2008 R2
            564841
            its failing with status 1.

            D:\oracle\mocdev\devapps\apps\apps_st\appl>APPSdevebs.cmd
            ECHO is off.
            ECHO is off.
            Tue 11/27/2012 02:13 PM
            ECHO is off.
            ECHO is off.
            'Files' is not recognized as an internal or external command,
            operable program or batch file.
            'C:\Program' is not recognized as an internal or external command,
            operable program or batch file.
            This script requires the following environment variables:
            ECHO is off.
            WindowsSdkDir
            ECHO is off.
            APPSORA.cmd exiting with status 1

            D:\oracle\mocdev\devapps\apps\apps_st\appl>APPSORA.cmdAPPSORA.cmd
            • 3. Re: adrelink issue in windows 2008 R2
              Hussein Sawwan-Oracle
              'C:\Program' is not recognized as an internal or external command,
              It is because you have "Program Files" directory set somewhere in your context/env files which is not correct since this directory name contains spaces. Please review your context file and remove this directory then run AutoConfig and try the same thing again.

              Thanks,
              Hussein
              • 4. Re: adrelink issue in windows 2008 R2
                564841
                Thanks, can you please tell me how to do it in windows.

                2.4 Setup the UNIX Environment, needed for relinking

                2.4.1 Open a Unix shell :
                sh

                i am not sure how to open this.as i am in windows environment.
                • 5. Re: adrelink issue in windows 2008 R2
                  Hussein Sawwan-Oracle
                  appsguyflorence wrote:
                  Thanks, can you please tell me how to do it in windows.

                  2.4 Setup the UNIX Environment, needed for relinking

                  2.4.1 Open a Unix shell :
                  sh

                  i am not sure how to open this.as i am in windows environment.
                  You do not need to run this on Windows, just source the application env file and issue the command.

                  Thanks,
                  Hussein