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 Java / JMS » Websphere MQ setup, then HelloWorld-like program?

Post new topic  Reply to topic
 Websphere MQ setup, then HelloWorld-like program? « View previous topic :: View next topic » 
Author Message
medloh
PostPosted: Mon Mar 10, 2008 1:31 pm    Post subject: Websphere MQ setup, then HelloWorld-like program? Reply with quote

Newbie

Joined: 10 Mar 2008
Posts: 5

I'm new to JMS programming and Websphere. I need to do a POC with an external Java JMS client reading/writing msgs to WebSphere MQ. I am both the WebSphere Admin and Java developer for this POC unfortunately

I've been searching the net for an example or tutorial that describes configuring WebSphere 6.0.x MQ from the WebSphere admin console, and then writing an external Java JMS client to connect and read and write msgs to the Websphere MQ queue(s). Anyone know of such an example on the web? I've found lots of example code on the web, but can't get it to connect. I'm sure I don't have my Websphere MQ configured correctly.

I'm using the following Websphere. Should I be using its MQ support, or do I need to install a separate MQ pkg?

IBM WebSphere Application Server, 6.0.0.1
Build Number: o0445.08
Build Date: 11/10/04
Back to top
View user's profile Send private message
bower5932
PostPosted: Mon Mar 10, 2008 4:07 pm    Post subject: Reply with quote

Jedi Knight

Joined: 27 Aug 2001
Posts: 3023
Location: Dallas, TX, USA

What kind of error are you getting when you can't connect?

If you have WMQ installed, then for starters, I'd suggest that you try running the amqsput and amqsget samples. These will confirm that your WMQ is installed and running.
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
fjb_saper
PostPosted: Tue Mar 11, 2008 3:39 am    Post subject: Reply with quote

Grand High Poobah

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

Read the WAS admin red books. They will describe how to set up your JNDI to connect. To run an outside app you will need to either run the full J2EE client (rather a big footprint) or set up a file JNDI see JMSAdmin (in using Java)...

Have fun
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
medloh
PostPosted: Tue Mar 11, 2008 8:15 am    Post subject: Reply with quote

Newbie

Joined: 10 Mar 2008
Posts: 5

Thanks for the replies.

I think my problem was assuming WebSphere MQ was built into the WebSphere app server I had installed on my dev box. I saw the MQ config pages in the WebSphere admin, and assumed it was installed and rdy to be configured. My understanding now is this is not the case. So I downloaded the 90 day eval of WebSphere MQ and am now getting a little further with my sample code.

Darrel
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 Java / JMS » Websphere MQ setup, then HelloWorld-like program?
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.