Author |
Message
|
sleepyjamie |
Posted: Mon Dec 07, 2015 11:26 am Post subject: Syntax for installing EAR application? |
|
|
Centurion
Joined: 29 Apr 2015 Posts: 135
|
I'm trying to figure out the syntax for installing an app.
AdminApp.install("/home/jamie/myApp.ear")
com.ibm.ws.scripting.ScriptingException: WASX7109E: Insufficient data for install task "MapWebModToVH
ADMA0010E: Validation error in task Selecting virtual hosts for Web modules. A virtual host is not specified for web module lib/ens-delivery-rest-2.0.0-SNAPSHOT.war with URI lib/myApp-Web-2.0.0-SNAPSHOT.war,WEB-INF/web.xml."
I've been reading through the ibm documentation for hours and I cannot find any examples on how to map web module to a virtual host.
I've tried many permutations with no success:
AdminApp.install("/home/jamie/myApp.ear", ['-defaultbinding.virtual.host', ['default_host']])
WASX7436W: At least one default binding option has been specified, but usedefaultbindings option has not been specified. The default binding option(s) will be ignored.
WASX7015E: Exception running command: "AdminApp.install("/home/jamie/myApp.ear", ['-defaultbinding.virtual.host', 'default_host'])"; exception information:
com.ibm.ws.scripting.ScriptingException: WASX7109E: Insufficient data for install task "MapWebModToVH |
|
Back to top |
|
 |
sleepyjamie |
Posted: Mon Dec 07, 2015 12:50 pm Post subject: Re: Syntax for installing EAR application? |
|
|
Centurion
Joined: 29 Apr 2015 Posts: 135
|
The closest syntax I could find was:
wsadmin>AdminApp.install("/home/jamie/JamieApp.ear", ['-appname', 'JamieApp', '-usedefaultbindings'])
ADMA5011I: The cleanup of the temp directory for application JamieApp is complete.
ADMA5014E: The installation of application JamieApp failed.
WASX7015E: Exception running command: "AdminApp.install("/home/jamie/JamieApp.ear", ['-appname', 'JamieApp', '-usedefaultbindings'])"; exception information:
com.ibm.ws.scripting.ScriptingException: WASX7132E: Application install for /home/jamie/JamieApp.ear failed: see previous messages for details.
The IBM error message once again is completely useless... |
|
Back to top |
|
 |
sleepyjamie |
Posted: Mon Dec 14, 2015 11:58 am Post subject: Re: Syntax for installing EAR application? |
|
|
Centurion
Joined: 29 Apr 2015 Posts: 135
|
|
Back to top |
|
 |
fjb_saper |
Posted: Mon Dec 14, 2015 12:34 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
|
Back to top |
|
 |
sleepyjamie |
Posted: Mon Dec 14, 2015 6:16 pm Post subject: Re: Syntax for installing EAR application? |
|
|
Centurion
Joined: 29 Apr 2015 Posts: 135
|
|
Back to top |
|
 |
smdavies99 |
Posted: Mon Dec 14, 2015 11:56 pm Post subject: Re: Syntax for installing EAR application? |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
Why don't you take the opportunity to Tell IBM that their documentation is horrible? Facilities are available to do this.
This is the only way it can get improved so that others don't his the same problem as you. _________________ WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995
Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions. |
|
Back to top |
|
 |
sleepyjamie |
Posted: Tue Dec 15, 2015 5:44 am Post subject: Re: Syntax for installing EAR application? |
|
|
Centurion
Joined: 29 Apr 2015 Posts: 135
|
smdavies99 wrote: |
Why don't you take the opportunity to Tell IBM that their documentation is horrible? Facilities are available to do this.
This is the only way it can get improved so that others don't his the same problem as you. |
Yeah I've gone through a few channels over the last couple years. Not much movement on IBMs side. |
|
Back to top |
|
 |
Vitor |
Posted: Tue Dec 15, 2015 5:51 am Post subject: Re: Syntax for installing EAR application? |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
sleepyjamie wrote: |
Yeah I've gone through a few channels over the last couple years. |
Was one of them the Feedback button on the page? Or just talking to random IBM people at conferences?
sleepyjamie wrote: |
Not much movement on IBMs side. |
No response at all? Acknowledgement but no change? A failure to admit you're completely right and instantly edit the page?
Patience and persistence are virtues. As are using the supplied channels, which the IBM authors do read. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
sleepyjamie |
Posted: Tue Dec 15, 2015 6:25 am Post subject: Re: Syntax for installing EAR application? |
|
|
Centurion
Joined: 29 Apr 2015 Posts: 135
|
Vitor wrote: |
sleepyjamie wrote: |
Yeah I've gone through a few channels over the last couple years. |
Was one of them the Feedback button on the page? Or just talking to random IBM people at conferences?
sleepyjamie wrote: |
Not much movement on IBMs side. |
No response at all? Acknowledgement but no change? A failure to admit you're completely right and instantly edit the page?
Patience and persistence are virtues. As are using the supplied channels, which the IBM authors do read. |
Patience is key, but the the business can't wait 2-5 years for IBM to play catchup. The channels I've went through so far are Twitter, Youtube, IBM sales engineers, forums, IBM reps, IBM feedback forums. Not sure what else is left. I realize IBM is a big company, and they are slow to adapt to change, and updating documentation is expensive.
Their documentation strategies are improving with their new products.
Anyhow, I was able to figure it out but the answer was from a non-IBM blog.
 |
|
Back to top |
|
 |
mqjeff |
Posted: Tue Dec 15, 2015 6:48 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
Adding comments directly to the problem page in the knowledge center is the most straight forward way to get requests/information/complaints to the right people as quickly as possible.
Raising a sev4 doc PMR is the next best way.
Talking to anyone outside the relevant lab team is very likely to produce very little result. _________________ chmod -R ugo-wx / |
|
Back to top |
|
 |
Vitor |
Posted: Tue Dec 15, 2015 6:59 am Post subject: Re: Syntax for installing EAR application? |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
sleepyjamie wrote: |
Not sure what else is left. |
The one thing you should have used up front. Okay - 2 things. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
Vitor |
Posted: Tue Dec 15, 2015 7:03 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
mqjeff wrote: |
Adding comments directly to the problem page in the knowledge center is the most straight forward way to get requests/information/complaints to the right people as quickly as possible. |
I've got changes into the IIB docs this way.
mqjeff wrote: |
Raising a sev4 doc PMR is the next best way. |
I've used this too, especially when the documentation is unclear and causes this kind of issue.
mqjeff wrote: |
Talking to anyone outside the relevant lab team is very likely to produce very little result. |
 _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
|