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 » JNDI with File system context

Post new topic  Reply to topic
 JNDI with File system context « View previous topic :: View next topic » 
Author Message
bpolimera
PostPosted: Mon May 06, 2002 12:19 pm    Post subject: Reply with quote

Novice

Joined: 22 Apr 2002
Posts: 14

Hello All,

I am using JNDI with File System Context (MQ5.2 on Solaris).
Created a Queue Connection Factory (ivtQCF) and a Queue (ivtQ).
Whenever I change one of the properties of ivtQ using ALTER
command from JMSAdmin, ivtQCF is disappearing from the context.
What could be wrong?

Regards,
Balaji.
Back to top
View user's profile Send private message
sanjays30
PostPosted: Mon May 06, 2002 2:10 pm    Post subject: Reply with quote

Novice

Joined: 05 May 2002
Posts: 18
Location: USA

File systems bindinng is not stable and not advised to be used for production systems.
Back to top
View user's profile Send private message
tony@work
PostPosted: Mon May 06, 2002 4:22 pm    Post subject: Reply with quote

Newbie

Joined: 12 Nov 2001
Posts: 9
Location: Australia

Sanjays30 - Can you provide some examples/exidence to support your claim of File System usage being unstable?

I am in the process of evaluating the configuration and setup options available for rolling our JMS in out MQ infrastructure, and as it turns out, the File System option is becoming a preference.

Thanks.
Back to top
View user's profile Send private message
amurugan
PostPosted: Wed May 08, 2002 12:31 am    Post subject: Reply with quote

Voyager

Joined: 10 Sep 2001
Posts: 75
Location: india

hi ,
i too agree with tony . File system context turns out to be the defacto JNDI standard for mqseries jms . bpolimera after altering the qcf dies display ctx list the qcf too or not

Regards,
murugan
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
bpolimera
PostPosted: Wed May 08, 2002 6:26 am    Post subject: Reply with quote

Novice

Joined: 22 Apr 2002
Posts: 14

Murugan,

After I alter the properties of Queue(ivtQ), the display ctx doesnt list
the ivtQcf, the queue connection factory.

Have you guys come across this kind of problem?

Also, if I want to use LDAP bindings with MQ/JMS, do I need to install
and run an LDAP server or does it come as part of MQ installation?
If it comes as part of MQ, how do I enable it?

Thanks,
Balaji.
Back to top
View user's profile Send private message
sanjays30
PostPosted: Tue May 14, 2002 10:15 am    Post subject: Reply with quote

Novice

Joined: 05 May 2002
Posts: 18
Location: USA

I tried using file systems binding and MQ With JMS. I tries to create JNDI names with sub contexts e.g. cxom/jms/WSQCF1 , it did not work with Websphere,
But it did work if i give name like "WSQCF1"

sanjay
Back to top
View user's profile Send private message
amurugan
PostPosted: Tue May 14, 2002 10:03 pm    Post subject: Reply with quote

Voyager

Joined: 10 Sep 2001
Posts: 75
Location: india

hi ,
it sounds strange . bcos you are altering the properties of queue and you are telling that you ae not able to find the queue connection factory . is your fiel system stable . are you doing this check from the command line by running the jms admin program . lemme know

regards,
Murugan
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
amurugan
PostPosted: Tue May 14, 2002 10:16 pm    Post subject: Reply with quote

Voyager

Joined: 10 Sep 2001
Posts: 75
Location: india

hi sanjay ,
Are u trying to define subcontexts in mqseries jms or in wesphere jms . let me know . i dont think you can define subcontext in mqseries jms .

cheers,
Murugan
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
amurugan
PostPosted: Tue May 14, 2002 10:17 pm    Post subject: Reply with quote

Voyager

Joined: 10 Sep 2001
Posts: 75
Location: india

hi sanjay ,
Are u trying to define subcontexts in mqseries jms or in wesphere jms . let me know . i dont think you can define subcontext in mqseries jms .

cheers,
Murugan
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
sanjays30
PostPosted: Wed May 15, 2002 10:10 am    Post subject: Reply with quote

Novice

Joined: 05 May 2002
Posts: 18
Location: USA

I am trying to create subcontext using JMSAdmin into Filie System binding,
and then connecting FileSystem binding to WebSphere JNDI using websphere Admin under "JMS Resources".
Back to top
View user's profile Send private message
bpolimera
PostPosted: Wed May 15, 2002 12:38 pm    Post subject: Reply with quote

Novice

Joined: 22 Apr 2002
Posts: 14

Hi Murugan,

I verified the objects in my file system bindings using JMSAdmin
tool from the command line. I am pasting here the output of the
commands with in the JMSAdmin tool. Also, our file system is
stable. As you can see from the output, I also created a subcontext
"sub1".

Thanks
Balaji.

================== Output =======================

$ /opt/mqm/java/bin/JMSAdmin

5648-C60 (c) Copyright IBM Corp. 1999. All Rights Reserved.
Starting MQSeries Classes for Java(tm) Message Service Administration

User DN:
User Password:

InitCtx> display ctx

Contents of InitCtx

[D] sub1 javax.naming.Context
.bindings java.io.File
a ivtQCF com.ibm.mq.jms.MQQueueConnectionFactory
a ivtQ com.ibm.mq.jms.MQQueue

4 Object(s)
1 Context(s)
3 Binding(s), 2 Administered

InitCtx> alter Q(ivtQ) PER(PERS)

InitCtx> display ctx

Contents of InitCtx

[D] sub1 javax.naming.Context
.bindings java.io.File
a ivtQ com.ibm.mq.jms.MQQueue

3 Object(s)
1 Context(s)
2 Binding(s), 1 Administered

InitCtx>
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 » JNDI with File system context
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.