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 » Using JMS Server with MQSeries 5.3

Post new topic  Reply to topic
 Using JMS Server with MQSeries 5.3 « View previous topic :: View next topic » 
Author Message
prasannal
PostPosted: Mon Mar 08, 2004 2:44 am    Post subject: Using JMS Server with MQSeries 5.3 Reply with quote

Apprentice

Joined: 04 Aug 2003
Posts: 44

Hi,
I know about MQSeries 5.1 which was providing File System based LDAP server to bind JMS object.
But, with 5.3 Trial Version, I think there is only .dll files available.
So, now only option for JMS programmers is to use third party LDAP server?
Earlier a JMS server used to be present with JMSAdmin.config file in MQ 5.1.

Can any one clarify/correct me on this?

Thanks,
Plad
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Mon Mar 08, 2004 6:06 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Using Java: Chapter 5, Configuration section wrote:
Configure the administration tool with values for the following three properties:

INITIAL_CONTEXT_FACTORY
The service provider that the tool uses. There are three explicitly supported values for this property:
com.sun.jndi.ldap.LdapCtxFactory (for LDAP)
com.sun.jndi.fscontext.RefFSContextFactory (for file system context)
com.ibm.websphere.naming.WsnInitialContextFactory (to work with WebSphere Application Server's CosNaming repository)

Is that what you're asking about?
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
prasannal
PostPosted: Mon Mar 08, 2004 8:13 pm    Post subject: JMS support in MQSeries 5.3 Reply with quote

Apprentice

Joined: 04 Aug 2003
Posts: 44

Hi Jeff,
Thanks for ur input.
ACtually I installed trial version of MQ 5.3, and it has nothing as such 'Admin Tool'.

It has just few DLLs under java directory.
What u have told is correct but to do that I need Admin Tool, right?

-Plad
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Tue Mar 09, 2004 4:42 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

It sounds like IBM doesn't want to make the full functionality of the JMS API available in the trial version.

So, if what you say is true, then if someone wants to use the JMS API with a file based LDAP, they will have to get a full version of WebSphere MQ.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
gunter
PostPosted: Tue Mar 09, 2004 5:04 am    Post subject: Reply with quote

Partisan

Joined: 21 Jan 2004
Posts: 307
Location: Germany, Frankfurt

I've installed Websphere MQ 5.3 Trial and CSD05 on Windows 2000.
There is a JMSAdmin.bat.
Back to top
View user's profile Send private message
bower5932
PostPosted: Tue Mar 09, 2004 6:21 am    Post subject: Reply with quote

Jedi Knight

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

It sounds like you are just doing some playing? If that is the case, then I'd suggest that you edit your jmsadmin.cfg file to use a file system context and then use JMSAdmin to create your objects. Your file should look something like:

INITIAL_CONTEXT_FACTORY=com.sun.jndi.fscontext.RefFSContextFactory
PROVIDER_URL=file:c://support//jms//jmsadmin
SECURITY_AUTHENTICATION=none

There are details in the Using Java manual.
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
vennela
PostPosted: Tue Mar 09, 2004 8:16 am    Post subject: Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

Ron:

Quote:
file:c://support//jms//jmsadmin

Is there any reason why you were suggesting the file name to be with two slashes //. I use a single slash. Like
Code:
file:c:/support/jms/jmsadmin


or doesn't it matter either way?

Thanks
------
Vennela
Back to top
View user's profile Send private message Send e-mail Visit poster's website
bower5932
PostPosted: Tue Mar 09, 2004 8:32 am    Post subject: Reply with quote

Jedi Knight

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

I probably copied it from somewhere that had two slashes and have stuck with it ever since.
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
jefflowrey
PostPosted: Tue Mar 09, 2004 10:41 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

In java, if you're specifying the \, then you need to use two \\ because of the escape nature of the \.

So if you're specifying a Windows path for a Java program, usually you can use one of two forms: "C:\\\\progra~1\\IBM" or "C:/progra~1/IBM".
_________________
I am *not* the model of the modern major general.
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 » Using JMS Server with MQSeries 5.3
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.