Professional Documents
Culture Documents
A.1 Introduction
A SOA composite application first has to be deployed to an application server container and then run from there. A Human Task form project is not a SOA Composite and has different deployment steps. You will find the details in the following sections.
2.
Edit the password in the file to match your environment. 3. Start AdminServer first cd C:\Oracle\Middleware\home_0203\user_projects\domains\domain1 startWebLogic.cmd 4. Wait for AdminServer to finish starting up. It takes a few minutes watch for status RUNNING in log console window as shown in the following image.
Section A.1
End-2-end-105-PO-Processing
1. Start SOA Managed Server in the second command window cd C:\Oracle\Middleware\home_0203\user_projects\domains\domain1 bin\startManagedWebLogic.cmd soa_server1
2. When prompted, enter the user name weblogic and password welcome1. If you did step (1), you will not be prompted. The server is started when you see the message, INFO: FabricProviderServlet.stateChanged SOA Platform is running and accepting requests
The link for the EM console is http://localhost:7001/em (login with weblogic/welcome1) The link for SOA worklist app
http://localhost:8001/integration/worklistapp
When you want to stop your servers, complete the following. 1. Stop the managed servers first by entering CTRL-C in the command window. Wait until stopped. 2. Stop the admin server by entering CTRL-C in the command window.
Section A.2
End-2-end-105-PO-Processing
2.
In the New Gallery, in the Categories tree, select General, and then Connections. Select Application Server Connection
3.
Section A.3
End-2-end-105-PO-Processing
3.
Click OK. The Create Application Server Connection Type page is displayed.
4.
Enter MyAppServerConnection in the Connection Name field and select WebLogic 10.3 from the Connection Type list.
6.
7.
Enter weblogic for the User Name and the password for that administrator in the Password field.
Section A.3
End-2-end-105-PO-Processing
8. 9.
Click Next. The Configuration page displays. Enter the following values: Weblogic Hostname (Administration Server): localhost Port: 7001 WLS Domain: domain1
10. Click Next. The Test page displays. 11. Click Test Connection.
Section A.3
End-2-end-105-PO-Processing
If the test is unsuccessful, ensure that Oracle WebLogic Server status is RUNNING, and retry the test.
12. Click Next, and in the Finish page, click Finish.
2.
It means your SOA managed server is not running. If you think both the Admin Server and the SOA Servers are running, restart JDeveloper and stop the
Section A.4
End-2-end-105-PO-Processing
servers and restart them in the right order (start first the Admin Server and then the SOA Server). 3. SOA Deployment Configuration Dialog opens. If you are redeploying your application, you must either select the checkbox to overwrite the previous version or you can enter a new version. Otherwise the deployment will fail.
4. 5.
Click OK If this is the first time you are deploying since server startup or if the connection has timed out, you are prompted for the admin user name and password
6.
Section A.4
End-2-end-105-PO-Processing
Next the application is built and deployed. If there are no compilation errors, you will see on the SOA log, BUILD SUCCESSFUL and then the deployment starts.
Wait for your application to be deployed and then you can run and test it.
Section A.5
End-2-end-105-PO-Processing
1.
In JDeveloper, open the Application Menu not the Project menu. Do not rightclick on the project. You can find the Application menu in the toolbar or you can right-click on the application name to bring up the menu or you can click the drop down menu icon to the right of the application name to open the application menu. You will see your Human Task application listed in the menu (see image).
2.
Select the Human Task application and then select the application server connection. Watch the Deployment log and wait for the application to finish deploying.
3.
Open your browser and navigate to EM. http://localhost:7001/em (The first time these screens are run after starting the server they will be slow as they are unpacked, compiled, and loaded into memory.)
Section A.6
End-2-end-105-PO-Processing
The Enterprise Manager opens to the farm view, containing all of the managed servers managed by this Admin Server. You can see the status of your SOA Server as well as the deployed Java applications and SOA composites.
In this view, you can see the BAM managed server has not been started. The SOA composites are listed in two places.
Section A.6
End-2-end-105-PO-Processing
5.
Select your composite from the list of composites on the main farm view or on the left navigation bar. The composite page opens.
On this page, you can see the Recent Instances (none yet), Faults, the Component Metrics (there is only one component in this composite), and the Services and References Metrics.
6.
Click Test button at the top of the screen. The Test page opens.
You can see the WSDL location, Operations list, and two tabs, Request and Response. Scroll down to the Input Arguments section.
Section A.6 Deploying and Running applications A-11
End-2-end-105-PO-Processing
7.
Specify your values for the payload. You can use the HTML form on the Tree View, which is default, or the XML source on the XML View. For smaller amounts of the data, using the HTML form view is probably easier. But for large payloads, it's easier to copy-and-paste your data into the XML View.
8.
Enter the data and click Test Web Service. When the composite completes, the screen changes to the Response tab and the returned value shown. From here, you can jump directly to this particular composite instance and view the flow.
Section A.6
End-2-end-105-PO-Processing
9.
Click Launch Message Flow Trace The Flow Trace screen opens and you can see the flow of your composite and the status of each service, component and reference.
10. Click on the component to drill down into the Instance Details of the component
Close the Flow Trace window, click on your composite to return to the composite page. You can see your Instance ID listed. You can return to the Flow Trace screen by selecting the Instance ID.
Open the Test page for the composite you are interested in.
Section A.7
End-2-end-105-PO-Processing
2.
In the Test page you see the WSDL location. You also can see the Endpoint URL for each of the Operations defined in the WSDL.
Section A.7