Configuring a different database for JMS tables and generating a script to create JMS tables
- jms.jdbc.url
- Required. The location of the database, where host and port specifies host name and port number of the database server. For example: jms.jdbc.url="jdbc:sqlserver://host:port".
- jms.jdbc.driver
- Required. The full class path of the JDBC driver used to run the JBoss application server. For example: jms.jdbc.driver="net.sourceforge.jtds.jdbc.Driver".
- jms.jdbc.user
- Required. An ID with the ability to create tables in the
database specified by
jms.jdbc.url
. If you are using the same database for both the JMS and application tables, the user ID specified for deploying the application can also be used here. For example: jms.jdbc.user="DBAdmin". - jms.jdbc.password
- Required. The password for the DBAdmin ID. For example: jms.jdbc.password="password".
- jms.jdbc.owner
- Optional. The owner of the JMS tables in the database. For example: jms.jdbc.owner="dbo".
- jms.jdbc.minPoolSize
- Optional. The minimum connection pool size. For example: jms.jdbc.minPoolSize="3".
- jms.jdbc.maxPoolSize
- Optional. The maximum connection pool size. For example: jms.jdbc.maxPoolSize="10".
- jms.jdbc.properties
- Optional. List of
name=value pairs separated by
(the XML newline escape character). For example: jms.jdbc.properties="bufferMaxMemory=65536 prepareSql=3
- jms.sql.file
The absolute file path, including the file name, where you want the generated SQL to be output. For example: jms.sql.file="C:\sqlfiles\create_jboss.sql".
If the user accessing the database that hosts the JMS tables does not have DDL privileges, use the jms.sql.file property to generate an SQL script that creates the JMS tables. Provide this script to a database administrator to create the JMS tables in the database.
If you specified the jms.jdbc.* properties, then the JMS database will be configured on the server when your NexJ application is deployed. When the server starts, if the JMS tables do not exist, they will be created in that database with the options specified. If the attempt to create the tables fails, review server.log for detailed information.
If you did not specify the jms.jdbc.* properties, then JMS database will be configured to be the same as the default relational database.
If you specified a file path in the jms.sql.file property, then the SQL script for creating the JMS tables will be generated in that location when your NexJ application is deployed. Provide your database administrator with this file to create the database schema.