Portlight Posted September 20, 2011 Share Posted September 20, 2011 I need to have both 3.7 and 4.0 installed on my localhost machine so that I may work on an upgrade script....I have 4.0 installed - what do i need to change, alter or create to install 3.7 on my machine.....i already know i need to change port numbers....what about changing the services name?I have tried and tried but can not get both versions working at the same time Link to comment Share on other sites More sharing options...
bjamieson Posted September 21, 2011 Share Posted September 21, 2011 Bitnami Stacks are GREAT for that kind of thing. And they do a Jasper Reports stack.http://bitnami.org/stack/jasperserverHope that helps. Link to comment Share on other sites More sharing options...
Portlight Posted September 21, 2011 Author Share Posted September 21, 2011 will i need to unistall the jasper 4.0 that i have on my localhost before i unstall bitname Link to comment Share on other sites More sharing options...
bjamieson Posted September 21, 2011 Share Posted September 21, 2011 tbh, not sure about that one. Simplest is to do the install of the 3.7 and see if it detects the existing v4 installation. If not then be prepared to go for a reinstall of both, I know that that type of double installation is supported by Bitnami. I use it for Joomla, Drupal and Liferay.Good luck.Post Edited by bjamieson at 09/21/2011 22:05 Link to comment Share on other sites More sharing options...
Portlight Posted September 22, 2011 Author Share Posted September 22, 2011 Do you know if it uses the same port or different ports...I keep getting an error when trying to install saying it can not bind to the port I am using. Link to comment Share on other sites More sharing options...
bjamieson Posted September 22, 2011 Share Posted September 22, 2011 Sounds like it's detected your existing installation (assuming that it's up and running as a service or whatever).So if you want two running then you need one to operate on say port 8080 and using the shutdown port of 8005, then another running on 8081 with 8015, and another on 8082 with 8025, etc...In the tomcat conf server.xml files for each of your installations, you 'probably' want to comment out the depreciated ajp stuff:<!-- Define an AJP 1.3 Connector on port 8009 <Connector port="8009" protocol="AJP/1.3" redirectPort="8443" />-->Same thing for the database settings, your first system will likely use 3306, your second might use 3316, etc. Link to comment Share on other sites More sharing options...
Portlight Posted September 22, 2011 Author Share Posted September 22, 2011 I have it recognizing both installations however when I use the import and export commands for 3.7 - (which was installed with the bitnami) the cmd shows functioning correctly however nothing is actually imported - in fact there is nothing but a bare bones - nothing there installation of the server....no sure how to fix this. Link to comment Share on other sites More sharing options...
Portlight Posted September 22, 2011 Author Share Posted September 22, 2011 This is the results from my command line when using the js-import command: T:\java\jasperserver-ce-3.7.0\apps\jasperserver\scripts>js-import --input-zip oppdCrewHistoryNoAccessEvents.zipTenant organizations already exists, skippingRole ROLE_USER already exists, skipping.Role ROLE_ADMINISTRATOR already exists, skipping.Role ROLE_ANONYMOUS already exists, skipping.Role ROLE_PORTLET already exists, skipping.User anonymousUser already exists, skipping.User jasperadmin already exists, skipping.User ivra already exists, skipping.Folder / already exists, importing permissions onlyFolder /CrewReports already exists, importing permissions onlyFolder /IVR_Connection already exists, importing permissions onlyFolder /IVR_Report_Sample already exists, importing permissions onlyResource /CrewReports/CrewHistory already exists, not importingResource /CrewReports/CrewHistorygrandgrandsummary already exists, not importing Resource /CrewReports/CrewHistorygrandsummary already exists, not importingResource /CrewReports/summarycrewhistory already exists, not importingResource /CrewReports/summarycrewhistorywithdetail already exists, not importing Resource /IVR_Connection/primaryIVRDatabase already exists, not importingResource /IVR_Report_Sample/autoDate already exists, not importingResource /IVR_Report_Sample/endDate already exists, not importingResource /IVR_Report_Sample/OPPD.JPG already exists, not importingResource /IVR_Report_Sample/startDate already exists, not importingResource /IVR_Report_Sample/tester already exists, not importingResource /IVR_Report_Sample/utilityKey already exists, not importing T:\java\jasperserver-ce-3.7.0\apps\jasperserver\scripts>js-import --input-zip oppdCrewHistoryNoAccessEvents.zip however - when I go to log into the japser 3.7 nothing has registered so I still have a blank application. Link to comment Share on other sites More sharing options...
bjamieson Posted September 22, 2011 Share Posted September 22, 2011 You might need both installs to be 'covered' by bitnami installs... Or it might be worth changing tack and use a different approach ?How about creating and using a virtual image, and using 'snapshots' to return to the 'base' installation ? You can do that with VMWare, not sure about the rest though.Sorry the dual install hasn't worked for you.Post Edited by bjamieson at 09/22/2011 18:07 Link to comment Share on other sites More sharing options...
kkelleher Posted September 23, 2011 Share Posted September 23, 2011 I expect what's happening is that when you run the js-import command (intending hit to it your 3.7.0 install) you are actually hitting your 4.0 install. The easiest way to get around this is to stop your 4.0 server before running the import; then js-import will find your 3.7 install instead of your 4.0 install, and you should be in business.Good luck!Thanks,Kristen 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