-
1. Re: Remote Deployment
adrian.brock Jul 31, 2002 3:03 PM (in response to manfred)There is a task in the 3.1 source tree
varia/src/main/org/jboss/ant/JMX.java for
managing JBoss from an ant script.
JBoss does not differentiate between
deploy("http://remote.com/myapp.jar");
and deploy("file:/.../deploy/myapp.jar");
If you want the deployment to survive a restart (without
manually deploying) you'll either have to add the
remote url to deployment scanner in jboss-service.xml
or write your own service to copy the remote url
into deploy.
NOTE: You can get problems with remote copying because
the DeploymentScanner might spot the file and deploy it
before it has fully finished copying.
Regards,
Adrian -
2. Re: Remote Deployment
manfred Aug 1, 2002 1:52 PM (in response to manfred)Ups right,
I tested it. And additionally an xy.txt will also be deployed via JarDeployer.
a jmx stop() on MainDeployer and JarDeployer did not
change this.
So my hope to copy the file into /deploy with a
"wrong" suffix and renaming afterwards is gone.
Any suggestion ?
Manfred
www.regele.org -
3. Re: Remote Deployment
manfred Aug 1, 2002 1:59 PM (in response to manfred)Ups right,
I tested it. And additionally an xy.txt will also be deployed via JarDeployer.
a jmx stop() on MainDeployer and JarDeployer did not
change this.
So my hope to copy the file into /deploy with a
"wrong" suffix and renaming afterwards is gone.
Any suggestion ?
Manfred
www.regele.org -
4. Re: Remote Deployment
adrian.brock Aug 1, 2002 2:08 PM (in response to manfred)Put a leading full stop in front of the name.
The deployment scanner can be configured to ignore
files with a certain pattern, look in jboss-service.xml
at the deployment filter.
Regards,
Adrian -
5. Re: Remote Deployment
manfred Aug 2, 2002 11:57 AM (in response to manfred)Bingo,
Thanks Adrian,
".*" or "*.bak" will work for my problem. Seen in
jboss-service.xml and tested.
Manfred.
(hopefully with remote deployment after some work;-> ). -
6. Re: Remote Deployment
paulkuit Apr 12, 2005 8:12 PM (in response to manfred)I wrote a very simple .war (9Kb) that uploads a(ny) file over HTTP and writes it to (your deploy) directory. Mail me and I can send it. (paul.kuit@comsol.com.br)