users@glassfish.java.net

glassfish: openmq: Configuring a JDBC-Based Data Store

From: <glassfish_at_javadesktop.org>
Date: Wed, 11 Feb 2009 04:16:00 PST

Hi,

i am trying to configure openmq inside glassfish with a jdbc-based data store.
I am following: http://docs.sun.com/app/docs/doc/820-4916/aeodi?a=view

i configured the tables without a problem:

:/opt/jdk/imq/bin >./imqdbmgr create tbl
Enter password for database jdbc:oracle:thin:@10.0.0.172:1521:mydb:
[11/Feb/2009:12:57:47 MEZ] Using plugged-in persistent store:
        version=410
        brokerid=oraclemq
        database connection url=jdbc:oracle:thin:@10.0.0.172:1521:mydb
        database user=aquser
[11/Feb/2009:12:57:49 MEZ] Creating database table MQVER41Soraclemq ...
[11/Feb/2009:12:57:49 MEZ] Creating database table MQBKR41Soraclemq ...
[11/Feb/2009:12:57:49 MEZ] Creating database table MQSES41Soraclemq ...
[11/Feb/2009:12:57:49 MEZ] Creating database table MQPROP41Soraclemq ...
[11/Feb/2009:12:57:49 MEZ] Creating database table MQCREC41Soraclemq ...
[11/Feb/2009:12:57:49 MEZ] Creating database table MQCON41Soraclemq ...
[11/Feb/2009:12:57:50 MEZ] Creating database table MQCONSTATE41Soraclemq ...
[11/Feb/2009:12:57:50 MEZ] Creating database table index MQCONSTATE41SoraclemqIDX1 ...
[11/Feb/2009:12:57:50 MEZ] Creating database table MQDST41Soraclemq ...
[11/Feb/2009:12:57:50 MEZ] Creating database table index MQDST41SoraclemqIDX1 ...
[11/Feb/2009:12:57:50 MEZ] Creating database table MQMSG41Soraclemq ...
[11/Feb/2009:12:57:50 MEZ] Creating database table index MQMSG41SoraclemqIDX1 ...
[11/Feb/2009:12:57:50 MEZ] Creating database table MQTXN41Soraclemq ...
[11/Feb/2009:12:57:50 MEZ] Creating database table index MQTXN41SoraclemqIDX1 ...
Database tables created.

But now i am not able to connect via QBrowser to the broker:

Could not initialize JMS: javax.jms.JMSException: [C4090]: Invalid port number. Broker is not available or may be paused: [localhost,-1]
Are you sure there is an imqbrokerd running on localhost:7676?
usage: java QBrowser

Can anybody help me?
[Message sent by forum member 'hewizard' (hewizard)]

http://forums.java.net/jive/thread.jspa?messageID=331252