Author |
Message
|
abiram8 |
Posted: Fri May 09, 2003 4:02 am Post subject: 2063 |
|
|
 Master
Joined: 27 Mar 2002 Posts: 207 Location: India
|
Hi,
When Connecting to QueuManager in Unix Box (MQ5.3) I get the following Error "2063"
What are the configration I need to do in my Unix QueueManager
When Iam trying same programme with My Qmanager (NT 5.3) local QManager It does not give any Error
In both case Iam connecting as a MQClient |
|
Back to top |
|
 |
pgorak |
Posted: Fri May 09, 2003 4:59 am Post subject: |
|
|
 Disciple
Joined: 15 Jul 2002 Posts: 158 Location: Cracow, Poland
|
I assume you connect to the UNIX QM from Windows - in this case you are seen on the QM side under your Windows login name. I had the same problem and I simply created a new user on UNIX, with username matching that on Windows, and added this user to mqm group.
Piotr |
|
Back to top |
|
 |
abiram8 |
Posted: Fri May 16, 2003 3:23 am Post subject: |
|
|
 Master
Joined: 27 Mar 2002 Posts: 207 Location: India
|
Hi pgorak,
I followed the same step but it did not work
To be more detail about my problem
How to configure My MQClient Progrmamme (in java) with the Security Exit programme (written in C).
If my Security Exit programme written in Java Then I would do the following
MQEnviroment.securityExit = new MQExitJava();
but the the exit programme is in C
Note : I have my channel (svrconn) Configured to for Security Exit
But what steps I need to do in programmatically in my java programme to configure the Security Exit written in C
Thanks
Abiram |
|
Back to top |
|
 |
jefflowrey |
Posted: Fri May 16, 2003 5:25 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
You will have to write a Java Native Interface to interact with the C security exit. Then you can use the JNI methods to call the proper routines in the C security exit. |
|
Back to top |
|
 |
abiram8 |
Posted: Sun May 18, 2003 10:50 pm Post subject: |
|
|
 Master
Joined: 27 Mar 2002 Posts: 207 Location: India
|
Hi,
Is there any other soulution than using the JNI since Client is not intrested in using JNI calls
Thanks
Abiram |
|
Back to top |
|
 |
jefflowrey |
Posted: Mon May 19, 2003 5:06 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
If there is any other way than using JNI (other than reinventing JNI), it would have to be specific to your C exit.
If your client would rather pay you to reinvent JNI, then good for you. One solution would be to use some sort of system level IPC, or shared memory. In either case, changes will have to be made to both the exit and your java program. |
|
Back to top |
|
 |
|