File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "struts with WAS 6.0 " Watch "struts with WAS 6.0 " New topic
Author

struts with WAS 6.0

robbie keane
Ranch Hand

Joined: Sep 05, 2005
Posts: 54
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 ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: struts with WAS 6.0