ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ Installation/Configuration Support » WebSphere MQ publish/subscribe with JMS

Post new topic  Reply to topic
 WebSphere MQ publish/subscribe with JMS « View previous topic :: View next topic » 
Author Message
Sonal
PostPosted: Tue Mar 31, 2009 1:36 am    Post subject: WebSphere MQ publish/subscribe with JMS Reply with quote

Apprentice

Joined: 20 Mar 2009
Posts: 45

Hi All,

I am trying to do WebSphere MQ publish/subscribe with JMS. I followed following steps:

Installed A Version 1.4.2 JDK is supplied in Prereqs directory of the WebSphere MQ V6.0 installation media

Added java and javac executables from this JDK to the operating system path

Change directory to the chosen working directory. For example:
C:
cd C:\Program Files\IBM\WebSphere MQ\Sonal
set CLASSPATH=%CLASSPATH%;.

Create and start a queue manager - host1/jmspubsub
Start the broker on the queue manager
Right-click the service called SYSTEM.BROKER and select Start to start the
WebSphere MQ publish/subscribe broker

Configure the queue manager for JMS publish/subscribe
runmqsc host1/jmspubsub < "C:\Program Files\IBM\WebSphere MQ
\Java\bin\MQJMS_PSQ.mqsc"

Set up a simple JMS provider:
Within the working directory, created the following
subdirectory: jms.provider

Within the working directory, create a file called JMSAdmin.config with the
following contents:
INITIAL_CONTEXT_FACTORY=com.sun.jndi.fscontext.RefFSContextFactory
PROVIDER_URL=file:jms.provider
SECURITY_AUTHENTICATION=none

Use WebSphere MQ JMS Administration tool to configure JMS
Run the WebSphere MQ JMS Administration tool as follows:

"C:\Program Files\IBM\WebSphere MQ\Java\Bin\JMSAdmin.bat".

Here, its not showing the desired output:
The initial output is as follows:
5724-H72, 5655-L82, 5724-L26 (c) Copyright IBM Corp. 2002,2005. All Rights
Reserved.
Starting Websphere MQ classes for Java(tm) Message Service Administration
InitCtx>
Its showing following in cmd:
usage: java [options] class [args]
......
........
load java programming agent, see java.lang.instrument.

please help me to know why its not showing the "5724-H72, 5655-L82, 5724-L26 (c) Copyright IBM Corp. 2002,2005. All Rights
Reserved."?

Also, while installing jdk with prereq folder, it had asked me to overwrite the previously installed jsk...I chose "no"... should I'd chosen yes?

Please help!!

jms.provider
Back to top
View user's profile Send private message
bruce2359
PostPosted: Tue Mar 31, 2009 5:30 am    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9472
Location: US: west coast, almost. Otherwise, enroute.

please help me to know why its not showing the "5724-H72, 5655-L82, 5724-L26 (c) Copyright IBM Corp. 2002,2005. All Rights Reserved."?
I'm confused. Did you receive this message?
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
Sonal
PostPosted: Tue Mar 31, 2009 8:49 pm    Post subject: Reply with quote

Apprentice

Joined: 20 Mar 2009
Posts: 45

No, its not showing this message. Thats the problem.
Instead, its showing something like this in cmd:

usage: java [options] class [args]
......
........
load java programming agent, see java.lang.instrument.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Wed Apr 01, 2009 5:41 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

What version of java are you using?
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Sonal
PostPosted: Thu Apr 02, 2009 4:17 am    Post subject: Reply with quote

Apprentice

Joined: 20 Mar 2009
Posts: 45

JDK 1.5
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Installation/Configuration Support » WebSphere MQ publish/subscribe with JMS
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.