Author |
Message
|
pardhunani143 |
Posted: Wed Nov 13, 2013 6:44 am Post subject: BlockIP2 testing error logs not getting written |
|
|
Novice
Joined: 23 Jul 2013 Posts: 22
|
I am running MQ V7.1.0.3 on Windows 7 KVM and configured BlockIP2 v2.93 in exits directory
the following is my blockIP2 configuration file
LogDrive=C;
LogPath=C:\temp;
LogFileName=BlockIP.log;
CON=*;;BLOCK;
I am trying to run a java application conneting to queue manager using Server connection channel and the SVRCONN is configured to invoke BLockIP2 exit.
After execution of program i am finding MQRC 2009 error on my java console logs however i donot see any BlockIP logs getting generated .
Please help me to resolve the issue |
|
Back to top |
|
 |
rammer |
Posted: Wed Nov 13, 2013 7:45 am Post subject: Re: BlockIP2 testing error logs not getting written |
|
|
Partisan
Joined: 02 May 2002 Posts: 359 Location: England
|
pardhunani143 wrote: |
I
LogDrive=C;
LogPath=C:\temp;
LogFileName=BlockIP.log;
CON=*;;BLOCK;
|
does LogDrive=C; need to be LogDrive=C:;
I dont use it on Windows so only a guess.. |
|
Back to top |
|
 |
pardhunani143 |
Posted: Wed Nov 13, 2013 8:14 pm Post subject: |
|
|
Novice
Joined: 23 Jul 2013 Posts: 22
|
@rammer
I tried by changing the property of LogDrive as per your suggestions but no luck
Code: |
LogDrive=C:;
LogPath=C:\temp;
LogFileName=BlockIP.log;
CON=*;;BLOCK;
|
BlockIP logs were not getting writeen  |
|
Back to top |
|
 |
pardhunani143 |
Posted: Wed Nov 13, 2013 8:44 pm Post subject: |
|
|
Novice
Joined: 23 Jul 2013 Posts: 22
|
Testcase-2:
this is my BlockIP2 configuration file
When i run the java application i received MQRC2009 error which is expected as per the above property but i couldnot see the Log file generated in the default location on
Quote: |
C:\Program Files (x86)\IBM\WebSphere MQ\exits\Installation1 |
As per the BlockIP2 manual the default path is
Code: |
LogPath=<spec>;
The path where the log file is placed.
Default is /var/mqm/exits for UNIX. and
<install path>\exits for windows.
|
Please advise ... |
|
Back to top |
|
 |
exerk |
Posted: Thu Nov 14, 2013 1:38 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
pardhunani143 wrote: |
@rammer
I tried by changing the property of LogDrive as per your suggestions but no luck
Code: |
LogDrive=C:;
LogPath=C:\temp;
LogFileName=BlockIP.log;
CON=*;;BLOCK;
|
BlockIP logs were not getting writeen  |
Depending on your Windows installation and its configuration, Windows may not allow files to be written to the root. Create a C:\Temp directory, use that as a target location and try again. _________________ 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 |
|
 |
pardhunani143 |
Posted: Thu Nov 14, 2013 10:54 pm Post subject: |
|
|
Novice
Joined: 23 Jul 2013 Posts: 22
|
I tried creating directory called Temp in C directory and run the java applications but still the log is not getting written |
|
Back to top |
|
 |
exerk |
Posted: Fri Nov 15, 2013 3:13 pm Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
pardhunani143 wrote: |
I tried creating directory called Temp in C directory and run the java applications but still the log is not getting written |
Please post the dump of your channel attributes... _________________ 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 |
|
 |
pardhunani143 |
Posted: Fri Nov 15, 2013 11:17 pm Post subject: |
|
|
Novice
Joined: 23 Jul 2013 Posts: 22
|
C:\Windows\system32>runmqsc QMTEST
5724-H72 (C) Copyright IBM Corp. 1994, 2009. ALL RIGHTS RESERVED.
Starting MQSC for queue manager QMTEST.
Code: |
dis chl(TEST.SVRCONN)
1 : dis chl(TEST.SVRCONN)
AMQ8414: Display Channel details.
CHANNEL(TEST.SVRCONN) CHLTYPE(SVRCONN)
ALTDATE(2013-11-14) ALTTIME(02.57.00)
COMPHDR(NONE) COMPMSG(NONE)
DESCR( ) HBINT(300)
KAINT(AUTO) MAXINST(999999999)
MAXINSTC(999999999) MAXMSGL(4194304)
MCAUSER( ) MONCHL(QMGR)
RCVDATA( ) RCVEXIT( )
SCYDATA(FN=c:\temp\Blockspec.txt;) SCYEXIT(BlockIP2(BlockExit))
SENDDATA( ) SENDEXIT( )
SHARECNV(10) SSLCAUTH(REQUIRED)
SSLCIPH( ) SSLPEER( )
TRPTYPE(TCP) |
|
|
Back to top |
|
 |
fjb_saper |
Posted: Sat Nov 16, 2013 3:12 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
your Logdrive and Logpath are incorrect.
Either keep only Logpath or remove the logdrive information from Logpath....  _________________ MQ & Broker admin |
|
Back to top |
|
 |
pardhunani143 |
Posted: Sun Nov 17, 2013 7:44 am Post subject: |
|
|
Novice
Joined: 23 Jul 2013 Posts: 22
|
Code: |
LogPath=C:\temp;
LogFileName=BlockIP.log;
CON=*;;BLOCK;
|
I changed the BlockIP2 configuration file but still the logs are not getting written. Please advise . |
|
Back to top |
|
 |
fjb_saper |
Posted: Sun Nov 17, 2013 9:12 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
pardhunani143 wrote: |
Code: |
LogPath=C:\temp;
LogFileName=BlockIP.log;
CON=*;;BLOCK;
|
I changed the BlockIP2 configuration file but still the logs are not getting written. Please advise . |
Try:
Code: |
LogPath=C:\temp\;
LogFileName=BlockIP.log;
CON=*;;BLOCK;
|
and note the \ at the end of temp...  _________________ MQ & Broker admin |
|
Back to top |
|
 |
pardhunani143 |
Posted: Sun Nov 17, 2013 10:05 pm Post subject: |
|
|
Novice
Joined: 23 Jul 2013 Posts: 22
|
No luck
Code: |
LogPath=C:\temp\;
LogFileName=BlockIP.log;
CON=*;;BLOCK;
|
|
|
Back to top |
|
 |
|