There may be times when the existing Forms application in a managed WLS_FORMS server becomes corrupted and cannot be fixed. Removing it and installing the default Forms application can resolve issues like this.
Removing Forms from WLS:
Removing Forms from WLS:
- Go to the WLS Console and choose deployments.
- Ensure "Lock and Edit" is chosen.
- Check the formsapp (11.1.2) and choose Stop. Choose either "When work completes" or "Force Stop Now" depending on the concern for user impact.
- Once it is stopped, its "State" will change to "Prepared".
- Select the formsapp (11.1.2) again, choose "Delete" and confirm the deletion.
- You will be prompted to "Activate Changes".
- You will note that formsapp (11.1.2) no longer appears as a Deployment in the deployed applications list.
Redeploying Forms into WLS:
- Go to the WLS Console and choose deployments.
- Ensure "Lock and Edit" is chosen.
- Click on the "Install" Button.
- Choose your formsapp.ear from ORACLE_HOME\forms\j2ee and choose Next.
- Take the default option of "Install this deployment as an application" and choose Next.
- You will next see target options. In most cases you will want to choose "cluster_forms" as shown but other options are available.
- Next a screen will appear showing "General", "Security", "Source Accessibility" options. Take the defaults which should be: (Name: formsapp, DD Only: Use only roles and policies that are defined in the deployment descriptors, Source accessibility: Use the defaults defined by the deployment's targets).
- Click on next.
- The next screen will give "Additional Configuration" options.
- Take the default selection: "Yes, take me to the deployment's configuration screen. The "Summary" selection will show the previous choices made.
- Click "Finish" and then "Save".
- Click on "Activate Changes".
- Choose "Deployments" again and you should see "formsapp (11.1.2) in a "Prepared" state. Check formsapp (11.1.2) and choose "Start (Servicing All Requests)." It should become "Active".
Update the Deployment Plan for the formsapp (plan.xml):
- Go to the WLS Console and choose deployments.
- Ensure "Lock and Edit" is chosen.
- Check the formsapp (11.1.2) and choose "Update".
- You will note that the "Deployment plan path:" is not chosen. Click on the "Change Path" button and choose DOMAIN_HOME\deployments-plans\formsapp\11.1.2\plan.xml
- Click "Next" and choose: "Update this application in place with new deployment plan changes. (A deployment plan must be specified for this option)".
- Choose "Finish".
- Click "Activate Changes".
- Restart WLS_FORMS and test using: http://hostname:port/forms/frmservlet to bring up the test form and this should work.
Ref: (Doc ID 2030914.1)
No comments:
Post a Comment