Installing, Upgrading, and Uninstalling
Overview
This chapter explains how to install, upgrade, and uninstall IBM webMethods Adapter for EJB 6.5 SP3. The instructions use the IBM webMethods Installer and the IBM webMethods Uninstaller wizards. For complete information about the wizards or other installation methods, or to install other webMethods products, see the Installing IBM webMethods Products On Premises for your release.
Requirements
For a list of the operating systems, third-party products, and webMethods products supported by the adapter, see the IBM webMethods Adapters System Requirements.
Adapter for EJB 6.5 SP3 has no hardware requirements beyond those of the host Integration Server.
The Integration Server Home Directory
Beginning with Integration Server 9.6, you can create and run multiple Integration Server instances under a single installation directory. Each Integration Server instance has a home directory under Integration Server_directory\instances\instance_name that contains the packages, configuration files, log files, and updates for the instance.
For more information about running multiple Integration Server instances, see the IBM webMethods Integration Server Administrator’s Guide for your release.
If you are using Integration Server 9.5 and lower, the Integration Server home directory is Integration Server_directory. For example, on Integration Server 9.5 the adapter package is installed in the Integration Server_directory\packages directory.
This guide uses the packages_directory as the home directory in Integration Server classpaths. For Integration Server 9.6 and above, the packages_directory is Integration Server_directory\instances\instance_name\packages directory. For Integration Server 9.5 and lower, the packages_directory is Integration Server_directory\packages directory.
Installing the Adapter
About this task
If you are installing the adapter in a clustered environment, you must install it on each Integration Server in the cluster, and each installation must be identical. For more information about working with the adapter in a clustered environment, see Using Adapter for EJB in a Clustered Environment.
To install Adapter for EJB 6.5 SP3
Procedure
Installing a Sample EJB Application
About this task
Configure Integration Server to Work with the Application Server
After you finish with Installer, you need to perform several manual steps to set up IBM webMethods Integration Server to work with your application server. This section describes some instances of class loading conflicts you should be aware of, and includes the configuration steps necessary for each application server and Integration Server combination.
Class Loading Conflicts
When possible, Adapter for EJB takes full advantage of Integration Server's per-package class loading scheme. This feature enables you to install application server vendor jar files and deployed EJB jar files under WmEJBAdapter\code\jars. Installing the files to this location limits the visibility of the classes and resources in those jars to Adapter for EJB and its dependents, thus reducing the potential for class loading collisions with other packages installed on Integration Server.
For some application servers, installing the files under WmEJBAdapter\code\jars may not be possible due to their own internal class loading requirements. In these cases, the third-party jars files must be installed on either the system classpath or the server's classpath.
If you put jar files in the lib\system directory on the Integration Server on which Adapter for EJB is installed, that Integration Server cannot be managed by Optimize Infrastructure Data Collector due to class loading conflicts. For more information about Infrastructure Data Collector support in the adapter, see Optimize Infrastructure Data Collector Support for the Adapter.
Configuring WebLogic Application Servers
Before configuring the application server, you may want to see Adapter for EJB Support for Multiple Application Servers.
WebLogic Server 10.3
About this task
To set up Integration Server with WebLogic Server 10.3
Procedure
WebLogic Server 12c
About this task
To set up Integration Server with WebLogic Server 12c
Procedure
- In a command prompt window, navigate to the directory location, WebLogic_directory\server\lib.
-
Create a wlfullclient.jar file by typing the command,
java -jar wljarbuilder.jar. - Copy the wlfullclient.jar file from the WebLogic_directory\server\lib directory to the Integration Server_directory\instances\instance_name\packages\WmEJBAdapter\code\jars\static directory on Integration Server.
Configuring WebSphere Application Servers
Use the set of instructions that correspond to the version of Integration Server and WebSphere Application Server you are using.
Before configuring the application server, you may want to see Adapter for EJB Support for Multiple Application Servers.
WebSphere Application Server
About this task
The procedure for setting up Integration Server with WebSphere Server is based on the JVM you are using.
WebSphere Application Server 7.0 with Oracle JVM 1.6
About this task
To set up Integration Server with WebSphere Server 7.0 when using Oracle JVM 1.6
Procedure
WebSphere Application Server 8.5 with Oracle JVM 1.7
About this task
To set up Integration Server with WebSphere Server 8.5 when using Oracle JVM 1.7
Procedure
WebSphere Application Server 7.0 with IBM JVM 1.6
About this task
To set up Integration Server with WebSphere Server 7.0 when using IBM JVM 1.6
Procedure
Configuring JBoss Application Servers
Before configuring the application server, see Adapter for EJB Support for Multiple Application Servers.
- j2ee.jar must be specified before implfactory.properties in the classpath.
- Do not delete the WmEJBConfigUtil.jar from the Integration Server_directory\instances\instance_name\packages\WmEJBAdapter\code\jars\static directory. If you delete this JAR file, Adapter for EJB will not start.
- If you are switching to a newer version of JBoss Server, delete all the JARs from the previous versions which otherwise could cause conflict from Integration Server_directory\instances\instance_name\packages\WmEJBAdapter\code\jars\static directory
JBoss Application Server 5.1.0
About this task
To set up Integration Server with JBoss Server 5.1.0
Procedure
Adapter for EJB Support for Multiple Application Servers
The details about Adapter for EJB support for multiple application servers are as follows:
- Adapter for EJB supports
multiple instances of the same version of the application server. Note: For multiple instances of the same version of WebLogic application server, you must use JAAS authentication. For more information about using JAAS authentication for WebLogic servers, see JAAS Authentication.
- Adapter for EJB supports two different versions of the same application server provided the jar files of the latest version are backward compatible and support the connections of the earlier version, but there can always be a risk of conflict.
- Adapter for EJB does not support two different application servers at a time. This is because Adapter for EJB requires you to copy jar files from the application server directory to the Integration Server directory. If you copy the jar files from different application servers to the Integration Server directory, there can be a conflict of jar files of one application server with those of other application servers.
Upgrading the Adapter
About this task
To upgrade to Adapter for EJB 6.5 SP3
Procedure
Uninstalling the Adapter
About this task
To uninstall Adapter for EJB 6.5 SP3 :
Procedure
- Shut down the host Integration Server. You do not need to shut down any other webMethods products or applications that are running on your machine.
- If you want to keep the Adapter for EJB sample files, copy the Integration Server_directory\packages\WmEJBAdapter\templates directory to another location on your system.
- Start IBM webMethods Uninstaller, selecting the webMethods installation directory that contains the host Integration Server. In the product selection list, select Adapters > webMethods Adapter for Enterprise JavaBeans 6.5 SP3. You can also choose to uninstall documentation.
- Restart the host Integration Server.
- Uninstaller removes all Adapter for EJB 6.5 SP3-related files that were installed. However, Uninstaller does not delete files created after you installed the adapter (for example, user-created or configuration files), nor does it delete the adapter directory structure. You can go to the Integration Server_directory\packages directory and Integration Server_directory\instances\instance_name\packages directory. Delete the WmEJBAdapter directory.