Roaming Profiles and Java

We just implemented Roaming Profiles for some laptops that we have.   Our primary software is a Java Based application that these laptop users use to access map data.  The issue I am having is that when the Java product launches it seems to be looking for the data in the location of the roaming profile on the server.   The server may or may not be available to the mobile user.  Does Java use data out of the application data folder?   If it does is there a way around this problem?
LVL 1
blackfox_01Asked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
bleistiftConnect With a Mentor Commented:
It sounds like the server update check is hard coded into the app.  If that's the case, my earlier suggestion would not work.

Is this developed in-house?  Can you inquire with the developers to see why the app is checking the roaming profile?

If it is hard coded into the application, you can either 1) ask the developers to change this behavior or 2) use local caching for your roaming profiles so that an offline version of the profile is stored locally
0
 
bleistiftCommented:
If the Java application you are using caches in the Java temporary internet file location, the default is the application data folder.  On my version of Java, you can change the temporary file location by going to the Control Panel -> Java -> Temporary Internet Files -> Settings -> Location -> Change, and select a location outside of the application data folder.
0
 
blackfox_01Author Commented:
So if the file caches it to the temporary internet files location then when the roaming profiles copy their data up then they would lose that information and would not be able to start up.  Correct?
0
Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

 
bleistiftCommented:
That could be the case, but it depends on the Java app.  Is the app compiled and run locally or is it hosted off of a server?
0
 
blackfox_01Author Commented:
Well here is the issue.  The Java App runs locally but it does a download from the server to check for any new updates.  My issue is that part of the app is supposed to run when it is offline.  But when the app launches it appears to be looking at the server profile directory and that causes the app to crash.  
0
 
blackfox_01Author Commented:
Thats what I thought.  I have them looking at it now.   I think they have the central database location hard coded now and that is a change from what they have done in the past.    I believe its the hard coding of the location that is the problem.   I think they have finally accepted that.  I dont think the app is checking the roaming profile as much as it is looking at the location of the temp intrnt files for the code it has downloaded and when it does that it ends up looking at the remote server for the files.  So I think I have a 2 fold problem.   1 the developer has the database server hardcoded in and 2. the roaming profiles is forcing the java application to look at the server for the downloaded files.
0
 
blackfox_01Author Commented:
Well I found a rather time intensive fix.  Apparently when the roaming profiles are set up Windows changes the locations or program files,  application data,  favorites and a couple of other folders.  When you turn off Roaming profiles on the machine those changes do not get reverted.  I had to go in and change all of these locations back to their original locations wherever the problem showed up in the registry.   I also had to delete some keys that were pointing these folders to the remote server location as well.  All in all there were about 20 different places to change the references.   Once I changed these the problems went away.
0
All Courses

From novice to tech pro — start learning today.