Author |
Message
|
krypton |
Posted: Mon Aug 07, 2017 6:58 am Post subject: what is the purpose of dhbcore.jar |
|
|
 Disciple
Joined: 14 Mar 2010 Posts: 186
|
we have IBM Websphere MQ 8.0 server installed and our Java client App is also have MQ 8.0 client.
they still have this Jar in their libraries, but we don't know the purpose of this jar, as per below link, it looks like this jar is not being used.
https://www.ibm.com/support/knowledgecenter/SSFKSJ_8.0.0/com.ibm.mq.pro.doc/q115920_.htm
Quote: |
dhbcore.jar and connector.jar have been removed.
|
can someone tell what is purpose of this jar. _________________ Dreams are not something which you watch when you are asleep,it is something which doesn't let you sleep. |
|
Back to top |
|
 |
zpat |
Posted: Mon Aug 07, 2017 7:45 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
This is why IBM Jar files should never be copied to application libraries. _________________ Well, I don't think there is any question about it. It can only be attributable to human error. This sort of thing has cropped up before, and it has always been due to human error. |
|
Back to top |
|
 |
fjb_saper |
Posted: Mon Aug 07, 2017 7:57 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
zpat wrote: |
This is why IBM Jar files should never be copied to application libraries. |
The jar files should be referenced in the classpath from the <MQ Install>/java /lib directory and never be copied. So when you update your client you also update the libraries... and the app will take advantage of the new libraries.
Have fun  _________________ MQ & Broker admin |
|
Back to top |
|
 |
krypton |
Posted: Mon Aug 07, 2017 8:37 am Post subject: |
|
|
 Disciple
Joined: 14 Mar 2010 Posts: 186
|
we have the following Jar in our /opt/mqm/java/lib directory (MQ server installation), so these are the Jars required by IBM MQ Client application to connect?
-r--r--r--. 1 mqm mqm 70569 Feb 17 2015 com.ibm.mq.tools.ras.jar
-r--r--r--. 1 mqm mqm 824639 Feb 17 2015 com.ibm.mq.commonservices.jar
-r--r--r--. 1 mqm mqm 77116 Feb 17 2015 providerutil.jar
-r-xr-xr-x. 1 mqm mqm 58313 Feb 17 2015 libmqjexitstub02.so
-r--r--r--. 1 mqm mqm 58349 Feb 17 2015 jms.jar
-r--r--r--. 1 mqm mqm 22769 Feb 17 2015 fscontext.jar
-r--r--r--. 1 mqm mqm 38997 Feb 17 2015 com.ibm.mq.traceControl.jar
-r--r--r--. 1 mqm mqm 124163 Feb 17 2015 com.ibm.mq.pcf.jar
-r--r--r--. 1 mqm mqm 3872645 Feb 17 2015 com.ibm.mqjms.jar
-r--r--r--. 1 mqm mqm 3176365 Feb 17 2015 com.ibm.mq.jmqi.jar
-r--r--r--. 1 mqm mqm 365116 Feb 17 2015 com.ibm.mq.jar
-r--r--r--. 1 mqm mqm 350676 Feb 17 2015 com.ibm.mq.headers.jar
-r--r--r--. 1 mqm mqm 7936872 Feb 17 2015 com.ibm.mq.allclient.jar
-r--r--r--. 1 mqm mqm 106151 Feb 17 2015 com.ibm.mq.soap.jar
-r--r--r--. 1 mqm mqm 14442 Feb 17 2015 com.ibm.mq.jms.Nojndi.jar
-r--r--r--. 1 mqm mqm 114580 Feb 17 2015 com.ibm.mq.axis2.jar
-r-xr-xr-x. 1 mqm mqm 426855 Feb 17 2015 libmqjbnd.so
-r-xr-xr-x. 1 mqm mqm 7689741 Feb 17 2015 com.ibm.mq.postcard.jar
-r-xr-xr-x. 1 mqm mqm 438188 Feb 17 2015 com.ibm.mq.defaultconfig.jar _________________ Dreams are not something which you watch when you are asleep,it is something which doesn't let you sleep. |
|
Back to top |
|
 |
MQMB&WAS |
Posted: Fri Sep 29, 2017 6:31 am Post subject: |
|
|
Centurion
Joined: 12 Jun 2016 Posts: 130
|
fjb_saper wrote: |
zpat wrote: |
This is why IBM Jar files should never be copied to application libraries. |
The jar files should be referenced in the classpath from the <MQ Install>/java /lib directory and never be copied. So when you update your client you also update the libraries... and the app will take advantage of the new libraries.
Have fun  |
Hi fjb_saper, jar files can be referenced when there is an mq server or client installed locally, but what's the best practice when there's no client or server installed locally? Thanks for your time. |
|
Back to top |
|
 |
exerk |
Posted: Fri Sep 29, 2017 6:41 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
MQMB&WAS wrote: |
...jar files can be referenced when there is an mq server or client installed locally, but what's the best practice when there's no client or server installed locally? Thanks for your time. |
READ THIS, particularly section b). _________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys. |
|
Back to top |
|
 |
MQMB&WAS |
Posted: Fri Sep 29, 2017 9:21 am Post subject: |
|
|
Centurion
Joined: 12 Jun 2016 Posts: 130
|
exerk wrote: |
READ THIS, particularly section b). |
Thanks, exerk. I downloaded the redistributable client image and it contains com.ibm.mq.allclient and jms. Are these 2 files enough for JMS messaging?(I mean, Do these jars include the classes that come with mq client installation, like com.ibm.mqjms.jar, com.ibm.jms.*, com.ibm.mq.jms.*..) Thanks for your time. |
|
Back to top |
|
 |
exerk |
Posted: Fri Sep 29, 2017 9:45 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
It's amazing what Google can do - the power of information at your fingertips... _________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys. |
|
Back to top |
|
 |
|