JBOSS启动报错Given parent is not an ancestor of this virt

原创 2017年07月13日 14:33:26

环境:JBOSS AS 7、 Linux、JDK1.7

报错信息:

2017-07-13 10:07:16,764 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-1) MSC00001: Failed to start service jboss.deployment.unit."voc.war".STRUCTURE: org.jboss.msc.service.StartException in service jboss.deployment.unit."voc.war".STRUCTURE: Failed to process phase STRUCTURE of deployment "voc.war"

at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:119) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_80]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_80]
at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_80]
Caused by: java.lang.IllegalArgumentException: Given parent is not an ancestor of this virtual file
at org.jboss.vfs.VirtualFile.getPathNameRelativeTo(VirtualFile.java:116)
at org.jboss.vfs.VirtualFile.getPathNameRelativeTo(VirtualFile.java:122)
at org.jboss.vfs.VirtualFile.getPathNameRelativeTo(VirtualFile.java:110)
at org.jboss.as.server.deployment.module.ManifestClassPathProcessor.createAdditionalModule(ManifestClassPathProcessor.java:193) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
at org.jboss.as.server.deployment.module.ManifestClassPathProcessor.handlingExistingClassPathEntry(ManifestClassPathProcessor.java:185) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
at org.jboss.as.server.deployment.module.ManifestClassPathProcessor.deploy(ManifestClassPathProcessor.java:162) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:113) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]

... 5 more

可能原因:

     jar包的manifest.mf中class-path导致的

本案例中,原始的jar包classpath:

Manifest-Version: 1.0
Class-Path: ridl.jar jurt.jar ../../lib/ ../bin/
Solar-Version: 320m14(Build:9489)
Sealed: true
RegistrationClassName: com.sun.star.comp.JavaUNOHelperServices
UNO-Type-Path: 



修改后,重新打包的classpath,带manifest.mf打包命令"jar -cvfm juh-3.2.1.jar MANIFEST.MF com/*":


打包的文件结构:


注意:MANIFEST.MF文件最后一行为空行,结尾不能有空格


版权声明:本文为博主原创文章,未经博主允许不得转载。

相关文章推荐

启动startup.bat文件报错:listener does not currently know of SID given in connect descriptor

启动startup.bat文件报错:  nc.jdbc.framework.exception.DB2Exception: java.sql.SQLException: Listener refus...

错误Tensor is not an element of this graph tensorflow

1、说明:tensorflow使用图来定义计算,在session中来执行图中定义的计算,如果没有显式的说明,那么session就跟默认的图相关联.graph 和 session应该是一一对应的.下面,...

Incorrect decrement of the reference count of an object that is not owned at this point by the calle

Incorrect decrement of the reference count of an object that is not owned at this point by the cal...

dubbo-admin-2.5.3 运行报错: Bean property 'URIType' is not writable or has an invalid,uritypewritable

因为 jdk 是1.8的版本,和 dubbo-admin 存在兼容性问题。所以报错: Bean property 'URIType' is not writable or has an invali...

pip安装报错:is not a supported wheel on this platform

源地址:http://www.cnblogs.com/nice-forever/p/5371906.html 可能的原因1:安装的不是对应python版本的库,下载的库名中cp27代表pyt...

报错:1130-host ... is not allowed to connect to this MySql server

报错:1130-host ... is not allowed to connect to this MySql server 解决方法: 1。 改表法。 可能是你的帐号不允许从远程登陆,...

mysql报错:1130 -host 'localhost' is not allowed to connect to this mysql server

错误提示:1130 -host ‘localhost’ is not allowed to connect to this mysql server原因:手贱把mysql数据库系统中mysql数据库给...
  • T_P_F
  • T_P_F
  • 2017-08-02 20:57
  • 200

报错:1130-host ... is not allowed to connect to this MySql server

今天自己第一次把数据库弄到服务器上去。也很简单,就是直接在服务器上安装mysql,然后导入再本地备份好的数据。好了,设置成功之后,把project里面数据库链接地址中的localhost改为服务器公网...
内容举报
返回顶部
收藏助手
不良信息举报
您举报文章:深度学习:神经网络中的前向传播和反向传播算法推导
举报原因:
原因补充:

(最多只允许输入30个字)