From a8dd3ee988f4280465369af0c2deb5b88a6f635d Mon Sep 17 00:00:00 2001 From: erik Date: Fri, 14 Mar 2008 22:11:25 +0000 Subject: [PATCH] --- mythtv/src/scripts/asconfig.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 mythtv/src/scripts/asconfig.sh diff --git a/mythtv/src/scripts/asconfig.sh b/mythtv/src/scripts/asconfig.sh new file mode 100755 index 00000000..12aa2a88 --- /dev/null +++ b/mythtv/src/scripts/asconfig.sh @@ -0,0 +1,11 @@ +#!/bin/ksh + +USER="$1" +PASSWORD="$2" + +asadmin create-jms-resource --restype javax.jms.QueueConnectionFactory jms/MythtvConnectionFactory +asadmin create-jms-resource --restype javax.jms.Queue --property Name=Mythtv jms/MythtvTimer + +asadmin create-jdbc-connection-pool --datasourceclassname com.mysql.jdbc.jdbc2.optional.MysqlConnectionPoolDataSource --restype javax.sql.ConnectionPoolDataSource --allownoncomponentcallers=true --property URL=jdbc\\:mysql\\://shikra/mythconverg:password=$PASSWORD:user=$USER Mythtv +asadmin create-jdbc-resource --connectionpoolid Mythtv jdbc/mythtv + -- 2.31.1