It's all about the answers!

Ask a question

Problem importing websphere definition to rafw environment


A Law (122) | asked May 24 '11, 1:09 a.m.
the import fails when attempting to process the cell definition with the following (abridged) error.

291 5/24/11 2:36 PM EXEC call_wsadmin:
292 5/24/11 2:36 PM EXEC WASX7209I: Connected to process "server1" on node Win2k8x64Node01 using SOAP connector; The type of process is: UnManagedProcess
293 5/24/11 2:36 PM EXEC WASX7303I: The following options are passed to the scripting environment and are available as arguments that are stored in the argv variable: ""
294 5/24/11 2:36 PM EXEC Scope: 1 is invalid. Exiting!
295 5/24/11 2:36 PM EXEC WASX7017E: Exception received while running file "C:/Program Files IBM/Build Forge/rafw/product/actions/configure/was/common/scripts/cacheInstance.py"; exception information: com.ibm.bsf.BSFException: exception from Jython:
296 5/24/11 2:36 PM EXEC Traceback (innermost last):
297 5/24/11 2:36 PM EXEC File "<string>", line 89, in ?
298 5/24/11 2:36 PM EXEC File "Z:\product\lib\jython\wsadmin_lib\AdminHelper.py", line 80, in buildScope
299 5/24/11 2:36 PM EXEC NameError: sys
300 5/24/11 2:36 PM EXEC
301 5/24/11 2:36 PM EXEC Virtual Drive has been unmapped Z:
302 5/24/11 2:36 PM EXEC RAFW_HOME has been restored to C:/Program Files IBM/Build Forge/rafw


On line 294, scope should be 'cell', not '1'

Any insight appreciated.

The import project is using library 'RAFW_WAS_70_Base_Configure'

3 answers



permanent link
Timothy Robertson (216143) | answered May 24 '11, 8:26 a.m.
Can you either post or private message me the full log?

permanent link
Rob Blowers (11) | answered Jul 20 '11, 5:53 a.m.
Hi,

Apologies for bringing back an old post; however I'm experiencing the same "1 is invalid!" issue when using RAFW to configure a WAS Base server.

Did you find a resolution to this issue in the end? I would appreciate it if you could share.

Thanks in advance,

Rob


the import fails when attempting to process the cell definition with the following (abridged) error.

291 5/24/11 2:36 PM EXEC call_wsadmin:
292 5/24/11 2:36 PM EXEC WASX7209I: Connected to process "server1" on node Win2k8x64Node01 using SOAP connector; The type of process is: UnManagedProcess
293 5/24/11 2:36 PM EXEC WASX7303I: The following options are passed to the scripting environment and are available as arguments that are stored in the argv variable: ""
294 5/24/11 2:36 PM EXEC Scope: 1 is invalid. Exiting!
295 5/24/11 2:36 PM EXEC WASX7017E: Exception received while running file "C:/Program Files IBM/Build Forge/rafw/product/actions/configure/was/common/scripts/cacheInstance.py"; exception information: com.ibm.bsf.BSFException: exception from Jython:
296 5/24/11 2:36 PM EXEC Traceback (innermost last):
297 5/24/11 2:36 PM EXEC File "<string>", line 89, in ?
298 5/24/11 2:36 PM EXEC File "Z:\product\lib\jython\wsadmin_lib\AdminHelper.py", line 80, in buildScope
299 5/24/11 2:36 PM EXEC NameError: sys
300 5/24/11 2:36 PM EXEC
301 5/24/11 2:36 PM EXEC Virtual Drive has been unmapped Z:
302 5/24/11 2:36 PM EXEC RAFW_HOME has been restored to C:/Program Files IBM/Build Forge/rafw


On line 294, scope should be 'cell', not '1'

Any insight appreciated.

The import project is using library 'RAFW_WAS_70_Base_Configure'

permanent link
Rob Blowers (11) | answered Jul 29 '11, 8:28 a.m.
Identified issue; this is due to the space in Program Files as can be seen by how RAFW treats the path as two seperate arguments

"C:\\Program, Files\\IBM\\WebSphere\\AppServer\\profiles\\AppSrv01, -scope, cell, -scopename, Win2k8x64Node01Cell, -nodename, ${ND_NODE_NAME}, -properties, C:/Program Files IBM/Build Forge/rafw/user/environments/JAZZ/cells/Win2k8x64Node01Cell/cache.xml, -mode,

To fix this I used the Windows short name PROGRA~1 instead of the long path and this resolved the issue. The environment generation wizard works with the long name so this is how you can end up with this situation.

Rob

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.