Open topic with navigation

TIBCO GridServer® 7.1.0

# Multiple Driver Instances

Services can fail if you enable Direct Data Transfer and write a script that instantiates multiple Drivers from the same `driver.properties` file with the same port number. The first Driver opens a web server listening to the defined socket. Subsequent Drivers do not open another web server as long as the first Service is running, but can continue running by using the first Service’s server for direct data. However, when the first Service completes, its server ends, causing subsequent Services to fail.

You can avoid this problem by writing a shell script to create Services, each with its own Driver running from its own Java VM. Your script must provide a different port number for the `DSWebserverPort` property normally set in the `driver.properties` file. To write a shell script for this situation, you can remove the `DSWebserverPort` property from the `driver.properties` file and assign a unique port number for each iteration.

More than one Driver can share the same directory. However, if you do so you must set a unique `DSCacheRootDirectory` for each Driver if using GridCache. Also, if using long-running Services, you must set a unique `DSWebServerDir` property so that one Driver’s file cleaner does not clean another session’s initialization data.

Did you find this helpful?

Yes No
Great!
Thanks for taking the time to give us some feedback.
Sorry about that

Why wasn't this helpful? (check all that apply)

Could not find what I was looking for
Instructions confusing or unclear
Instructions did not work

Want to tell us more?

Please select at least one option or provide details about the issue!!

Error occurred while submitting feedback.

Error2 occurred while submitting feedback.

TIBCO GridServer®

Copyright © 2001-2022. TIBCO Software Inc. All Rights Reserved.