Skip to content

Instantly share code, notes, and snippets.

@FilBot3
Last active February 23, 2020 19:32
Show Gist options
  • Select an option

  • Save FilBot3/fd90a256c0ae31b106e8 to your computer and use it in GitHub Desktop.

Select an option

Save FilBot3/fd90a256c0ae31b106e8 to your computer and use it in GitHub Desktop.
WebSphere EAR install using Jython fail
wsadmin>AdminApp.install('/home/wasadmin/HelloWorld3.ear', ['-cluster', 'AppTarget', '-filepermission', '.*\.dll=755#.*\.so=755#.*\.a=755#.*\.sl=755', '-MapModulesToServers', [['.*', '.*', 'WebSphere:cell=DEVCELL,cluster=AppTarget,node=WPSDEV00,server=WebApp00']], '-MapWebModToVH', [['.*', '.*', 'default_host']]])
ADMA5016I: Installation of HelloWorld3 started.
ADMA5058I: Application and module versions are validated with versions of deployment targets.
ADMA5005I: The application HelloWorld3 is configured in the WebSphere Application Server repository.
ADMA5005I: The application HelloWorld3 is configured in the WebSphere Application Server repository.
ADMA5081I: The bootstrap address for client module is configured in the WebSphere Application Server repository.
ADMA5053I: The library references for the installed optional package are created.
ADMA5005I: The application HelloWorld3 is configured in the WebSphere Application Server repository.
ADMA5001I: The application binaries are saved in /opt/IBM/WebSphere/AppServer/profiles/DMGRDEV/wstemp/Script14eb1e6c7ac/workspace/cells/DEVCELL/applications/HelloWorld3.ear/HelloWorld3.ear
ADMA5005I: The application HelloWorld3 is configured in the WebSphere Application Server repository.
SECJ0400I: Successfully updated the application HelloWorld3 with the appContextIDForSecurity information.
ADMA5005I: The application HelloWorld3 is configured in the WebSphere Application Server repository.
ADMA5005I: The application HelloWorld3 is configured in the WebSphere Application Server repository.
ADMA5113I: Activation plan created successfully.
ADMA5011I: The cleanup of the temp directory for application HelloWorld3 is complete.
ADMA5013I: Application HelloWorld3 installed successfully.
''
wsadmin>AdminConfig.save()
WASX7015E: Exception running command: "AdminConfig.save()"; exception information:
com.ibm.websphere.management.exception.ConfigServiceException
com.ibm.ws.sm.workspace.WorkSpaceException
com.ibm.websphere.management.exception.DocumentNotFoundException: cells/DEVCELL/applications/HelloWorld3.ear/HelloWorld3.ear
cp -r /opt/IBM/WebSphere/AppServer/profiles/DMGRDEV/wstemp/Script14eb1e6c7ac/workspace/cells/DEVCELL/applications/HelloWorld3.ear \
/opt/IBM/WebSphere/AppServer/profiles/DMGRDEV/config/cells/DEVCELL/applications/
wsadmin>AdminConfig.save()
WASX7015E: Exception running command: "AdminConfig.save()"; exception information:
com.ibm.websphere.management.exception.ConfigServiceException
com.ibm.ws.sm.workspace.WorkSpaceException
com.ibm.websphere.management.exception.DocumentAlreadyExistsException: cells/DEVCELL/applications/HelloWorld3.ear/deltas/HelloWorld3/delta-1437580622430
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment