You are not logged in.
Pages: 1
I have installed the open source version of Report Server. How do I reconfigure the Tomcat Service to utilize more RAM?
In a Windows environment, I attempted to install a separate service, to preserve and keep from corrupt the existing service, using the service.bat executable:
C:\Program Files\reportserver\tomcat\bin>service install
This is the output:
Installing the service 'Report Server Tomcat7' ...
Using CATALINA_HOME: "C:\Program Files\reportserver\tomcat"
Using CATALINA_BASE: "C:\Program Files\reportserver\tomcat"
Using JAVA_HOME: "C:\Program Files\Java\jdk1.7.0_45"
Using JRE_HOME: "C:\Program Files\Java\jdk1.7.0_45\jre"
Using JVM: "C:\Program Files\Java\jdk1.7.0_45\jre\bin\server\jvm.dll"
The service 'Report Server Tomcat7' has been installed.
However, when I attempt to run the service I receive the following error message (from the Event Log):
The Report Server Tomcat7 service terminated with service-specific error Incorrect function..
Is this a best practice? Should I install a new service? Or is there a means to configure the existing service, rather than creating and configuring a new one?
Any assistance would be much appreciated.
Offline
Well, I ended up answering my own question.
If you execute the following command:
C:\Program Files\reportserver\tomcat\bin>tomcat7w.exe //MS//Tomcat7a
NOTE: Tomcat7a is the name of your service in Windows. If it differs, you will need to modify accordingly. This is the default name set by the ReportServer x64 Bundle.
The Tomcat7 monitoring application begins running in the System Tray in the lower right-hand corner. Right-click and select "Configure..." and the following dialog appears:
Apply the changes and restart the service. Voilá!
I found the information from this Tomcat 7 documentation, located here:
https://tomcat.apache.org/tomcat-7.0-do … howto.html
//MS// Monitor service Put the icon in the system tray
Last edited by tomharney (2016-03-09 19:06:10)
Offline
Hi Tom,
I was just about to hit send, with pretty much the same information.
But glad to hear you figured it out yourself.
Another option would have been to modify the service.bat file, to match the original service definition and then change it as necessary. Just in case someone else is looking for this info, the original config is:
//IS//Tomcat7 --DisplayName="reportserver-tomcat" --Install="{app}\tomcat\bin\tomcat7.exe" --Jvm="{code:getJavaRuntimeLib}" --Classpath="{app}\tomcat\bin\bootstrap.jar;{app}\tomcat\bin\tomcat-juli.jar" --JvmMs=256 --JvmMx=1536 --JvmSs=1024 ++JvmOptions="-Dcatalina.home={app}\tomcat" ++JvmOptions="-Dcatalina.base={app}\tomcat" ++JvmOptions="-Djava.endorsed.dirs={app}\tomcat\endorsed" ++JvmOptions="-Djava.io.tmpdir={app}\tomcat\temp" ++JvmOptions="-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager" ++JvmOptions="-Djava.util.logging.config.file={app}\tomcat\conf\logging.properties" ++JvmOptions="-XX:MaxPermSize=256m" ++JvmOptions="-Dfile.encoding=UTF-8" --StartMode=jvm --StopMode=jvm --StartClass=org.apache.catalina.startup.Bootstrap --StartParams=start --StopClass=org.apache.catalina.startup.Bootstrap --StopParams=stop --Startup auto
Cheers,
Thorsten
Pages: 1