rubedogg04 Posted July 24, 2008 Share Posted July 24, 2008 Does anyone know if i can run two different versions of Jasperserver with one MySQL binary?The default mysql database that is created when Jasperserver is installed is "jasperserver". What should i do if i want to run two different versions of Jasperserver? Are there files that need to be edited so that there is no inter-version interference?Please advise. Link to comment Share on other sites More sharing options...
alex.chan Posted July 24, 2008 Share Posted July 24, 2008 Rubern There might be DB schema changes between two different versions. The change is that you might get some errors at run time, depending on what you might be doing. -Alex Link to comment Share on other sites More sharing options...
mdahlman Posted July 24, 2008 Share Posted July 24, 2008 From your post it sounds like you're interested in running multiple instances of JasperServer (regardless of whether they are the save version or different versions). This is certainly possible. I'm currently running a few instances of JasperServer 2.1 and a few instances of JasperServer 3.0 all in the same Tomcat. They each point to a different MySQL repository. To do this you'll need to do a WAR file install rather using the GUI installer. The installation guide is included with the download and it has all of the details. Regards, Matt Link to comment Share on other sites More sharing options...
rubedogg04 Posted July 25, 2008 Author Share Posted July 25, 2008 Thanks Matt for replying. Please pardon me as I am just a report writer still learning the whole file structure. If i understand what you are saying, i should do an uninstall and reinstall jasperserver 3.0...and not mess around with jasperserver 2.1 (which is working fine right now). Why can't i just modify the exploded war file?Are you referring to modifying the database configuration files:<install-dir>/apache-tomcat/webapps/jasperserver/META-INF/context.xmlor<tomcat-install-dir>conf/Catalina/localhost/jasperserver.xml<install-dir>/apache-tomcat/webapps/jasperserver/WEB-INF/hibernate.properties<install-dir>/apache-tomcat/webapps/jasperserver/WEB-INF/web.xml Link to comment Share on other sites More sharing options...
mdahlman Posted July 28, 2008 Share Posted July 28, 2008 I'm not sure about uninstalling and reinstalling jasperserver 3.0. It depends how it's setup now. You certainly want to not mess around with jasperserver 2.1 (which is working fine right now). I think you just want to deploy JasperServer 3.0 using the WAR file install. Before doing that deployment you'll need to manually create a new database (on the same MySQL server). The new database would be, for example, jasperdb30. The key file to update is this one that you indicated: /apache-tomcat/webapps/jasperserver/META-INF/context.xml Make sure it's pointed to the new repository (not the one that JasperServer 2.1 is using). Regards, Matt 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