bplummer Posted March 28, 2014 Share Posted March 28, 2014 Hi all,I will have to administer remote installations of JRS, and will push new reports using a ftp'd executable that, when run on our customer's server, will call the js-import.bat and import a zip. My question - do I really need to stop the Tomcat server before I do the import? Stopping a service from a script can be flaky - want to avoid it if possible.Thanks! Link to comment Share on other sites More sharing options...
hozawa Posted March 29, 2014 Share Posted March 29, 2014 I think the obviously question is why not just do it from the web browser which has been the recommended way since 5.0.Quoting from "JasperReprots Server Installation Guide" page 142 16.5.2 Running Import from Buildomatic"When performing a large import using js-ant, the server should be stopped (or put into a mode with reduced load) to avoid issues with caches, configuration, and security".Which seems to imply that if you are only doing a small import, you don't need to stop the server. Link to comment Share on other sites More sharing options...
bplummer Posted March 31, 2014 Author Share Posted March 31, 2014 Thanks for the info. Our customers can only access JRS through a browser from our application, and the user they are logged in as doesn't have the permissions to perform an import from the browser. Good to know it's primarily a lock/load issue - we will just restrict usage during an import. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now