What are the StarTeam Datamart exit codes and what do they mean?

0 Likes

Problem:

What are the StarTeam Datamart exit codes and what do they mean?

Resolution:

Description
When running Datamart, the program will finish and display an exit code. What are all the possible exit codes and what do they mean?

Answer/Solution

  • Exit code = -1
Datamart extraction was interrupted. Either it was manually stopped, the PC was shut down or rebooted, or the process was killed in some way.

  • Exit Code = 0
This most likely means the extract was successful. There can be situations where the extract failed but an exit code of 0 is still thrown. In this case, something outside of the process caused it to terminate. This is why it is important to review the entire Datamart log.
  • Exit Code = 1
An OS failure or something of that nature. In this case, nothing is written to the logs, so this exit code is rarely seen, but it does still occur.
  • Exit Code = 2
Indicates a "Data source name not found and no default driver specified " error. This means the ODBC or JDBC needs to be investigated.

  • Exit code = 3
Normally indicates a log in failure to the StarTeam Server. Check the username and password and retry.
Also, most communication issues with the StarTeam Server will throw an exit code of 3

  • Exit code = 4
This one also means the StarTeam server is not available. Datamart has tried to connect but could not find the server. Solution is to start the server and check the connection.

  • Exit code = 5
Indicates Datamart ran out of memory while executing, or had some other memory issue. This can sometimes be resolved by tweaking the associated Datamart .stjava file. Please contact Borland Support for assistance with this issue.
Also, run time errors and java issues will throw an exit code of 5. These should also be reported to StarTeam Support if necessary. **One thing to keep an eye out for in cases of exit code 5: It has been reported that this exit code will cause Datamart to leave a lot of connections/process open to the database. If this exit code occurs, then the DBA will need to clean up any leftover connections that Datamart opened prior to erroring out.

Old KB# 29788
Comment List
Related
Recommended