Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Problem importing websphere definition to rafw environment

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'

0 votes



3 answers

Permanent link
Can you either post or private message me the full log?

0 votes


Permanent link
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'

0 votes


Permanent link
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

0 votes

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: May 24 '11, 1:09 a.m.

Question was seen: 7,971 times

Last updated: May 24 '11, 1:09 a.m.

Confirmation Cancel Confirm