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.
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.
Event Viewer (Application Log):
Log Name: Application
Date: 17/12/2012 13:21:06
Event ID: 0
Task Category: None
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)
Limitation (reference APAR PM80796) of older versions of Controller.
Controller application server has been configured to use 64-bit JAVA (as per Technote #1618609).
Resolving the problem
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).
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:
- Change the value of "CCR_JAVA_HOME" to 32-bit location (e.g. C:\Program Files (x86)\ibm\Java60\jre)
- Start the Windows service "IBM Cognos FAP Service"
- Change the value of "CCR_JAVA_HOME" to 64-bit location (e.g. C:\Program Files (x86)\ibm\cognos\c10\bin64\jre\6.0)
- 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.
Rate this page:
Copyright and trademark information
IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.