wood burning stoves*
The moose likes Other Java Products and Servers and the fly likes Hot Deploy in iPlanet 6 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Products » Other Java Products and Servers
Bookmark "Hot Deploy in iPlanet 6" Watch "Hot Deploy in iPlanet 6" New topic
Author

Hot Deploy in iPlanet 6

Maitham Habib
Greenhorn

Joined: Jul 15, 2002
Posts: 5
Hi,
Does any one know how to hot deploy a war file with iPlanet 6 running on NT.
Just like Tomcat 4 I can drop my war file into the webapps folder and tomcat will pick the file, extract it and deploy it.
Does any one know if i can do the same thing in iPlanet 6 ??
I know there is a webdeploy command that I have to execute, but this is not the same as hot deploy.
Any help is good here,
Thanks
sridhar satuloori
Ranch Hand

Joined: Nov 05, 2001
Posts: 144
use wdeploy command for hot deployment of the archive. it automatically reloads the files
David Ogren
Author
Ranch Hand

Joined: Jul 19, 2002
Posts: 66
(I think the previous poster assumed you were using iWS. I'll assume that you are using iAS 6.x.)
I'm not sure what you mean by "hot deploy". Usually people associate "hot deploy" with the ability to drop in class files into a running server. (Which will then detect the change in timestamp and reload the class without a restart.) iAS has this feature but it is disabled by default. (Because it isn't a good idea for production servers, and there are some complications related to helper classes and sessions.)
But it sounds like you are really looking for a feature commonly called a "drop in directory". Where you just drop a WAR/EAR file into a directory and the appserver automatically deploys it upon start-up. (Tomcat only does this at check of the webapps directory at startup.)
There is no "drop in directory" for iAS 6.x. It would be pretty easy to create a script to do this for you, if there is some reason you want it though. Just create a script to execute iasdeploy against an arbitrary diretory and then create a new start script that calls the deploy script and then calls iascontrol start.
Personally, I find it just as easy to execute an Ant script has to copy a file over to a directory. That way I don't have to worry about packaging or file permissions.
David


David F. Ogren
Author of iAS : Designing and Building J2EE Solutions
jhansiP jagan
Greenhorn

Joined: Sep 03, 2004
Posts: 1
Hi,
How to enable IPlanet server to reload classes dynamically.
regards,
Mohan
 
wood burning stoves
 
subject: Hot Deploy in iPlanet 6