Accessing Network Files

image_pdfimage_print
Accessing files on network drives where data resides (e.g. Access file) on Windows
  1. Remove JedoxSuiteTomcatService by running as administrator: …\Jedox Suite\tomcat\bin\serviceRemove.bat
  2. 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”;
    (Note: Up to 6.0 SR2 this change had to be done in file …\Jedox Suite\tomcat\bin\service.bat.)
  3. Install JedoxSuiteTomcatService by running as administrator: …\Jedox Suite\tomcat\bin\serviceInstall.bat
  4. Stop JedoxSuiteTomcatService
  5. 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”
  6. Start JedoxSuiteTomcatService.
Notes:
  • 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
  1. Stop Tomcat process.
  2. Umount local mount point to make sure nothing is mounted already. Example: “umount /opt/jedox/ps/netmount 2>/dev/null”.
  3. 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”.
  4. 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=
    to
    JEDOX_TOMCAT_START_ARG=’-security’
  5. Restart Tomcat process.
    Now the message occurs that tomcat was started using the Security Manager.
image_pdfimage_print
Was this post helpful?
NoYes (-2 rating, 2 votes)
Loading...