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.
To replace the EJB Server:
Highlight the Enterprise JavaBeans folder.
Double-click the Add an EJB Server icon in the right window.
The Add an EJB Server wizard displays.
Enter a name for the new server. Server names must be one word, and can be up to 30 characters long.
Enter a port number for the new server. The default is 9000.
Select Finish.
Install AseAuth from the Repository.
See “Installing a package in the Adaptive Server plug-in” for how to install a package.
Set these property values on the All Properties tab of the EJB Server properties window for AseAuth:
com.sybase.jaguar.server.authservice=AseAuth/DbAuth
com.sybase.jaguar.server.dbsecurityurl=jdbc:sybase:shm:null:0
com.sybase.jaguar.server.dbsecuritydriver= com.sybase.jdbc2.jdbc.SybDriver
com.sybase.jaguar.server.dbauthlogfile=dbauth.log or the name of the EJB Server log file (optional)
com.sybase.jaguar.service.roleservice=AseAuth/DbAuth
See “All Properties” for information on how to set these options.
Start the EJB Server. See “Starting EJB Server independently”.
Reimport packages from the Repository.
Reconfigure the connection caches.