Installer instructions...
Quote from zkiwi34 on 2. July 2024, 20:06I do have WAR file installation instructions.
I believe they work (for Tomcat 9) but I reckon they could be improved.Does anyone have a gold-standard recipe for installing Jasper Server?
I do have WAR file installation instructions.
I believe they work (for Tomcat 9) but I reckon they could be improved.
Does anyone have a gold-standard recipe for installing Jasper Server?
Quote from ThoZi on 3. July 2024, 11:46Hi zkiwi34.
The "WAR Installation" is indeed the right way to to it for productive installs. This is more or less well documented in the original Jasperserver docs e.g. "js-jrs-ce_8.2.0_install-guide.pdf"
What could be added from my point of view, is a clear description how to deal with the "keystores" a.s.o. But in the end an ideal installation layout depends a bit on the specific needs which differ from on customer to another.
So, do you have specific question in a certain area? Perhaps we can release some entries here for certain topics an parts of the installation whiche are not coverde by the original docs or so...
Greeting, Thomas
Hi zkiwi34.
The "WAR Installation" is indeed the right way to to it for productive installs. This is more or less well documented in the original Jasperserver docs e.g. "js-jrs-ce_8.2.0_install-guide.pdf"
What could be added from my point of view, is a clear description how to deal with the "keystores" a.s.o. But in the end an ideal installation layout depends a bit on the specific needs which differ from on customer to another.
So, do you have specific question in a certain area? Perhaps we can release some entries here for certain topics an parts of the installation whiche are not coverde by the original docs or so...
Greeting, Thomas
Quote from zkiwi34 on 3. July 2024, 19:43The issue with keystores is that the installer places them under the root user's directory. Less than ideal imho.
In my "instructions to self" I do this, and it works...sudo mkdir /opt/tomcat/current/keys
cd /opt/tomcat/current/keys
sudo cp /root/.jrsks .
sudo cp /root/.jrsksp .Edit this file...
sudo nano /opt/tomcat/current/webapps/jasperserver/WEB-INF/classes/keystore.init.properties
Make sure the ks and ksp lines are like...
ks=/opt/tomcat/current/keys
ksp=/opt/tomcat/current/keysFinish the setup by making sure the tomcat user is the owner of these folders/files
sudo chown -R tomcat:tomcat /opt/tomcatThen its just a matter of restarting tomcat and maybe all is well. Heh
The issue with keystores is that the installer places them under the root user's directory. Less than ideal imho.
In my "instructions to self" I do this, and it works...
sudo mkdir /opt/tomcat/current/keys
cd /opt/tomcat/current/keys
sudo cp /root/.jrsks .
sudo cp /root/.jrsksp .
Edit this file...
sudo nano /opt/tomcat/current/webapps/jasperserver/WEB-INF/classes/keystore.init.properties
Make sure the ks and ksp lines are like...
ks=/opt/tomcat/current/keys
ksp=/opt/tomcat/current/keys
Finish the setup by making sure the tomcat user is the owner of these folders/files
sudo chown -R tomcat:tomcat /opt/tomcat
Then its just a matter of restarting tomcat and maybe all is well. Heh