From a2e6e259f357c0d83d2c40e7234b6a79ecfa074d Mon Sep 17 00:00:00 2001 From: erik Date: Fri, 14 Mar 2008 22:11:25 +0000 Subject: [PATCH] --- trunk/mythtv/src/scripts/asconfig.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 trunk/mythtv/src/scripts/asconfig.sh diff --git a/trunk/mythtv/src/scripts/asconfig.sh b/trunk/mythtv/src/scripts/asconfig.sh new file mode 100755 index 00000000..12aa2a88 --- /dev/null +++ b/trunk/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