为什么Jboss关心war文件名?

时间:2016-06-21 16:04:12

标签: java jboss

我开始使用现有项目并重命名由IDE构建的war(注意:我没有在文件系统中重命名任何东西"手工和#34;)。我将其从jboss-as-helloworld-ws.war重命名为book-store

enter image description here

我在构建期间收到了异常:

18:55:11,436 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-6) MSC000001: Failed to start service jboss.deployment.unit."jboss-as-helloworld-ws.war".STRUCTURE: org.jboss.msc.service.StartException in service jboss.deployment.unit."jboss-as-helloworld-ws.war".STRUCTURE: JBAS018733: Failed to process phase STRUCTURE of deployment "jboss-as-helloworld-ws.war"
    at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:127) [jboss-as-server-7.2.1.Final-redhat-10.jar:7.2.1.Final-redhat-10]
    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.4.GA-redhat-1.jar:1.0.4.GA-redhat-1]
    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.4.GA-redhat-1.jar:1.0.4.GA-redhat-1]
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_79]
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_79]
    at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_79]
Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: JBAS018740: Failed to mount deployment content
    at org.jboss.as.server.deployment.module.DeploymentRootMountProcessor.deploy(DeploymentRootMountProcessor.java:92) [jboss-as-server-7.2.1.Final-redhat-10.jar:7.2.1.Final-redhat-10]
    at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:120) [jboss-as-server-7.2.1.Final-redhat-10.jar:7.2.1.Final-redhat-10]
    ... 5 more
Caused by: java.io.FileNotFoundException: /home/sergei-rudenkov/SEPH/jboss-qs/helloworld-ws/target/jboss-as-helloworld-ws.war (No such file or directory)
    at java.io.FileInputStream.open(Native Method) [rt.jar:1.7.0_79]
    at java.io.FileInputStream.<init>(FileInputStream.java:146) [rt.jar:1.7.0_79]
    at org.jboss.vfs.spi.RootFileSystem.openInputStream(RootFileSystem.java:57)
    at org.jboss.vfs.VirtualFile.openStream(VirtualFile.java:238)
    at org.jboss.vfs.VFS.mountZipExpanded(VFS.java:567)
    at org.jboss.as.server.deployment.DeploymentMountProvider$Factory$ServerDeploymentRepositoryImpl.mountDeploymentContent(DeploymentMountProvider.java:97) [jboss-as-server-7.2.1.Final-redhat-10.jar:7.2.1.Final-redhat-10]
    at org.jboss.as.server.deployment.module.DeploymentRootMountProcessor.deploy(DeploymentRootMountProcessor.java:88) [jboss-as-server-7.2.1.Final-redhat-10.jar:7.2.1.Final-redhat-10]
    ... 6 more

为什么Jboss关心*.war文件名?配置在哪里更改名称?

0 个答案:

没有答案