moved socketproxy to https://wamblee.org/svn/public/socketproxy
[utils] / mythtv / src / scripts / asconfig.sh
1 #!/bin/ksh
2
3 USER="$1"
4 PASSWORD="$2"
5
6 asadmin create-jms-resource --restype javax.jms.QueueConnectionFactory jms/MythtvConnectionFactory
7 asadmin create-jms-resource --restype javax.jms.Queue --property Name=Mythtv jms/MythtvTimer
8
9 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
10 asadmin create-jdbc-resource  --connectionpoolid Mythtv jdbc/mythtv
11