- Developing SOA Applications with Oracle SOA Suite
- Sharing Functionality Across Service Components
- Using Business Events and the Event Delivery Network
- Subscribing to or Publishing a Business Event from an Oracle Mediator Service Component
- How to Configure a Foreign JNDI Provider to Enable Administration Server Applications to Publish Events to the SOA Server
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:
- Log in to the Oracle WebLogic Server Administration Console.
http://host:port/console
- In the Domain Structure section, expand Services > Foreign JNDI Providers.
- Click Lock & Edit.
- Click New.
- In the Name field, enter a name (for example,
SOA_JNDI
), and click Next. - Select the AdminServer check box, and click Finish.
- In the Name column, click the provider name you entered in Step 5.
- 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.
- Click Links > New.
- 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
. - Click New.
- 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
. - Click OK.
- Click Activate Changes.
- Modify the
FMW_Home
/user_projects/domains/
domain_name
/bin/setDomainEnv.sh
file for Linux (orsetDomainEnv.bat
file for Windows) as follows:WLS_JDBC_REMOTE_ENABLED="-Dweblogic.jdbc.remoteEnabled=true"
- Restart the server.