Portlight Posted January 11, 2012 Share Posted January 11, 2012 Is a configuration file inside jasperServer that allows us to specify the path to the jre? Post Edited by suki at 01/11/2012 23:10 Link to comment Share on other sites More sharing options...
tkavanagh Posted January 16, 2012 Share Posted January 16, 2012 Yes, the JRE/JDK can be configured for JasperServer. Basically, the *real* configuration is in the startup scripts for your Application Server (for instance Tomcat or JBoss, etc). So, let's say that you use Tomcat. Tomcat will look for the JAVA_HOME environment variable in order to find the Java that Tomcat will start up with. So, you can set (or change) the instance of Java pointed to using your environment variable setting. I would suggest taking a look at the Install Guide because it also points out the names of the script files that are used to start tomcat and JBoss. It would be Chapter 6 of the Install Guide. See section 6.2 "Setting JVM Options for Application Servers" Link to comment Share on other sites More sharing options...
Portlight Posted January 18, 2012 Author Share Posted January 18, 2012 I have read this over and over - have made the changes I believe it is indicating and have done much research on the netI still get an error.Here is why this is so important to me.job assignmentResearch: how to configure JasperServer to use a different jre/jdk find out if its possible and how for both v3 and v4 of jasper server.Every server we deploy (windows server) has glassfish on it, and every glassfish as the full jdk and jre bundled inside - d:javasdkjdk and d:javasdkjdkjre but neither are registered on the path or java_home variable.if there is a configuration file inside jasperServer that allows us to specify the path to the jre, we need to know what else that file might contain - i.e. is it machine specific? if it has machine name or ip in it, than we might be able to use localhost globally, but if it has settings specific to the machine, it might not work to copy from one server to another.Here is what I am finding and what I have tried:1. tomcat is being installed part of jasperServer2. it is therefore NOT installed as a service automatically3. when our setup installs the service it installs under a different name then tomcat55. tomcatw will not execute because it looks to tomcat56. boss does not want to change name of service back to tomcat57.Her preferred solution: that we can create a file which will point to a different java_home as the one we install with glassFish is always the same - never updated/changed type of situationWHAT if have triedtried adding the set JAVA_HOME = D:javasdkjdk to the catalina.bat file (which I understand to be the startup file for tomcat5)This makes not difference in the startup I CAN NOT touch the system variables and I am not understanding if running the set java_home from command line at the time of install will have to be done every time the server is starting or if it will change any other applications using java_homeI am attaching the config files involved. I have placed this at the top of each- below the intro remarks.rem set java_home variableset JAVA_HOME = D:javasdkset JRE_HOME = D:javasdkjdkIt makes not difference - the jvm still is not being set. I really need some guidance in this matter!This is jasper ce 3.7.0Post Edited by suki at 01/18/2012 23:08 Link to comment Share on other sites More sharing options...
Portlight Posted February 13, 2012 Author Share Posted February 13, 2012 this has been completedFiles changes were required for the following files:jsServiceSetup and the \jasperserver-ce-3.7.0\apache-tomcat\bin\service 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