Author |
Message
|
kotla.satya |
Posted: Thu Oct 18, 2007 4:51 am Post subject: Websphere MQ JMS JNDI creation problem. |
|
|
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 |
|
 |
Vitor |
Posted: Thu Oct 18, 2007 5:00 am Post subject: |
|
|
 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 |
|
 |
fjb_saper |
Posted: Thu Oct 18, 2007 11:55 am Post subject: |
|
|
 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 |
|
 |
kotla.satya |
Posted: Thu Oct 18, 2007 7:41 pm Post subject: |
|
|
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 |
|
 |
fjb_saper |
Posted: Thu Oct 18, 2007 8:09 pm Post subject: |
|
|
 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 |
|
 |
kotla.satya |
Posted: Thu Oct 18, 2007 8:24 pm Post subject: |
|
|
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 |
|
 |
fjb_saper |
Posted: Fri Oct 19, 2007 2:46 am Post subject: |
|
|
 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 |
|
 |
kotla.satya |
Posted: Fri Oct 19, 2007 5:13 am Post subject: |
|
|
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 |
|
 |
fjb_saper |
Posted: Fri Oct 19, 2007 12:37 pm Post subject: |
|
|
 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 |
|
 |
kotla.satya |
Posted: Sun Oct 21, 2007 8:36 pm Post subject: |
|
|
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 |
|
 |
fjb_saper |
Posted: Mon Oct 22, 2007 2:38 am Post subject: |
|
|
 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 |
|
 |
|