It's all about the answers!

Ask a question

WPS Incubator issue


Mahendra Pingale (11) | asked Aug 24 '10, 7:13 p.m.
JAZZ DEVELOPER
Hello,

I am at the point to start running through WPS targets in RAFW. However, I encountered this error below. Please look into it. Your help is much appreciated.

- Sriram.

rafw.sh -e pocwps -c WPSNetwork -t wps_common_configure_stop_deployment_environment



BUILD FAILED
/home/uzwas4/BuildForge/user/environments/pocwps/cells/WPSNetwork/build.xml:24: The following error occurred while executing this line:
/home/uzwas4/BuildForge/incubator/actions/configure/wps/62/nd/configure_wps62_nd.xml:22: The following error occurred while executing this line:
/home/uzwas4/BuildForge/incubator/actions/configure/wps/common/nd/configure_wps_common_nd.xml:22: The following error occurred while executing this line:
/home/uzwas4/BuildForge/incubator/actions/configure/wps/common/configure_wps_common.xml:25: The following error occurred while executing this line:
/home/uzwas4/BuildForge/incubator/lib/RAFW_PLUGIN_Lib.xml:11: taskdef A class needed by class com.ibm.rational.bfw.wbi.utils.WBIVelocityTask cannot be found: org.apache.velocity.context.Context

Total time: 0 seconds
WARNING: The remote file at /home/uzwas4/BuildForge/work/filesFrom_pocwpsWPSNetwork.txt
no longer exists or is no longer readable.
The file will not be transferred to the Framework Server
BUILD FAILED
Unexpected error:exceptions.IOError
Details:File not found - /ibm/rbf/rafw/work/filesFrom_pocwpsWPSNetwork.txt (No such file or directory)

Traceback (innermost last):
File "/ibm/rbf/rafw/product/lib/jython/executeAction.py", line 404, in ?
File "/ibm/rbf/rafw/product/lib/jython/executeAction.py", line 228, in executeAction
File "/ibm/rbf/rafw/product/lib/jython/Transfer.py", line 572, in reverseTransfer
File "/ibm/rbf/rafw/product/lib/jython/Transfer.py", line 628, in _procFile
IOError: File not found - /ibm/rbf/rafw/work/filesFrom_pocwpsWPSNetwork.txt (No such file or directory)

4 answers



permanent link
sriram thiruvenkatachari (8698) | answered Aug 25 '10, 3:09 p.m.
I was able to get past this error. The issue was with the version of framework. I was trying to run the 7.1.1.4 incubator with 7.1.1 RAFW which caused the error.

Subsequently, I am getting a profile creation error when I run the target to create a wps dmgr profile. I can email the log file which has a bunch of message. Here is what I get when the target runs. Any help is appreciated.

BUILD FAILED
/usr/rafw/product/lib/RAFW_lib.xml:167: The following error occurred while execu
ting this line:
/usr/rafw/incubator/actions/install/wps/62/install_wps62.xml:53: The following e
rror occurred while executing this line:
/usr/rafw/incubator/actions/install/wps/common/install_wps_common.xml:456: The f
ollowing error occurred while executing this line:
/usr/rafw/incubator/actions/install/wps/common/install_wps_common.xml:253: Unabl
e to create profile: exec returned: 1

Total time: 34 seconds
Relative Path: user/environments/pocwps/cells/WPSNetwork/backup
get: 20100825_1501_wps_dbscripts.zip
Relative Path: logs/pocwps/cells/WPSNetwork/nodes/wps_dmgr_node
get: wps_62_install_dmgr_profile.log

permanent link
sriram thiruvenkatachari (8698) | answered Aug 25 '10, 3:33 p.m.
Here are more details of the error I am getting.

Aug 25, 2010 3:25:26 PM com.ibm.ws.install.configmanager.actionengine.IJCAction executeAction
INFO: Result of executing /usr/WPS62/AppServer/profileTemplates/dmgr.wbiserver/validators/dbInstanceValidator.ijc was: true
Aug 25, 2010 3:25:26 PM com.ibm.ws.install.configmanager.utils.ValidationManager validateAllValidatorsForArgument
INFO: Argument dbInstance passed validation? true
Aug 25, 2010 3:25:26 PM com.ibm.ws.profile.cli.WSProfileCLIModeInvoker areCommandLineArgumentsValid
INFO: Validation Failed
Aug 25, 2010 3:25:26 PM com.ibm.ws.profile.cli.WSProfileCLIModeInvoker areCommandLineArgumentsValid
INFO: Validation Error for profilePath: The profile path is not valid.
Aug 25, 2010 3:25:26 PM com.ibm.ws.profile.cli.WSProfileCLIModeInvoker invokeWSProfile
SEVERE: Argument Validation Failed.
Aug 25, 2010 3:25:26 PM com.ibm.ws.profile.cli.WSProfileCLIModeInvoker invokeWSProfile
INFO: Returning with return code: INSTCONFFAILED
Aug 25, 2010 3:25:26 PM com.ibm.wsspi.profile.WSProfileCLI invokeWSProfile
INFO: Returning with return code: INSTCONFFAILED

permanent link
Barton Akeley (4631) | answered Aug 26 '10, 5:06 p.m.
for whatever reason, the WPS installer is rejecting your profile path:

INFO: Validation Error for profilePath: The profile path is not valid.

It may be that it thinks another profile already exists there.

I would recommend running the action in debug mode (append a -z to the command) to get the command that RAFW is running. From that you can copy/paste directly onto the system and remove the "-silent" flag.

I've found a lot of times the messages from the GUI are more helpful than those written into the logs for this type of operation.

permanent link
sriram thiruvenkatachari (8698) | answered Sep 03 '10, 1:44 p.m.
The issue turned out to be related to file system permission. Some of the files was owned by root that caused the profile creation targets to fail. I have subsequently fixed and able to create the profile.

Thanks for your assistance.

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.