SolarisLinuxWindowsAIX

Troubleshooting: web.xml was not found error after enabling features

After enabling all features, the application server starts successfully, but the Management Center cannot be accessed. An error in the logs states that "web.xml was not found".

Problem

After enabling all features, the application server starts successfully, but with the following exception:

[2/5/10 18:08:00:752 PST] 00000018 ActionServlet E org.apache.struts.action.ActionServlet initServlet The /WEB-INF/web.xml was not found.
[2/5/10 18:08:00:752 PST] 00000018 ActionServlet E org.apache.struts.action.ActionServlet init Unable to initialize Struts ActionServlet 
due to an unexpected exception or error thrown, so marking the servlet as unavailable.  Most likely, this is due to an incorrect or 
missing library dependency.
                                 javax.servlet.ServletException: The /WEB-INF/web.xml was not found.
       at org.apache.struts.action.ActionServlet.initServlet(ActionServlet.java:1140)
       at org.apache.struts.action.ActionServlet.init(ActionServlet.java:328)
       at javax.servlet.GenericServlet.init(GenericServlet.java:241)
       at com.ibm.ws.cache.servlet.ServletWrapper.init(ServletWrapper.java:238)
       at com.ibm.ws.webcontainer.servlet.ServletWrapper.init(ServletWrapper.java:326)
       at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.init(ServletWrapperImpl.java:165)
       at com.ibm.ws.webcontainer.servlet.ServletWrapper.initialize(ServletWrapper.java:1600)
       at com.ibm.wsspi.webcontainer.extension.WebExtensionProcessor.createServletWrapper(WebExtensionProcessor.java:98)
       at com.ibm.ws.webcontainer.webapp.WebApp.getServletWrapper(WebApp.java:939)
       at com.ibm.ws.webcontainer.webapp.WebApp.getServletWrapper(WebApp.java:860)
       at com.ibm.ws.webcontainer.webapp.WebApp.initializeTargetMappings(WebApp.java:541)
       at com.ibm.ws.webcontainer.webapp.WebApp.commonInitializationFinish(WebApp.java:363)
       at com.ibm.ws.webcontainer.webapp.WebAppImpl.initialize(WebAppImpl.java:293)
       at com.ibm.ws.webcontainer.webapp.WebGroupImpl.addWebApplication(WebGroupImpl.java:100)
       at com.ibm.ws.webcontainer.VirtualHostImpl.addWebApplication(VirtualHostImpl.java:166)
       at com.ibm.ws.webcontainer.WSWebContainer.addWebApp(WSWebContainer.java:728)
       at com.ibm.ws.webcontainer.WSWebContainer.addWebApplication(WSWebContainer.java:613)
       at com.ibm.ws.webcontainer.component.WebContainerImpl.install(WebContainerImpl.java:376)
       at com.ibm.ws.webcontainer.component.WebContainerImpl.start(WebContainerImpl.java:668)
       at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:1144)
       at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:1313)
       at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:611)
       at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:938)
       at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:723)
       at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:2068)
       at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(CompositionUnitMgrImpl.java:437)
       at com.ibm.ws.runtime.component.CompositionUnitImpl.start(CompositionUnitImpl.java:122)
       at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(CompositionUnitMgrImpl.java:380)
       at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.access$300(CompositionUnitMgrImpl.java:108)
       at com.ibm.ws.runtime.component.CompositionUnitMgrImpl$CUInitializer.run(CompositionUnitMgrImpl.java:935)
       at com.ibm.wsspi.runtime.component.WsComponentImpl$_AsynchInitializer.run(WsComponentImpl.java:349)
       at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1527)

Solution

Install the WebSphere Application Server fix PK98999, then disable and re-enable the management-center feature.