Search code examples
javawebsphereapplication-server

Deploying .war file in Websphere application server 6.1?


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??


Solution

  • I would:

    • check the log for more information as instructed
    • if memory serves, WAS 6.1 is a Servlet 2.4 container, so check that the deployment descriptor (web.xml) validates against the 2.4 schema (or 2.3 or 2.2 DTD if you're writing to those specs)