Single user app in multiple user environment

Microsoft Windows server 2003
March 29, 2011 at 02:45:17
Specs: Windows 2008 server R2, Xeon Hexa Core 2,2Ghz / 16GB
Hi everyone, I need your logical brains for a bit.

I have a customer that we have upgraded from a "classic" server environment (file and print) to a new terminal server. They used to do all the work on their individual clients, but now they do all their work on the terminal server. This has created a problem though.

They have an application that uses java in the background to import and export data. This works OK so long as there's just one user starting the app. However when there are multiple users starting the app, the app uses the same java background process as the first user, resulting in the first user getting all the other users exports.

I need to isolate the background process, so that it starts one instance per user.

The easy way would be to have them run the app on their local client but that means they loose the function whenever they go out of the office. Or, I could install Virtualbox or VMware and run the app in a virtual computer, but that feels excessive and difficult for the customer, first having to start up a virtual computer to access the app. If there were a way to automate the startup, then maybe...

Any ideas?


See More: Single user app in multiple user environment

Report •

#1
March 29, 2011 at 03:13:23
The real answer is to rewrite the application so that it can handle concurrent access from more than one user. Anything else can only be in the nature of a kludge.

Report •

#2
March 29, 2011 at 06:48:13
That would be the ultimate solution, yes. But this app gets updated every 3 months by the supplier so even if I manage to rewrite it I'd probably have to do that every time an update gets applied.

Oh well, it was worth a shot. Thanks mate.


Report •

#3
March 29, 2011 at 08:17:16
This is probably a silly question, but the program was installed on the Terminal Services Servier in "install mode"? This is supposed to circumvent the sort of problem you are experiencing.

Report •

Related Solutions

#4
March 30, 2011 at 07:12:07
Actually, I'm unsure about that. That could be something worth checking. Thanks!

Report •

#5
March 30, 2011 at 18:53:46
This question is kind of funny. This was actually one of the exact scenarios on my MCITP: Enterprise Administrator certification exam...java problem and all.

So, as a Microsoft Engineer, my solution would be to use Microsoft's App-V (Micrsoft Application Virtualization). With this you will be able to have an application that requires different runtime environments installed on a single computer--even on a Terminal Server (Remote Desktop Server). Should be the perfect solution for you.

There are 10 types of people, those who know binary, and those who don't.


Report •

#6
March 30, 2011 at 19:08:23
All Install Mode does it forces apps to to write registry entries to HKLM. This way the app with work for all users who log onto the machine. Once you go back into Execute Mode, the app should write to the Users registry and profile.
This is not meant as a means to circumvent compatibility with Terminal Services. Need to make sure the app is compatible with TS (RDS).

Also, some installers can automatically change from execute to install mode for the installation. The Install Polication on Terminal Server wizard in Server 2008 will also automatically change modes back and forth durring installation.

Probably more information than you needed to know.

There are 10 types of people, those who know binary, and those who don't.


Report •

#7
April 1, 2011 at 04:34:13
What an exemplary answer :D

Thank you very much, I'll look into it right away!

Btw I doublechecked the install method and the tech went through add/remove programs so no luck there. I'll hope for better luck with this!


Report •

#8
April 1, 2011 at 04:35:57
Thanks again computingMonk, good info is never in vain.

Report •

#9
April 6, 2011 at 19:54:29
You're very welcome.

Check it out...I actually found the exact question. HAHAHAHA!

http://www.filedropper.com/app-v

Just FYI "Softgrid" and App-V are the same thing.

There are 10 types of people, those who know binary, and those who don't.


Report •

Ask Question