Question & Answer
Question
Java returned: 99 Error when running the WebSphere Commerce Build and Deployment tool *|* -014042ABF2B03BBD85257929004F32AB- *|*
Answer
Technote (troubleshooting)
Problem(Abstract)
When you attempt to run the WebSphere Commerce Build and Deployment tool you receive the following error:
WCBD_deploy_server_dir/wcbd-deploy.xml:142: The following error occurred while executing this line:
WCBD_deploy_server_dir/wcbd-deploy.xml:208: The following error occurred while executing this line:
WCBD_deploy_server_dir/wcbd-deploy-common.xml:2164: The following error occurred while executing this line:
WCBD_deploy_server_dir/wcbd-deploy-common.xml:2365: Javav returned: 99
Symptom
The following error also appears in the logs:
[wsadmin] WASX7011E: Cannot find file "$(was.install.root)/bin/securityProcs.py"
[wsadmin] WASX7011E: Cannot find file "$(was.install.root)/bin/LTPA_LDAPSecurityProcs.py"
...
WCBD_deploy_server_dir/wcbd-deploy.xml:142: The following error occurred while executing this line:
WCBD_deploy_server_dir/wcbd-deploy.xml:208: The following error occurred while executing this line:
WCBD_deploy_server_dir/wcbd-deploy-common.xml:2164: The following error occurred while executing this line:
WCBD_deploy_server_dir/wcbd-deploy-common.xml:2365: Java returned: 99
at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:551)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:444)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:611)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
..........
Caused by: WCBD_deploy_server_dir/wcbd-deploy-common.xml:2365: Java returned: 99
at org.apache.tools.ant.taskdefs.Java.execute(Java.java:111)
at com.ibm.websphere.ant.tasks.WsAdmin.execute(WsAdmin.java:406)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:611)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:390)
at org.apache.tools.ant.Target.performTasks(Target.java:411)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442)
... 79 more
Cause
The error is a result of the wrong wsadmin.properties file being specified in the WCBD_installdir/deploy/server/wcbd-deploy.properties configuration file. The wsadmin.properties.file property is used to specify the properties file that contains the JVM system properties that are passed in to the wsadmin utility.
For example perhaps the following path is specified:
WAS_installdir/properties/wsadmin.properties
when the path should be:
WAS_installdir/profiles/<instancename>/properties/wsadmin.properties
Resolving the problem
Ensure that the correct wsadmin.properties file is used for the WCBD_installdir/deploy/server/wcbd-deploy.properties configuration file:
WAS_installdir/profiles/<instancename>/properties/wsadmin.properties
Also note that this file is used to enable wsadmin tracing among other uses. Leave the value of this property empty if you do not require this functionality.
Was this topic helpful?
Document Information
Modified date:
13 October 2021
UID
ibm10771431