Skip to content

Instantly share code, notes, and snippets.

View almaz-uno's full-sized avatar

Maxim Kovrov almaz-uno

  • Moscow (UTC+3), Russian Federation
View GitHub Profile

IBM WebSphere MQ 7.1 and upper

runmqsc 
ALTER QMGR CHLAUTH(DISABLED);

Ошибка XAER RMERR

При использовании распределенных транзакций в IBM WAS с Oracle DB возникают ошибки XAER_RMERR. Ниже покажем, как их чиниить. Описание Логи забиваются сообщениями об ошибках:

2013-06-04 13:58:57,363 ERROR [com.ibm.ws.Transaction.JTA.XARminst] v9.2.0.184049 (vyp2-was2 Default : DMN0) WTRN0037W: Служба транзакций обнаружила ошибку в операции xa_recover. 
Ресурс: com.ibm.ws.rsadapter.spi.WSRdbXaResourceImpl@15971597. 
Код ошибки: XAER_RMERR. 
Трассировка стека исключительной ситуации: javax.transaction.xa.XAException
# Switch to the master branch and make sure you are up to date.
git checkout master
git fetch # this may be necessary (depending on your git config) to receive updates on origin/master
git pull

# Merge the feature branch into the master branch.
git merge feature_branch

# Reset the master branch to origin's state.

Source topic

Cygwin SSHD HowTo

How to run the OpenSSH SSHD server on Windows using Cygwin

Install the following Cygwin packages (rerun setup if necessary -- you can add packages after you have already installed Cygwin).

Admin --> cygrunsrv Net --> openssh

tar -cO --exclude-vcs --exclude=bitbucket-pipelines.yml . | tar -xv -C "${PACKAGE_PATH}"
tar -cO --exclude-vcs --exclude=bitbucket-pipelines.yml . | tar -xv -C "${PACKAGE_PATH}"
@almaz-uno
almaz-uno / ImportDocument11.xml
Last active March 18, 2020 09:53
Misc documents
<?xml version="1.0" encoding="windows-1251"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<NS1:ImportDocument xmlns:NS1="urn:ImportSignedDocumentIntf-ImportSignedDocument">
<CustID xsi:type="xsd:int">1</CustID>
<DocScheme xsi:type="xsd:string">PayDocRu</DocScheme>
<DocVersion xsi:type="xsd:int">644</DocVersion>
<DocData xsi:type="xsd:string"><![CDATA[<?xml version="1.0" encoding="windows-1251"?>