I have a very strange issue going on. I’m running Openfire 3.6.4 with Spark 2.5.8 in a Citrix environment.
Spark has been running without issue for about a year, but just this week it began doing some strange things. The current way that Spark is started is by double-clicking a .bat file which (1) modifies the registry to prevent Spark from automatically starting, (2) creates a spark.properties file in the %userprofile%\spark directory if it doesn’t already exist, and (3) run the Spark executable. Spark is installed in the D:\program files\Spark directory.
Now, Spark doesn’t seem to be reading from the %userprofile%\Spark directory (c:\documents and settings\username\spark). Instead, it has created a C:\Spark directory and each time a user starts up Spark, it reads and stores the spark.properties file in here. This obviously causes problems on Citrix since there are multiple users using each server and this means the same spark.properties file is being used by all users (which leads to users accidentally logging in as other users, etc).
I thought Spark was hard-coded to always use the %userprofile%\Spark directory, so I can’t figure out why this may be happening. Our network admin recently modified roaming profiles to make them not copy back some unnecessary information (cookies, temp files, etc), but did not mess with the \Spark directory. When run from a command line, %userprofile% resolves to the C:\documents and settings\username\spark directory, not to C:.
Any ideas what could cause Spark to begin looking at C:\spark instead of %userprofile%\spark?!?!?