Interview Questions

Can two JMS servers share the same persistent store?

BEA WebLogic Questions and Answers


(Continued from previous question...)

Can two JMS servers share the same persistent store?

No. Each JMS server must have its own unique persistent store. Two file-based JMS persistent stores may share the same directory, but their messages will be stored in different files. In this case, the filenames will contain different prefixes.
Two JDBC-based JMS persistent stores may share the same database, but they must be configured to use a different Prefix Name which will be prepended to the database tables. For more information on configuring the JDBC Prefix Name, see "JMS JDBC Stores" in the Administration Console Online Help. If they are configured with the same Prefix Name, persistent messages will be corrupted and/or lost.

(Continued on next question...)

Other Interview Questions