How to Configure a Foreign JNDI Provider to Enable Administration Server Applications to Publish Events to the SOA Server

This section describes how to configure a foreign JNDI provider when the publishing application (for example, an ADF EAR file) is deployed on the administration server instead of the SOA server.

To configure a foreign JNDI provider to enable administration server applications to publish events to the SOA Server:

  1. Log in to the Oracle WebLogic Server Administration Console.
    http://host:port/console
    
  2. In the Domain Structure section, expand Services > Foreign JNDI Providers.
  3. Click Lock & Edit.
  4. Click New.
  5. In the Name field, enter a name (for example, SOA_JNDI), and click Next.
  6. Select the AdminServer check box, and click Finish.
  7. In the Name column, click the provider name you entered in Step 5.
  8. Enter the details shown in Table 43-4, and click Save.

    Table 43-4 Configuration Details

    Field Description

    Initial Context Factory

    Enter weblogic.jndi.WLInitialContextFactory.

    Provider URL

    Enter t3://hostname:soa_server_port.

    User

    Enter the Oracle WebLogic Server user name.

    Password and Confirm Password

    Enter the password for the Oracle WebLogic Server user name.

  9. Click Links > New.
  10. Enter the details shown in Table 43-5, and click OK.

    Table 43-5 Configuration Details

    Field Description

    Name

    Enter SOA_EDNDataSource.

    Local Name

    Enter jdbc/EDNDataSource.

    Remote Name

    Enter jdbc/EDNDataSource.

  11. Click New.
  12. Enter the details shown in Table 43-6, and click OK.

    Table 43-6 Configuration Details

    Field Description

    Name

    Enter SOA_EDNLocalTxDataSource.

    Local Name

    Enter jdbc/EDNLocalTxDataSource.

    Remote Name

    Enter jdbc/EDNLocalTxDataSource.

  13. Click OK.
  14. Click Activate Changes.
  15. Modify the FMW_Home/user_projects/domains/domain_name/bin/setDomainEnv.sh file for Linux (or setDomainEnv.bat file for Windows) as follows:
    WLS_JDBC_REMOTE_ENABLED="-Dweblogic.jdbc.remoteEnabled=true"
    
  16. Restart the server.