protected log listener not masking transaction manager dump in q2.log

56 views
Skip to first unread message

Ruchira Khandelwal

unread,
Apr 23, 2019, 10:30:51 AM4/23/19
to jPOS Users
Hi,

I  am using protected log listener to mask some fields in my q2.log.I could see that in q2 log the channel level request/response is masked but the dump by transaction manager is
not masked.Can anyone help me to figure out how to mask transaction manager dump in q2.log

Thanks,
Ruchira

David Bergert

unread,
Apr 23, 2019, 10:50:18 AM4/23/19
to jpos-...@googlegroups.com
Look into the "org.jpos.transaction.ProtectDebugInfo"  Participant 


--
--
jPOS is licensed under AGPL - free for community usage for your open-source project. Licenses are also available for commercial usage. Please support jPOS, contact: sa...@jpos.org
---
You received this message because you are subscribed to the Google Groups "jPOS Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jpos-users+...@googlegroups.com.
To post to this group, send email to jpos-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jpos-users/a406b7bc-8e52-4ac1-9011-9a30b0cbc050%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--
David Bergert
CTO
p:972.535.8833  m: 563.424.0875
w:olspayments.com
e:david.bergert@olspayments.com

Ruchira Khandelwal

unread,
Apr 23, 2019, 11:29:15 AM4/23/19
to jPOS Users
I am getting following error:
    init
    <iso-exception>
      org.jpos.transaction.ProtectDebugInfo
      <nested-exception>
      javax.management.ReflectionException: The MBean class could not be loaded

I do not see org.jpos.transaction.ProtectDebugInfo in my jpos

please help

On Tuesday, April 23, 2019 at 10:50:18 AM UTC-4, David Bergert wrote:
Look into the "org.jpos.transaction.ProtectDebugInfo"  Participant 


On Tue, Apr 23, 2019 at 9:30 AM Ruchira Khandelwal <ruchi...@gmail.com> wrote:
Hi,

I  am using protected log listener to mask some fields in my q2.log.I could see that in q2 log the channel level request/response is masked but the dump by transaction manager is
not masked.Can anyone help me to figure out how to mask transaction manager dump in q2.log

Thanks,
Ruchira

--
--
jPOS is licensed under AGPL - free for community usage for your open-source project. Licenses are also available for commercial usage. Please support jPOS, contact: sa...@jpos.org
---
You received this message because you are subscribed to the Google Groups "jPOS Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jpos-...@googlegroups.com.

To post to this group, send email to jpos-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jpos-users/a406b7bc-8e52-4ac1-9011-9a30b0cbc050%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--
David Bergert
CTO
p:972.535.8833  m: 563.424.0875
w:olspayments.com
e:david.bergert...@olspayments.com

Alejandro Revilla

unread,
Apr 23, 2019, 12:51:23 PM4/23/19
to jPOS Users

ProtectDebugInfo is in the txn module of jPOS-EE, you can add it as a dependency using:

org.jpos.ee:jposee-txn:2-2-6-SNAPSHOT

Because this is a very commonly used participant even outside jPOS-EE, we’ll consider graduating it to jPOS’ codebase.

Here is the code, in case you just want to adopt it in your codebase: https://github.com/jpos/jPOS-EE/blob/master/modules/txn/src/main/java/org/jpos/transaction/ProtectDebugInfo.java




To unsubscribe from this group and stop receiving emails from it, send an email to jpos-users+...@googlegroups.com.

To post to this group, send email to jpos-...@googlegroups.com.

Ruchira Khandelwal

unread,
Apr 23, 2019, 1:17:17 PM4/23/19
to jPOS Users
I tried using jpos-ee 2.2.5 as our current application is using.The participants got created but still I see txmgr dump not protected/masked

Alejandro Revilla

unread,
Apr 23, 2019, 2:54:10 PM4/23/19
to jPOS Users
Can you show us the output of the TM in the log? 



To unsubscribe from this group and stop receiving emails from it, send an email to jpos-users+...@googlegroups.com.

To post to this group, send email to jpos-...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages