JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Oracle Java CAPS Java EE Service Engine User's Guide     Java CAPS Documentation
search filter icon
search icon

Document Information

Using the Java EE Service Engine in a Project

About the Java EE Service Engine

Java EE Service Engine Features

Java EE Service Engine Limitations

Java EE Service Engine Use Case Scenarios

Java EE Service Engine as Service Provider and Service Consumer

Java EE Service Engine as a Service Provider

Java EE Service Engine as a Service Consumer

Java EE Service Engine Example Scenario

Scenario Message Flow

Configuring and Starting the Java EE Service Engine

To Start the Java EE Service Engine from the NetBeans IDE

To Start the Java EE Service Engine from the Admin Console

To Start the Java EE Service Engine Using Command Line Interface

Installing Java EE Service Engine Using Command Line Interface

Other Operations Using the Command Line Interface

Administering the Java EE Service Engine

To View the General Properties

Java EE Service Engine Log Management

To Set the Log Level for the Java EE Service Engine

To View a Log File

Java EE Service Engine Deployment Artifacts

Configuring and Starting the Java EE Service Engine

The Java EE Service Engine requires no configuration. The service engine starts automatically whenever a JBI service assembly that contains a Java EE Service Unit is deployed.

You can start the Service Engine in the following three ways:


Note - When working with the service engine in the NetBeans IDE, you need to start the component from NetBeans, as described in the first procedure below.


To Start the Java EE Service Engine from the NetBeans IDE

  1. From the NetBeans IDE's main page, in the Services window, expand the GlassFish V2 -> JBI -> Service Engines nodes.
  2. Right-click sun-javaee-engine and choose Start from the pop-up menu.

    The following message appears in the Output window:

    Engine sun-javaee-engine has been started.

To Start the Java EE Service Engine from the Admin Console

  1. In the NetBeans Services window, log in to the GlassFish Administrator Console by right-clicking your application server and choosing View Admin Console.

    Ensure that the GlassFish application server is running. A green arrow icon next to the server node indicates that the server is running. If the server is not running, right click the server name and choose Start from the pop—up menu.

  2. You can also open the Admin Console from your web browser using the correct URL, for example: http://localhost:4848.

    The default log in username isadmin; the password was defined during installation.

    The GlassFish Admin Console opens in a new browser window.

  3. On the left pane under the JBI node expand Components and choose sun-javaee-engine.

    The Java EE Service Engine properties page opens.

  4. Click on the Start button on the General tab page to start the Java EE Service Engine.

To Start the Java EE Service Engine Using Command Line Interface

  1. Navigate to the location where you have installed Java CAPS and open the folders appserver-> bin.
  2. Double click asadmin.batfile.
  3. At the asadmin command prompt type start-jbi-component sun-javaee-engine.

Installing Java EE Service Engine Using Command Line Interface

The Java EE Service Engine comes installed and configured when the GlassFish application server is installed. If you uninstall the Java EE Service Engine accidentally, you can use the CLI (Command Line Interface) to install it again manually.

Type the following command:

asadmin install-jbi-component [ApplicationServer-InstallDir]/jbi/components/sun-javaee-engine/appserv-jbise.jar

Other Operations Using the Command Line Interface

Using the CLI we can perform many operations.

asadmin uninstall-jbi-component sun-javaee-engine