I'm new to Hudson. I'd like to use Hudson with JBoss6. I put hudson.war into the deploy folder of JBoss6, but when I start the server it shows the error reproduced below. What should I do for the proper deployment?
Caused by: java.io.FileNotFoundException: D:\jboss-6.0.0.20100429-M3\server\default\deploy\hudson.war (The process cannot access the file because it is being used by another process) at 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] at org.jboss.vfs.VirtualFile.openStream(VirtualFile.java:236) [jboss-vfs.jar:3.0.0.CR5] at 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] at org.jboss.vfs.util.automount.Automounter$RegistryEntry.access$000(Automounter.java:208) [jboss-vfs.jar:3.0.0.CR5] at org.jboss.vfs.util.automount.Automounter.mount(Automounter.java:117) [jboss-vfs.jar:3.0.0.CR5] at 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] at org.jboss.deployers.vfs.plugins.structure.AbstractVFSArchiveStructureDeployer.mountArchive(AbstractVFSArchiveStructureDeployer.java:128) [:2.2.0.Alpha4]