Tag Archives: Windows Registry

ORA-27300: OS system dependent operation:CreateThread failed with status: 8

Problem:

On Windows 2008, the R12.1 instance has become flaky, not allowing connections and responding slowly.

Solution:

Tweak the IRPStackSize registry parameter, or change the memory allocated to user processes using the BCDEDIT Windows command.

Read more »

How to Remove an Oracle E-Business Suite Release 12.x Windows Environment

How to Remove an Oracle E-Business Suite Release 12.x Windows Environment

The procedure described in this document (Note 567507.1 on Oracle Metalink) lists the steps you must take to remove an E-Business Suite R12 environment or environments from a Windows system.

Step 1. Back up the System and Windows Registry

Refer to Microsoft Article ID 326216:  How to use the backup feature to back up and restore data in Windows Server 2003

Step 2. Alter the Windows Registry

Delete the relevant Oracle components from the Windows registry, as follows.

To delete all Oracle environments on the system:

* Launch the Registry Editor.
* Navigate to the HKEY_LOCAL_MACHINESoftware key.
* Select the Apache Group subkey and delete it.
* Select the Oracle subkey and delete it.
* Navigate to the HKEY_LOCAL_MACHINESystemCurrent Control SetServices.
* Carefully select and delete each service beginning with Oracle.  For example, delete “OraclePROD_<nodename>_ToolsASControl”.
* When you are finished, exit the Registry Editor.

Step 3. Alter Environment Settings

Complete these steps to delete Oracle parameters from the environment.

Navigate to the Environment Variables editing screen according to your system setup.  For example, right-click My Computer and select Properties. From the Advanced tab, click the Environment Variables button.

To remove all Oracle environments from the system:

Select the following system variable if created during the failed installation, and delete it: PERL5LIB.
Select the Path variable, but do not delete it.  Carefully edit it and remove any component with “Oracle” in the name, or that otherwise references the failed install. For example, delete “e:oraclePRODdbtech_st10.2.0bin;”.
Save and exit System Properties.

Step 4. Clean up the Program Menu

Launch the Program menu (Start -> Programs). Delete all Oracle programs groups.

Step 5. Restart your Machine

Step 6. Delete the Oracle Filesystem

Step 7. Delete Programs and Oracle Inventory Entries

To delete the inventory associated with a specific instance:

* Start the Oracle Universal Installer using: Start >> All Programs >> Oracle-<SID>_db102_RDBMS>>Oracle Installation Products>>Universal Installer
* Select Installed Products
* Enable “Show empty homes”

Deinstall the entries in the global inventory associated with the Oracle Applications R12 instance which you removed earlier. For example, for the PROD instance, you would delete:
* * RDBMS ORACLE HOME (e.g. “PROD_DB__oracle_PROD_db_tech_st_10_2_0″)
* * 10gAS ORACLE HOME (e.g.”PROD_WEBOH__oracle_PROD_apps_tech_st_10_1_3”)
* * Developer 10g ORACLE HOME (for example, “PROD_TOOLS__oracle_PROD_apps_tech_st_10_1_2”)
* Exit the Universal Installer

To delete the files associated with all Oracle environments on the system:

* Open a command window and navigate to the C:Program Files directory.
* Delete the Oracle subdirectory.
* If your Oracle Inventory directory was not C:Program FilesOracleInventory and was therefore not deleted in the previous step, locate it and delete it.

Reference:

How to Remove an Oracle E-Business Suite Release 12.x Windows Environment [ID 567507.1]

Wiping R12 and reinstalling

Step 1:       Stop all Oracle processes and the Distributed Transaction Coordinator service.

Step 2:       Run regedit and delete the following entries:

 HKEY_LOCAL_MACHINESOFTWAREORACLE
HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesOracle*
HKEY_LOCAL_MACHINESYSTEMControlSet001ServicesOracle*
HKEY_LOCAL_MACHINESYSTEMControlSet003ServicesOracle*

Exit regedit, and then reboot.

 Step 3:Delete the Oracle directory (x:oracleVIS12) and C:Program Filesoracle.

 Empty the recycle bin, and then reboot the computer once more.

 Step 4:Clean up the Program Menu for Oracle entries

 Step 5:Run Rapid Wizard to restart the R12 installation.

Metalink Reference:

Doc ID: 567507.1 (How to Remove an Oracle E-Business Suite Release 12.x Windows Environment)


ERR ‘REP-3002: Error initializing printer’

Problem:

After installing Oracle Applications 11.5.10.2, submitted Active Users report. Concurrent request fails with message

‘REP-3002: Error initializing printer’

Solution:

To implement the solution, please execute the following steps:

1. Define a dummy printer on the server to be defined as local printer.

2. Set this dummy printer to be the default.

3. Make the following updates in the registry, before making any changes to the registry you should always make a backup copy:

Complete path Regedit:

HKEY_USERSS-1-5-...............SoftwareMicrosoftWindows NTCurrentVersionDevices

You will find String value with name as the newly defined printer

Same goes to:

