Author |
Message
|
Ajju. |
Posted: Wed Sep 11, 2002 9:57 am Post subject: AIX, MA88 installation problem. |
|
|
 Voyager
Joined: 26 Jul 2002 Posts: 77
|
Hi,
I have following problem installing MA88 on AIX.
though i saw similar problem with NT with folks here on this site and tried the same way.... i am unable to get through it on AIX
AIX version: 5.x
MQSeries version : 5.2
jdk version : 1.3.1
Exception :
Exception in thread "main" java.lang.UnsatisfiedLinkError: no mqjbnd04.so in java.library.path
all the *.jars from /usr/mqm/java/lib are SET in roots classpath
all *.so from /usr/mqm/java/lib are set in PATH
can anybody asisit me?
Ajit. |
|
Back to top |
|
 |
clindsey |
Posted: Wed Sep 11, 2002 2:07 pm Post subject: |
|
|
Knight
Joined: 12 Jul 2002 Posts: 586 Location: Dallas, Tx
|
Add usr/mqm/java/lib to your LIB_PATH
Charlie |
|
Back to top |
|
 |
RogerLacroix |
Posted: Wed Sep 11, 2002 7:43 pm Post subject: |
|
|
 Jedi Knight
Joined: 15 May 2001 Posts: 3264 Location: London, ON Canada
|
Hi,
For AIX, it is LD_LIBRARY_PATH.
e.g.
LD_LIBRARY_PATH=/usr/mqm/java/lib
For more info, review page 11 (CLASSPATH) & page 12 (LD_LIBRARY_PATH) of the MQSeries Using Java manual.
later
Roger... _________________ Capitalware: Transforming tomorrow into today.
Connected to MQ!
Twitter |
|
Back to top |
|
 |
Ajju. |
Posted: Thu Sep 12, 2002 5:30 am Post subject: |
|
|
 Voyager
Joined: 26 Jul 2002 Posts: 77
|
well I had every path setup as it is noted in "MQseries for java" manual but cud not get through.........
but i got the solution by putting this file specifically in /usr/lib dir and the issue of *.so file not found is resolved.
now it come to the famous shared memory conflict problem.
error code : 2059
I tried all values from 4 to 12 with stoping and restarting the Q manager and rebooting the system everytime.... but no clue to the problem.
anybody having anyother solution is welcome !!
if we cud not get through this problem with MQSeries5.2 and java... we are planning to upgrade MQseries to 5.3 for AIX hoping this shud solve the problem as java is integrated with MQSeries in V5.3........
any thoughts on WMQ V5.3 are Welcome
Ajit. |
|
Back to top |
|
 |
RogerLacroix |
Posted: Thu Sep 12, 2002 8:04 pm Post subject: |
|
|
 Jedi Knight
Joined: 15 May 2001 Posts: 3264 Location: London, ON Canada
|
I would not put the *.so files in /usr/lib because when you go to upgrade MQ, these "forgotten files" will come back to bite you.
Are you using client or binding mode with your Java program? If client mode, is your listener running? Did you specify the correct port?
later
Roger... _________________ Capitalware: Transforming tomorrow into today.
Connected to MQ!
Twitter |
|
Back to top |
|
 |
Ajju. |
Posted: Fri Sep 13, 2002 5:26 am Post subject: |
|
|
 Voyager
Joined: 26 Jul 2002 Posts: 77
|
Hey Roger,
Right now i am using binding mode.
also u said that when there is a upgrade this file(*.so) with cause a problem.
can u let me know in detail, how will this cause a problem......
Ajit. |
|
Back to top |
|
 |
RogerLacroix |
Posted: Fri Sep 13, 2002 9:14 pm Post subject: |
|
|
 Jedi Knight
Joined: 15 May 2001 Posts: 3264 Location: London, ON Canada
|
Basically, IBM changed how / what is included in the *.mq.*.jar files (and *.DLL / *.so files) for the latest release of MA88 SupportPac. This is in preparation for better support of J2SE v1.4 & J2EE via MA88 (and WMQ v5.3).
Therefore the bottom line do not mix and match.
later
Roger... _________________ Capitalware: Transforming tomorrow into today.
Connected to MQ!
Twitter |
|
Back to top |
|
 |
|