|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Oracle with AMS library include error 2035 |
« View previous topic :: View next topic » |
Author |
Message
|
yasaboy |
Posted: Thu Dec 11, 2014 3:24 am Post subject: Oracle with AMS library include error 2035 |
|
|
Voyager
Joined: 23 Jun 2014 Posts: 90
|
Hi,
We are trying to enable AMS in our application, It is a multi threaded application. When applied the security policies, the library fails giving error 2035 while opening the queue with AMS policy set to it.
How ever we have been in search for the root cause for this for weeks now and have finally found that every time we include ORACLE as a third party library or any other library that has a link to ORACLE it fails giving the exact same error in the child thread. How ever it works in the main thread.
Is there any reason for this and way to fix the issue ? |
|
Back to top |
|
 |
yasaboy |
Posted: Thu Dec 11, 2014 6:22 am Post subject: |
|
|
Voyager
Joined: 23 Jun 2014 Posts: 90
|
Hi specifically when we build the amqsputc with a child thread and build it with g++ using oracle libraries and not using oracle it gives below outputs.
Code: |
not working
g++ -m64 -fsigned-char -o imqsputc_64_r imqsputc_64_r.o -L/oracle11g_r2.0.2/lib -L/oracle11g_r2.0.2/rdbms/lib -L/opt/mqm/lib64 -Wl,-rpath=/opt/mqm/lib64 -Wl,-rpath=/usr/lib64 -limqc23gl_r -limqb23gl_r -lmqic_r -lclntsh -lnnz11 -lpthread
imqsputc_64_r T.OUTQUEUE MQSSLTESTER
Sample AMQSPUT0 start
target queue is T.OUTQUEUE
MQOPEN ended with reason code 2035
unable to open queue for output
Sample AMQSPUT0 end
working
g++ -m64 -fsigned-char -o imqsputc_64_r imqsputc_64_r.o [b]-L/oracle11g_r2.0.2/lib -L/oracle11g_r2.0.2/rdbms/lib[/b] -L/opt/mqm/lib64 -Wl,-rpath=/opt/mqm/lib64 -Wl,-rpath=/usr/lib64 -limqc23gl_r -limqb23gl_r -lmqic_r -lpthread
imqsputc_64_r T.OUTQUEUE MQSSLTESTER
main thread started
target queue is T.OUTQUEUE
Sample message added !!
|
|
|
Back to top |
|
 |
mqjeff |
Posted: Thu Dec 11, 2014 6:37 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|