| Summary | Error thrown when deploying a domain in a 64-bit environment |
|---|---|
| Article Number | |
| Environment |
Orbix 6.3 All Supported Operating Systems |
| Question/Problem Description |
When deploying an Orbix domain using itconfigure, an error message similar to the following is reported: "Failed to prepare service iona_services.management: exit value 127." |
| Clarifying Information | |
| Error Message | Failed to prepare service iona_services.management: exit value 127. |
| Defect/Enhancement Number | |
| Cause |
The above error can be due to itconfigure attempting to launch a 32-bit Java service using 64-bit Java. The Orbix services are 32-bit and so require a 32-bit Java to run. This is also true for 64-bit Orbix installations. Any attempt to run the Orbix services with 64-bit Java will fail. |
| Resolution | Ensure a 32-bit java is included in the environment before attempting to deploy a domain, or launch an Orbix java service. While 64-bit Orbix does use 32-bit services, it also allows for 64-bit Orbix user applications. As such, it is possible to run Orbix applications in a mixed Java 32-bit\\64-bit environment. In the case of mixed Java environments, please ensure the environmental variable "JAVA_HOME" points to the 64-bit Java installation. Additionally, the environment variable "JAVA_HOME_32" should point to the 32-bit Java installation. |
| Workaround | |
| Notes | |
| Attachment |
#KnowledgeDocs
#Orbix
#Orbix6