On the Resources tab, you can select resources to be activated when the server starts. Typically, resources are started the first time they are used. You may want to configure a resource for activation at server start-up for reasons that include:
If you are using JMS store and forward (pull or push), to ensure that messages are propagated between servers, even if they are not currently being consumed at the target server.
If you are using XA two-phase commit, to ensure that recovery processes run for data sources that are not in use, but were in use when the server was previously running.
Resources include database types, data sources, mail sessions, JMS message queues and topics, and connection factories. The configuration property startResources is a comma-separated list that defines which resources to start.
The following resources are predefined:
Resource type |
Resource name |
---|---|
Connection factory |
ConnectionFactory |
default |
|
javax.jms.ConnectionFactory |
|
Data source |
cluster.db |
default |
|
JavaCache |
|
message.db |
|
session.db |
|
tx_manager |
|
Message queue |
javax.jms.TemporaryQueue |
testQueue |
|
Message topic |
javax.jms.TemporaryTopic |
testTopic |
|
Queue connection factory |
default |
javax.jms.QueueConnectionFactory |
|
QueueConnectionFactory |
|
Topic connection factory |
default |
javax.jms.TopicConnectionFactory |
|
TopicConnectionFactory |
To activate resources individually, choose Select, then select or unselect each resource. To activate all the resources, select All; you can also select None. By default, the value of the startResources property is None, so none of the predefined resources are activated.
Expand the Resources folder.
Highlight the folder of the resource type you want to add, right-click, and select Add.
Complete the wizard to add the new resource, and click Finish.