In the URL field, enter the URL for your provider. This URL is the one that you In the Service ID field, enter the service ID for your provider.

6-46 Oracle Fusion Middleware Developers Guide for Oracle Portal provision the shared libraries required to run a custom Oracle Portal application. To create the WSRP Managed Server, complete the following steps: 1. Log on to the Oracle WebLogic Server Administration Console. 2. If you have not already done so, in the Change Center of the Administration Console, click Lock Edit.

3. In the Domain Structure tree, expand Environment, and then select Servers.

The Summary of Servers page is displayed. 4. Click New. The Create a New Server page is displayed. 5. In the Create a New Server page enter the following information: ■ Server Name : Enter the name of the server, for example WLS_WSRP. ■ Server Listen Port : Enter the port number from which you want to access the server instance. For example, 9003. ■ Select the No, this is a stand-alone server radio button. 6. Click Finish. 7. In the Summary of Servers page, click on the Server WLS_WSRP you have created.

8. Select your machine name from the Machine drop-down list and click Save.

9. Click Activate Changes.

Adding the Required Libraries to the WSRP Managed Server For a portlet producer application, you must deploy the following libraries to the new Managed Server or cluster: ■ oracle.portlet-producer.wsrp11.1.1,11.1.1 ■ oracle.portlet-producer.jpdk11.1.1,11.1.1 ■ DMS Application 11.1.1.1.0 ■ oracle.jrf.system.filter ■ oracle.jsp.next11.1.1,11.1.1 ■ oracle.wsm.seedpolicies11.1.1,11.1.1 ■ wsil-wls To add the libraries, complete the following steps:

1. Click Lock Edit.

2. In the Domain Structure tree, select Deployments.

The Summary of Deployments page is displayed. 3. Select oracle.portlet-producer.wsrp11.1.1,11.1.1 from the Deployments table. The Settings for oracle.portlet-producer.wsrp11.1.1,11.1.1 page is displayed. Creating Java Portlets 6-47

4. Click the Targets tab, and select AdminServer and WLS_WSRP from the Servers

section.

5. Click Save.

6. Go to your Summary of Deployments page, and for each shared library, click the

Targets tab, and then check AdminServer and WLS_WSRP from the Servers section. 7. To add the wsil-wls library, complete the following steps:

a. Select wsil-wls from the Deployments table.

b. Click the Targets tab, and select wsil-wls from the Component table.

c. Click Change Targets, and then check AdminServer and WLS_WSRP from

the Servers section.

d. Click Yes.

8. Click Activate Changes.

Starting the WSRP Managed Server To start the managed server, complete the following steps:

1. Click Lock Edit.

2. In the Domain Structure tree, expand Environment, and then select Servers.

The Summary of Servers page is displayed. 3. Click the Control tab, and check your created server WLS_WSRP. 4. Click Start. The Server Life Cycle Assistant page is displayed.

5. Click Yes, to start the managed server.

Configuring the Datasource To map the portletPrefs datasource targets to the managed server WLS_WSRP, do the following:

1. In the Domain Structure tree, expand Services, and then select and expand JDBC

and click Data Sources. The Summary of JDBC Data Sources page is displayed. 2. Click the Name associated with the jdbcportletPrefs JNDI.

3. Click the Targets tab, and check WLS_WSRP from the Servers section.

4. Click Save.

5. Click Activate Changes.

Note: If the oracle.portlet-producer.wsrp11.1.1,11.1.1 does not appear in the Deployment table, then click Customize this table, and disable the Exclude libraries when displaying deployments check box. Click Apply.