HKEY_USERSS-1-5-...............SoftwareMicrosoftWindows NTCurrentVersionPrinterPorts

You will find String value with name as the newly defined printer

HKEY_USERSS-1-5-...............SoftwareMicrosoftWindows NTCurrentVersionWindows

You will find String value with name “Device” and has value including the printer name as defined

All the above string values should also be set under the following paths for the valid printer to be seen by all users

HKEY_USERS.DEFAULTSoftwareMicrosoftWindows NTCurrentVersionDevices
HKEY_USERS.DEFAULTSoftwareMicrosoftWindows NTCurrentVersionPrinterPorts
HKEY_USERS.DEFAULTSoftwareMicrosoftWindows NTCurrentVersionWindows

Creating A Custom Application

This documentation covers how to create a custom application, program and executable in Oracle Applications. The custom application will load data from feeder systems into Oracle Application’s interface tables.

A custom application needs to be set up only once. The custom program executable will then need to be set up and the program defined. Finally, the program must be added to a request group, so that it appears in a user’s responsibility.

Step 1:        Create a new application: Log on as the SYSADMIN user. Select the System Administrator responsibility, then navigate to Application, and then Register.

Step 2:        Click the New button to insert a new row.

Insert a new application, Maryland Financial Group Limited. The Short Name chosen is MFGL and Basepath is MFGL_TOP. Save the record.

Step 3:        Create a directory d:PRODprodapplmfgl on oracleserver. Under mfgl, create a directory ‘11.5.0. Under this directory, create the directories: bin, data, log, out, reports, and sql.

The d:PRODprodapplmfgl11.5.0 directory will be set to the environment variable MFGL_TOP.

Step 4:        Under Windows, Oracle Applications stores the application top folders in the registry. Update the registry on oracleserver to add the MFGL_TOP base path:

[HKEY_LOCAL_MACHINESOFTWAREORACLEAPPLICATIONS11.5.0 PROD_oracleserver]

MFGL_TOP=”d:PRODprodapplmfgl11.5.0″

Step 5:        To add MFGL_TOP as an environment variable, create customPROD_oracleserver.cmd in the d:PRODprodappl directory and put the following path into this file.

set MFGL_TOP=d:PRODprodapplmfgl11.5.0

Step 6:        Navigate to Security, then ORACLE and finally DataGroup.

Insert a new record. Select the Maryland Financial Group Limited application, add APPS as Oracle ID and enter an optional description. Click Save.

Note that steps 1 to 6 only need to be done once. Since these steps have already been done, there is no need to go do them again.

Step 7:        The data will be loaded via SQL*Loader. Create the control file GLMLAS400.ctl file and place the SQL*Loader command in it. Place the control file in the d:PRODprodapplmfgl11.5.0bin folder.

Step 8:        Set up the concurrent program executable: Navigate to Concurrent, then Program and finally Executable.

Insert a new executable program. Ensure that the Execution Method is SQL*Loader, since selecting Host causes Oracle Application to look for an executable (“.EXE”) program rather than a “.CMD” program on Windows. Click Save.

Step 9:        Define the concurrent program: Navigate to Concurrent, then Program and finally Define.

Insert a new record and fill in the fields to add the new program. Click Save.

Step 10:   Click the Incompatibilities button. Insert a new incompatible program ‘Maryland – Load AS/400 GL Journals’. This will prevent another instance of this program from running if it is running already.

Step 11:    The program must now be set up so that it can be submitted from Standard Request Submission. To submit the program from the General Ledger Manager, the request group for the responsibility must be found. Navigate to Security, then Responsibility, and finally Define.

Search for the ‘General Ledger Manager’ responsibility. Note the name of the Request Group.

Step 12:   Add the new program to the Request Group. To do so, navigate to Security, then Responsibility and finally Request.

Search for the group noted in the previous step (in this case, ‘GL Concurrent Program Group’). Insert a new record for ‘Maryland – Load AS/400 GL Journals’.

Step 13:   Before running the concurrent request, place the data file in the d:PRODprodapplmfgl11.5.0data directory, under the name GLMLAS400GL.dat. If this file already exists in the directory, it can be overwritten.

Step 14:   Choose the General Ledger Manager responsibility. Submit a new request, ‘Maryland – Load AS/400 GL Journals’.

No parameters need to be entered for this request. The request will automatically search for the data file and load it if present. If not, the request completes in error and the log will have to be checked to determine the cause of the error.

For additional information on setting up a custom application, refer to Metalink Doc ID: Note:105127.1, Subject: FAQ (Customization).

Deleting Oracle Services

Problem: How can Oracle services from a partial install be deleted?

Solution: Delete the key for the service from the registry.

Regedit > HKEY_LOCAL_MACHINE > System > Current Control Set > Services

Delete the key.

Reboot.

See also: http://www.mvps.org/winhelp2002/services.htm

tasklist /svc

Note: to temporarily disable a Service while troubleshooting:

Start | Run (type) “msconfig” (no quotes)

Click on the Services tab, uncheck desired service. (for testing only!)

Start > Run > services.msc