-
1. Re: Jboos deployment automation steps
ctomc Oct 28, 2013 5:58 AM (in response to munnangi)Moved to appropriate forum.
-
2. Re: Jboos deployment automation steps
wdfink Oct 28, 2013 6:00 AM (in response to munnangi)1 of 1 people found this helpfulHi Durga,
welcome to the forum.
he WildFly forum is not the right place for your question. I'll move your question to another space.
Also your question is not very clear. What you mean by automation process?
Could you give a more detailed description.
-
3. Re: Jboos deployment automation steps
munnangi Oct 28, 2013 6:47 AM (in response to wdfink)Hi Fink,
Thank You.
Now we are doing application deployments in jboss manually, we want to do this deployment automation process .
Need to know the jboss application deployment automation process .
Thanks in Advance
Durga
-
4. Re: Jboos deployment automation steps
wdfink Oct 28, 2013 10:16 AM (in response to munnangi)Hi Durga,
as you are using a AS5 you can copy the EAR/WAR/JAR file to the deploy follder of the server profile you use (i.e. JBOSS_HOME/server/default/deploy) it will be picked up from the scanner if you use the provided configuration. There is a deployment-scanner which watch the directory.
-
5. Re: Jboos deployment automation steps
munnangi Oct 29, 2013 1:48 AM (in response to wdfink)Hi Fink,
Your right, currently we are copying WAR and EAR files to the deploy folder of the server profile as you said.
Our requirement is now we need to do this deployment automation by creating one batch file, once we clinked on batch file EAR/WAR file deployment will be done on (JBOSS_HOME/server/default/deploy) by taking backup previous files.
I am looking help on above requirement.
Thanks,
Durga -
6. Re: Jboos deployment automation steps
wdfink Oct 29, 2013 4:21 AM (in response to munnangi)This is more a question for a windows scripting guy (not me).
What I would do in that case (via unix shell script) is to create a backupfolder with the current date copy the deploy/XXXX file and overwrite it with the new one.
If you prefere to have the installation date you might copy the new file into the backup folder and to the deploy folder with the script. The old file don't need to be backed up as you do that during installation.
But I'm not sure how to do so with a *.bat file
-
7. Re: Jboos deployment automation steps
munnangi Oct 29, 2013 4:56 AM (in response to munnangi)Hi Fink,
Thanks for your replay.
Could you please route this question to any windows scripting guys who can help on this.
Need to write .bat file for deployment automation.
Thanks,
Durga
-
8. Re: Jboos deployment automation steps
sfcoy Oct 29, 2013 9:48 AM (in response to munnangi)1 of 1 people found this helpfulHi Durga,
The best solution to your problem is to become a "windows scripting guy" yourself.
Alternatively, what I've done in the past is to use http://ant.apache.org scripts, which have access to many more useful tasks, such as the ability to copy files across a network using scp. This would still require you to become an "ant scripting guy".
-
9. Re: Jboos deployment automation steps
ctomc Oct 29, 2013 9:53 AM (in response to sfcoy)In any case i would recommend you to start with powershell and don't even bother with batch files (cmd.exe)
see http://www.powershellpro.com/powershell-tutorial-introduction/ for some nice beginners tutorial.
-
10. Re: Jboos deployment automation steps
munnangi Oct 30, 2013 2:04 AM (in response to sfcoy)
Hi Stephen,I am new to scripting, could you please guide me on learning this scripting and get it done deployment automation in jboss windows environment.
Thanks a ton.
Durga.
-
11. Re: Jboos deployment automation steps
munnangi Oct 30, 2013 6:15 AM (in response to ctomc)Hi Cerar
Thank you,i am new to scripting it will be help full your guidance on this scripting and get it done jboss deployment automation in windows.
Thanks in Advance.
-
12. Re: Jboos deployment automation steps
wdfink Oct 30, 2013 3:54 PM (in response to munnangi)As you get here answers from JBoss experts we might give you hints or solutions if we know it. But for scripting windows batch files I suppose you need to learn it because there are so many different requirements that this is an individual job.
-
13. Re: Jboos deployment automation steps
munnangi Nov 4, 2013 1:30 AM (in response to wdfink)
Thanks Fink,Please suggest if any online learning jboss scripting stuff available It would be help full .
Thank you.