Thanks again, Scott!
I saw Johan's post but was confused by it...I still do not know what JAVA_OPTS is. I presume it is a generic term for Java options, wherever they may exist, since I could not find anything by that name. However, I did find what I needed to modify and want to post the information here for others who may come across this situation.
If you are running Servoy server as a Windows service and need to add a package reference to the RMI white list, you need to modify the service wrapper configuration file (wrapper.conf). This file is located in the following path:
C:\Servoy\application_server\service\wrapper.conf
Open wrapper.conf in a text editor and locate the section called Java Additional Parameters.
- Code: Select all
# Java Additional Parameters
wrapper.java.additional.1=-Djava.awt.headless=true
wrapper.java.additional.2=-Duser.dir="C:\Servoy\application_server"
wrapper.java.additional.3=-Djava.io.tmpdir="C:\Servoy\application_server\server\work"
wrapper.java.additional.4=-XX:MaxPermSize=128m
wrapper.java.additional.5=-Drmi.whitelist.config=com.servoy.:com.sebster.:net.sf.jasperreports.
Within this section, locate the line starting with 'wrapper.java.additional.x=-Drmi.whitelist.config='. Append each package reference to this line separating them by a colon (:) character. Do not forget to end the package pathname with a period (.). Below is an example:
- adding_packages_to_rmi_whitelist.png (11.58 KiB) Viewed 11881 times
I hope this helps!
@Servoy: I am surprisred the 'net.sf.jasperreports.' pathname was not included in the RMI whitelist by default.
Kim W. Premuda
San Diego, CA USA