Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

struts with WAS 6.0

 
robbie keane
Ranch Hand
Posts: 54
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I'm trying to deploy struts-blank.war on WAS 6.0 using wsadmin. Using the server console UI, it gets deployed without any errors but when i run the foll command from DOS prompt

wsadmin -c "$AdminApp install D:/struts-blank.war {-contextroot /strutsBx}"

I get

WASX7015E: Exception running command: "$AdminApp install D:/struts-blank.war {-contextroot /strutsBx}"; exception information:
com.ibm.ws.scripting.ScriptingException: WASX7109E: Insufficient data for install task "MapWebModToVH

ADMA0010E: A Validation error occurred in task Selecting virtual hosts for Web modules. A virtual host is not specified for Web module Struts Blank Application with URI struts-blank.war,WEB-INF/web.xml."


Please tell how / where do i specify virtual host entry? Does it not by default take virtualhost=default_host?
Thanks in advance.

[ February 21, 2006: Message edited by: robbie keane ]
[ February 21, 2006: Message edited by: robbie keane ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic