Author |
Message
|
fede309 |
Posted: Tue Mar 15, 2016 7:35 am Post subject: |
|
|
Novice
Joined: 02 Mar 2012 Posts: 15
|
No way, I have tried also this "all flag" command, in the same order of the specification:
Code: |
mqsiapplybaroverride -b D:\myBarFile.bar -p D:\dev.properties -m "it.application.batch.LogRotator#maxFiles = 5" -k myService -y mySchemas -r -o devBarFile.bar -v D:\trace.log |
|
|
Back to top |
|
 |
mqjeff |
Posted: Tue Mar 15, 2016 7:38 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
You might only be able to specify a -k OR a -y. I forget. _________________ chmod -R ugo-wx / |
|
Back to top |
|
 |
fede309 |
Posted: Tue Mar 15, 2016 8:15 am Post subject: |
|
|
Novice
Joined: 02 Mar 2012 Posts: 15
|
mqjeff wrote: |
You might only be able to specify a -k OR a -y. I forget. |
I tried every combination, same error. |
|
Back to top |
|
 |
fjb_saper |
Posted: Tue Mar 15, 2016 8:27 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
I see that you're looking to be changing the LogRotator#maxFiles on potentially more than one flow (-r).
Try this and let us know:
Code: |
mqsiapplybaroverride -b D:\myBarFile.bar -m LogRotator#maxFiles=5 -r -o D:\outputBarFile.bar |
Let us know what the outcome of this operation is...
Have fun  _________________ MQ & Broker admin |
|
Back to top |
|
 |
fede309 |
Posted: Tue Mar 15, 2016 8:45 am Post subject: |
|
|
Novice
Joined: 02 Mar 2012 Posts: 15
|
Same error unfortunately.
This is the full output (sorry for localized messages).
Code: |
BIP8005E: Indicatore o argomento del comando mancante.
Il comando non funziona poichè manca un indicatore richiesto o un argomento dell'indicatore.
Correggere l'errore ed immettere di nuovo il comando.
BIP1136I: Questo comando sovrascrive le proprietà in un file BAR.
Sintassi:
mqsiapplybaroverride -b barFileName [-p overridesFile] [-m manualOverrides] [-k applicationName] [-y libraryName] [-r] [-o outputFile] [-v traceFileName] Opzioni coman
do:
'-b barFileName' Il nome del file BAR (in formato zip) da sovrascrivere.
'-p overridesFile' Il nome file del file di testo semplice che contiene uno di questi elementi: le proprietà del nodo di integrazione da sovrascrivere, l'intero nuovo
descrittore di distribuzione o un file BAR che contiene l'intero nuovo descrittore di distribuzione.
'-m manualOverrides' Un elenco separato da virgole di coppie chiave=valore che descrivono le sovrascritture da applicare. Su sistemi Windows, è necessario che l'elenco
venga racchiuso tra virgolette (""). Se utilizzato insieme a -p, le sovrascritture specificate con il parametro -m verranno effettuate dopo tutte le sovrascritture spe
cificate dal parametro -p.
'-k applicationName' Il nome dell'applicazione a cui verranno applicate le sovrascritture.
'-y libraryName' Il nome della libreria statica o della libreria condivisa a cui verranno applicate le sovrascritture.
'-r' richiede che le sovrascritture vengano applicate in modo ricorsivo attraverso applicazioni e librerie.
'-o outputFile' Il nome del file bar di output su cui devono essere eseguite le modifiche del file bar. Se questo nome non viene specificato, il file di input verrà so
vrascritto.
'-v traceFileName' La traccia interna dettagliata viene inviata al file specificato.
Nota: le sovrascritture devono essere fornite nel formato FLOW#NODE.PROPERTY=NEWVALUE o nel formato OLDVALUE=NEWVALUE. Se è utilizzato quest'ultimo formato, OLDVALUE d
eve essere già un valore sovrascritto nel descrittore di distribuzione. Specificare FLOW#NODE.PROPERTY da solo per rimuovere una sovrascrittura.
|
|
|
Back to top |
|
 |
