Fork me on GitHub

websphere6.1部署SystemErr.log必须为元素类型“web-app”声明属性“ve


解决方案


方法1.将你的war包里的web.xml文件用记事本打开,删掉第一行


<?xml version="1.0" encoding="UTF-8"?>

总之,只能以<web-app开头,这之前的玩意全部干掉,删掉即可。

然后,重新覆盖回war包。


方法2.将你的war包里面的web.xml文件用记事本重新编辑.将


<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd" ><web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee"    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"    xsi:schemaLocation="http://java.sun.com/xml/ns/javaee     http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">

改为


<web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee"    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"    xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee     http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">


其中需要修改


1.web-app version改为2.4;2.所有javaee改为j2ee,共三处;3.web-app_2_5.xsd改为web-app_2_4.xsd.


然后把这个修改的web.xml覆盖到你的war包里,再把war包覆盖到你的ear里面,不需要修改ear里面的application.xml....





ok,重新去websphere控制台部署你的应用吧~~


C:\IBM\WebSphere\AppServer\profiles\Dmgr01\logs\dmgr\SystemErr.log

报错发生 IWAE0022E Exception occurred loading deployment descriptor for module “****.war” in EAR file “/home/was/was6/profiles/appsrv01/wstemp/*****/upload/****.ear” 异常。查看日志以获取详细信息。



[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R org.eclipse.jst.j2ee.commonarchivecore.internal.exception.ResourceLoadException: IWAE0007E Could not load resource "WEB-INF/web.xml" in archive "rs10_report2.war"

Stack trace of nested exception:

Wrapped exception

org.xml.sax.SAXParseException: 必须为元素类型“web-app”声明属性“version”。

at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)

at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source)

at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)

at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)

at org.apache.xerces.impl.dtd.XMLDTDValidator.addDTDDefaultAttrsAndValidate(Unknown Source)

at org.apache.xerces.impl.dtd.XMLDTDValidator.handleStartElement(Unknown Source)

at org.apache.xerces.impl.dtd.XMLDTDValidator.startElement(Unknown Source)

at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)

at org.apache.xerces.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.scanRootElementHook(Unknown Source)

at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)

at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)

at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)

at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)

at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)

at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)

at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)

at javax.xml.parsers.DocumentBuilder.parse(Unknown Source)

at org.eclipse.wst.common.internal.emf.utilities.DOMUtilities.loadDocument(DOMUtilities.java:546)

at org.eclipse.wst.common.internal.emf.resource.EMF2DOMRenderer.loadDocument(EMF2DOMRenderer.java:72)

at org.eclipse.wst.common.internal.emf.resource.EMF2DOMRenderer.doLoad(EMF2DOMRenderer.java:60)

at org.eclipse.wst.common.internal.emf.resource.TranslatorResourceImpl.basicDoLoad(TranslatorResourceImpl.java:141)

at org.eclipse.wst.common.internal.emf.resource.CompatibilityXMIResourceImpl.doLoad(CompatibilityXMIResourceImpl.java:173)

at org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:977)

at org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:832)

at org.eclipse.wst.common.internal.emf.resource.TranslatorResourceImpl.load(TranslatorResourceImpl.java:384)

at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoad(ResourceSetImpl.java:249)

at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoadHelper(ResourceSetImpl.java:264)

at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.getResource(ResourceSetImpl.java:349)

at org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.LoadStrategyImpl.getMofResource(LoadStrategyImpl.java:342)

at org.eclipse.jst.j2ee.commonarchivecore.internal.impl.ArchiveImpl.getMofResource(ArchiveImpl.java:869)

at org.eclipse.jst.j2ee.commonarchivecore.internal.impl.ModuleFileImpl.getDeploymentDescriptorResource(ModuleFileImpl.java:255)

at org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.XmlBasedImportStrategyImpl.primLoadDeploymentDescriptor(XmlBasedImportStrategyImpl.java:39)

at org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.War22ImportStrategyImpl.loadDeploymentDescriptor(War22ImportStrategyImpl.java:87)

at org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.War22ImportStrategyImpl.importMetaData(War22ImportStrategyImpl.java:81)

at org.eclipse.jst.j2ee.commonarchivecore.internal.impl.WARFileImpl.getDeploymentDescriptor(WARFileImpl.java:150)

at org.eclipse.jst.j2ee.commonarchivecore.internal.impl.WARFileImpl.getStandardDeploymentDescriptor(WARFileImpl.java:318)

at org.eclipse.jst.j2ee.commonarchivecore.internal.impl.EARFileImpl.getDeploymentDescriptor(EARFileImpl.java:335)

at org.eclipse.jst.j2ee.commonarchivecore.internal.impl.EARFileImpl.getDeploymentDescriptor(EARFileImpl.java:344)

at org.eclipse.jst.j2ee.commonarchivecore.internal.impl.EARFileImpl.rollUpRoles(EARFileImpl.java:828)

at org.eclipse.jst.j2ee.commonarchivecore.internal.impl.EARFileImpl.rollUpRoles(EARFileImpl.java:817)

at com.ibm.websphere.management.application.client.ArchiveDeploymentInfo.<init>(ArchiveDeploymentInfo.java:155)

at com.ibm.ws.management.application.client.AppInstallHelper.getAppDeploymentInfo(AppInstallHelper.java:188)

at com.ibm.ws.management.application.client.AppInstallHelper.getAppDeploymentInfo(AppInstallHelper.java:168)

at com.ibm.websphere.management.application.AppManagementFactory.readArchive(AppManagementFactory.java:92)

at com.ibm.websphere.management.application.AppManagementFactory.readArchive(AppManagementFactory.java:62)

at com.ibm.ws.console.appmanagement.action.GatherTaskData.<init>(GatherTaskData.java:109)

at com.ibm.ws.console.appmanagement.action.UploadAction.setupFastPath(UploadAction.java:588)

at com.ibm.ws.console.appmanagement.action.UploadAction.execute(UploadAction.java:144)

at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)

at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)

at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1486)

at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:528)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)

at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:972)

at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:907)

at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:145)

at com.ibm.ws.console.core.servlet.WSCUrlFilter.continueStoringTaskState(WSCUrlFilter.java:371)

at com.ibm.ws.console.core.servlet.WSCUrlFilter.doFilter(WSCUrlFilter.java:229)

at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190)

at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130)

at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87)

at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:696)

at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:641)

at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:475)

at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:463)

at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:92)

at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:744)

at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1425)

at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:92)

at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:465)

at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:394)

at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:274)

at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214)

at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113)

at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:152)

at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:213)

at com.ibm.io.async.AbstractAsyncFuture.fireCompletionActions(AbstractAsyncFuture.java:195)

at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)

at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:193)

at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:766)

at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:847)

at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1498)

Wrapped by

org.eclipse.emf.common.util.WrappedException: 必须为元素类型“web-app”声明属性“version”。

at org.eclipse.wst.common.internal.emf.resource.EMF2DOMRenderer.loadDocument(EMF2DOMRenderer.java:79)

at org.eclipse.wst.common.internal.emf.resource.EMF2DOMRenderer.doLoad(EMF2DOMRenderer.java:60)

at org.eclipse.wst.common.internal.emf.resource.TranslatorResourceImpl.basicDoLoad(TranslatorResourceImpl.java:141)

at org.eclipse.wst.common.internal.emf.resource.CompatibilityXMIResourceImpl.doLoad(CompatibilityXMIResourceImpl.java:173)

at org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:977)

at org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:832)

at org.eclipse.wst.common.internal.emf.resource.TranslatorResourceImpl.load(TranslatorResourceImpl.java:384)

at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoad(ResourceSetImpl.java:249)

at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoadHelper(ResourceSetImpl.java:264)

at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.getResource(ResourceSetImpl.java:349)

at org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.LoadStrategyImpl.getMofResource(LoadStrategyImpl.java:342)

at org.eclipse.jst.j2ee.commonarchivecore.internal.impl.ArchiveImpl.getMofResource(ArchiveImpl.java:869)

at org.eclipse.jst.j2ee.commonarchivecore.internal.impl.ModuleFileImpl.getDeploymentDescriptorResource(ModuleFileImpl.java:255)

at org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.XmlBasedImportStrategyImpl.primLoadDeploymentDescriptor(XmlBasedImportStrategyImpl.java:39)

at org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.War22ImportStrategyImpl.loadDeploymentDescriptor(War22ImportStrategyImpl.java:87)

at org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.War22ImportStrategyImpl.importMetaData(War22ImportStrategyImpl.java:81)

at org.eclipse.jst.j2ee.commonarchivecore.internal.impl.WARFileImpl.getDeploymentDescriptor(WARFileImpl.java:150)

at org.eclipse.jst.j2ee.commonarchivecore.internal.impl.WARFileImpl.getStandardDeploymentDescriptor(WARFileImpl.java:318)

at org.eclipse.jst.j2ee.commonarchivecore.internal.impl.EARFileImpl.getDeploymentDescriptor(EARFileImpl.java:335)

at org.eclipse.jst.j2ee.commonarchivecore.internal.impl.EARFileImpl.getDeploymentDescriptor(EARFileImpl.java:344)

at org.eclipse.jst.j2ee.commonarchivecore.internal.impl.EARFileImpl.rollUpRoles(EARFileImpl.java:828)

at org.eclipse.jst.j2ee.commonarchivecore.internal.impl.EARFileImpl.rollUpRoles(EARFileImpl.java:817)

at com.ibm.websphere.management.application.client.ArchiveDeploymentInfo.<init>(ArchiveDeploymentInfo.java:155)

at com.ibm.ws.management.application.client.AppInstallHelper.getAppDeploymentInfo(AppInstallHelper.java:188)

at com.ibm.ws.management.application.client.AppInstallHelper.getAppDeploymentInfo(AppInstallHelper.java:168)

at com.ibm.websphere.management.application.AppManagementFactory.readArchive(AppManagementFactory.java:92)

at com.ibm.websphere.management.application.AppManagementFactory.readArchive(AppManagementFactory.java:62)

at com.ibm.ws.console.appmanagement.action.GatherTaskData.<init>(GatherTaskData.java:109)

at com.ibm.ws.console.appmanagement.action.UploadAction.setupFastPath(UploadAction.java:588)

at com.ibm.ws.console.appmanagement.action.UploadAction.execute(UploadAction.java:144)

at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)

at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)

at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1486)

at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:528)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)

at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:972)

at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:907)

at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:145)

at com.ibm.ws.console.core.servlet.WSCUrlFilter.continueStoringTaskState(WSCUrlFilter.java:371)

at com.ibm.ws.console.core.servlet.WSCUrlFilter.doFilter(WSCUrlFilter.java:229)

at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190)

at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130)

at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87)

at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:696)

at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:641)

at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:475)

at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:463)

at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:92)

at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:744)

at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1425)

at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:92)

at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:465)

at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:394)

at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:274)

at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214)

at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113)

at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:152)

at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:213)

at com.ibm.io.async.AbstractAsyncFuture.fireCompletionActions(AbstractAsyncFuture.java:195)

at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)

at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:193)

at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:766)

at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:847)

at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1498)


[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R Stack trace of nested exception:

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R Wrapped exception

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R org.xml.sax.SAXParseException: 必须为元素类型“web-app”声明属性“version”。

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source)

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R at org.apache.xerces.impl.dtd.XMLDTDValidator.addDTDDefaultAttrsAndValidate(Unknown Source)

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R at org.apache.xerces.impl.dtd.XMLDTDValidator.handleStartElement(Unknown Source)

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R at org.apache.xerces.impl.dtd.XMLDTDValidator.startElement(Unknown Source)

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R at org.apache.xerces.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.scanRootElementHook(Unknown Source)

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R at javax.xml.parsers.DocumentBuilder.parse(Unknown Source)

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R at org.eclipse.wst.common.internal.emf.utilities.DOMUtilities.loadDocument(DOMUtilities.java:546)

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R at org.eclipse.wst.common.internal.emf.resource.EMF2DOMRenderer.loadDocument(EMF2DOMRenderer.java:72)

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R at org.eclipse.wst.common.internal.emf.resource.EMF2DOMRenderer.doLoad(EMF2DOMRenderer.java:60)

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R at org.eclipse.wst.common.internal.emf.resource.TranslatorResourceImpl.basicDoLoad(TranslatorResourceImpl.java:141)

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R at org.eclipse.wst.common.internal.emf.resource.CompatibilityXMIResourceImpl.doLoad(CompatibilityXMIResourceImpl.java:173)

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R at org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:977)

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R at org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:832)

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R at org.eclipse.wst.common.internal.emf.resource.TranslatorResourceImpl.load(TranslatorResourceImpl.java:384)

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoad(ResourceSetImpl.java:249)

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoadHelper(ResourceSetImpl.java:264)

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.getResource(ResourceSetImpl.java:349)

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R at org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.LoadStrategyImpl.getMofResource(LoadStrategyImpl.java:342)

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R at org.eclipse.jst.j2ee.commonarchivecore.internal.impl.ArchiveImpl.getMofResource(ArchiveImpl.java:869)

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R at org.eclipse.jst.j2ee.commonarchivecore.internal.impl.ModuleFileImpl.getDeploymentDescriptorResource(ModuleFileImpl.java:255)

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R at org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.XmlBasedImportStrategyImpl.primLoadDeploymentDescriptor(XmlBasedImportStrategyImpl.java:39)

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R at org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.War22ImportStrategyImpl.loadDeploymentDescriptor(War22ImportStrategyImpl.java:87)

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R at org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.War22ImportStrategyImpl.importMetaData(War22ImportStrategyImpl.java:81)

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R at org.eclipse.jst.j2ee.commonarchivecore.internal.impl.WARFileImpl.getDeploymentDescriptor(WARFileImpl.java:150)

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R at org.eclipse.jst.j2ee.commonarchivecore.internal.impl.WARFileImpl.getStandardDeploymentDescriptor(WARFileImpl.java:318)

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R at org.eclipse.jst.j2ee.commonarchivecore.internal.impl.EARFileImpl.getDeploymentDescriptor(EARFileImpl.java:335)

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R at org.eclipse.jst.j2ee.commonarchivecore.internal.impl.EARFileImpl.getDeploymentDescriptor(EARFileImpl.java:344)

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R at org.eclipse.jst.j2ee.commonarchivecore.internal.impl.EARFileImpl.rollUpRoles(EARFileImpl.java:828)

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R at org.eclipse.jst.j2ee.commonarchivecore.internal.impl.EARFileImpl.rollUpRoles(EARFileImpl.java:817)

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R at com.ibm.websphere.management.application.client.ArchiveDeploymentInfo.<init>(ArchiveDeploymentInfo.java:155)

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R at com.ibm.ws.management.application.client.AppInstallHelper.getAppDeploymentInfo(AppInstallHelper.java:188)

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R at com.ibm.ws.management.application.client.AppInstallHelper.getAppDeploymentInfo(AppInstallHelper.java:168)

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R at com.ibm.websphere.management.application.AppManagementFactory.readArchive(AppManagementFactory.java:92)

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R at com.ibm.websphere.management.application.AppManagementFactory.readArchive(AppManagementFactory.java:62)

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R at com.ibm.ws.console.appmanagement.action.GatherTaskData.<init>(GatherTaskData.java:109)

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R at com.ibm.ws.console.appmanagement.action.UploadAction.setupFastPath(UploadAction.java:588)

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R at com.ibm.ws.console.appmanagement.action.UploadAction.execute(UploadAction.java:144)

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1486)

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:528)

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:972)

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:907)

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:145)

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R at com.ibm.ws.console.core.servlet.WSCUrlFilter.continueStoringTaskState(WSCUrlFilter.java:371)

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R at com.ibm.ws.console.core.servlet.WSCUrlFilter.doFilter(WSCUrlFilter.java:229)

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190)

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130)

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87)

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:696)

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:641)

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:475)

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:463)

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:92)

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:744)

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1425)

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:92)

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:465)

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:394)

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:274)

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214)

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113)

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:152)

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:213)

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R at com.ibm.io.async.AbstractAsyncFuture.fireCompletionActions(AbstractAsyncFuture.java:195)

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:193)

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:766)

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:847)

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1498)

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R Wrapped by

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R org.eclipse.emf.common.util.WrappedException: 必须为元素类型“web-app”声明属性“version”。

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R at org.eclipse.wst.common.internal.emf.resource.EMF2DOMRenderer.loadDocument(EMF2DOMRenderer.java:79)

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R at org.eclipse.wst.common.internal.emf.resource.EMF2DOMRenderer.doLoad(EMF2DOMRenderer.java:60)

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R at org.eclipse.wst.common.internal.emf.resource.TranslatorResourceImpl.basicDoLoad(TranslatorResourceImpl.java:141)

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R at org.eclipse.wst.common.internal.emf.resource.CompatibilityXMIResourceImpl.doLoad(CompatibilityXMIResourceImpl.java:173)

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R at org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:977)

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R at org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:832)

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R at org.eclipse.wst.common.internal.emf.resource.TranslatorResourceImpl.load(TranslatorResourceImpl.java:384)

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoad(ResourceSetImpl.java:249)

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoadHelper(ResourceSetImpl.java:264)

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.getResource(ResourceSetImpl.java:349)

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R at org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.LoadStrategyImpl.getMofResource(LoadStrategyImpl.java:342)

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R at org.eclipse.jst.j2ee.commonarchivecore.internal.impl.ArchiveImpl.getMofResource(ArchiveImpl.java:869)

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R at org.eclipse.jst.j2ee.commonarchivecore.internal.impl.ModuleFileImpl.getDeploymentDescriptorResource(ModuleFileImpl.java:255)

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R at org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.XmlBasedImportStrategyImpl.primLoadDeploymentDescriptor(XmlBasedImportStrategyImpl.java:39)

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R at org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.War22ImportStrategyImpl.loadDeploymentDescriptor(War22ImportStrategyImpl.java:87)

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R at org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.War22ImportStrategyImpl.importMetaData(War22ImportStrategyImpl.java:81)

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R at org.eclipse.jst.j2ee.commonarchivecore.internal.impl.WARFileImpl.getDeploymentDescriptor(WARFileImpl.java:150)

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R at org.eclipse.jst.j2ee.commonarchivecore.internal.impl.WARFileImpl.getStandardDeploymentDescriptor(WARFileImpl.java:318)

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R at org.eclipse.jst.j2ee.commonarchivecore.internal.impl.EARFileImpl.getDeploymentDescriptor(EARFileImpl.java:335)

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R at org.eclipse.jst.j2ee.commonarchivecore.internal.impl.EARFileImpl.getDeploymentDescriptor(EARFileImpl.java:344)

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R at org.eclipse.jst.j2ee.commonarchivecore.internal.impl.EARFileImpl.rollUpRoles(EARFileImpl.java:828)

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R at org.eclipse.jst.j2ee.commonarchivecore.internal.impl.EARFileImpl.rollUpRoles(EARFileImpl.java:817)

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R at com.ibm.websphere.management.application.client.ArchiveDeploymentInfo.<init>(ArchiveDeploymentInfo.java:155)

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R at com.ibm.ws.management.application.client.AppInstallHelper.getAppDeploymentInfo(AppInstallHelper.java:188)

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R at com.ibm.ws.management.application.client.AppInstallHelper.getAppDeploymentInfo(AppInstallHelper.java:168)

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R at com.ibm.websphere.management.application.AppManagementFactory.readArchive(AppManagementFactory.java:92)

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R at com.ibm.websphere.management.application.AppManagementFactory.readArchive(AppManagementFactory.java:62)

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R at com.ibm.ws.console.appmanagement.action.GatherTaskData.<init>(GatherTaskData.java:109)

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R at com.ibm.ws.console.appmanagement.action.UploadAction.setupFastPath(UploadAction.java:588)

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R at com.ibm.ws.console.appmanagement.action.UploadAction.execute(UploadAction.java:144)

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1486)

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:528)

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:972)

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:907)

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:145)

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R at com.ibm.ws.console.core.servlet.WSCUrlFilter.continueStoringTaskState(WSCUrlFilter.java:371)

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R at com.ibm.ws.console.core.servlet.WSCUrlFilter.doFilter(WSCUrlFilter.java:229)

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190)

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130)

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87)

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:696)

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:641)

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:475)

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:463)

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:92)

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:744)

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1425)

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:92)

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:465)

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:394)

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:274)

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214)

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113)

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:152)

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:213)

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R at com.ibm.io.async.AbstractAsyncFuture.fireCompletionActions(AbstractAsyncFuture.java:195)

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:193)

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:766)

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:847)

[13-3-19 9:50:42:359 CST] 0000002b SystemErr     R at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1498)


posted @ 2013-03-19 11:15  _落雨  阅读(142)  评论(0编辑  收藏  举报