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 JMS JNDI creation problem.

Post new topic  Reply to topic
 Websphere MQ JMS JNDI creation problem. « View previous topic :: View next topic » 
Author Message
kotla.satya
PostPosted: Thu Oct 18, 2007 4:51 am    Post subject: Websphere MQ JMS JNDI creation problem. Reply with quote

Apprentice

Joined: 30 Jan 2006
Posts: 40
Location: chennai-India

Hi All,

When I am trying to create JMS JNDI objects in websphere 6.0 in AIX m/c,and click on MQConfig below error is shown.

The WMQQueueDefiner MBean has encountered an error.
WMSG0331E: The MQ Client is required for this functionality, but it is not installed.

The MQ_INSTALL_ROOT is pointed to /usr/mqm.

I able to connect to MQ server 6.0 and place messages,but the problem is with JMS JNDI creation.Is it some permission I am missing.

I would be very much thankful for help in this regard.
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Oct 18, 2007 5:00 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

Isn't this the same (or a very similar) problem to:

http://www.mqseries.net/phpBB2/viewtopic.php?p=194701



The error seems fairly clear, and does refute the validity of the test you did in the other post to check for client.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Thu Oct 18, 2007 11:55 am    Post subject: Reply with quote

Grand High Poobah

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

Looks to me more like either an install problem ( the client isn't installed and needs to be for what you want/need to do) or a JNDI setup problem (you set up your JNDI connection for a client connection but should be using a server connection and the client is not installed)...

Enjoy
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
kotla.satya
PostPosted: Thu Oct 18, 2007 7:41 pm    Post subject: Reply with quote

Apprentice

Joined: 30 Jan 2006
Posts: 40
Location: chennai-India

fjb_saper wrote:
Looks to me more like either an install problem ( the client isn't installed and needs to be for what you want/need to do) or a JNDI setup problem (you set up your JNDI connection for a client connection but should be using a server connection and the client is not installed)...

Enjoy


I have crosschecked the mq client is installed and I am connecting using bind mode only.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Thu Oct 18, 2007 8:09 pm    Post subject: Reply with quote

Grand High Poobah

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

Could it be that you are missing some LD_LIBRARY & LD_LIBRARY64 entries and therefore it tells you that you need to use the client install where you are trying bindings? Or do you have a bad Media install?

Enjoy
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
kotla.satya
PostPosted: Thu Oct 18, 2007 8:24 pm    Post subject: Reply with quote

Apprentice

Joined: 30 Jan 2006
Posts: 40
Location: chennai-India

fjb_saper wrote:
Could it be that you are missing some LD_LIBRARY & LD_LIBRARY64 entries and therefore it tells you that you need to use the client install where you are trying bindings? Or do you have a bad Media install?

Enjoy


Installation was successful.

Could you please tell me where should I check ' LD_LIBRARY & LD_LIBRARY64 entries ' please.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Fri Oct 19, 2007 2:46 am    Post subject: Reply with quote

Grand High Poobah

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

Check the environment of the user running WAS...
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
kotla.satya
PostPosted: Fri Oct 19, 2007 5:13 am    Post subject: Reply with quote

Apprentice

Joined: 30 Jan 2006
Posts: 40
Location: chennai-India

fjb_saper wrote:
Check the environment of the user running WAS...


Thank you for the reply. please see below values in WAS.It does not have
LD_LIBRARY & LD_LIBRARY64 entries below. Could you please tell me where I can find this files,so that I will add this in .profile file.

Please correct me if I am wrong.

# env
_=/usr/bin/env
LANG=en_US
LOGIN=root
PATH=/usr/bin:/etc:/usr/sbin:/usr/ucb:/usr/bin/X11:/sbin:/opt/Eracom/bin:/opt/Eracom/bin/sw:/oracle/apps/10gRe2/bin::/opt/ETcpsdk/lib:/oracle/apps/10gRe2/lib32:/opt/Eracom/lib:/app/WebSphere/lib/WMQ/java/lib:/usr/mqm/java/lib:/opt/Eracom/bin
LC__FASTMSG=true
CLASSPATH=/usr/mqm/java/lib/dhbcore.jar:/oracle/apps/10gRe2/jdbc/lib/classes12.zip:/oracle/apps/10gRe2/jdbc/lib/classes12.jar:/usr/java14/lib:/opt/Eracom/lib/jce.zip:/opt/Eracom/lib/jprov.jar:/opt/Eracom/lib/jcprov.jar:/opt/Eracom/lib/kmu.jar:/app/WebSphere/profiles/JFPCFI/installedApps/jfpappsNode03Cell/DEGCB.jfpapps.ear/DEGCB.war/WEB-INF/lib1
LOGNAME=root
MAIL=/usr/spool/mail/root
LOCPATH=/usr/lib/nls/loc
USER=root
AUTHSTATE=compat
SHELL=/usr/bin/ksh
ODMDIR=/etc/objrepos
JAVA_HOME=/usr/java14
HOME=/
TERM=ansi
MAILMSG=[YOU HAVE NEW MAIL]
ORACLE_HOME=/oracle/apps/10gRe2
PWD=/
TZ=PAKST-5PAKDT
A__z=! LOGNAME
LIBPATH=/opt/ETcpsdk/lib:/oracle/apps/10gRe2/lib32:/opt/Eracom/lib:/app/WebSphere/lib/WMQ/java/lib:/usr/mqm/java/lib
LD_LIBRARY_PATH=/opt/Eracom/lib
NLSPATH=/usr/lib/nls/msg/%L/%N:/usr/lib/nls/msg/%L/%N.cat
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Fri Oct 19, 2007 12:37 pm    Post subject: Reply with quote

Grand High Poobah

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

Well it does have LIBPATH and references the MQ JAva libs there but it is missing LIBPATH64 which becomes somewhat necessary if you want to make a bindings connection...

Enjoy
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
kotla.satya
PostPosted: Sun Oct 21, 2007 8:36 pm    Post subject: Reply with quote

Apprentice

Joined: 30 Jan 2006
Posts: 40
Location: chennai-India

fjb_saper wrote:
Well it does have LIBPATH and references the MQ JAva libs there but it is missing LIBPATH64 which becomes somewhat necessary if you want to make a bindings connection...

Enjoy


I have crosschecked after adding environment variable.Still I see the problem.

In the tracelog,I found log as below
[10/21/07 16:09:59:135 YEKST] 0000000a JMSRegistrati > initialize Entry
[10/21/07 16:09:59:136 YEKST] 0000000a JMSRegistrati 3 MA88 path = /usr/mqm/java/lib
[10/21/07 16:09:59:137 YEKST] 0000000a JMSRegistrati 3 MA88 64-bit path = /usr/mqm/java/lib64
[10/21/07 16:09:59:140 YEKST] 0000000a JMSRegistrati 3 Unable to load the 64-bit libraries, must be 32-bit so use 32-bit libraries
[10/21/07 16:09:59:151 YEKST] 0000000a JMSRegistrati 3 Added /usr/mqm/java/lib to ExtClassLoader
[10/21/07 16:09:59:152 YEKST] 0000000a JMSRegistrati < initialize Exit

What could be the problem?.Pleas tell me.



env
_=/usr/bin/env
LANG=en_US
LOGIN=root
PATH=/usr/bin:/etc:/usr/sbin:/usr/ucb:/usr/bin/X11:/sbin:/opt/Eracom/bin:/opt/Eracom/bin/sw:/oracle/apps/10gRe2/bin::/opt/ETcpsdk/lib:/oracle/apps/10gRe2/lib32:/opt/Eracom/lib:/app/WebSphere/lib/WMQ/java/lib:/usr/mqm/lib:/usr/mqm/lib64:/usr/mqm/java/lib:/opt/Eracom/bin
LC__FASTMSG=true
CLASSPATH=/usr/mqm/java/lib/dhbcore.jar:/oracle/apps/10gRe2/jdbc/lib/classes12.zip:/oracle/apps/10gRe2/jdbc/lib/classes12.jar:/usr/java14/lib:/opt/Eracom/lib/jce.zip:/opt/Eracom/lib/jprov.jar:/opt/Eracom/lib/jcprov.jar:/opt/Eracom/lib/kmu.jar:/app/WebSphere/profiles/JFPCFI/installedApps/jfpappsNode03Cell/DEGCB.jfpapps.ear/DEGCB.war/WEB-INF/lib1
LOGNAME=root
MAIL=/usr/spool/mail/root
LOCPATH=/usr/lib/nls/loc
USER=root
AUTHSTATE=compat
SHELL=/usr/bin/ksh
ODMDIR=/etc/objrepos
JAVA_HOME=/usr/java14
HOME=/
TERM=ansi
MAILMSG=[YOU HAVE NEW MAIL]
ORACLE_HOME=/oracle/apps/10gRe2
PWD=/app/WebSphere/profiles/JFPTURKEYNEW/bin
TZ=PAKST-5PAKDT
A__z=! LOGNAME
LIBPATH=/opt/ETcpsdk/lib:/oracle/apps/10gRe2/lib32:/opt/Eracom/lib:/app/WebSphere/lib/WMQ/java/lib:/usr/mqm/lib:/usr/mqm/lib64:/usr/mqm/java/lib
LD_LIBRARY_PATH=/opt/Eracom/lib
NLSPATH=/usr/lib/nls/msg/%L/%N:/usr/lib/nls/msg/%L/%N.cat
#
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Mon Oct 22, 2007 2:38 am    Post subject: Reply with quote

Grand High Poobah

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

Quote:
[10/21/07 16:09:59:135 YEKST] 0000000a JMSRegistrati > initialize Entry
[10/21/07 16:09:59:136 YEKST] 0000000a JMSRegistrati 3 MA88 path = /usr/mqm/java/lib
[10/21/07 16:09:59:137 YEKST] 0000000a JMSRegistrati 3 MA88 64-bit path = /usr/mqm/java/lib64
[10/21/07 16:09:59:140 YEKST] 0000000a JMSRegistrati 3 Unable to load the 64-bit libraries, must be 32-bit so use 32-bit libraries
[10/21/07 16:09:59:151 YEKST] 0000000a JMSRegistrati 3 Added /usr/mqm/java/lib to ExtClassLoader
[10/21/07 16:09:59:152 YEKST] 0000000a JMSRegistrati < initialize Exit

Looks like this could have to deal with a user exit ?
Do you have the right stuff on the path and LD_LIBRARY_PATH when starting the qmgr?

And by the way if MA88 is not just an internal leftover I'd loose it. It has been part of the product since version 5.3.

Enjoy
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » Websphere MQ JMS JNDI creation problem.
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.