EGL Reference Guide for iSeries


EGL Java run-time error code VGJ0060E

VGJ0060E: StartTransaction to class %1 failed. The exception is %2.

Explanation

The exception was thrown while the program was attempting to start a new JVM to run the specified server class as a new transaction. The property vgj.java.command specifies the command used to start a new JVM. The default command is java.

User Response

Ensure that the property vgj.java.command has the correct value, and that your program has permission to create a new process.

Put the startTransaction statement inside a try statement to prevent this from being a fatal error. When the startTransaction fails within a try statement, an error code will be stored in the errorCode system variable.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]