RAFW action fails while running manageServer.py
Hi,
I am trying to capture the configuration and application on a WAS6.1 (PlantsByWebSphere thats the application) by running the environment genration wizard against my target to capture. The I run the project created in import mode, use RAFW library actions to retrieve the actual .ear file and create a properties file for the app in BF/RAFW. This all seems to work (when I peek in the .xml files I see the correct information... jdbs, datasources, etc)
When I try to push this config out to another machine via the RAFW Integration script, the job fails (see mountain of text below)
I get the exact same error whether trying to migrate a WAS6.1 configuration to another WAS 6.1 server or WAS6.1 to a WAS7.0 (all these are x86 linux)
This same set up steps actually worked and successfully transfered an application from 6.1WAS to 7.0 WAS on zLinux not less than 60 days ago.
Any clues to what might be wrong?
635 7/13/11 12:31 PM EXEC was_common_configure_server_admin_service:
636 7/13/11 12:31 PM EXEC
637 7/13/11 12:31 PM EXEC scope_init:
638 7/13/11 12:31 PM EXEC
639 7/13/11 12:31 PM EXEC manage_server_config_type:
640 7/13/11 12:31 PM EXEC execute: Admin Service at server level
641 7/13/11 12:31 PM EXEC
642 7/13/11 12:31 PM EXEC assert_file:
643 7/13/11 12:31 PM EXEC
644 7/13/11 12:31 PM EXEC scope_init:
645 7/13/11 12:31 PM EXEC
646 7/13/11 12:31 PM EXEC prepare_shell:
647 7/13/11 12:31 PM EXEC
648 7/13/11 12:31 PM EXEC decode_password:
649 7/13/11 12:31 PM EXEC
650 7/13/11 12:31 PM EXEC was_init:
651 7/13/11 12:31 PM EXEC
652 7/13/11 12:31 PM EXEC jython_jacl_init:
653 7/13/11 12:31 PM EXEC
654 7/13/11 12:31 PM EXEC java_init:
655 7/13/11 12:31 PM EXEC
656 7/13/11 12:31 PM EXEC build_wsadmin_exec_string:
657 7/13/11 12:31 PM EXEC
658 7/13/11 12:31 PM EXEC call_wsadmin:
659 7/13/11 12:31 PM EXEC WASX7209I: Connected to process "server1" on node CloudBurstNode_1 using SOAP connector; The type of process is: UnManagedProcess
660 7/13/11 12:32 PM EXEC WASX7303I: The following options are passed to the scripting environment and are available as arguments that are stored in the argv variable: ""
661 7/13/11 12:32 PM EXEC Updating server config:
662 7/13/11 12:32 PM EXEC CRWWA9902I ConfigWriter - updateWASObject: updating config under: server1(cells/CloudBurstCell_1/nodes/CloudBurstNode_1/servers/server1|server.xml#Server_1183122130078) modifying type: AdminService
663 7/13/11 12:32 PM EXEC CRWWA9902I ConfigWriter - updateWASObjectByKey: ByKey: updating config under: (cells/CloudBurstCell_1/nodes/CloudBurstNode_1/servers/server1|server.xml#AdminService_1183122130078) modifying elements under key: connectors
664 7/13/11 12:32 PM EXEC Removing the existing config object (cells/CloudBurstCell_1/nodes/CloudBurstNode_1/servers/server1|server.xml#IPCConnector_1)
665 7/13/11 12:32 PM EXEC Removing the existing config object (cells/CloudBurstCell_1/nodes/CloudBurstNode_1/servers/server1|server.xml#RMIConnector_1)
666 7/13/11 12:32 PM EXEC Removing the existing config object (cells/CloudBurstCell_1/nodes/CloudBurstNode_1/servers/server1|server.xml#JSR160RMIConnector_1)
667 7/13/11 12:32 PM EXEC Removing the existing config object (cells/CloudBurstCell_1/nodes/CloudBurstNode_1/servers/server1|server.xml#SOAPConnector_1)
668 7/13/11 12:32 PM EXEC Creating: RMIConnector
669 7/13/11 12:32 PM EXEC CRWWA9902I ConfigWriter - _createWASObject: creating: RMIConnector under parent: (cells/CloudBurstCell_1/nodes/CloudBurstNode_1/servers/server1|server.xml#AdminService_1183122130078)
670 7/13/11 12:32 PM EXEC Created config object RMIConnector: (cells/CloudBurstCell_1/nodes/CloudBurstNode_1/servers/server1|server.xml#RMIConnector_1310578324032)
671 7/13/11 12:32 PM EXEC Creating: SOAPConnector
672 7/13/11 12:32 PM EXEC CRWWA9902I ConfigWriter - _createWASObject: creating: SOAPConnector under parent: (cells/CloudBurstCell_1/nodes/CloudBurstNode_1/servers/server1|server.xml#AdminService_1183122130078)
673 7/13/11 12:32 PM EXEC Created config object SOAPConnector: (cells/CloudBurstCell_1/nodes/CloudBurstNode_1/servers/server1|server.xml#SOAPConnector_1310578324091)
674 7/13/11 12:32 PM EXEC CRWWA9902I ConfigWriter - _createWASObject: creating: EndPoint under parent: (cells/CloudBurstCell_1/nodes/CloudBurstNode_1/servers/server1|server.xml#SOAPConnector_1310578324091)
675 7/13/11 12:32 PM EXEC CRWWA9904E ConfigWriter - createEntity: Unable to create type: EndPoint under parent: (cells/CloudBurstCell_1/nodes/CloudBurstNode_1/servers/server1|server.xml#SOAPConnector_1310578324091) for xmlNode: EndPoint{'WASKey': 'SOAP_CONNECTOR_ADDRESS', 'port': '8880', 'host': 'cbvm18.localdomain'}
676 7/13/11 12:32 PM EXEC WASX7017E: Exception received while running file "/opt/buildforge/rafw/product/actions/configure/was/common/scripts/manageServer.py"; exception information: com.ibm.bsf.BSFException: exception from Jython:
677 7/13/11 12:32 PM EXEC Traceback (innermost last):
678 7/13/11 12:32 PM EXEC File "<string>", line 570, in ?
679 7/13/11 12:32 PM EXEC File "<string>", line 46, in processServer
680 7/13/11 12:32 PM EXEC File "<string>", line 105, in executeServers
681 7/13/11 12:32 PM EXEC File "/opt/buildforge/rafw/product/lib/jython/wsadmin_lib/ConfigWriter.py", line 710, in updateWASObject
682 7/13/11 12:32 PM EXEC File "/opt/buildforge/rafw/product/lib/jython/wsadmin_lib/ConfigWriter.py", line 384, in processChildren
683 7/13/11 12:32 PM EXEC File "/opt/buildforge/rafw/product/lib/jython/wsadmin_lib/ConfigWriter.py", line 319, in modify
684 7/13/11 12:32 PM EXEC File "/opt/buildforge/rafw/product/lib/jython/wsadmin_lib/ConfigWriter.py", line 765, in _updateWASChildren
685 7/13/11 12:32 PM EXEC File "/opt/buildforge/rafw/product/lib/jython/wsadmin_lib/ConfigWriter.py", line 351, in updateWASObjectByKey
686 7/13/11 12:32 PM EXEC File "/opt/buildforge/rafw/product/lib/jython/wsadmin_lib/ConfigWriter.py", line 456, in processChildren
687 7/13/11 12:32 PM EXEC File "/opt/buildforge/rafw/product/lib/jython/wsadmin_lib/ConfigWriter.py", line 176, in _createWASObject
688 7/13/11 12:32 PM EXEC File "/opt/buildforge/rafw/product/lib/jython/wsadmin_lib/ConfigWriter.py", line 162, in _createWASObject
689 7/13/11 12:32 PM EXEC File "/opt/buildforge/rafw/product/lib/jython/wsadmin_lib/ConfigWriter.py", line 229, in createEntity
690 7/13/11 12:32 PM EXEC ConfigWriterException: Unable to create type: EndPoint under parent: (cells/CloudBurstCell_1/nodes/CloudBurstNode_1/servers/server1|server.xml#SOAPConnector_1310578324091) for xmlNode: EndPoint{'WASKey': 'SOAP_CONNECTOR_ADDRESS', 'port': '8880', 'host': 'cbvm18.localdomain'}
691 7/13/11 12:32 PM EXEC
692 7/13/11 12:32 PM EXEC WASX7341W: No "save" was performed before the interactive scripting session exited; configuration changes will not be saved.
693 7/13/11 12:32 PM EXEC
694 7/13/11 12:32 PM EXEC prepare_shell:
695 7/13/11 12:32 PM EXEC
696 7/13/11 12:32 PM EXEC change_directory_ownership:
697 7/13/11 12:32 PM EXEC Current user is the OS_USER: /opt/buildforge/rafw/logs/DEMO_MIGRATE/cells/CloudBurstCell_1/nodes/CloudBurstNode_1/servers/server1 ownership will not be modified.
698 7/13/11 12:32 PM EXEC
699 7/13/11 12:32 PM EXEC prepare_shell:
700 7/13/11 12:32 PM EXEC
701 7/13/11 12:32 PM EXEC change_directory_ownership:
702 7/13/11 12:32 PM EXEC Current user is the OS_USER: /opt/buildforge/rafw/work/DEMO_MIGRATE/cells/CloudBurstCell_1/nodes/CloudBurstNode_1/servers/server1 ownership will not be modified.
703 7/13/11 12:32 PM EXEC Computing list of files to transfer back to the framework server
704 7/13/11 12:32 PM EXEC
705 7/13/11 12:32 PM FILT Match on filter (RAFW) - Set fail status .
706 7/13/11 12:32 PM EXEC BUILD FAILED
707 7/13/11 12:32 PM EXEC /opt/buildforge/rafw/product/lib/core.xml:132: The following error occurred while executing this line:
708 7/13/11 12:32 PM EXEC /opt/buildforge/rafw/product/actions/configure/was/common/configure_was_common.xml:869: compositeaction unable to execute task: The following error occurred while executing this line:
709 7/13/11 12:32 PM EXEC /opt/buildforge/rafw/product/actions/configure/was/common/configure_was_common.xml:630: The following error occurred while executing this line:
710 7/13/11 12:32 PM EXEC /opt/buildforge/rafw/product/actions/configure/was/common/configure_was_common.xml:498: The following error occurred while executing this line:
711 7/13/11 12:32 PM EXEC /opt/buildforge/rafw/product/actions/configure/was/common/configure_was_common.xml:294: The following error occurred while executing this line:
712 7/13/11 12:32 PM EXEC /opt/buildforge/rafw/product/actions/configure/was/common/configure_was_common.xml:294: The following error occurred while executing this line:
713 7/13/11 12:32 PM EXEC /opt/buildforge/rafw/product/lib/jython/ant_jythonLib.xml:215: exec returned: 105
714 7/13/11 12:32 PM EXEC
715 7/13/11 12:32 PM EXEC Total time: 6 minutes 3 seconds
716 7/13/11 12:32 PM EXEC CRWFW0059I Getting File user/environments/DEMO_MIGRATE/cells/CloudBurstCell_1/nodes/CloudBurstNode_1/servers/server1/server.xml
717 7/13/11 12:32 PM EXEC CRWFW0059I Getting File logs/DEMO_MIGRATE/cells/CloudBurstCell_1/nodes/CloudBurstNode_1/servers/server1/was_common_configure_all.trace
718 7/13/11 12:32 PM EXEC CRWFW0059I Getting File logs/DEMO_MIGRATE/cells/CloudBurstCell_1/nodes/CloudBurstNode_1/servers/server1/was_common_configure_all.log
719 7/13/11 12:32 PM EXEC CRWFW0059I Getting File logs/DEMO_MIGRATE/cells/CloudBurstCell_1/nodes/CloudBurstNode_1/servers/server1/was_common_configure_all.wsadmin
720 7/13/11 12:32 PM EXEC CRWFW7070I Disconnected from 'cbvm10.localdomain'
721 7/13/11 12:32 PM EXEC end
722 7/13/11 12:32 PM RESULT 1 (1)
I am trying to capture the configuration and application on a WAS6.1 (PlantsByWebSphere thats the application) by running the environment genration wizard against my target to capture. The I run the project created in import mode, use RAFW library actions to retrieve the actual .ear file and create a properties file for the app in BF/RAFW. This all seems to work (when I peek in the .xml files I see the correct information... jdbs, datasources, etc)
When I try to push this config out to another machine via the RAFW Integration script, the job fails (see mountain of text below)
I get the exact same error whether trying to migrate a WAS6.1 configuration to another WAS 6.1 server or WAS6.1 to a WAS7.0 (all these are x86 linux)
This same set up steps actually worked and successfully transfered an application from 6.1WAS to 7.0 WAS on zLinux not less than 60 days ago.
Any clues to what might be wrong?
635 7/13/11 12:31 PM EXEC was_common_configure_server_admin_service:
636 7/13/11 12:31 PM EXEC
637 7/13/11 12:31 PM EXEC scope_init:
638 7/13/11 12:31 PM EXEC
639 7/13/11 12:31 PM EXEC manage_server_config_type:
640 7/13/11 12:31 PM EXEC execute: Admin Service at server level
641 7/13/11 12:31 PM EXEC
642 7/13/11 12:31 PM EXEC assert_file:
643 7/13/11 12:31 PM EXEC
644 7/13/11 12:31 PM EXEC scope_init:
645 7/13/11 12:31 PM EXEC
646 7/13/11 12:31 PM EXEC prepare_shell:
647 7/13/11 12:31 PM EXEC
648 7/13/11 12:31 PM EXEC decode_password:
649 7/13/11 12:31 PM EXEC
650 7/13/11 12:31 PM EXEC was_init:
651 7/13/11 12:31 PM EXEC
652 7/13/11 12:31 PM EXEC jython_jacl_init:
653 7/13/11 12:31 PM EXEC
654 7/13/11 12:31 PM EXEC java_init:
655 7/13/11 12:31 PM EXEC
656 7/13/11 12:31 PM EXEC build_wsadmin_exec_string:
657 7/13/11 12:31 PM EXEC
658 7/13/11 12:31 PM EXEC call_wsadmin:
659 7/13/11 12:31 PM EXEC WASX7209I: Connected to process "server1" on node CloudBurstNode_1 using SOAP connector; The type of process is: UnManagedProcess
660 7/13/11 12:32 PM EXEC WASX7303I: The following options are passed to the scripting environment and are available as arguments that are stored in the argv variable: ""
661 7/13/11 12:32 PM EXEC Updating server config:
662 7/13/11 12:32 PM EXEC CRWWA9902I ConfigWriter - updateWASObject: updating config under: server1(cells/CloudBurstCell_1/nodes/CloudBurstNode_1/servers/server1|server.xml#Server_1183122130078) modifying type: AdminService
663 7/13/11 12:32 PM EXEC CRWWA9902I ConfigWriter - updateWASObjectByKey: ByKey: updating config under: (cells/CloudBurstCell_1/nodes/CloudBurstNode_1/servers/server1|server.xml#AdminService_1183122130078) modifying elements under key: connectors
664 7/13/11 12:32 PM EXEC Removing the existing config object (cells/CloudBurstCell_1/nodes/CloudBurstNode_1/servers/server1|server.xml#IPCConnector_1)
665 7/13/11 12:32 PM EXEC Removing the existing config object (cells/CloudBurstCell_1/nodes/CloudBurstNode_1/servers/server1|server.xml#RMIConnector_1)
666 7/13/11 12:32 PM EXEC Removing the existing config object (cells/CloudBurstCell_1/nodes/CloudBurstNode_1/servers/server1|server.xml#JSR160RMIConnector_1)
667 7/13/11 12:32 PM EXEC Removing the existing config object (cells/CloudBurstCell_1/nodes/CloudBurstNode_1/servers/server1|server.xml#SOAPConnector_1)
668 7/13/11 12:32 PM EXEC Creating: RMIConnector
669 7/13/11 12:32 PM EXEC CRWWA9902I ConfigWriter - _createWASObject: creating: RMIConnector under parent: (cells/CloudBurstCell_1/nodes/CloudBurstNode_1/servers/server1|server.xml#AdminService_1183122130078)
670 7/13/11 12:32 PM EXEC Created config object RMIConnector: (cells/CloudBurstCell_1/nodes/CloudBurstNode_1/servers/server1|server.xml#RMIConnector_1310578324032)
671 7/13/11 12:32 PM EXEC Creating: SOAPConnector
672 7/13/11 12:32 PM EXEC CRWWA9902I ConfigWriter - _createWASObject: creating: SOAPConnector under parent: (cells/CloudBurstCell_1/nodes/CloudBurstNode_1/servers/server1|server.xml#AdminService_1183122130078)
673 7/13/11 12:32 PM EXEC Created config object SOAPConnector: (cells/CloudBurstCell_1/nodes/CloudBurstNode_1/servers/server1|server.xml#SOAPConnector_1310578324091)
674 7/13/11 12:32 PM EXEC CRWWA9902I ConfigWriter - _createWASObject: creating: EndPoint under parent: (cells/CloudBurstCell_1/nodes/CloudBurstNode_1/servers/server1|server.xml#SOAPConnector_1310578324091)
675 7/13/11 12:32 PM EXEC CRWWA9904E ConfigWriter - createEntity: Unable to create type: EndPoint under parent: (cells/CloudBurstCell_1/nodes/CloudBurstNode_1/servers/server1|server.xml#SOAPConnector_1310578324091) for xmlNode: EndPoint{'WASKey': 'SOAP_CONNECTOR_ADDRESS', 'port': '8880', 'host': 'cbvm18.localdomain'}
677 7/13/11 12:32 PM EXEC Traceback (innermost last):
678 7/13/11 12:32 PM EXEC File "<string>", line 570, in ?
679 7/13/11 12:32 PM EXEC File "<string>", line 46, in processServer
680 7/13/11 12:32 PM EXEC File "<string>", line 105, in executeServers
681 7/13/11 12:32 PM EXEC File "/opt/buildforge/rafw/product/lib/jython/wsadmin_lib/ConfigWriter.py", line 710, in updateWASObject
682 7/13/11 12:32 PM EXEC File "/opt/buildforge/rafw/product/lib/jython/wsadmin_lib/ConfigWriter.py", line 384, in processChildren
683 7/13/11 12:32 PM EXEC File "/opt/buildforge/rafw/product/lib/jython/wsadmin_lib/ConfigWriter.py", line 319, in modify
684 7/13/11 12:32 PM EXEC File "/opt/buildforge/rafw/product/lib/jython/wsadmin_lib/ConfigWriter.py", line 765, in _updateWASChildren
685 7/13/11 12:32 PM EXEC File "/opt/buildforge/rafw/product/lib/jython/wsadmin_lib/ConfigWriter.py", line 351, in updateWASObjectByKey
686 7/13/11 12:32 PM EXEC File "/opt/buildforge/rafw/product/lib/jython/wsadmin_lib/ConfigWriter.py", line 456, in processChildren
687 7/13/11 12:32 PM EXEC File "/opt/buildforge/rafw/product/lib/jython/wsadmin_lib/ConfigWriter.py", line 176, in _createWASObject
688 7/13/11 12:32 PM EXEC File "/opt/buildforge/rafw/product/lib/jython/wsadmin_lib/ConfigWriter.py", line 162, in _createWASObject
689 7/13/11 12:32 PM EXEC File "/opt/buildforge/rafw/product/lib/jython/wsadmin_lib/ConfigWriter.py", line 229, in createEntity
690 7/13/11 12:32 PM EXEC ConfigWriterException: Unable to create type: EndPoint under parent: (cells/CloudBurstCell_1/nodes/CloudBurstNode_1/servers/server1|server.xml#SOAPConnector_1310578324091) for xmlNode: EndPoint{'WASKey': 'SOAP_CONNECTOR_ADDRESS', 'port': '8880', 'host': 'cbvm18.localdomain'}
691 7/13/11 12:32 PM EXEC
692 7/13/11 12:32 PM EXEC WASX7341W: No "save" was performed before the interactive scripting session exited; configuration changes will not be saved.
693 7/13/11 12:32 PM EXEC
694 7/13/11 12:32 PM EXEC prepare_shell:
695 7/13/11 12:32 PM EXEC
696 7/13/11 12:32 PM EXEC change_directory_ownership:
697 7/13/11 12:32 PM EXEC Current user is the OS_USER: /opt/buildforge/rafw/logs/DEMO_MIGRATE/cells/CloudBurstCell_1/nodes/CloudBurstNode_1/servers/server1 ownership will not be modified.
698 7/13/11 12:32 PM EXEC
699 7/13/11 12:32 PM EXEC prepare_shell:
700 7/13/11 12:32 PM EXEC
701 7/13/11 12:32 PM EXEC change_directory_ownership:
702 7/13/11 12:32 PM EXEC Current user is the OS_USER: /opt/buildforge/rafw/work/DEMO_MIGRATE/cells/CloudBurstCell_1/nodes/CloudBurstNode_1/servers/server1 ownership will not be modified.
703 7/13/11 12:32 PM EXEC Computing list of files to transfer back to the framework server
704 7/13/11 12:32 PM EXEC
705 7/13/11 12:32 PM FILT Match on filter (RAFW) - Set fail status .
706 7/13/11 12:32 PM EXEC BUILD FAILED
707 7/13/11 12:32 PM EXEC /opt/buildforge/rafw/product/lib/core.xml:132: The following error occurred while executing this line:
708 7/13/11 12:32 PM EXEC /opt/buildforge/rafw/product/actions/configure/was/common/configure_was_common.xml:869: compositeaction unable to execute task: The following error occurred while executing this line:
709 7/13/11 12:32 PM EXEC /opt/buildforge/rafw/product/actions/configure/was/common/configure_was_common.xml:630: The following error occurred while executing this line:
710 7/13/11 12:32 PM EXEC /opt/buildforge/rafw/product/actions/configure/was/common/configure_was_common.xml:498: The following error occurred while executing this line:
711 7/13/11 12:32 PM EXEC /opt/buildforge/rafw/product/actions/configure/was/common/configure_was_common.xml:294: The following error occurred while executing this line:
712 7/13/11 12:32 PM EXEC /opt/buildforge/rafw/product/actions/configure/was/common/configure_was_common.xml:294: The following error occurred while executing this line:
713 7/13/11 12:32 PM EXEC /opt/buildforge/rafw/product/lib/jython/ant_jythonLib.xml:215: exec returned: 105
714 7/13/11 12:32 PM EXEC
715 7/13/11 12:32 PM EXEC Total time: 6 minutes 3 seconds
716 7/13/11 12:32 PM EXEC CRWFW0059I Getting File user/environments/DEMO_MIGRATE/cells/CloudBurstCell_1/nodes/CloudBurstNode_1/servers/server1/server.xml
717 7/13/11 12:32 PM EXEC CRWFW0059I Getting File logs/DEMO_MIGRATE/cells/CloudBurstCell_1/nodes/CloudBurstNode_1/servers/server1/was_common_configure_all.trace
718 7/13/11 12:32 PM EXEC CRWFW0059I Getting File logs/DEMO_MIGRATE/cells/CloudBurstCell_1/nodes/CloudBurstNode_1/servers/server1/was_common_configure_all.log
719 7/13/11 12:32 PM EXEC CRWFW0059I Getting File logs/DEMO_MIGRATE/cells/CloudBurstCell_1/nodes/CloudBurstNode_1/servers/server1/was_common_configure_all.wsadmin
720 7/13/11 12:32 PM EXEC CRWFW7070I Disconnected from 'cbvm10.localdomain'
721 7/13/11 12:32 PM EXEC end
722 7/13/11 12:32 PM RESULT 1 (1)