ConfigEngine fails with FileNotFoundException on ConfigEngine_temp_ascii.prop_

Technote (troubleshooting)


Problem

When running a ConfigEngine task on a Unix environment, it may fail quickly with a FileNotFoundException. This would happen for every ConfigEngine task, and also ConfigEngine.sh by itself.

Symptom

Error after running ConfigEngine:

===================================
Licensed Materials - Property of IBM
5724-E76, 5724-E77, 5724-I29, 5655-W49
(C) Copyright IBM Corp. All Rights Reserved.

Running WebSphere Portal configuration
/usr/IBM/WebSphere/wp_profile/ConfigEngine/lib/bootstrap.jar:/usr/IBM/WebSphere/wp_profile/properties:/usr/IBM/WebSphere/AppServer/properties:/usr/IBM/WebSphere/AppServer/lib/startup.jar:/usr/IBM/WebSphere/AppServer/lib/bootstrap.jar:/usr/IBM/WebSphere/AppServer/lib/lmproxy.jar:/usr/IBM/WebSphere/AppServer/lib/urlprotocols.jar:/usr/IBM/WebSphere/AppServer/java/lib/tools.jar:/usr/IBM/WebSphere/AppServer/plugins:/usr/IBM/WebSphere/AppServer/lib/wkplc.comp.registry.jar:/usr/IBM/WebSphere/AppServer/lib/j2ee.jar:/usr/IBM/WebSphere/AppServer/properties
propertiesPath is ConfigEngine_temp.prop
rootDir is /usr/IBM/WebSphere/wp_profile/ConfigEngine
Executing native2ascii with native encoding 'ISO8859-1':
ConfigEngine_temp.prop_ -> ConfigEngine_temp_ascii.prop_
Native2ascii execution was successful!
Loading system properties from ConfigEngine_temp_ascii.prop_
java.io.FileNotFoundException: ConfigEngine_temp_ascii.prop_ (A file or
directory in the path name does not exist.)
at java.io.FileInputStream.<init>(FileInputStream.java:123)
at java.io.FileInputStream.<init>(FileInputStream.java:83)
at
com.ibm.wps.config.ConfigEngineUtils.loadProperties(ConfigEngineUtils.ja
va:187)
at
com.ibm.wps.config.launch.ConfigEngineLauncher.process(ConfigEngineLaunc
her.java:190)
at
com.ibm.wps.config.launch.ConfigEngineLauncher.main(ConfigEngineLauncher
.java:311).

===================================

Cause

The task is being run as ConfigEngine.sh instead of ./ConfigEngine.sh . On Unix environments, the ./ is required to run this script.

Resolving the problem

Run the ConfigEngine task with ./ in front of it, like this:

./ConfigEngine.sh



Rate this page:

(0 users)Average rating

Add comments

Document information


More support for:

WebSphere Portal
Installation & Configuration

Software version:

6.1, 7.0, 8.0

Operating system(s):

AIX, IBM i, Linux, Solaris, z/OS

Software edition:

Enable, Express, Extend, Server

Reference #:

1633619

Modified date:

2013-04-17

Translate my page

Machine Translation

Content navigation