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