I keep getting this error when I redeploy a WAR or EAR while the server is running. Anyone know a way around it? I am simple copying an EAR file into the deploy directory
JBoss 2.4.6
Tomcat 4.03
Win2000
Thanks
Jim
Date: Thu Jun 20 14:30:05 CDT 2002 (1024601405423)
Thread: AutoDeployer
Message #: 7
Level: ERROR
NDC:
Category: org.jboss.ejb.AutoDeployer
Message: DeploymentInfo failed:file:/C:/ClarityXPress/deploy/PostMaster.ear
Location: org.jboss.logging.Logger.error(Logger.java:170)
Thrown:
java.io.FileNotFoundException: C:\ClarityXPress\deploy\PostMaster.ear (The process cannot access the file because it is being used by another process)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.(FileInputStream.java:64)
at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:69)
at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:133)
at java.net.URL.openStream(URL.java:798)
at org.jboss.deployment.URLWizzard.download(URLWizzard.java:69)
at org.jboss.deployment.URLWizzard.downloadTemporary(URLWizzard.java:85)
at org.jboss.deployment.LegacyInstaller.makeLocalCopy(LegacyInstaller.java:405)
at org.jboss.deployment.LegacyInstaller.execute(LegacyInstaller.java:121)
at org.jboss.deployment.InstallerFactory.install(InstallerFactory.java:120)
at org.jboss.deployment.J2eeDeployer.installApplication(J2eeDeployer.java:409)
at org.jboss.deployment.J2eeDeployer.deploy(J2eeDeployer.java:185)
at java.lang.reflect.Method.invoke(Native Method)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at org.jboss.deployment.AutoDeployer.deploy(AutoDeployer.java:395)
at org.jboss.deployment.AutoDeployer.run(AutoDeployer.java:233)
at java.lang.Thread.run(Thread.java:484)