Using the Java EE Service Engine in a Project

Java EE Service Engine Log Management

The NetBeans IDE provides the ability to define logging for process activities.

Logging is used to write specified expression values or partner links endpoint reference information to the server log. The log level for the Java EE Service Engine is specified through the GlassFish Admin Console.

ProcedureTo Set the Log Level for the Java EE Service Engine

  1. Access the Java EE Service Engine General Properties page.

    For more information seeTo View the General Properties.

  2. Once on the General Properties page, click the Loggers tab.

  3. Choose the appropriate log level for the sun-javaee-engine from the drop down list.

    If logging is defined for a process activity, and the log level specified for it corresponds to the log level set for the Java EE Service Engine, after you perform a test run of the process, the selected variable value will be written to the server log file.

    The following levels of logging are available:

    • FINEST

    • FINER

    • FINE

    • CONFIG

    • INFO

    • WARNING

    • SEVERE

    • OFF

    Java EE Service Engine Loggers

ProcedureTo View a Log File

  1. From the NetBeans IDE's main page, in the Services window, under the Servers node, right-click GlassFish V2 application server node and choose View Server Log from the pop—up menu.

    The GlassFish server log opens in the Output window. The activity message value is included in the log. You can use Search to find the log information. Note that some overhead information is hidden.

  2. Another alternate method is to view the server log file is in a text editor and see the full information. Navigate to application server installation directory -> domains/domain1 and open the server.log file with the text editor.

    The information provided in the log includes the following points, divided with the vertical bar:

    • Date and time of the entry

    • Log level

    • Manager type

    • Thread