Reputation: 16400
When i was trying to install new application in WAS 6.1, I have given the .war file i've created for SampleApplication.
The SampleApplication.war is successfully running in Tomcat server, but when i tried to deploy it in WAS 6.1, following error was shown.
The exception **IWAE0022E** Exception occurred loading deployment descriptor for module `"SampleApplication.war" in EAR file "C:\Appllications\IBM\WebSphere\AppServer2\profiles\AppSrv01\wstemp\3506402\upload\SampleApplication_war.ear" ocurred. Check log for details.`
The context root i've given as /SampleApplicaion.
So what would be the problem and how to resolve this??
Upvotes: 2
Views: 8039
Reputation: 12770
Found by googling IWAE0022E
Cause The display-name tag should come before the servlet-name tag.
Resolving the problem Load enterprise application in a developer tool and look at the web.xml From web.xml in the WebSphere Application Resource (WAR) , the following is seen:
<servlet-name>test_name</servlet-name>
<display-name>test_displayname</display-name>
The correct order is: First "display-name" then "servlet-name", like the example below:
<display-name>test_displayname</display-name>
<servlet-name>test_name</servlet-name>
Upvotes: 2
Reputation: 108859
I would:
Upvotes: 3