If your come across the following error while deploying a web application to websphere
I have come across this error while deploying a new web module to Websphere commerce server using wcbd scripts.
Here is the complete error I have seen in my wcbd wasadmin target
ADMA0010E: A Validation error occurred in task Selecting virtual hosts for Web modulesThen the issue would be your might be missing the following file in your web archive (war)
ibm-web-bnd.xml
ibm-web-ext.xml
Ensure that you have those files present in the archive and the redploy the application.
I have come across this error while deploying a new web module to Websphere commerce server using wcbd scripts.
Here is the complete error I have seen in my wcbd wasadmin target
wcbd.wsadmin.helper: [echoNL] Running wsadmin on localhost with /usr/WebSphere/AppServer70/profiles/wcbd/dist/server/wcbd-deploy-server-RELEASE-Rel1-BUILD-2013-12-31_04-02-20-252/scripts/wcbd-wsadmin.py. [wsadmin] profileName=template registry=/usr/WebSphere/AppServer70/properties/profileRegistry.xml [wsadmin] profileHome=/usr/WebSphere/AppServer70/profiles/template [wsadmin] WASX7209I: Connected to process "dmgr" on node templateCellManager01 using SOAP connector; The type of process is: DeploymentManager [wsadmin] WASX7303I: The following options are passed to the scripting environment and are available as arguments that are stored in the argv variable: "[WC_template, /usr/WebSphere/AppServer70/profiles/wcbd/dist/server/wcbd-deploy-server-RELEASE-Rel1-BUILD-2013-12-31_04-02-20-252/scripts, /usr/WebSphere/AppServer70/profiles/wcbd/dist/server/wcbd-deploy-server-RELEASE-Rel1-BUILD-2013-12-31_04-02-20-252/working/module, , TmplGenericPaymentPlugin,WebSphereCommerceServerExtensionsData, WebSphere Commerce DB2 DataSource template, TmplPenguin, , /usr/WebSphere/AppServer70/profiles/wcbd/dist/server/wcbd-deploy-server-RELEASE-Rel1-BUILD-2013-12-31_04-02-20-252/working/partialapp.zip, false, 300, , false, , , , , true, false]" [wsadmin] Deploying Web module TmplPenguin.war to WC_template. [wsadmin] Started: 2013/12/31 07:07:18 [wsadmin] WASX7327I: Contents of was.policy file: [wsadmin] // [wsadmin] // Template policy file for enterprise application. [wsadmin] // Extra permissions can be added if required by the enterprise application. [wsadmin] // [wsadmin] // NOTE: Syntax errors in the policy files will cause the enterprise application FAIL to start. [wsadmin] // Extreme care should be taken when editing these policy files. It is advised to use [wsadmin] // the policytool provided by the JDK for editing the policy files [wsadmin] // (WAS_HOME/java/jre/bin/policytool). [wsadmin] // [wsadmin] [wsadmin] grant codeBase "file:${application}" { [wsadmin] }; [wsadmin] [wsadmin] grant codeBase "file:${jars}" { [wsadmin] }; [wsadmin] [wsadmin] grant codeBase "file:${connectorComponent}" { [wsadmin] }; [wsadmin] [wsadmin] grant codeBase "file:${webComponent}" { [wsadmin] }; [wsadmin] [wsadmin] grant codeBase "file:${ejbComponent}" { [wsadmin] }; [wsadmin] [wsadmin] [wsadmin] WASX7017E: Exception received while running file "/usr/WebSphere/AppServer70/profiles/wcbd/dist/server/wcbd-deploy-server-RELEASE-Rel1-BUILD-2013-12-31_04-02-20-252/scripts/wcbd-wsadmin.py"; exception information: com.ibm.ws.scripting.ScriptingException: WASX7109E: Insufficient data for install task "MapWebModToVH [wsadmin] [wsadmin] ADMA0010E: A Validation error occurred in task Selecting virtual hosts for Web modules. A virtual host is not specified for Web module TmplPenguin with URI TmplPenguin.war,WEB-INF/web.xml." [wsadmin]
2 comments:
Thanks a lot for sharing this, it saved me valuable time.
Hi,
I have both of these files in the .war file, still I'm getting the same error every time with one more error.
This is the complete error trace :
[echo] Beginning installation
[wsInstallApp] Installing Application [E:\deployable_cpp\OtpBasedChannelVisitEAR.ear]...
[wsadmin] WASX7209I: Connected to process "dmgr" on node SVHJ0159CellManager02 using SOAP connector; The type of process is: DeploymentManager
[wsadmin] WASX7017E: Exception received while running file "C:\Windows\TEMP\wsant30629jacl"; exception information: com.ibm.ws.scripting.ScriptingException: WASX7109E: Insufficient data for install task "MapWebModToVH
[wsadmin]
[wsadmin] ADMA0010E: A Validation error occurred in task Selecting virtual hosts for Web modules. A virtual host is not specified for Web module OtpBasedChannelVisit with URI OtpBasedChannelVisit.war,WEB-INF/web.xml."
[wsadmin]
Post a Comment