fjb_saper |
Posted: Tue Mar 15, 2016 8:55 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Try once more and let us know:
Note the additional quotes. You may try once with single quotes and once with double quotes...
Code: |
mqsiapplybaroverride -b D:\myBarFile.bar -m "LogRotator#maxFiles=5" -r -o D:\outputBarFile.bar
or
mqsiapplybaroverride -b D:\myBarFile.bar -m "maxFiles=5" -r -o D:\outputBarFile.bar |
But careful on the last one. Not just LogRotator stuff with maxFiles might get replaced...
Now assuming you want to change the LogRotator in application app and library loggingLib....
Note that loggingLib is part of application app.
Code: |
mqsiapplybaroverride -b D:\myBarFile.bar -m "LogRotator#maxFiles=5" -k app -y loggingLib -o D:\outputBarFile.bar |
Let us know what the outcome of this operation is...
Have fun  _________________ MQ & Broker admin
Last edited by fjb_saper on Tue Mar 15, 2016 9:02 am; edited 2 times in total |
|
Back to top |
|
 |
fede309 |
Posted: Tue Mar 15, 2016 9:00 am Post subject: |
|
|
Novice
Joined: 02 Mar 2012 Posts: 15
|
fjb_saper wrote: |
Try once more and let us know:
Note the additional quotes. You may try once with single quotes and once with double quotes...
Code: |
mqsiapplybaroverride -b D:\myBarFile.bar -m "LogRotator#maxFiles=5" -r -o D:\outputBarFile.bar |
Let us know what the outcome of this operation is...
Have fun :innocent: |
I also tried this, same situation.
I think we have a bug here, but we need a confirmation from someone else. |
|
Back to top |
|
 |
maurito |
Posted: Tue Mar 15, 2016 10:00 am Post subject: |
|
|
Partisan
Joined: 17 Apr 2014 Posts: 358
|
fede309 wrote: |
fjb_saper wrote: |
Try once more and let us know:
Note the additional quotes. You may try once with single quotes and once with double quotes...
Code: |
mqsiapplybaroverride -b D:\myBarFile.bar -m "LogRotator#maxFiles=5" -r -o D:\outputBarFile.bar |
Let us know what the outcome of this operation is...
Have fun  |
I also tried this, same situation.
I think we have a bug here, but we need a confirmation from someone else. |
This is definitely a PMR. The command is not that complex, you should specify the bar file, the overrides file and , if needed, -r. If that does not work, then it is a regression, it should be backwards compatible. |
|
Back to top |
|
 |
