我是哈德逊的新手。我想将 Hudson 与 JBoss6 一起使用。我将 hudson.war 放入 JBoss6 的部署文件夹中,但是当我启动服务器时,它显示下面重现的错误。我应该怎么做才能正确部署?
原因:java.io.FileNotFoundException: D:\jboss-6.0.0.20100429-M3\server\default\deploy\hudson.war(该进程无法访问该文件,因为它正在被另一个进程使用)在 java.io。 FileInputStream.open(Native Method) [:1.6.0_13] at java.io.FileInputStream.(FileInputStream.java:106) [:1.6.0_13] at org.jboss.vfs.spi.RootFileSystem.openInputStream(RootFileSystem.java: 55) [jboss-vfs.jar:3.0.0.CR5] 在 org.jboss.vfs.VirtualFile.openStream(VirtualFile.java:236) [jboss-vfs.jar:3.0.0.CR5] 在 org.jboss。 vfs.VFS.mountZip(VFS.java:459) [jboss-vfs.jar:3.0.0.CR5] at org.jboss.vfs.util.automount.Automounter$RegistryEntry.mount(Automounter.java:237) [jboss -vfs.jar:3.0.0.CR5] 在 org.jboss.vfs.util.automount.Automounter$RegistryEntry.access$000(Automounter.java:208) [jboss-vfs.jar:3.0.0.CR5] 在 org.jboss.vfs.util.automount.Automounter.mount(Automounter.java:117) [jboss-vfs.jar:3.0.0.CR5] 在 org.jboss.vfs.util.automount.Automounter.mount (Automounter.java:77) [jboss-vfs.jar:3.0.0.CR5] at org.jboss.deployers.vfs.plugins.structure.AbstractVFSArchiveStructureDeployer.performMount(AbstractVFSArchiveStructureDeployer.java:145) [:2.2.0.Alpha4 ] 在 org.jboss.deployers.vfs.plugins.structure.AbstractVFSArchiveStructureDeployer.mountArchive(AbstractVFSArchiveStructureDeployer.java:128) [:2.2.0.Alpha4]performMount(AbstractVFSArchiveStructureDeployer.java:145) [:2.2.0.Alpha4] at org.jboss.deployers.vfs.plugins.structure.AbstractVFSArchiveStructureDeployer.mountArchive(AbstractVFSArchiveStructureDeployer.java:128) [:2.2.0.Alpha4]performMount(AbstractVFSArchiveStructureDeployer.java:145) [:2.2.0.Alpha4] at org.jboss.deployers.vfs.plugins.structure.AbstractVFSArchiveStructureDeployer.mountArchive(AbstractVFSArchiveStructureDeployer.java:128) [:2.2.0.Alpha4]