Reputation: 53
I am working on automation script to install a WAR in the Websphere using WSADMIN console. It leaves random string at the end of the application name.
If the application name is 'test.war', name appears as 'test.war1525e76b1cb'. Has anyone come across this issue before? Any solutions worked. I need the application name to match the artifact to use isAppReady and start the application.
Upvotes: 0
Views: 209
Reputation: 53
I believe not providing specific app name appends random string to the artifact name and sets as application display name. This line of code with -appname option did the trick.
AdminApp.install(appPath,['-appname '+app_name+'','-MapWebModToVH', [['.*', '.*', 'default_host']]])
Upvotes: 2