The following procedure uses the Integrated Solutions Console, Version 6.1. The configuration procedure may vary for other versions of the Integrated Solutions Console.
Delete the following files, if they exist:
WEB-INF/lib/log.jar
WEB-INF/lib/j2ee.jar
WEB-INF/lib/ldap.jar
Create a .war file from WSHOME:
jar -cvf idm.war *
Start the application server. You must use WebSphere’s script to do this. For example, if WebSphere’s binary files are installed in c:\Program Files\WebSphere\AppServer\bin and the application server is named server1:
cd c:\Program Files\WebSphere\AppServer\bin startServer.bat server1 |
Start the WebSphere Integrated Solutions Console, and then select Applications—>Install New Application.
The Preparing for the application installation panel displays.
Select the Generate Default Bindings option. (Use the default selections for Override and Virtual Host.) Click Next.
Accept the was.policy file that is displayed under the heading Application Security Warnings. Scroll down to the bottom of this file and click the Continue button.
Configure the Step 1: Select installation options page as needed.
If you want to install the application to a different location than WebSphere’s default location, enter the path to install the application in the Directory to Install Application field. For example:
c:\Program Files\WebSphere\AppServer\installedApps\Hostname
Make sure the Distribute Application and Use Binary Configuration options are selected.
Make sure that the Create Mbeans for Resources and Deploy Enterprise Beans options are not selected.
Enter the name of the application in the Application Name field (the default is idm).
If desired, select the Enable class reloading option.
Click Next after configuring this dialog.
Make sure the Step 2: Map modules to servers panel displays a line for the current release of Waveset and that it maps to the appropriate server. Click Step 6: Map virtual hosts for Web modules.
Make sure the Step 6: Map virtual hosts for Web modules panel displays a line for the current release of Waveset and that it maps to the appropriate virtual host, and then click Step 8: Summary.
Review the summary of options, then click Finish.
After Waveset has been installed, click Save to Master Configuration to save the configuration.
Click Save, and then wait for the page to clear.
Stop the Waveset application.
Add the following line to your WAS_ROOT/profiles/ProfileName/installedApps/nodename/EnterpriseAppName/idm.war/WEB-INF/ibm-web-ext.xmi file
<jspAttributes xmi:id="JSPAttribute_1" name="jdkSourceLevel" value="15"/> |
This line causes the application server to compile JSP files in Java 5.
Restart Waveset.