users@glassfish.java.net

Re: create JMS host/can not create/start JMS brokers

From: <forums_at_java.net>
Date: Wed, 17 Aug 2011 11:33:29 -0500 (CDT)

Hi,
Its usual me creating the bugs not finding them :)

Ah, that might make some sense as I thought I already thought I had a node
for the localhost (the one the DAS is running on) but thinking about it, that
is for the default domain.
Would I create the node with create-node-config?

In the mean time here are my commands:
<code>
-- Not sure if I need to set this one
set --port 30048 configs.config.server-config.jms-service.type=LOCAL
create-cluster --port 30048 APP
-- APP is the name of the cluster
set --port 30048 configs.config.APP-config.jms-service.type=LOCAL
create-jms-host --port 30048 --mqhost 0.0.0.0 --mqport 30076 --mquser admin
--mqpassword admin blue_JMS_host
create-node-config --port 30048 --nodehost pbapp1 pbapp1-DEV
create-node-ssh --port 30048 --nodehost pbapp2 pbapp2-DEV
configure-jms-cluster --port 30048 --clustertype=enhanced --dbvendor mysql
--dbuser openmq --dburl jdbc:mysql://pbdb1:3306/pb_tm_mq_dev_1 APP
create-instance --port 30048 --cluster APP --node localhost-DEV APP-DEV-1
create-instance --port 30048 --cluster APP --node pbapp2-DEV APP-DEV-2
create-jdbc-connection-pool --port 30048 --restype=javax.sql.DataSource
--datasourceclassname com.mysql.jdbc.jdbc2.optional.MysqlDataSource
--property
user=pb_tm_user:serverName=pbdb1:password=pb_tm_user:databaseName=pb_tm_dev_1:url=jdbc\\:mysql\\://pbdb1\\:3306/pb_tm_dev_1
BlueTMPool
create-jdbc-resource --port 30048 --connectionpoolid BlueTMPool --target APP
jdbc/net.blue.APP
create-jms-resource --port 30048 --restype javax.jms.QueueConnectionFactory
--target APP jms/net.blue.connectionFactory.TM-DWH-APP
create-jms-resource --port 30048 --restype javax.jms.Queue --target APP
jms/net.blue.queue.TM-DWH-APP

</code>

Thanks
Gavin
PS sorry if this is a duplicate post, my previous reply doesnt seem to have
made it to the board


--
[Message sent by forum member 'gavintranter']
View Post: http://forums.java.net/node/834173