"The IBM Cognos FAP Service service on Local Computer started and then stopped" when trying to start FAP service when using 64-bit JAVA

Technote (troubleshooting)


Problem(Abstract)

I.T. administrator re-configures the Controller application server to use 64-bit JAVA. Afterwards, administrator tries to start the Windows service "IBM Cognos FAP Service", but receives an on-screen error message.

Symptom

Services

The IBM Cognos FAP Service service on Local Computer started and then stopped. Some services stop automatically if they are not in use by other services or programs.
[OK]

Event Viewer (Application Log):
Log Name: Application
Source: FAP
Date: 17/12/2012 13:21:06
Event ID: 0
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Computer: SERVERNAME
Description:
Service cannot be started. System.Exception: An error occured when initializing Java. Make sure a valid Java version is installed and correct path is set in System variable.
at FAPNTService.FAPNTService.OnStart(String[] args)
at System.ServiceProcess.ServiceBase.ServiceQueuedMainCallback(Object state)

Cause

Limitation (reference APAR PM80796) of older versions of Controller.

Environment

Controller application server has been configured to use 64-bit JAVA (as per Technote #1618609).

Resolving the problem

Fix:

Upgrade to Controller 10.1.1700 or later. Afterwards, create a new System Variable called "FAP_JAVA_HOME" which is configured to point to a 32-bit JRE (e.g. C:\Program Files (x86)\ibm\Java60\jre).

Workaround:

There are two methods:

  • Method #1

    Disable the use of 64-bit JAVA RE, and instead use a 32-bit JRE.

    • In other words, perform the reverse of the steps listed inside Technote #1618609.
  • Method #2

It is possible to use a 'hybrid' (using both 64-bit JAVA for AFCs and 32-bit JAVA for FAP) by performing the following process:
  1. Change the value of "CCR_JAVA_HOME" to 32-bit location (e.g. C:\Program Files (x86)\ibm\Java60\jre)
  2. Start the Windows service "IBM Cognos FAP Service"
  3. Change the value of "CCR_JAVA_HOME" to 64-bit location (e.g. C:\Program Files (x86)\ibm\cognos\c10\bin64\jre\6.0)
  4. Start the Windows service "IBM Cognos Controller Java Proxy"

Naturally if any service needs to restart later (for example the server is rebooted) then the above processes will need to be re-done.

Related information

1618609 - How to configure Controller Java subsystem to
APAR PM80796

Rate this page:

(0 users)Average rating

Add comments

Document information


More support for:

Cognos Controller
Controller

Software version:

10.1.1

Operating system(s):

Windows

Reference #:

1620701

Modified date:

2013-03-06

Translate my page

Machine Translation

Content navigation