The moose likes Struts and the fly likes struts with WAS 6.0 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Building Microservices this week in the Design forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "struts with WAS 6.0 " Watch "struts with WAS 6.0 " New topic

struts with WAS 6.0

robbie keane
Ranch Hand

Joined: Sep 05, 2005
Posts: 54
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: 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 ]
I agree. Here's the link:
subject: struts with WAS 6.0
jQuery in Action, 3rd edition