Server (Running as a Service)
This option is enabled if the database server is also running as a service on the same computer. Running queues as a service starts those services when the Greentree system starts. You must bring down queues before you can bring down the database service.
If you are running the database server as a service, you should also run the application server and print and task queues as a service.
Step 1
Make sure that you have these lines in the [JadeServer] section of the .ini file used by the database server:
If packed to Greentree version 3D@11-6 or later:
ServerApplication1=LoginSchema,ServiceStarter
ServerApplication2=JadeConnectionSchema,ConnectionServer
If packed to Greentree version 47-2 to 3D@11-5:
ServerApplication1=XXXSchema,XXXServiceStarter
ServerApplication2=JadeConnectionSchema,ConnectionServer
If packed to a version before 47-2:
ServerApplication1=GreenTreeSchema,GreentreeServer
ServerApplication2=XXXSchema,XXXServiceStarter
ServerApplication3=JadeConnectionSchema,ConnectionServer
|
Replace XXX with the name of the schema you are running, for example, GreenTree, CRM, POS, and the like. If you are running a sub-schema, the ServerApplication2 line (before pack 47-2) must see the subschema. However, the ServerApplication1 line always see GreenTreeSchema,GreentreeServer. |
When you've completed this step, the queues will start when the Greentree database server service is started.
Step 2
Make sure the database server service is not defined as logging on as a System Account. Instead, you must nominate a specific account for the service to log in as. You must ensure that you choose an account that has access to the printers you will be using in the print queue on this machine.
This particular image shows the service properties, accessed using Control Panel > Administrative Tools > Services in Windows. This will appear differently depending on which operating system you are using.
|
If you log on with a system account, the task queue will work, but the print queue will not work, and all print jobs will go into error. |
When running the queues as a service, the queue status form will not appear, even when you are logged into the workstation. To make this form appear, you must set up an icon as described in the Dedicated queue workstation section.