I just made some changes to make it a little more user friendly, specifically adding variables at the beginning to let you define where you keep your logs and your ROOT.war file. The formatting is also a little nicer when asking for user input.
I just wanted to report back that the script worked perfectly fine after tweaking a few settings but this is probably due to the fact that I used the jssinstaller.run and not the manual installation.
Thank you so much for this brilliant script. I will have to setup many instances in the near future and so this is going to make my life way easier. Looking forward to invite you for a drink of your choice next time I'm in Chicago (probably summer 2014).
What a shame but I understand. My last employer would also not have been happy for me sharing knowledge. 20th century thinking is still very strong is today's management culture.
Wow, really? That's pretty dumb. The next time management asks you to research something out there that you don't already have the answer to I would respond by saying. 'well, found some information, but I can't use it due to the employers owner not allowing them to share it' Employers need to wake up and understand that information sharing is what makes so much of what we do possible in the first place.
So I've moved the script to GitHub, and I've added some more error checking. I'm pretty sure it's solid, but I'd love to get some feedback if anyone would like to try it out.
Next on the roadmap is the ability to set an instance as limited access from the script rather than having to log in to the JSS instance.
@rickgmac - The ports are all handled by Tomcat, so it's not that the script is creating the contexts on port 8080, that's just Tomcat's default configuration.
In my server.xml, I have a section for 8443 that looks something like this:
We use 3 different kinds of cookies. You can choose which cookies you want to accept. We need basic cookies to make this site work, therefore these are the minimum you can select. Learn more about our cookies.