Gralgrathor |
Posted: Tue Mar 15, 2016 10:47 pm Post subject: |
|
|
Master
Joined: 23 Jul 2009 Posts: 297
|
fede309 wrote: |
I there anyone with Win7+IIB10 that can do the same test? |
Code: |
BIP8996I: Version: 10003
BIP8997I: Product: IBM Integration Bus
BIP8998I: CMVC Level: S1000-L151118.10058
BIP8999I: Build Type: Production, 64 bit, amd64_nt_4 |
Running on Windows v6.1, build 7601, SP1, gives me this:
Code: |
C:\Temp>mqsiapplybaroverride -b C:\Temp\Relation.bar -p C:\Temp\env.properties -v C:\Temp\do.log -r
BIP1138I: Applying overrides using runtime mqsiapplybaroverride...
BIP1140I: Overriding property it.application.batch.LogRotator#logPath with 'D:\Temp\intbus' in 'Relation.appzip/META-INF/broker.xml' ...
BIP1140I: Overriding property it.application.batch.LogRotator#maxBytes with '10485760' in 'Relation.appzip/META-INF/broker.xml' ...
BIP1140I: Overriding property it.application.batch.LogRotator#maxFiles with '10' in 'Relation.appzip/META-INF/broker.xml'...
BIP1140I: Overriding property it.application.batch.LogRotator#logPath with 'D:\Temp\intbus' in 'Relation.appzip/Common.libzip/META-INF/broker.xml' ...
BIP1140I: Overriding property it.application.batch.LogRotator#maxBytes with '10485760' in 'Relation.appzip/Common.libzip/META-INF/broker.xml' ...
BIP1140I: Overriding property it.application.batch.LogRotator#maxFiles with '10' in 'Relation.appzip/Common.libzip/META-INF/broker.xml' ...
BIP1140I: Overriding property it.application.batch.LogRotator#logPath with 'D:\Temp\intbus' in 'Relation.appzip/GENERIC_Lib_ReqReply.libzip/META-INF/broker.xml' ...
BIP1140I: Overriding property it.application.batch.LogRotator#maxBytes with '10485760' in 'Relation.appzip/GENERIC_Lib_ReqReply.libzip/META-INF/broker.xml' ...
BIP1140I: Overriding property it.application.batch.LogRotator#maxFiles with '10' in 'Relation.appzip/GENERIC_Lib_ReqReply.libzip/META-INF/broker.xml' ...
BIP1140I: Overriding property it.application.batch.LogRotator#logPath with 'D:\Temp\intbus' in 'Relation.appzip/GENERIC_DLib_Database.libzip/META-INF/broker.xml' ...
BIP1140I: Overriding property it.application.batch.LogRotator#maxBytes with '10485760' in 'Relation.appzip/GENERIC_DLib_Database.libzip/META-INF/broker.xml' ...
BIP1140I: Overriding property it.application.batch.LogRotator#maxFiles with '10' in 'Relation.appzip/GENERIC_DLib_Database.libzip/META-INF/broker.xml' ...
BIP1140I: Overriding property it.application.batch.LogRotator#logPath with 'D:\Temp\intbus' in 'Relation.appzip/GENERIC_Lib_Service.libzip/META-INF/broker.xml' ...
BIP1140I: Overriding property it.application.batch.LogRotator#maxBytes with '10485760' in 'Relation.appzip/GENERIC_Lib_Service.libzip/META-INF/broker.xml' ...
BIP1140I: Overriding property it.application.batch.LogRotator#maxFiles with '10' in 'Relation.appzip/GENERIC_Lib_Service.libzip/META-INF/broker.xml' ...
BIP1140I: Overriding property it.application.batch.LogRotator#logPath with 'D:\Temp\intbus' in 'Relation.appzip/GENERIC_Lib_Common.libzip/META-INF/broker.xml' ...
BIP1140I: Overriding property it.application.batch.LogRotator#maxBytes with '10485760' in 'Relation.appzip/GENERIC_Lib_Common.libzip/META-INF/broker.xml' ...
BIP1140I: Overriding property it.application.batch.LogRotator#maxFiles with '10' in 'Relation.appzip/GENERIC_Lib_Common.libzip/META-INF/broker.xml' ...
BIP1140I: Overriding property it.application.batch.LogRotator#logPath with 'D:\Temp\intbus' in 'Relation.appzip/GENERIC_Lib_Wssecurity.libzip/META-INF/broker.xml' ...
BIP1140I: Overriding property it.application.batch.LogRotator#maxBytes with '10485760' in 'Relation.appzip/GENERIC_Lib_Wssecurity.libzip/META-INF/broker.xml' ...
BIP1140I: Overriding property it.application.batch.LogRotator#maxFiles with '10' in 'Relation.appzip/GENERIC_Lib_Wssecurity.libzip/META-INF/broker.xml' ...
BIP1140I: Overriding property it.application.batch.LogRotator#logPath with 'D:\Temp\intbus' in 'Relation.appzip/GENERIC_LLib_Xml.libzip/META-INF/broker.xml' ...
BIP1140I: Overriding property it.application.batch.LogRotator#maxBytes with '10485760' in 'Relation.appzip/GENERIC_LLib_Xml.libzip/META-INF/broker.xml' ...
BIP1140I: Overriding property it.application.batch.LogRotator#maxFiles with '10' in 'Relation.appzip/GENERIC_LLib_Xml.libzip/META-INF/broker.xml' ...
BIP1140I: Overriding property it.application.batch.LogRotator#logPath with 'D:\Temp\intbus' in 'Relation.appzip/GENERIC_LLib_Abf.libzip/META-INF/broker.xml' ...
BIP1140I: Overriding property it.application.batch.LogRotator#maxBytes with '10485760' in 'Relation.appzip/GENERIC_LLib_Abf.libzip/META-INF/broker.xml' ...
BIP1140I: Overriding property it.application.batch.LogRotator#maxFiles with '10' in 'Relation.appzip/GENERIC_LLib_Abf.libzip/META-INF/broker.xml' ...
BIP1143I: Saving Bar file C:\Temp\Relation.bar...
BIP8071I: Successful command completion. |
Was there nothing in your log files that would indicate the nature of the problem? _________________ A measure of wheat for a penny, and three measures of barley for a penny; and see thou hurt not the oil and the wine. |
|
Back to top |
|
 |
