Author |
Message
|
prasannal |
Posted: Mon Mar 08, 2004 2:44 am Post subject: Using JMS Server with MQSeries 5.3 |
|
|
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 |
|
 |
jefflowrey |
Posted: Mon Mar 08, 2004 6:06 am Post subject: |
|
|
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 |
|
 |
prasannal |
Posted: Mon Mar 08, 2004 8:13 pm Post subject: JMS support in MQSeries 5.3 |
|
|
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 |
|
 |
jefflowrey |
Posted: Tue Mar 09, 2004 4:42 am Post subject: |
|
|
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 |
|
 |
gunter |
Posted: Tue Mar 09, 2004 5:04 am Post subject: |
|
|
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 |
|
 |
bower5932 |
Posted: Tue Mar 09, 2004 6:21 am Post subject: |
|
|
 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 |
|
 |
vennela |
Posted: Tue Mar 09, 2004 8:16 am Post subject: |
|
|
 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 |
|
 |
bower5932 |
Posted: Tue Mar 09, 2004 8:32 am Post subject: |
|
|
 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 |
|
 |
jefflowrey |
Posted: Tue Mar 09, 2004 10:41 am Post subject: |
|
|
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 |
|
 |
|