Hello,
My Commvault environment is v11 SP16.
On a lot of my servers, Java is installed in C:\Program Files\Java.
Does Commvault rely on this or does it use the JRE within the ContentStore folder?
Thanks in advance.
Regards
Fergus
Hello,
My Commvault environment is v11 SP16.
On a lot of my servers, Java is installed in C:\Program Files\Java.
Does Commvault rely on this or does it use the JRE within the ContentStore folder?
Thanks in advance.
Regards
Fergus
Best answer by Stuart Painter
Hi
Thanks for the question and welcome to the Community!
It is expected that Commvault uses the JRE installed within the ContentStore folder, so the version installed in Program Files is likely from another application on those servers.
I have found a useful indicator to check the java version used by the WebConsole Tomcat service, in the InstallTomcat.log.
This log snippet produced by filtering the InstallTomcat.log for all lines containing Java:
JAVA_HOME:
Java Executable Path: C:\Program Files\Commvault\ContentStore\jre\bin
C:\Program Files\Commvault\ContentStore\Base\tools>java.exe -Dlogback.configurationFile="file:/C:\Program Files\Commvault\ContentStore\Base\tools\logback.xml" -Dcatalina.logpath="C:\Program Files\Commvault\ContentStore\Log Files" -cp ;./* commvault.web.setup.CleanLibraries -instance=Instance001
Using JAVA_HOME: "C:\Program Files\Commvault\ContentStore\Apache\..\jre"
Configuring start-up parameters for java 9+
JAVA_HOME:
Java Executable Path: C:\Program Files\Commvault\ContentStore\jre\bin
C:\Program Files\Commvault\ContentStore\Base\tools>java.exe -Dlogback.configurationFile="file:/C:\Program Files\Commvault\ContentStore\Base\tools\logback.xml" -Dcatalina.logpath="C:\Program Files\Commvault\ContentStore\Log Files" -cp ;./* commvault.web.setup.CleanLibraries -instance=Instance001
JAVA_HOME:
Java Executable Path: C:\Program Files\Commvault\ContentStore\jre\bin
C:\Program Files\Commvault\ContentStore\Base\tools>java.exe -Dlogback.configurationFile="file:/C:\Program Files\Commvault\ContentStore\Base\tools\logback.xml" -Dcatalina.logpath="C:\Program Files\Commvault\ContentStore\Log Files" -cp ;./* commvault.web.setup.CleanLibraries -instance=Instance001
JAVA_HOME:
Java Executable Path: C:\Program Files\Commvault\ContentStore\jre\bin
Configuring start-up parameters for java 9+
Of course, InstallTomcat.log will only be found on Commserve, WebConsole, etc. and won’t be found on all Commvault clients, but gives a good idea.
Thanks,
Stuart
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.