Accessing files on network drives where data resides (e.g. Access file) on Windows
- Remove JedoxSuiteTomcatService by running as administrator: …\Jedox Suite\tomcat\bin\serviceRemove.bat
- Uncomment the following lines in …\Jedox Suite\tomcat\bin\setenv.bat:
rem set SECURITY_POLICY_PARAM=-Djava.security.manager;-Djava.security.policy=".\conf\catalina.policy";
- Install JedoxSuiteTomcatService by running as administrator: …\Jedox Suite\tomcat\bin\serviceInstall.bat
- Stop JedoxSuiteTomcatService
- For the JedoxSuiteTomcatService, set a user who can access network drives:
Right-click on JedoxSuiteTomcatService Service and navigate to Properties→Log On→This Account→Browse→Advanced…→Find now, then enter the password and click Apply.
The user can also be changed via CMD:
sc.exe config "JedoxSuiteTomcatService" obj= ".\admin" password= "xyz"
- Start JedoxSuiteTomcatService.
- After a new installation of the JedoxSuiteTomcatService, the user has to be set again. This happens e.g. during a Jedox Update Setup.
- The path of the network address has to start with \\<server>\. The drive letter of a mapped network drive is not accepted.
Accessing files on network drives where data resides (e.g. Access file) on Linux
- Stop Tomcat process.
- Umount local mount point to make sure nothing is mounted already. Example: “umount /opt/jedox/ps/netmount 2>/dev/null”.
- Mount shared directory (Samba/Windows Share) to the local mount point. Example: “sudo mount -t cifs -o user=Administrator%Adminpass //192.168.1.100/Files/tomcat /opt/jedox/ps/netmount”.
- Go into the following directory: “/opt/Jedox/Jedox Suite/tomcat/”
and open the file: “jedox_tomcat.sh”.There you have to change the following entry: JEDOX_TOMCAT_START_ARG=
- Restart Tomcat process.
Now the message occurs that tomcat was started using the Security Manager.