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 » Provider URL question

Post new topic  Reply to topic
 Provider URL question « View previous topic :: View next topic » 
Author Message
root
PostPosted: Fri Nov 11, 2005 9:03 am    Post subject: Provider URL question Reply with quote

Novice

Joined: 23 Sep 2004
Posts: 13

PROVIDER_URL

In the MQ using Java book it seems to say that you can only use 3 different types of provider URL's


The URL of the session’s initial context; the root of all JNDI operations carried out by the tool. Three forms of this property are supported:
(1) ldap://hostname/contextname (for LDAP)
(2) file:[drive:]/pathname (for file system context)
(3) iiop://hostname[:port] /[?TargetContext=ctx] (to access base WebSphere Application Server CosNaming namespace)

I've used the PTPSample01 successfully while my MQ server and JMSAdmin where on the same box. I configured my qcf to use transport bind.

java PTPSample01 -url file:/var/mqm/jndi -icf com.sun.jndi.fscontext.RefFSContextFactory

The problem is I have a developer who is off on another machine who wants to connect to my mq server using JMS. He keeps asking me for a provider url using TCP similar to below.

tcp://nytibdev1:5001

From what I can figure out I don't see any where I can give him a provider url using TCP.

I also have the requirement where I don't want to add too much complexity so I would prefer to implement my solution without WAS or LDAP.

If I install JMSAdmin on the developers box and configure it to use CLIENT can I then have the developer use a URL similair to

(2) file:[drive:]/pathname (for file system context)

I would think that would work, but the developer keeps on insisting on having a TCP url and says that I shouldn't have to install JMSAdmin locally.

Can someone help ?
_________________
Who's the Master?
Back to top
View user's profile Send private message
LaMetia
PostPosted: Fri Nov 11, 2005 12:56 pm    Post subject: Provider URL question Reply with quote

Newbie

Joined: 11 Nov 2005
Posts: 1

I'm actually experiencing the same problem....can someone please advise?
Back to top
View user's profile Send private message
bower5932
PostPosted: Fri Nov 11, 2005 2:07 pm    Post subject: Reply with quote

Jedi Knight

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

The Using Java manual is only giving you 3 examples of URLs that you can use. You can use any provider you want as long as you have the necessary ICF to work with the URL.

I believe there is even a SupportPac that allows you to specify that you want to use WMQ to hold your resources.

Found it...ME01:

http://www-306.ibm.com/software/integration/support/supportpacs/category.html#cat1
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
root
PostPosted: Mon Nov 14, 2005 12:49 pm    Post subject: THANKS Reply with quote

Novice

Joined: 23 Sep 2004
Posts: 13

I will try it and let you know what happens.. Thanks for getting the support pac name. really appreciate it.
_________________
Who's the Master?
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 » Provider URL question
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.