StarTeam Cross-Platform Client and/or stcmd may fail to run under Linux with no error message

0 Likes

Problem:

StarTeam Cross-Platform Client and/or stcmd may fail to run under Linux with no error message

Resolution:

Information in this Brief applies to:

  • StarTeam Cross-Platform client and stcmd
  • Non-Windows Platforms

Problem

StarTeam Cross-Platform Client and/or stcmd may fail to run on Linux machines with no error message.

Workaround

When the StarTeam Cross-Platform Client package is installed under the root account and the client and/or stcmd are executed under another user account, command arguments might not be passed to the appropriate lax files.

Without arguments specified for lax.command.line.args in the lax files, the StarTeam client and stcmd may not be able to execute properly and an error may not be produced.

To correct this, edit stcmd.lax and StarTeamCP.lax as follow (substitute the appropriate StarTeam version and install path):

lax.class.path= :/usr/local/StarTeam-5.1.3/lib/starteam53.jar:lax.jar

lax.command.line.args=$CMD_LINE_ARGUMENTS$

Or

Append "$@" at the end of the Java command at the console or in the scripts as follow:

java -classpath /usr/local/StarTeam-5.1.3/lib/starteam53.jar com.starbase.starteam.cmdline.StarTeamCmd "$@"

The stcmd file has "$@" appended at the end of the Java command by default if it is installed by the Universal Installer.

Old KB# 28518
Comment List
Related
Recommended