EJB Server Operation

Starting the server

To use EJB, you will first need to start the server. During installation, you installed a script cdda_server that can be used to configure and start the EJB daemon process. Most of the options are provided during installation, but you may modify the server behavior by using the following options:

-cdda <dir>: this option specifies a directory that can be used to store user configurations and CDDB entries.
-dir <dir>: this option specifies a directory for storing audio data. This directory will need to be quite large--each recoding of a CD takes 150-170MB of disk space. Multiple of these options can be used.
-groupd: this option specifies that the Ensemble groupd should be used to communicate group membership changes. This option is advised.
-nocdrom: do not access the cdrom device on the machine. This is most advisable when the machine does not have such a drive.
-noaudio: do not access the sound card on this machine.

While the server is running

Once the server us started, it runs in the background and waits for requests from local clients and other remote servers. While the server is running, it locks the cdrom device, preventing the tray from opening. If you want to insert a CD, the tray can be opened from within an EJB client process.