- android - 多次调用 OnPrimaryClipChangedListener
- android - 无法更新 RecyclerView 中的 TextView 字段
- android.database.CursorIndexOutOfBoundsException : Index 0 requested, 光标大小为 0
- android - 使用 AppCompat 时,我们是否需要明确指定其 UI 组件(Spinner、EditText)颜色
在 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* ),然后在管理控制台上卸载并安装该应用程序。
您还可以检查是否有最新的修复包,他们修复了这样的一些问题..
关于java - 找不到 websphere deployment.xml 组成单元,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37105553/
我正在尝试在 Windows 上运行的小于 1GB 的 VM 上设置 YouTrack 和 TeamCity。使用率将非常低(用户和请求)。这是一个 POC 环境,如果它有效,我可能会将它推送到一个超
所以我在尝试使用 FORFILES 解决这个问题时遇到了麻烦。我正在尝试获取不超过 4 天的文件。所以基本上少于 4 天。然而,这似乎不太可能,因为/d -4 获取所有 4 天或更早的项目。 以下是我
如何从下面的 events 表中选择小于 15 分钟前创建的 events? CREATE TABLE events ( created_at timestamp NOT NULL DEFAU
Google Analytics Realtime提供 rt:minutesAgo ,可以过滤查询。 然而,它是一个维度而不是一个度量标准,<=不能在过滤器中使用。 假设我想在最后 n 分钟内获得一些
iOS 核心数据 - 严重的应用程序错误 - 尝试插入 nil 你好, 我的应用程序实际上运行稳定,但在极少数情况下它会崩溃并显示此错误消息... 2019-04-02 20:48:52.437172
我想制作一个 html div 以快速向右移动(例如不到 1 秒)并消失。然后1秒后再次直接出现在这个过程最开始div的位置。此过程将由单击按钮并重复 10 次触发。 我试图在 CSS 中使用过渡属性
我发现使用 TimeTrigger 是 Windows 10 (UWP) 上计划后台任务的方式。但是看起来我们需要给出的最小数字是 15 分钟。只是想知道,即使我们安排它在接下来的 1 分钟内运行,警
我必须在 1 秒内在屏幕上打印 2^20 行整数 printf 不够快,还有其他易于使用的快速输出替代方法吗? 每一行只包含 1 个整数。 我要求它用于竞争性编程问题,我必须将其源代码提交给法官。 最
我是一名优秀的程序员,十分优秀!