maurito |
Posted: Wed Mar 16, 2016 12:20 am Post subject: |
|
|
Partisan
Joined: 17 Apr 2014 Posts: 358
|
Gralgrathor wrote: |
fede309 wrote: |
I there anyone with Win7+IIB10 that can do the same test? |
Code: |
BIP8996I: Version: 10003
BIP8997I: Product: IBM Integration Bus
BIP8998I: CMVC Level: S1000-L151118.10058
BIP8999I: Build Type: Production, 64 bit, amd64_nt_4 |
Running on Windows v6.1, build 7601, SP1, gives me this:
Code: |
C:\Temp>mqsiapplybaroverride -b C:\Temp\Relation.bar -p C:\Temp\env.properties -v C:\Temp\do.log -r
BIP1138I: Applying overrides using runtime mqsiapplybaroverride...
BIP1140I: Overriding property it.application.batch.LogRotator#logPath with 'D:\Temp\intbus' in 'Relation.appzip/META-INF/broker.xml' ...
BIP1140I: Overriding property it.application.batch.LogRotator#maxBytes with '10485760' in 'Relation.appzip/META-INF/broker.xml' ...
BIP1140I: Overriding property it.application.batch.LogRotator#maxFiles with '10' in 'Relation.appzip/META-INF/broker.xml'...
BIP1140I: Overriding property it.application.batch.LogRotator#logPath with 'D:\Temp\intbus' in 'Relation.appzip/Common.libzip/META-INF/broker.xml' ...
BIP1140I: Overriding property it.application.batch.LogRotator#maxBytes with '10485760' in 'Relation.appzip/Common.libzip/META-INF/broker.xml' ...
BIP1140I: Overriding property it.application.batch.LogRotator#maxFiles with '10' in 'Relation.appzip/Common.libzip/META-INF/broker.xml' ...
BIP1140I: Overriding property it.application.batch.LogRotator#logPath with 'D:\Temp\intbus' in 'Relation.appzip/GENERIC_Lib_ReqReply.libzip/META-INF/broker.xml' ...
BIP1140I: Overriding property it.application.batch.LogRotator#maxBytes with '10485760' in 'Relation.appzip/GENERIC_Lib_ReqReply.libzip/META-INF/broker.xml' ...
BIP1140I: Overriding property it.application.batch.LogRotator#maxFiles with '10' in 'Relation.appzip/GENERIC_Lib_ReqReply.libzip/META-INF/broker.xml' ...
BIP1140I: Overriding property it.application.batch.LogRotator#logPath with 'D:\Temp\intbus' in 'Relation.appzip/GENERIC_DLib_Database.libzip/META-INF/broker.xml' ...
BIP1140I: Overriding property it.application.batch.LogRotator#maxBytes with '10485760' in 'Relation.appzip/GENERIC_DLib_Database.libzip/META-INF/broker.xml' ...
BIP1140I: Overriding property it.application.batch.LogRotator#maxFiles with '10' in 'Relation.appzip/GENERIC_DLib_Database.libzip/META-INF/broker.xml' ...
BIP1140I: Overriding property it.application.batch.LogRotator#logPath with 'D:\Temp\intbus' in 'Relation.appzip/GENERIC_Lib_Service.libzip/META-INF/broker.xml' ...
BIP1140I: Overriding property it.application.batch.LogRotator#maxBytes with '10485760' in 'Relation.appzip/GENERIC_Lib_Service.libzip/META-INF/broker.xml' ...
BIP1140I: Overriding property it.application.batch.LogRotator#maxFiles with '10' in 'Relation.appzip/GENERIC_Lib_Service.libzip/META-INF/broker.xml' ...
BIP1140I: Overriding property it.application.batch.LogRotator#logPath with 'D:\Temp\intbus' in 'Relation.appzip/GENERIC_Lib_Common.libzip/META-INF/broker.xml' ...
BIP1140I: Overriding property it.application.batch.LogRotator#maxBytes with '10485760' in 'Relation.appzip/GENERIC_Lib_Common.libzip/META-INF/broker.xml' ...
BIP1140I: Overriding property it.application.batch.LogRotator#maxFiles with '10' in 'Relation.appzip/GENERIC_Lib_Common.libzip/META-INF/broker.xml' ...
BIP1140I: Overriding property it.application.batch.LogRotator#logPath with 'D:\Temp\intbus' in 'Relation.appzip/GENERIC_Lib_Wssecurity.libzip/META-INF/broker.xml' ...
BIP1140I: Overriding property it.application.batch.LogRotator#maxBytes with '10485760' in 'Relation.appzip/GENERIC_Lib_Wssecurity.libzip/META-INF/broker.xml' ...
BIP1140I: Overriding property it.application.batch.LogRotator#maxFiles with '10' in 'Relation.appzip/GENERIC_Lib_Wssecurity.libzip/META-INF/broker.xml' ...
BIP1140I: Overriding property it.application.batch.LogRotator#logPath with 'D:\Temp\intbus' in 'Relation.appzip/GENERIC_LLib_Xml.libzip/META-INF/broker.xml' ...
BIP1140I: Overriding property it.application.batch.LogRotator#maxBytes with '10485760' in 'Relation.appzip/GENERIC_LLib_Xml.libzip/META-INF/broker.xml' ...
BIP1140I: Overriding property it.application.batch.LogRotator#maxFiles with '10' in 'Relation.appzip/GENERIC_LLib_Xml.libzip/META-INF/broker.xml' ...
BIP1140I: Overriding property it.application.batch.LogRotator#logPath with 'D:\Temp\intbus' in 'Relation.appzip/GENERIC_LLib_Abf.libzip/META-INF/broker.xml' ...
BIP1140I: Overriding property it.application.batch.LogRotator#maxBytes with '10485760' in 'Relation.appzip/GENERIC_LLib_Abf.libzip/META-INF/broker.xml' ...
BIP1140I: Overriding property it.application.batch.LogRotator#maxFiles with '10' in 'Relation.appzip/GENERIC_LLib_Abf.libzip/META-INF/broker.xml' ...
BIP1143I: Saving Bar file C:\Temp\Relation.bar...
BIP8071I: Successful command completion. |
Was there nothing in your log files that would indicate the nature of the problem? |
The OP may need to upgrade to the latest fix pack then as he has not specified which one he is using.. |
|
Back to top |
|
 |
