IBM FileNet P8, Version 5.2.1            


< Previous | Next >

Creating a Runtime Configuration

You define the context in which the Eclipse IDE runs the connection code.

The runtime configuration specifies arguments that are passed to the Java™ virtual machine (VM). In this lesson, you set the VM arguments.

Setting VM Arguments

VM arguments indicate the location of the JAAS configuration files for WebLogic or JBoss.
  1. In the Eclipse menu bar, click Run > Run Configurations.
  2. In the Run Configurations dialog box, click Java Application in the left pane.
  3. Click the New launch configuration icon in the left upper corner.

    By default, Eclipse names the run configuration after the name of your Java class.

  4. If you want to change the default name of the run configuration, modify the value in the Name field.
  5. Click Apply.
  6. Open the Argument tab.
  7. For your application server type, enter the appropriate VM arguments for your development environment in the VM arguments, as listed in the following table. In a remote environment, the Content Engine is deployed on a remote server, not on the same machine as your IDE.
    WebLogic Application Server
    Development Environment VM arguments
    Remote

    Windows

    -Djava.security.auth.login.config="c:\Program Files\IBM\FileNet\CEClient\config\samples\jaas.conf.WebLogic"

    -Djava.naming.factory.initial=weblogic.jndi.WLInitialContextFactory

    non-Windows

    -Djava.security.auth.login.config="/opt/IBM/FileNet/CEClient/config/samples/jaas.conf.WebLogic"

    -Djava.naming.factory.initial=weblogic.jndi.WLInitialContextFactory

    Local

    Windows

    -Djava.security.auth.login.config="c:\Program Files\IBM\FileNet\ContentEngine\config\samples\jaas.conf.WebLogic"

    -Djava.naming.factory.initial=weblogic.jndi.WLInitialContextFactory

    non-Windows

    -Djava.security.auth.login.config="/opt/IBM/FileNet/ContentEngine/config/samples/jaas.conf.WebLogic"

    -Djava.naming.factory.initial=weblogic.jndi.WLInitialContextFactory

    JBoss Application Server
    Development Environment VM arguments
    Remote

    Windows

    -Djava.security.auth.login.config="c:\Program Files\IBM\FileNet\CEClient\config\samples\jaas.conf.JBoss"

    -Djava.naming.factory.initial=org.jboss.naming.NamingContextFactory

    non-Windows

    -Djava.security.auth.login.config="/opt/IBM/FileNet/CEClient/config/samples/jaas.conf.JBoss"

    -Djava.naming.factory.initial=org.jboss.naming.NamingContextFactory

    Local

    Windows

    -Djava.security.auth.login.config="c:\Program Files\IBM\FileNet\ContentEngine\config\samples\jaas.conf.JBoss"

    -Djava.naming.factory.initial=org.jboss.naming.NamingContextFactory

    non-Windows

    -Djava.security.auth.login.config="/opt/IBM/FileNet/ContentEngine/config/samples/jaas.conf.JBoss"

    -Djava.naming.factory.initial=org.jboss.naming.NamingContextFactory

  8. Click Apply, and then click Close.
< Previous | Next >



Last updated: October 2015

ss_ecl_wl-jb013.htm



© Copyright IBM Corporation 2015.