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)


相关实践学习
【涂鸦即艺术】基于云应用开发平台CAP部署AI实时生图绘板
【涂鸦即艺术】基于云应用开发平台CAP部署AI实时生图绘板
目录
相关文章
|
2月前
|
数据安全/隐私保护
【Azure Function App】PowerShell Function 执行 Get-AzAccessToken 的返回值类型问题:System.String 与 System.Security.SecureString
将PowerShell Function部署到Azure Function App后,Get-AzAccessToken返回值类型在不同环境中有差异。正常为SecureString类型,但部分情况下为System.String类型,导致后续处理出错。解决方法是在profile.ps1中设置环境变量$env:AZUREPS_OUTPUT_PLAINTEXT_AZACCESSTOKEN=false,以禁用明文输出。
|
3月前
|
运维 数据可视化 C++
2025 热门的 Web 化容器部署工具对比:Portainer VS Websoft9
2025年热门Web化容器部署工具对比:Portainer与Websoft9。Portainer以轻量可视化管理见长,适合技术团队运维;Websoft9则提供一站式应用部署与容器管理,内置丰富开源模板,降低中小企业部署门槛。两者各有优势,助力企业提升容器化效率。
353 1
2025 热门的 Web 化容器部署工具对比:Portainer VS Websoft9
|
4月前
|
Java 应用服务中间件 Docker
java-web部署模式概述
本文总结了现代 Web 开发中 Spring Boot HTTP 接口服务的常见部署模式,包括 Servlet 与 Reactive 模型、内置与外置容器、物理机 / 容器 / 云环境部署及单体与微服务架构,帮助开发者根据实际场景选择合适的方案。
188 25
|
4月前
|
存储 缓存 Serverless
【Azure Container App】如何在Consumption类型的容器应用环境中缓存Docker镜像
在 Azure 容器应用的 Consumption 模式下,容器每次启动均需重新拉取镜像,导致冷启动延迟。本文分析该机制,并提出优化方案:使用 ACR 区域复制加速镜像拉取、优化镜像体积、设置最小副本数减少冷启动频率,或切换至 Dedicated 模式实现镜像缓存,以提升容器启动效率和应用响应速度。
132 0
|
4月前
|
安全 JavaScript Java
java Web 项目完整案例实操指南包含从搭建到部署的详细步骤及热门长尾关键词解析的实操指南
本项目为一个完整的JavaWeb应用案例,采用Spring Boot 3、Vue 3、MySQL、Redis等最新技术栈,涵盖前后端分离架构设计、RESTful API开发、JWT安全认证、Docker容器化部署等内容,适合掌握企业级Web项目全流程开发与部署。
336 0
|
6月前
|
人工智能 安全 程序员
用 Colab 和 ngrok 免费部署你的 Web UI 项目,随时随地访问!
用 Colab 和 ngrok 免费部署你的 Web UI 项目,随时随地访问!
|
SQL 安全 PHP
PHP 自发布以来一直在 Web 开发领域占据重要地位,PHP 8 更是带来了属性、刚性类型等新特性。
【10月更文挑战第1天】PHP 自问世以来,凭借其易用性和灵活性,在 Web 开发领域迅速崛起。从简单的网页脚本语言逐步演进为支持面向对象编程的现代语言,尤其自 PHP 5.3 引入命名空间后,代码组织和维护变得更加高效。PHP 7 的性能优化和 PHP 8 的新特性(如属性和刚性类型)进一步巩固了其地位。框架如 Laravel、Symfony、Yii2 和 CodeIgniter 等简化了开发流程,提高了效率和安全性。
190 2
|
9月前
|
中间件 关系型数据库 数据库
docker快速部署OS web中间件 数据库 编程应用
通过Docker,可以轻松地部署操作系统、Web中间件、数据库和编程应用。本文详细介绍了使用Docker部署这些组件的基本步骤和命令,展示了如何通过Docker Compose编排多容器应用。希望本文能帮助开发者更高效地使用Docker进行应用部署和管理。
291 19
|
开发框架 搜索推荐 数据可视化
Django框架适合开发哪种类型的Web应用程序?
Django 框架凭借其强大的功能、稳定性和可扩展性,几乎可以适应各种类型的 Web 应用程序开发需求。无论是简单的网站还是复杂的企业级系统,Django 都能提供可靠的支持,帮助开发者快速构建高质量的应用。同时,其活跃的社区和丰富的资源也为开发者在项目实施过程中提供了有力的保障。
550 67
|
9月前
|
应用服务中间件 Linux nginx
部署使用 CHAT-NEXT-WEB 基于 Deepseek
本文介绍如何在阿里云轻量服务器上部署基于 `Deepseek` 的 `CHAT-NEXT-WEB` 项目。首先,准备一台 Linux 服务器并安装 Docker,确保防火墙允许特定端口访问。接着,通过阿里云容器镜像服务解决国内网络限制问题,将镜像推送到私有仓库并拉取到本地。配置并启动 `chat-next` 项目,使用 Deepseek API 进行优化。最后,安装 Nginx 和 Certbot 配置 HTTPS 访问,确保安全性和自动续签。整个过程需严格遵循官方文档,以避免因网络问题导致的安装失败。

热门文章

最新文章