My Oracle Support Banner

OC4J Startup Encountering Error "execve()" When Using JavaVM Startup Flag -D64 (Doc ID 368973.1)

Last updated on OCTOBER 15, 2018

Applies to:

Oracle Containers for J2EE - Version 9.0.4.0.0 to 10.1.3.5.0 [Release AS10g to AS10gR3]
Oracle Solaris on SPARC (64-bit)
Oracle Solaris on SPARC (32-bit)
Sun Solaris SPARC (64-bit)Sun Solaris SPARC (32-bit)
Solaris Operating System (SPARC 64-bit)Solaris Operating System (SPARC 32-bit)

Symptoms

You are using the OC4J component of an Application Server release and have added "-d64" as a JVM command line flag via the "java-options" data element in the "start-parameters" for an OC4J instance. Your configuration file opmn.xml looks like:

<data
  id="java-options" value="-server -d64 -Djava.security.policy=$ORACLE_HOME/j2ee/OC4J_A1/config/java2.policy"
/>


After modifying opmn.xml with the above, you have to ensure that the running OPMN process is updated with the new configuration. When running the command opmnctl reload to do so you find the OC4J instance you have configured no longer starts up successfully. The error reported is:

execve(): No such file or directory
Error trying to exec /u01/app/oracle/product/as10g/jdk/bin/sparcv9/java.
Check if file exists and permissions are set correctly.
Failed to start a 64-bit JVM process from a 32-bit JVM.
Verify all necessary J2SE components have been installed.
(Solaris SPARC 64-bit components must be installed after 32-bit components.)


It can be necessary to increase the level of logging for the OPMN. To do so follow this steps:

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.