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

本文涉及的产品
日志服务 SLS,月写入数据量 50GB 1个月
简介: 解决方案 方法1.将你的war包里的web.xml文件用记事本打开,删掉第一行 总之,只能以


解决方案


方法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” 异常。查看日志以获取详细信息。


img_4fcfbbda719ab562f12906b33ffda81b.jpg


[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)


相关实践学习
日志服务之使用Nginx模式采集日志
本文介绍如何通过日志服务控制台创建Nginx模式的Logtail配置快速采集Nginx日志并进行多维度分析。
目录
相关文章
|
3月前
|
编译器 Linux PHP
【Azure App Service】为部署在App Service上的PHP应用开启JIT编译器
【Azure App Service】为部署在App Service上的PHP应用开启JIT编译器
|
17天前
|
开发工具 git C++
【App Service】VS Code直接部署App Service时候遇见 “fatal: not a git repository (or any of the parent directories): .git”
通过VS Code发布Python App Service的时候,遇见了发布失败错误: The deployment failed with error: fatal: not a git repository (or any of the parent directories): .git . Please take a few minutes to help us improve the deployment experience
70 24
|
1月前
|
SQL 安全 PHP
PHP 自发布以来一直在 Web 开发领域占据重要地位,PHP 8 更是带来了属性、刚性类型等新特性。
【10月更文挑战第1天】PHP 自问世以来,凭借其易用性和灵活性,在 Web 开发领域迅速崛起。从简单的网页脚本语言逐步演进为支持面向对象编程的现代语言,尤其自 PHP 5.3 引入命名空间后,代码组织和维护变得更加高效。PHP 7 的性能优化和 PHP 8 的新特性(如属性和刚性类型)进一步巩固了其地位。框架如 Laravel、Symfony、Yii2 和 CodeIgniter 等简化了开发流程,提高了效率和安全性。
40 2
|
3月前
|
安全 API 数据安全/隐私保护
【Azure App Service】通过Visual Studio部署Azure App Service 遇见 401 'Unauthorized'错误
【Azure App Service】通过Visual Studio部署Azure App Service 遇见 401 'Unauthorized'错误
|
3月前
|
前端开发 搜索推荐 开发者
揭秘Web前端的隐形英雄:神奇的title与alt属性,你真的了解吗?
【8月更文挑战第26天】在Web开发中,`title`和`alt`属性对于提升网站的可访问性和搜索引擎优化至关重要。`title`属性可在鼠标悬停时显示额外信息,增强用户体验;`alt`属性主要用于图像,提供替代文本以确保视觉障碍用户及搜索引擎能理解图像内容。正确使用这两个属性可以显著提高网站的友好性和可达性。
88 0
|
2天前
|
JavaScript C++ 容器
【Azure Bot Service】部署NodeJS ChatBot代码到App Service中无法自动启动
2024-11-12T12:22:40.366223350Z Error: Cannot find module 'dotenv' 2024-11-12T12:40:12.538120729Z Error: Cannot find module 'restify' 2024-11-12T12:48:13.348529900Z Error: Cannot find module 'lodash'
25 11
|
21小时前
|
开发框架 监控 .NET
【Azure App Service】部署在App Service上的.NET应用内存消耗不能超过2GB的情况分析
x64 dotnet runtime is not installed on the app service by default. Since we had the app service running in x64, it was proxying the request to a 32 bit dotnet process which was throwing an OutOfMemoryException with requests >100MB. It worked on the IaaS servers because we had the x64 runtime install
|
9天前
|
C#
【Azure App Service】使用Microsoft.Office.Interop.Word来操作Word文档,部署到App Service后报错COMException
System.Runtime.InteropServices.COMException (0x80040154): Retrieving the COM class factory for component with CLSID {000209FF-0000-0000-C000-000000000046} failed due to the following error: 80040154 Class not registered (0x80040154 (REGDB_E_CLASSNOTREG)).
|
16天前
|
机器人 Shell Linux
【Azure Bot Service】部署Python ChatBot代码到App Service中
本文介绍了使用Python编写的ChatBot在部署到Azure App Service时遇到的问题及解决方案。主要问题是应用启动失败,错误信息为“Failed to find attribute &#39;app&#39; in &#39;app&#39;”。解决步骤包括:1) 修改`app.py`文件,添加`init_func`函数;2) 配置`config.py`,添加与Azure Bot Service认证相关的配置项;3) 设置App Service的启动命令为`python3 -m aiohttp.web -H 0.0.0.0 -P 8000 app:init_func`。
|
1月前
|
存储 移动开发 数据库
HTML5 Web IndexedDB 数据库常用数据存储类型
IndexedDB 支持多种数据存储类型,满足复杂数据结构的存储需求。它包括基本数据类型(如 Number、String、Boolean、Date)、对象(简单和嵌套对象)、数组、Blob(用于二进制数据如图像和视频)、ArrayBuffer 和 Typed Arrays(处理二进制数据)、结构化克隆(支持 Map 和 Set 等复杂对象),以及 JSON 数据。尽管不直接支持非序列化数据(如函数和 DOM 节点),但可以通过转换实现存储。开发者应根据具体需求选择合适的数据类型,以优化性能和使用体验。
下一篇
无影云桌面