Highlighted
Established Member..
Established Member..
159 views

Use SC's Client with Citrix

Hello,
I'm thinking to use SC's with Citrix. Do I need any special configuration to do it?
Thank you for advanced.
Regards,
Joana.
0 Likes
2 Replies
Highlighted
Absent Member.
Absent Member.

Hi Joana,

There is one thing you have to do to run SC client on Citrix. You have to allow it to create multiple instances of the client. To do that you have to remove a comment from the command line. I've done it a while ago and I don't remember what is the comment on the command line but I'll put what is left from mine here so that you can take a look and figure out what is the parameter.

"C:\Program Files\Peregrine Systems\ServiceCenter Client\ServiceCenter.exe" -vmargs -Xmx128M

There was another parameter that we've removed and from there we were able to start multiple instances.
0 Likes
Highlighted
Absent Member.
Absent Member.

With SM7 the workspace (data) and configuration data is properly stored within the users %USERPROFILE% path so nothing special is needed - unless you have multiple users logging in with the same login name into Citrix.

In SC6.x however, the workspace and configuration data is stored in the directory where the client was installed. This causes problems because multiple users are trying to run off of the same Eclipse workspace - you'll want to use the following KB article info. I originally wrote it to address an issue where users didn't have write access to the workspace folder and thus the client wouldn't start, but it also applies to allowing users to use their own workspaces (save their own settings) in a multi-user Citrix environment, or when they don't have write access to the install dir.


ServiceCenter 6.1: Users without write permission to the client
installation directory cannot run the Eclipse client.





The ServiceCenter 6.x Eclipse Client does not start unless the Microsoft
Windows login has write access to the client installation directory.




Document ID: 508769
Document Type: Issue Resolution

SCR Number:
Published Status: Published





ISSUE


Eclipse data is written to the client installation directory by default.
Additional steps must be taken by an administrator if the ServiceCenter
Eclipse Client is installed to a directory without end user write
permissions.


ENVIRONMENT





Category: ServiceCenter
Sub-Category: GUI
Version: 6.x
Build:

Database:
Platform:
Additional Information:





CAUSE


Eclipse requires write access for the workspace and configuration
directories at runtime. By default, Eclipse writes to the directory where
it is installed, if end users do not have write access to the client
installation folder Eclipse will not start.


RESOLUTION


There are two options to enable the ServiceCenter Eclipse client to run.

Option 1

Grant read, write, and execute permissions to the client installation
directory for all users who will be running the ServiceCenter Eclipse
Client.

Option 2

Perform the following steps to set the workspace and configuration folders
to a writeable location:

1. Type set from the command line to display user profile information.

2. Click Start > Programs > ServiceCenter Client and then right-click
ServiceCenter Client > Properties.

3. Modify the target directory as follows (change as necessary if the
default location not used):

"C:\Program Files\Peregrine Systems\ServiceCenter
Client\ServiceCenter.exe" -data \"%USERPROFILE%\scworkspace\"
-configuration \"%USERPROFILE%\scworkspace\configuration" -vmargs -Xmx128M

The -data %USERPROFILE%\scworkspace parameter in the above line creates
the scworkspace directory that contains the .metadata files and folders
for each login. The -configuration parameter forces the Eclipse temporary
files into the configuration folder under scworkspace.

The client workspace and configuration information is then stored in the
following directory: C:\Documents and Settings\user_name\scworkspace

Eclipse Bug 67719:

Eclipse fails to start on some file systems

Java sometimes has difficulty detecting whether a file system is writable.
In particular, the method java.io.File.canWrite() appears to return true
in unexpected cases (e.g., using Windows drive sharing where the share is
a read-only Samba drive). The Eclipse runtime generally needs a writable
configuration area and as a result of this problem, may erroneously detect
the current configuration location as writable. The net result is that
Eclipse will fail to start and depending on the circumstances, may fail to
write a log file with any details. To work around this, we suggest users
experiencing this problem set their configuration area explicitly using
the -configuration command line argument. (bug 67719)
Sr. ServiceCenter & Service Manager Consultant
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.