gpt4 book ai didi

java - 找不到 websphere deployment.xml 组成单元

转载 作者:太空宇宙 更新时间:2023-11-04 12:38:06 25 4
gpt4 key购买 nike

在 websphere 中运行 Web 服务时,抛出此错误:

[5/8/16 17:33:05:862 EDT]     FFDC Exception:java.io.FileNotFoundException SourceId:com.ibm.ws.policyset.runtime.server.FileLocatorImpl.getAttachmentPath ProbeId:FFDC-2
java.io.FileNotFoundException: C:\Program Files (x86)\IBM\WebSphere\AppServer\profiles\AppSrv01\config\cells\Node01Cell\applications\null.ear\deployments\deployment.xml (The system cannot find the path specified.)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:149)
at java.io.FileInputStream.<init>(FileInputStream.java:108)
at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:103)
at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:201)
at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source)
at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(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.AbstractSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source)
at javax.xml.parsers.SAXParser.parse(Unknown Source)
at com.ibm.ws.runtime.config.ConfigDocumentImpl.load(ConfigDocumentImpl.java:200)
at com.ibm.ws.runtime.config.ConfigServiceImpl.getDocument(ConfigServiceImpl.java:182)
at com.ibm.ws.runtime.config.ConfigServiceImpl.getDocumentObjects(ConfigServiceImpl.java:126)
at com.ibm.ws.runtime.config.ConfigServiceImpl.getDocumentObjects(ConfigServiceImpl.java:120)
at com.ibm.ws.policyset.runtime.server.FileLocatorImpl$2.run(FileLocatorImpl.java:176)
at com.ibm.ws.policyset.runtime.server.FileLocatorImpl$2.run(FileLocatorImpl.java:174)
at java.security.AccessController.doPrivileged(AccessController.java:280)
at com.ibm.ws.policyset.runtime.server.FileLocatorImpl.getApplicationAttachment(FileLocatorImpl.java:173)
at com.ibm.ws.policyset.runtime.server.FileLocatorImpl.getAttachmentPath(FileLocatorImpl.java:116)
at com.ibm.ws.policyset.runtime.PolicySetUtil.getAttachmentPath(PolicySetUtil.java:436)
at com.ibm.ws.policyset.runtime.PolicySetUtil.getClientAttachments(PolicySetUtil.java:216)
at com.ibm.ws.websvcs.deployment.WASAxis2PolicySetConfigurator.getPolicySetAttachments(WASAxis2PolicySetConfigurator.java:437)
at com.ibm.ws.websvcs.deployment.WASAxis2PolicySetConfigurator.associatePolicySets(WASAxis2PolicySetConfigurator.java:319)
at com.ibm.ws.websvcs.client.WSClientConfigurationFactory.completeAxis2Configuration(WSClientConfigurationFactory.java:459)
at org.apache.axis2.jaxws.description.impl.EndpointDescriptionImpl.<init>(EndpointDescriptionImpl.java:286)
at org.apache.axis2.jaxws.description.impl.EndpointDescriptionImpl.<init>(EndpointDescriptionImpl.java:223)
at org.apache.axis2.jaxws.description.impl.ServiceDescriptionImpl.updateEndpointDescription(ServiceDescriptionImpl.java:534)
at org.apache.axis2.jaxws.description.impl.DescriptionFactoryImpl.updateEndpoint(DescriptionFactoryImpl.java:382)
at org.apache.axis2.jaxws.description.DescriptionFactory.updateEndpoint(DescriptionFactory.java:180)
at org.apache.axis2.jaxws.spi.ServiceDelegate.getPort(ServiceDelegate.java:597)
at org.apache.axis2.jaxws.spi.ServiceDelegate.getPort(ServiceDelegate.java:513)
at javax.xml.ws.Service.getPort(Service.java:99)

有人能建议一下这是什么问题吗?

最佳答案

如果找不到原因,您可以尝试清除 WAS temp 和 wstemp 目录,然后重新安装您的应用程序。 (在某些情况下它帮助了我们..)

首先停止应用程序服务器,然后删除 temp/和 wstemp/下的所有内容(在安装时可能是: C:\Program Files (x86)\IBM\WebSphere\AppServer\profiles\AppSrv01\temp* 和 C:\Program Files (x86)\IBM\WebSphere\AppServer\profiles\AppSrv01\wstemp* ),然后在管理控制台上卸载并安装该应用程序。

您还可以检查是否有最新的修复包,他们修复了这样的一些问题..

http://www-01.ibm.com/support/docview.wss?uid=swg1PM94858

关于java - 找不到 websphere deployment.xml 组成单元,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37105553/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com