Hello! On Wed, Mar 26, 2003 at 04:00:49PM +0100, Sacha Labourey wrote: > > > and why are the ear/war files deleted from the ./farm > > directory if they > > are redeployed (or touched) during the 1st step, the > > undeployment? this > > behavior isn't like this for normal deployment from the > > server/[config]/deploy directories... > > What do you mean?
if i want to force jboss to redeploy a ear then i touch the ear file so that the timestamp of the file changes. then jboss starts to undeploy the ear file, then deleting the file from the filesystem. a shot excerpt from the jbos log follows: 10:03:41,160 INFO [MainDeployer] Deployed package: file:/home/chris/Software/Java/jboss-3.0.6_tomcat-4.1.18/server/all/farm/cocoon.ear 10:03:41,178 ERROR [STDERR] java.io.FileNotFoundException: /home/chris/Software/Java/jboss-3.0.6_tomcat-4.1.18/server/all/farm/cocoon.ear (No such file or directory) 10:03:41,178 ERROR [STDERR] at java.io.FileInputStream.open(Native Method) 10:03:41,179 ERROR [STDERR] at java.io.FileInputStream.<init>(FileInputStream.java:103) 10:03:41,179 ERROR [STDERR] at org.jboss.ha.framework.server.FarmMemberService.getFileContent(FarmMemberService.java:314) 10:03:41,179 ERROR [STDERR] at org.jboss.ha.framework.server.FarmMemberService.deploy(FarmMemberService.java:367) 10:03:41,179 ERROR [STDERR] at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:561) 10:03:41,179 ERROR [STDERR] at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:212) 10:03:41,179 ERROR [STDERR] at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:225) 10:03:41,180 ERROR [STDERR] at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:202) 10:03:41,180 ERROR [FarmMemberService] java.io.FileNotFoundException: /home/chris/Software/Java/jboss-3.0.6_tomcat-4.1.18/server/all/farm/cocoon.ear (No such file or directory) 10:03:46,198 INFO [MainDeployer] Undeploying file:/home/chris/Software/Java/jboss-3.0.6_tomcat-4.1.18/server/all/farm/cocoon.ear 10:03:46,199 INFO [EmbeddedCatalinaService41] undeploy, ctxPath=/cocoon, warUrl=file:/home/chris/Software/Java/jboss-3.0.6_tomcat-4.1.18/server/all/tmp/deploy/server/all/farm/cocoon.ear/29.cocoon.ear-contents/cocoon.war 10:03:46,199 INFO [Engine] StandardHost[localhost]: Removing web application at context path /cocoon 10:03:46,391 INFO [EARDeployer] Undeploying J2EE application, destroy step: file:/home/chris/Software/Java/jboss-3.0.6_tomcat-4.1.18/server/all/farm/cocoon.ear 10:03:46,411 WARN [DeploymentInfo] Not deleting localUrl, it is null or not a copy: file:/home/chris/Software/Java/jboss-3.0.6_tomcat-4.1.18/server/all/tmp/deploy/server/all/farm/cocoon.ear/29.cocoon.ear-contents/cocoon.war 10:03:46,412 INFO [MainDeployer] Undeployed file:/home/chris/Software/Java/jboss-3.0.6_tomcat-4.1.18/server/all/tmp/deploy/server/all/farm/cocoon.ear/29.cocoon.ear-contents/cocoon.war 10:03:46,438 INFO [DeploymentInfo] Cleaned Deployment: file:/home/chris/Software/Java/jboss-3.0.6_tomcat-4.1.18/server/all/tmp/deploy/server/all/farm/cocoon.ear/29.cocoon.ear 10:03:46,438 INFO [MainDeployer] Undeployed file:/home/chris/Software/Java/jboss-3.0.6_tomcat-4.1.18/server/all/farm/cocoon.ear thats happening when i touch a ear file. after that i have to copy the file to that directory again to get it redeployed to the farm again... thx, Chris -- KNAPP Logistics Automation http://www.knapp.com Ing. Christian Jölly Tel/FAX: (++43) 316 / 495 1926 / 495 394 Günter-Knapp-Straße 5-7 A-8075 Hart bei Graz -- Support your government, give Echelon/Carnivore something to parse -- AMTAS ATMD ATSC Abdullah Allah communist CIA DD2-N DISA DoD GRU Gregori Irak Iran KGB Kurdish LSD NATO NSTD Natasha ORD RTEM Russia STRAP Saddam Hussein TSP Yugoslavia attack bank bomb classfield cocain compromise defense democracy destroy destruct detonator directorate elections enforce extasy force foreign embassy government grass hashish heroin illegal information international military systems missile million dollars nuclear policital pot power presidental project restricted data revolution rule the world sensitive smuggle spy steal system takeover terrorist top-secret warmod warrior-T weapon weed ------------------------------------------------------------------------
pgp00000.pgp
Description: PGP signature