From: Erik Brakkee Date: Fri, 14 Mar 2008 22:11:25 +0000 (+0000) Subject: (no commit message) X-Git-Tag: wamblee-utils-0.7~847 X-Git-Url: http://wamblee.org/gitweb/?a=commitdiff_plain;h=b095903caff0a99bad9ac3a3e04f5268d5541c7c;p=utils --- 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 +