Replacing an EJB Server

Use the Sybase Installer to add an EJB Server to a new Adaptive Server host. You can replace an existing EJB Server with a new EJB Server using the Adaptive Server plug-in.

WARNING! Replacing an EJB Server removes the existing EJB Server from Sybase Central and from the sysservers table in the master database. Connection caches and packages associated with the old EJB Server are lost.

Use caution when replacing an EJB Server.

Before replacing an EJB Server, make a list of the packages and connection caches in the existing server that you want to redeploy to the new server.

StepsTo replace the EJB Server:

  1. Highlight the Enterprise JavaBeans folder.

  2. Double-click the Add an EJB Server icon in the right window.

    The Add an EJB Server wizard displays.

  3. Enter a name for the new server. Server names must be one word, and can be up to 30 characters long.

  4. Enter a port number for the new server. The default is 9000.

  5. Select Finish.

  6. Install AseAuth from the Repository.

    See “Installing a package in the Adaptive Server plug-in” for how to install a package.

  7. Set these property values on the All Properties tab of the EJB Server properties window for AseAuth:

    See “All Properties” for information on how to set these options.

  8. Start the EJB Server. See “Starting EJB Server independently”.

  9. Reimport packages from the Repository.

  10. Reconfigure the connection caches.