File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 Android Security Essentials Live Lessons this week in the Android 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 ]
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: struts with WAS 6.0
Similar Threads
Installing an Enterprise Application
Installing and Ear file to websphere 5
Start or stop server with WAS v5
virtual host error
Virtual host is not specified for web module