Re: Automated deployment with psi-probe

536 views
Skip to first unread message

Mark

unread,
Nov 15, 2012, 1:40:43 PM11/15/12
to psi-prob...@googlegroups.com
That sounds like a fine plan.  There aren't currently any scriptable PSI Probe clients, though there is an feature request for supporting Ant tasks.  For now, you should be able to use curl to POST the .war file to /probe/adm/war.htm and include the parameters for discarding work and recompiling JSPs.

This is a really interesting use of Probe.  Let me know how it works out.

On Thursday, November 15, 2012 11:10:58 AM UTC-5, Barry Roberts wrote:
I'm in the process of upgrading my automated deployments, and I'm thinking of switching from the tomcat manager app to psi-probe's deployer.  The reasons are these:

1.  psi-probe has the "Discard "work" directory if exists" option.  Our old scripts did this, and it seems like a reasonable thing to do, but afaict, tomcat/manager doesn't.

2. psi-probe has the "Precompile JSP pages after application is deployed" option.  Again, tomcat/manager doesn't afaict, and that seems like a great test to add to the suite to find jsp compile errors.

3. psi-probe is easier and less intrusive to upgrade than tomcat.  Different verions of tomcat have different urls for the manager app.  I manage a bunch of apps and clusters and some are more rigorously maintained than others.  But I can always easily upgrade psi-probe to make the deployment urls consistent across all of them, even if I can't easily upgrade tomcat.

With that said, I'm open to feedback on my plan, but the real question is, is there already a client (maven, jenkins?) to automate deploying a war file via psi-probe?  I have curl-scripts for tomcat/manager, and that looks pretty easy to do with psi-probe as well.  But before I do, I figured it wouldn't hurt to see if my plan is flawed, or if there's existing code I can use if it is a good plan.

Thanks,
Barry

Daniel Scruggs

unread,
Mar 17, 2015, 9:56:13 AM3/17/15
to psi-prob...@googlegroups.com
I just did this to start a post war script for deployments, anyone have any luck with undeploy tasks, going to be figuring this out next.
Reply all
Reply to author
Forward
0 new messages