SAP Knowledge Base Article - Public

2294745 - Error "The system cannot find the file specified" occurs in step Byte Code Adapter Installation

Symptom

Following error occur in step "Byte Code Adapter Installation" or ISAdmin page:

Introscope Agent connector generated using JDK at: "<JVM path>"
Failed to create Introscope Agent connector at: E:\usr\sap\DAA\SMDA98\SMDAgent\applications.config\com.sap.smd.agent.application.wily\BytecodeAgent\ISAGENT.8.2.4.0-2012-06-26\wily\connectors - java.io.IOException: CreateProcess error=2, The system cannot find the file specified

The SMDAgentApplication in debug mode shows the complete log:
[Thread[ExRun:default_2,5,default:ExecTG] ] Info J9Detector parameters:<JVM path>\bin\java.exe -cp E:\usr\sap\DAA\SMDA98\SMDAgent\applications\com.sap.smd.agent.application.wily_7.10.12.5.20150811113332\lib\tc~smd~agent~application~wily_api.jar;E:\usr\sap\DAA\SMDA98\SMDAgent\applications\com.sap.smd.agent.application.wily_7.10.12.5.20150811113332\lib\web.jar com.sap.smd.vm.J9Detector -jvm "<JVM path>"
[Thread[ExRun:default_2,5,default:ExecTG] ] Info J9Detector exception:java.io.IOException: CreateProcess error=2, The system cannot find the file specified

Environment

SAP Solution Manager 7.1

Reproducing the Issue

T-code SOLMAN_SETUP->Managed System Configuration->select the managed system->Configure System->step "Finalize Configuration"->execute step "Byte Code Adapter Installation".

Cause

The JVM path value is wrong, and Solution Manager System cannot find the JVM files under the path.

Resolution

  1. Checking the value of parameter "JavaPath" from the JAVA managed system's instance.properties file located under: \usr\sap\<SID>\<InstanceID>\j2ee\cluster\instance.properties

    JavaPath=<JVM path>

  2. The property in the instance.properties is usually get from the environment variable JAVA_HOME. Therefore, if the vlaue is wrong, checking the java path in Config Tool with the following steps:
    - Open Config Tool
    - Select instance
    - Check property 'JAVA_Home' under Instance Profile.

    If the JAVA_Home has wrong or blank value, please correct it. For any further questions about JAVA_Home, please contact BC-JAS team.

See Also

2086911 - Error 'User is not authorized to access Configuration Manager' occurred with 'JVM Parameters Setup' or 'Byte Code Adapter Installation' in Managed System Configuration - SAP Solution Manager
2310145 - Error "Access is denied" occurs in step Byte Code Adapter Installation

Keywords

KBA , SV-SMG-DIA-WLY-BCA , Byte Code Agent Setup , Problem

Product

SAP Business ByDesign all versions