Adobe 38043740 - ColdFusion Standard - Mac Development Manual page 910

Developing applications
Hide thumbs Also See for 38043740 - ColdFusion Standard - Mac:
Table of Contents

Advertisement

DEVELOPING COLDFUSION 9 APPLICATIONS
ColdFusion Portlets
Configure the WSRP consumer
Run the JBoss server by running the command:
1
On UNIX
bin/run.sh
On Windows
bin\run.bat
By default JBoss only binds to localhost. You can have it bind to any IP address by running
on UNIX or
0.0.0.0
bin\run.bat -b 0.0.0.0
2
Launch the JBoss portal server. By default, JBoss binds to port 8080, so launch the server using the URL:
http://localhost:8080/portal/.
3
Log in to the portal by clicking the login link in the upper-right corner. The default credentials are admin/admin.
Click the Admin option in the upper-right corner.
4
Click the WSRP tab.
5
6
Specify the WSRP consumer name, such as wsrp-test in the Create a Consumer Named box.
Click Create Consumer.
7
On the next page, specify the WSDL URL of the WSRP producer:
8
http://<WSRPProducer_IP>:<port>/<context_root>/WSRPProducer?wsdl
9
Click Refresh & Save. If successful, the following message appears
"Refresh was successful."
Note: You can try a demo WSRP consumer hosted by BEA, by entering the WSDL URL:
http://wsrp.bea.com:7001/producer/producer?WSDL. After clicking Refresh & Save, the system prompts you to
provide the consumerRole registration property. Use the string "public" and click Update Properties. If the BEA WSRP
Producer does not get configured, the problem could be with the JBoss Portal Server, rather than the WSRP Producer.
Make sure that you are using Java 1.5 JVM.
Click the Portlet Definitions tab.
10
Select wsrp-test from the View portlets provided by the portlet provider named drop-down list.
11
12
From the Select the WSRP Portlet You Created box, select the WSRP portlet.
Click View Portlets.
13
From Actions column, select Create Instance.
14
15
Specify the instance name and click Create instance.
Optionally, specify the instance display name and other details.
16
Go back to Portal Objects and select default. Alternatively, you can create your own portal object.
17
18
From the Actions column, select Page Layout.
19
From the Portal Instance Associated to this Window list, select the WSRP portlet instance you created earlier.
From the Page Layout section, add the instance to the required region by clicking Add.
20
21
Go back to the Portal Objects > Portal page.
22
Click Make Default to make the portal which contains the WSRP portlet as default.
Click the Portal link on the upper-right corner to view the portal page.
23
on Windows.
Last updated 1/20/2012
905
bin/run.sh -b

Advertisement

Table of Contents
loading

This manual is also suitable for:

Coldfusion 9

Table of Contents