powered by Jive Software

Spark not working as normal user on locked down Citrix server

We are attempting to deploy spark in our Citrix environment. It works on the test server as a normal user when the group policies are not applied. The minute I move the citrix server into the citrix OU to apply the group policy, spark never launches and I get the following error.log file:

java.io.IOException: Couldn’t get lock for \<dfsroot>\Spark\logs\errors.log <—(details removed)
at java.util.logging.FileHandler.openFiles(Unknown Source)
at java.util.logging.FileHandler.(Unknown Source)
at org.jivesoftware.spark.util.log.Log.(Log.java:49)
at org.jivesoftware.sparkimpl.settings.local.SettingsManager.saveSettings(Settings Manager.java:76)
at org.jivesoftware.sparkimpl.settings.local.SettingsManager.getLocalPreferences(S ettingsManager.java:54)
at org.jivesoftware.Spark.loadLanguage(Spark.java:373)
at org.jivesoftware.Spark.startup(Spark.java:105)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.jivesoftware.launcher.Startup.start(Startup.java:83)
at org.jivesoftware.launcher.Startup.main(Startup.java:33)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.exe4j.runtime.LauncherEngine.launch(Unknown Source)
at com.exe4j.runtime.WinLauncher.main(Unknown Source)
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.jivesoftware.launcher.Startup.start(Startup.java:83)
at org.jivesoftware.launcher.Startup.main(Startup.java:33)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.exe4j.runtime.LauncherEngine.launch(Unknown Source)
at com.exe4j.runtime.WinLauncher.main(Unknown Source)
Caused by: java.lang.NullPointerException
at org.jivesoftware.spark.util.log.Log.error(Log.java:74)
at org.jivesoftware.sparkimpl.settings.local.SettingsManager.saveSettings(Settings Manager.java:76)
at org.jivesoftware.sparkimpl.settings.local.SettingsManager.getLocalPreferences(S ettingsManager.java:54)
at org.jivesoftware.Spark.loadLanguage(Spark.java:373)
at org.jivesoftware.Spark.startup(Spark.java:105)
… 12 more

As you can see it is attempting to put the log file on a share on our DFS. However, there is no share called Spark on our DFS. Don’t know where it is getting that and if that’s what’s causing the program not to launch. I’d really like to have this working so I can finish deploying.