fede309 |
Posted: Wed Mar 16, 2016 12:50 am Post subject: |
|
|
Novice
Joined: 02 Mar 2012 Posts: 15
|
Sorry for that, this is my IIB version (OS: Windows 7 Professional x64 SP1)
Code: |
BIP8996I: Versione: 10003
BIP8997I: Prodotto: IBM Integration Bus
BIP8998I: Livello CMVC: S1000-L151118.10058
BIP8999I: Tipo di build: Production, 64 bit, amd64_nt_4 |
No help from log files, only BIP8005E. |
|
Back to top |
|
 |
fede309 |
Posted: Wed Mar 16, 2016 1:50 am Post subject: |
|
|
Novice
Joined: 02 Mar 2012 Posts: 15
|
Today it works.
It's the same command that I launched yesterday and the same of Gralgrathor's test.
This morning I changed OS current location to United States, but I don't think this was the cause because I reverted to Italy again and still it works.
I'll do further investigation..
Anyway, thanks for the support. |
|
Back to top |
|
 |
fjb_saper |
Posted: Wed Mar 16, 2016 4:16 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
fede309 wrote: |
Today it works.
It's the same command that I launched yesterday and the same of Gralgrathor's test.
This morning I changed OS current location to United States, but I don't think this was the cause because I reverted to Italy again and still it works.
I'll do further investigation..
Anyway, thanks for the support. |
Sounds suspiciously like if you had copied the command from a Word document where the "-" are m/n dashes ... (Look like dashes but hex show a different value from dash). As such the flags would not have been recognized...  _________________ MQ & Broker admin |
|
Back to top |
|
 |
|