OxalisCommunity / Oxalis-AS4

PEPPOL AS4 pMode plugin for Oxalis
33 stars 26 forks source link

Hitting 'cannot read the array length because password is null' when sending message to testbed #261

Closed evanswappf closed 1 month ago

evanswappf commented 2 months ago

Hi I encountered issue while sending xml message to testbed using oxalis-standalone by running this command

java -classpath "oxalis-distribution-6.7.0-distro/api/*;oxalis-as4-6.7.0-dist/*;oxalis-distribution-6.7.0-distro/bin/*" eu.sendregning.oxalis.Main -f .\sample.xml -cert .\cert.cer --protocol peppol-transport-as4-v2_0 -u https://peppol-ap-testbed.appfuxion.com/as4

Here are the steps I run to send

oxalis.keystore {
        path=keystore.jks
        password = jar3qF9LnPC8
        key.alias = cert
        key.password = jar3qF9LnPC8
}

 # Where to store inbound files
oxalis.path.inbound = /var/peppol/IN

oxalis.path.plugin = oxalis-plugin

oxalis.logging.config=logback.xml

Screenshot 2024-10-04 170010

-----BEGIN CERTIFICATE-----
MIIF1jCCA76gAwIBAgIQS7H51ox7ssA4rLJFoKvz9TANBgkqhkiG9w0BAQsFADBr
MQswCQYDVQQGEwJCRTEZMBcGA1UEChMQT3BlblBFUFBPTCBBSVNCTDEWMBQGA1UE
CxMNRk9SIFRFU1QgT05MWTEpMCcGA1UEAxMgUEVQUE9MIEFDQ0VTUyBQT0lOVCBU
RVNUIENBIC0gRzIwHhcNMjQwNjE4MDAwMDAwWhcNMjYwNjA4MjM1OTU5WjBjMQsw
CQYDVQQGEwJNWTEnMCUGA1UECgweQXBwZnV4aW9uIENvbnN1bHRpbmc
KNT1grPsx8IWp1QMPlBRgFni1+SzrxK6bFaW6HTqbNdMn2mASADcGPIJicnsZlql
g1xt5H7CKQwHvA==
-----END CERTIFICATE-----
2024-10-04 16:42:19,114 DEBUG [network.oxalis.as4.util.PolicyService] Policy classpath: /eDeliveryAS4Policy_BST.xml
Oct 04, 2024 4:42:19 PM org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean buildServiceFromClass
INFO: Creating Service {oxalis.network/}outbound-service from class org.apache.cxf.jaxws.support.DummyImpl
Oct 04, 2024 4:42:19 PM org.apache.cxf.configuration.jsse.SSLUtils loadDefaultKeyManagers
WARNING: Default key managers cannot be initialized: Get Key failed: Cannot read the array length because "password" is null
java.security.UnrecoverableKeyException: Get Key failed: Cannot read the array length because "password" is null
        at java.base/sun.security.pkcs12.PKCS12KeyStore.engineGetKey(PKCS12KeyStore.java:450)
        at java.base/sun.security.util.KeyStoreDelegator.engineGetKey(KeyStoreDelegator.java:91)
        at java.base/java.security.KeyStore.getKey(KeyStore.java:1050)
        at java.base/sun.security.ssl.SunX509KeyManagerImpl.<init>(SunX509KeyManagerImpl.java:141)
        at java.base/sun.security.ssl.KeyManagerFactoryImpl$SunX509.engineInit(KeyManagerFactoryImpl.java:64)
        at java.base/javax.net.ssl.KeyManagerFactory.init(KeyManagerFactory.java:275)
        at org.apache.cxf.configuration.jsse.SSLUtils.loadDefaultKeyManagers(SSLUtils.java:115)
        at org.apache.cxf.configuration.jsse.SSLUtils.getDefaultKeyStoreManagers(SSLUtils.java:88)
        at org.apache.cxf.transport.https.SSLUtils.getSSLContextInitParameters(SSLUtils.java:70)
        at org.apache.cxf.transport.https.SSLUtils.getSSLContext(SSLUtils.java:95)
        at org.apache.cxf.transport.https.HttpsURLConnectionFactory.decorateWithTLS(HttpsURLConnectionFactory.java:144)
        at org.apache.cxf.transport.https.HttpsURLConnectionFactory.createConnection(HttpsURLConnectionFactory.java:101)
        at org.apache.cxf.transport.http.URLConnectionHTTPConduit.createConnection(URLConnectionHTTPConduit.java:121)
        at org.apache.cxf.transport.http.URLConnectionHTTPConduit.setupConnection(URLConnectionHTTPConduit.java:125)
        at org.apache.cxf.transport.http.HTTPConduit.prepare(HTTPConduit.java:522)
        at org.apache.cxf.interceptor.MessageSenderInterceptor.handleMessage(MessageSenderInterceptor.java:47)
        at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:307)
        at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:530)
        at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:441)
        at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:356)
        at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:314)
        at org.apache.cxf.endpoint.ClientImpl.invokeWrapped(ClientImpl.java:349)
        at org.apache.cxf.jaxws.DispatchImpl.invoke(DispatchImpl.java:322)
        at org.apache.cxf.jaxws.DispatchImpl.invoke(DispatchImpl.java:241)
        at network.oxalis.as4.outbound.As4MessageSender.invoke(As4MessageSender.java:106)
        at network.oxalis.as4.outbound.As4MessageSender.send(As4MessageSender.java:90)
        at network.oxalis.as4.outbound.As4MessageSenderFacade.send(As4MessageSenderFacade.java:20)
        at network.oxalis.api.outbound.MessageSender.send(MessageSender.java:59)
        at network.oxalis.outbound.transmission.DefaultTransmitter.perform(DefaultTransmitter.java:149)
        at network.oxalis.outbound.transmission.DefaultTransmitter.transmit(DefaultTransmitter.java:93)
        at eu.sendregning.oxalis.TransmissionTask.performTransmission(TransmissionTask.java:167)
        at eu.sendregning.oxalis.TransmissionTask.call(TransmissionTask.java:94)
        at eu.sendregning.oxalis.TransmissionTask.call(TransmissionTask.java:48)
        at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
        at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
        at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
        at java.base/java.lang.Thread.run(Thread.java:842)
Caused by: java.lang.NullPointerException: Cannot read the array length because "password" is null
        at java.base/sun.security.pkcs12.PKCS12KeyStore$RetryWithZero.run(PKCS12KeyStore.java:259)
        at java.base/sun.security.pkcs12.PKCS12KeyStore.engineGetKey(PKCS12KeyStore.java:361)
        ... 38 more

2024-10-04 16:42:19,513 DEBUG [org.apache.jcp.xml.dsig.internal.dom.DOMReference] Marshalling Reference
2024-10-04 16:42:19,513 DEBUG [org.apache.jcp.xml.dsig.internal.dom.DOMReference] Adding digestValueElem
2024-10-04 16:42:19,513 DEBUG [org.apache.jcp.xml.dsig.internal.dom.DOMReference] Marshalling Reference
2024-10-04 16:42:19,513 DEBUG [org.apache.jcp.xml.dsig.internal.dom.DOMReference] Adding digestValueElem
2024-10-04 16:42:19,513 DEBUG [org.apache.jcp.xml.dsig.internal.dom.DOMReference] Marshalling Reference
2024-10-04 16:42:19,513 DEBUG [org.apache.jcp.xml.dsig.internal.dom.DOMReference] Adding digestValueElem
2024-10-04 16:42:19,522 DEBUG [org.apache.jcp.xml.dsig.internal.dom.DOMReference] URIDereferencer class name: org.apache.jcp.xml.dsig.internal.dom.DOMURIDereferencer
2024-10-04 16:42:19,523 DEBUG [org.apache.jcp.xml.dsig.internal.dom.DOMReference] Data class name: org.apache.jcp.xml.dsig.internal.dom.ApacheNodeSetData
2024-10-04 16:42:19,523 DEBUG [org.apache.xml.security.transforms.Transform] Create URI "http://www.w3.org/2001/10/xml-exc-c14n#" class "class org.apache.xml.security.transforms.implementations.TransformC14NExclusive"
2024-10-04 16:42:19,523 DEBUG [org.apache.xml.security.transforms.Transform] The NodeList is [ds:Transform: null]
2024-10-04 16:42:19,524 DEBUG [org.apache.xml.security.utils.ElementProxy] setElement(ds:Transform, "null")
2024-10-04 16:42:19,524 DEBUG [org.apache.jcp.xml.dsig.internal.dom.ApacheCanonicalizer] Created transform for algorithm: http://www.w3.org/2001/10/xml-exc-c14n#
2024-10-04 16:42:19,524 DEBUG [org.apache.jcp.xml.dsig.internal.dom.ApacheCanonicalizer] ApacheData = true
2024-10-04 16:42:19,524 DEBUG [org.apache.jcp.xml.dsig.internal.DigesterOutputStream] Pre-digested input:
2024-10-04 16:42:19,524 DEBUG [org.apache.jcp.xml.dsig.internal.DigesterOutputStream] <env:Body xmlns:env="http://www.w3.org/2003/05/soap-envelope" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="_2ad4466d-aa1a-4caa-a54d-29f75eec3158"></env:Body>
2024-10-04 16:42:19,524 DEBUG [org.apache.jcp.xml.dsig.internal.dom.DOMReference] Reference object uri = #_2ad4466d-aa1a-4caa-a54d-29f75eec3158
2024-10-04 16:42:19,524 DEBUG [org.apache.jcp.xml.dsig.internal.dom.DOMReference] Reference digesting completed
2024-10-04 16:42:19,524 DEBUG [org.apache.jcp.xml.dsig.internal.dom.DOMReference] URIDereferencer class name: org.apache.jcp.xml.dsig.internal.dom.DOMURIDereferencer
2024-10-04 16:42:19,524 DEBUG [org.apache.jcp.xml.dsig.internal.dom.DOMReference] Data class name: org.apache.jcp.xml.dsig.internal.dom.ApacheNodeSetData
2024-10-04 16:42:19,524 DEBUG [org.apache.xml.security.transforms.Transform] Create URI "http://www.w3.org/2001/10/xml-exc-c14n#" class "class org.apache.xml.security.transforms.implementations.TransformC14NExclusive"
2024-10-04 16:42:19,524 DEBUG [org.apache.xml.security.transforms.Transform] The NodeList is [ds:Transform: null]
2024-10-04 16:42:19,524 DEBUG [org.apache.xml.security.utils.ElementProxy] setElement(ds:Transform, "null")
2024-10-04 16:42:19,524 DEBUG [org.apache.jcp.xml.dsig.internal.dom.ApacheCanonicalizer] Created transform for algorithm: http://www.w3.org/2001/10/xml-exc-c14n#
2024-10-04 16:42:19,524 DEBUG [org.apache.jcp.xml.dsig.internal.dom.ApacheCanonicalizer] ApacheData = true
2024-10-04 16:42:19,524 DEBUG [org.apache.jcp.xml.dsig.internal.DigesterOutputStream] Pre-digested input:
2024-10-04 16:42:19,529 DEBUG [org.apache.jcp.xml.dsig.internal.DigesterOutputStream] <ns2:Messaging xmlns:env="http://www.w3.org/2003/05/soap-envelope" xmlns:ns2="http://docs.oasis-open.org/ebxml-msg/ebms/v3.0/ns/core/200704/" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="_f9cef8b9-9d56-4bae-8e07-b5c72fec067e" env:mustUnderstand="true"><ns2:UserMessage><ns2:MessageInfo><ns2:Timestamp>2024-10-04T16:42:19.323+08:00</ns2:Timestamp><ns2:MessageId>bc7c1afc-32c9-4272-8f51-45971555f46e@host.docker.internal</ns2:MessageId></ns2:MessageInfo><ns2:PartyInfo><ns2:From><ns2:PartyId type="urn:fdc:peppol.eu:2017:identifiers:ap">PMY000676</ns2:PartyId><ns2:Role>http://docs.oasis-open.org/ebxml-msg/ebms/v3.0/ns/core/200704/initiator</ns2:Role></ns2:From><ns2:To><ns2:PartyId type="urn:fdc:peppol.eu:2017:identifiers:ap">PMY000676</ns2:PartyId><ns2:Role>http://docs.oasis-open.org/ebxml-msg/ebms/v3.0/ns/core/200704/responder</ns2:Role></ns2:To></ns2:PartyInfo><ns2:CollaborationInfo><ns2:AgreementRef>urn:fdc:peppol.eu:2017:agreements:tia:ap_provider</ns2:AgreementRef><ns2:Service type="cenbii-procid-ubl">urn:peppol:bis:billing</ns2:Service><ns2:Action>busdox-docid-qns::urn:oasis:names:specification:ubl:schema:xsd:Invoice-2::Invoice##urn:peppol:pint:billing-1@my-1::2.1</ns2:Action><ns2:ConversationId>2c41c8bc-5bac-4f75-8921-ee94c30960fe@host.docker.internal</ns2:ConversationId></ns2:CollaborationInfo><ns2:MessageProperties><ns2:Property name="originalSender" type="iso6523-actorid-upis">0230:051312314</ns2:Property><ns2:Property name="finalRecipient" type="iso6523-actorid-upis">9922:ngtbcntrlp100</ns2:Property></ns2:MessageProperties><ns2:PayloadInfo><ns2:PartInfo href="cid:de8be787-8da2-45b2-9209-e7f1ba018dc1@host.docker.internal"><ns2:PartProperties><ns2:Property name="CompressionType">application/gzip</ns2:Property><ns2:Property name="MimeType">application/xml</ns2:Property></ns2:PartProperties></ns2:PartInfo></ns2:PayloadInfo></ns2:UserMessage></ns2:Messaging>
2024-10-04 16:42:19,529 DEBUG [org.apache.jcp.xml.dsig.internal.dom.DOMReference] Reference object uri = #_f9cef8b9-9d56-4bae-8e07-b5c72fec067e
2024-10-04 16:42:19,529 DEBUG [org.apache.jcp.xml.dsig.internal.dom.DOMReference] Reference digesting completed
2024-10-04 16:42:19,532 DEBUG [org.apache.xml.security.utils.resolver.ResourceResolver] check resolvability by class org.apache.xml.security.utils.resolver.implementations.ResolverFragment
2024-10-04 16:42:19,533 DEBUG [org.apache.xml.security.utils.resolver.implementations.ResolverFragment] Do not seem to be able to resolve reference: "cid:de8be787-8da2-45b2-9209-e7f1ba018dc1@host.docker.internal"
2024-10-04 16:42:19,533 DEBUG [org.apache.xml.security.utils.resolver.ResourceResolver] check resolvability by class org.apache.xml.security.utils.resolver.implementations.ResolverXPointer
2024-10-04 16:42:19,533 DEBUG [org.apache.xml.security.utils.resolver.ResourceResolver] check resolvability by class org.apache.wss4j.dom.resolvers.ResolverAttachment
2024-10-04 16:42:19,533 DEBUG [org.apache.jcp.xml.dsig.internal.dom.DOMReference] URIDereferencer class name: org.apache.jcp.xml.dsig.internal.dom.DOMURIDereferencer
2024-10-04 16:42:19,533 DEBUG [org.apache.jcp.xml.dsig.internal.dom.DOMReference] Data class name: org.apache.jcp.xml.dsig.internal.dom.ApacheOctetStreamData
2024-10-04 16:42:19,533 DEBUG [org.apache.jcp.xml.dsig.internal.DigesterOutputStream] Pre-digested input:
2024-10-04 16:42:19,533 DEBUG [org.apache.jcp.xml.dsig.internal.DigesterOutputStream] ??ZYs?8~?V?`i^#????Y?(%?&?5?25??-?D$nHP?????o?^?=???]W*6?F???Ap␦'?
??<
l??`????I????yrL??M???I?????ND??;????+2?.A.N??A???G?,??t?9m?Q*F????????t?i?4???0I???????6??Y=??7-;?}Uk??0b????tY????W4E???/?%tET??`??T?x??????q??~?(?\+WD???J?M????G>?x(??      ??$8a3??D?$0??E???????g??????<2???      ?^W;
???r7????e???ey0?Un????{{y?h?qlxy? YO????????A
?????u*???m&dB?)E??W-????\*,M????:p????;??zy?_-
Z??)?|???M????28???s&'????qlrh+??s[?L???? f??????<???$?J??F?p?f{g,w????Y?>I?y?&&??>????o????U{?OC????}s????c)????G?)   zi&Pf1??@?i=+?
?u=2;||?:???G@R?V[<_?E|?O!&6???????Z={????U+??????2??Bo??i?H??l|???`q???9[?/`gF???a?f??h!?(mY?v<Ab5?h?????`_*2?=z?x`x?O??m/?????0??<n??i7????=3?R??????3?w?UT'??"?G??E?A=?[?SVX????6␦?>;??9?D␦?
?/a$U??????U??i??@?4?k??h0????iY??L????T???[??24?5?Q?TZ
2W??
o?S????R???$    ?}?     ?6???<????p8(?????0<??I>G??5????l?S?i`<??????gJ.7}?m?>???z?f?^??????????(?L????m?????f?e????$?SIx??B??]:???6,?'
??
?`ZF?
?W???468C?]t:9?
la??K?g?7'?????6)?!nZ???????S?^d??
IF???u???9?[??Qak?????r??v??Gk???8??(G???&??
}?CF???J?@"??????2??O??q?&??w?v?????T??

?E???T??D?"IF??????){??$6%~&????7?????dG?(
?E>I$+????;???3?"g?????E????VO>??_b???n??l?M??????UJ?<␦???<??K???????i?ZJ~?F?Y?i??;t???/?U?J???4?S?d?)???]}??]?????4_n??p^???d???/?Z???Hy!???*k4.?|4?[:?>??\#??e???wn?????J?@??.????o
?5H??????W??Gp?????)y?I????
??]e?d?`?,}:z^=?)??@UG??(??u??w(???1?
Q???W?V5TT4?????????o*??        m*??)i??g?"??tJpL??[|??????j????????,?????B?`?
?r?????(]?????6!???????F?h????????An    HE???G?␦??????zc???O??D??:???gco??"o=?r??????H?ij???s?s??[?????Q??r????7T??33???
?^UL?nH??{?d??f5?YEO4?qF??1␦]?Ul?       ??*??????       E}Q3?␦?????B??n}L?p
??u/.?????v'$m???W>k?H???D?????M??1D_?f?_??6??"???s???ti??d??{? b??$??????JOV???~?l?OKU?%?:?Jo??0?A?????????p??%?????+???E??>?c?M}~?"
di1???-??J?DW??x????qD?!?|??"M`??C??P????D[??$??O%ts??|?KJ@~???UN_??)???I????<???????c*??
?{?
x?3??t???}U???^?9'?
=8??c??R~9!??????????I??EN??)c???????????????? ??|2?(?z?*D????\b?r+P????T??v]bP?J??]??]??????f??,h..0?"]??@??QM??7?y_?._?C%?46?+?%????1H}nC????#??R?????rJ???wF????_???M?␦?????????)??u-?nH?????eq?p??l?8?a_RTh_4??;]?}!??v?4??d5??,?!?^?=???n??l????C7?b?c8?g5??5I??3K?{E;w={?????3?t????9??
y?%
??Y}??z??>???E7?/???^t?,m???\s?????`?!
4~????K???-
2024-10-04 16:42:19,533 DEBUG [org.apache.jcp.xml.dsig.internal.dom.DOMReference] Reference object uri = cid:de8be787-8da2-45b2-9209-e7f1ba018dc1@host.docker.internal
2024-10-04 16:42:19,533 DEBUG [org.apache.jcp.xml.dsig.internal.dom.DOMReference] Reference digesting completed
2024-10-04 16:42:19,533 DEBUG [org.apache.jcp.xml.dsig.internal.dom.DOMSignatureMethod] Signature provider: SunRsaSign version 17
2024-10-04 16:42:19,533 DEBUG [org.apache.jcp.xml.dsig.internal.dom.DOMSignatureMethod] Signing with key: sun.security.rsa.RSAPrivateCrtKeyImpl@3744fb99
2024-10-04 16:42:19,533 DEBUG [org.apache.jcp.xml.dsig.internal.dom.DOMSignatureMethod] JCA Algorithm: SHA256withRSA
2024-10-04 16:42:19,533 DEBUG [org.apache.xml.security.transforms.Transform] Create URI "http://www.w3.org/2001/10/xml-exc-c14n#" class "class org.apache.xml.security.transforms.implementations.TransformC14NExclusive"
2024-10-04 16:42:19,533 DEBUG [org.apache.xml.security.transforms.Transform] The NodeList is [ds:CanonicalizationMethod: null]
2024-10-04 16:42:19,533 DEBUG [org.apache.xml.security.utils.ElementProxy] setElement(ds:CanonicalizationMethod, "null")

2024-10-04 16:42:19,533 DEBUG [org.apache.jcp.xml.dsig.internal.dom.ApacheCanonicalizer] Created transform for algorithm: http://www.w3.org/2001/10/xml-exc-c14n#
2024-10-04 16:42:19,533 DEBUG [org.apache.jcp.xml.dsig.internal.dom.ApacheCanonicalizer] isNodeSet() = true
2024-10-04 16:42:19,533 DEBUG [org.apache.xml.security.utils.ElementProxy] setElement("ec:InclusiveNamespaces", "null")
2024-10-04 16:42:19,533 DEBUG [org.apache.jcp.xml.dsig.internal.dom.DOMSignedInfo] Canonicalized SignedInfo:
2024-10-04 16:42:19,533 DEBUG [org.apache.jcp.xml.dsig.internal.dom.DOMSignedInfo] <ds:SignedInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:env="http://www.w3.org/2003/05/soap-envelope"><ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"><ec:InclusiveNamespaces xmlns:ec="http://www.w3.org/2001/10/xml-exc-c14n#" PrefixList="env"></ec:InclusiveNamespaces></ds:CanonicalizationMethod><ds:SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></ds:SignatureMethod><ds:Reference URI="#_2ad4466d-aa1a-4caa-a54d-29f75eec3158"><ds:Transforms><ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></ds:Transform></ds:Transforms><ds:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></ds:DigestMethod><ds:DigestValue>dU9IO5LGcvGriJX28oK1pktBIxl78Ver8KDrXW1sHKQ=</ds:DigestValue></ds:Reference><ds:Reference URI="#_f9cef8b9-9d56-4bae-8e07-b5c72fec067e"><ds:Transforms><ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></ds:Transform></ds:Transforms><ds:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></ds:DigestMethod><ds:DigestValue>2VWtep+fGHagQBvIrRtagTcLxn2GM3prPPBHdYFZWMw=</ds:DigestValue></ds:Reference><ds:Reference URI="cid:de8be787-8da2-45b2-9209-e7f1ba018dc1@host.docker.internal"><ds:Transforms><ds:Transform Algorithm="http://docs.oasis-open.org/wss/oasis-wss-SwAProfile-1.1#Attachment-Content-Signature-Transform"></ds:Transform></ds:Transforms><ds:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></ds:DigestMethod><ds:DigestValue>GKjC1XtbTrm2x1TH6ntO0FBebedSXvNRqNGoXqHY0YA=</ds:DigestValue></ds:Reference></ds:SignedInfo>
2024-10-04 16:42:19,533 DEBUG [org.apache.jcp.xml.dsig.internal.dom.DOMSignedInfo] Data to be signed/verified:PGRzOlNpZ25lZEluZm8geG1sbnM6ZHM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvMDkveG1sZHNpZyMiIHhtbG5zOmVudj0iaHR0cDovL3d3dy53My5vcmcvMjAwMy8wNS9zb2FwLWVudmVsb3BlIj48ZHM6Q2Fub25pY2FsaXphdGlvbk1ldGhvZCBBbGdvcml0aG09Imh0dHA6Ly93d3cudzMub3JnLzIwMDEvMTAveG1sLWV4Yy1jMTRuIyI+PGVjOkluY2x1c2l2ZU5hbWVzcGFjZXMgeG1sbnM6ZWM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDEvMTAveG1sLWV4Yy1jMTRuIyIgUHJlZml4TGlzdD0iZW52Ij48L2VjOkluY2x1c2l2ZU5hbWVzcGFjZXM+PC9kczpDYW5vbmljYWxpemF0aW9uTWV0aG9kPjxkczpTaWduYXR1cmVNZXRob2QgQWxnb3JpdGhtPSJodHRwOi8vd3d3LnczLm9yZy8yMDAxLzA0L3htbGRzaWctbW9yZSNyc2Etc2hhMjU2Ij48L2RzOlNpZ25hdHVyZU1ldGhvZD48ZHM6UmVmZXJlbmNlIFVSST0iI18yYWQ0NDY2ZC1hYTFhLTRjYWEtYTU0ZC0yOWY3NWVlYzMxNTgiPjxkczpUcmFuc2Zvcm1zPjxkczpUcmFuc2Zvcm0gQWxnb3JpdGhtPSJodHRwOi8vd3d3LnczLm9yZy8yMDAxLzEwL3htbC1leGMtYzE0biMiPjwvZHM6VHJhbnNmb3JtPjwvZHM6VHJhbnNmb3Jtcz48ZHM6RGlnZXN0TWV0aG9kIEFsZ29yaXRobT0iaHR0cDovL3d3dy53My5vcmcvMjAwMS8wNC94bWxlbmMjc2hhMjU2Ij48L2RzOkRpZ2VzdE1ldGhvZD48ZHM6RGlnZXN0VmFsdWU+ZFU5SU81TEdjdkdyaUpYMjhvSzFwa3RCSXhsNzhWZXI4S0RyWFcxc0hLUT08L2RzOkRpZ2VzdFZhbHVlPjwvZHM6UmVmZXJlbmNlPjxkczpSZWZlcmVuY2UgVVJJPSIjX2Y5Y2VmOGI5LTlkNTYtNGJhZS04ZTA3LWI1YzcyZmVjMDY3ZSI+PGRzOlRyYW5zZm9ybXM+PGRzOlRyYW5zZm9ybSBBbGdvcml0aG09Imh0dHA6Ly93d3cudzMub3JnLzIwMDEvMTAveG1sLWV4Yy1jMTRuIyI+PC9kczpUcmFuc2Zvcm0+PC9kczpUcmFuc2Zvcm1zPjxkczpEaWdlc3RNZXRob2QgQWxnb3JpdGhtPSJodHRwOi8vd3d3LnczLm9yZy8yMDAxLzA0L3htbGVuYyNzaGEyNTYiPjwvZHM6RGlnZXN0TWV0aG9kPjxkczpEaWdlc3RWYWx1ZT4yVld0ZXArZkdIYWdRQnZJclJ0YWdUY0x4bjJHTTNwclBQQkhkWUZaV013PTwvZHM6RGlnZXN0VmFsdWU+PC9kczpSZWZlcmVuY2U+PGRzOlJlZmVyZW5jZSBVUkk9ImNpZDpkZThiZTc4Ny04ZGEyLTQ1YjItOTIwOS1lN2YxYmEwMThkYzFAaG9zdC5kb2NrZXIuaW50ZXJuYWwiPjxkczpUcmFuc2Zvcm1zPjxkczpUcmFuc2Zvcm0gQWxnb3JpdGhtPSJodHRwOi8vZG9jcy5vYXNpcy1vcGVuLm9yZy93c3Mvb2FzaXMtd3NzLVN3QVByb2ZpbGUtMS4xI0F0dGFjaG1lbnQtQ29udGVudC1TaWduYXR1cmUtVHJhbnNmb3JtIj48L2RzOlRyYW5zZm9ybT48L2RzOlRyYW5zZm9ybXM+PGRzOkRpZ2VzdE1ldGhvZCBBbGdvcml0aG09Imh0dHA6Ly93d3cudzMub3JnLzIwMDEvMDQveG1sZW5jI3NoYTI1NiI+PC9kczpEaWdlc3RNZXRob2Q+PGRzOkRpZ2VzdFZhbHVlPkdLakMxWHRiVHJtMngxVEg2bnRPMEZCZWJlZFNYdk5ScU5Hb1hxSFkwWUE9PC9kczpEaWdlc3RWYWx1ZT48L2RzOlJlZmVyZW5jZT48L2RzOlNpZ25lZEluZm8+
2024-10-04 16:42:19,553 DEBUG [org.apache.xml.security.algorithms.JCEMapper] Request for URI http://www.w3.org/2009/xmlenc11#aes128-gcm
2024-10-04 16:42:19,553 DEBUG [org.apache.xml.security.algorithms.JCEMapper] Request for URI http://www.w3.org/2009/xmlenc11#rsa-oaep
2024-10-04 16:42:19,553 DEBUG [org.apache.xml.security.algorithms.JCEMapper] Request for URI http://www.w3.org/2001/04/xmlenc#sha256
2024-10-04 16:42:19,558 DEBUG [org.apache.wss4j.dom.message.WSSecEncryptedKey] cipher blksize: 0
2024-10-04 16:42:19,573 DEBUG [org.apache.xml.security.algorithms.JCEMapper] Request for URI http://www.w3.org/2009/xmlenc11#aes128-gcm
2024-10-04 16:42:19,584 DEBUG [org.apache.xml.security.encryption.XMLCipher] Have functional IdentityTransformer: false
2024-10-04 16:42:19,584 DEBUG [org.apache.xml.security.encryption.XMLCipher] Getting XMLCipher with transformation
2024-10-04 16:42:19,584 DEBUG [org.apache.xml.security.encryption.XMLCipher] Constructing XMLCipher...
2024-10-04 16:42:19,584 DEBUG [org.apache.xml.security.algorithms.JCEMapper] Request for URI http://www.w3.org/2009/xmlenc11#aes128-gcm
2024-10-04 16:42:19,584 DEBUG [org.apache.xml.security.encryption.XMLCipher] JCE Algorithm = AES/GCM/NoPadding
2024-10-04 16:42:19,584 DEBUG [org.apache.xml.security.algorithms.JCEMapper] Request for URI http://www.w3.org/2009/xmlenc11#aes128-gcm
2024-10-04 16:42:19,584 DEBUG [org.apache.xml.security.algorithms.JCEMapper] Request for URI http://www.w3.org/2009/xmlenc11#aes128-gcm
2024-10-04 16:42:19,624 DEBUG [org.apache.xml.security.encryption.XMLCipherUtil] Saw AES-GCM block cipher, attempting to create GCMParameterSpec: http://www.w3.org/2009/xmlenc11#aes128-gcm
2024-10-04 16:42:19,632 DEBUG [org.apache.xml.security.encryption.XMLCipherUtil] Successfully created GCMParameterSpec
2024-10-04 16:42:19,633 DEBUG [org.apache.wss4j.dom.message.WSSecEncrypt] Error destroying key: null
2024-10-04 16:42:19,933 INFO [org.apache.cxf.services.DummyImpl.REQ_OUT] REQ_OUT
    Address: https://peppol-ap-testbed.appfuxion.com/as4
    HttpMethod: POST
    Content-Type: multipart/related; type="application/soap+xml"; boundary="uuid:61a83890-d2c6-4815-bb2f-83dac94b5998"; start="<root.message@cxf.apache.org>"; start-info="application/soap+xml"
    ExchangeId: 44517bf3-fc20-4a80-b64a-90fe4b3ea41e
    ServiceName: outbound-service
    PortName: port
    PortTypeName: DummyImpl
    Headers: {Accept=*/*, User-Agent=Oxalis 6.7.0 / AS4 6.7.1-SNAPSHOT / PMY000676}
    Payload:
--uuid:61a83890-d2c6-4815-bb2f-83dac94b5998
Content-Type: application/soap+xml; charset=UTF-8
Content-Transfer-Encoding: binary
Content-ID: <root.message@cxf.apache.org>

<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope"><env:Header><ns2:Messaging xmlns:ns2="http://docs.oasis-open.org/ebxml-msg/ebms/v3.0/ns/core/200704/" xmlns:ns3="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" env:mustUnderstand="true" wsu:Id="_f9cef8b9-9d56-4bae-8e07-b5c72fec067e"><ns2:UserMessage><ns2:MessageInfo><ns2:Timestamp>2024-10-04T16:42:19.323+08:00</ns2:Timestamp><ns2:MessageId>bc7c1afc-32c9-4272-8f51-45971555f46e@host.docker.internal</ns2:MessageId></ns2:MessageInfo><ns2:PartyInfo><ns2:From><ns2:PartyId type="urn:fdc:peppol.eu:2017:identifiers:ap">PMY000676</ns2:PartyId><ns2:Role>http://docs.oasis-open.org/ebxml-msg/ebms/v3.0/ns/core/200704/initiator</ns2:Role></ns2:From><ns2:To><ns2:PartyId type="urn:fdc:peppol.eu:2017:identifiers:ap">PMY000676</ns2:PartyId><ns2:Role>http://docs.oasis-open.org/ebxml-msg/ebms/v3.0/ns/core/200704/responder</ns2:Role></ns2:To></ns2:PartyInfo><ns2:CollaborationInfo><ns2:AgreementRef>urn:fdc:peppol.eu:2017:agreements:tia:ap_provider</ns2:AgreementRef><ns2:Service type="cenbii-procid-ubl">urn:peppol:bis:billing</ns2:Service><ns2:Action>busdox-docid-qns::urn:oasis:names:specification:ubl:schema:xsd:Invoice-2::Invoice##urn:peppol:pint:billing-1@my-1::2.1</ns2:Action><ns2:ConversationId>2c41c8bc-5bac-4f75-8921-ee94c30960fe@host.docker.internal</ns2:ConversationId></ns2:CollaborationInfo><ns2:MessageProperties><ns2:Property name="originalSender" type="iso6523-actorid-upis">0230:051312314</ns2:Property><ns2:Property name="finalRecipient" type="iso6523-actorid-upis">9922:ngtbcntrlp100</ns2:Property></ns2:MessageProperties><ns2:PayloadInfo><ns2:PartInfo href="cid:de8be787-8da2-45b2-9209-e7f1ba018dc1@host.docker.internal"><ns2:PartProperties><ns2:Property name="CompressionType">application/gzip</ns2:Property><ns2:Property name="MimeType">application/xml</ns2:Property></ns2:PartProperties></ns2:PartInfo></ns2:PayloadInfo></ns2:UserMessage></ns2:Messaging><wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" env:mustUnderstand="true"><wsse:BinarySecurityToken EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary" ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3" wsu:Id="Gb5105af5-7bf0-439a-b1b2-9603f72c96e4">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</wsse:BinarySecurityToken><xenc:EncryptedKey xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" Id="EK-1d84643b-fcbd-4132-821a-2f57b32d5e33"><xenc:EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#rsa-oaep"><ds:DigestMethod xmlns:ds="http://www.w3.org/2000/09/xmldsig#" Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/><xenc11:MGF xmlns:xenc11="http://www.w3.org/2009/xmlenc11#" Algorithm="http://www.w3.org/2009/xmlenc11#mgf1sha256"/></xenc:EncryptionMethod><ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#"><wsse:SecurityTokenReference><wsse:Reference URI="#Gb5105af5-7bf0-439a-b1b2-9603f72c96e4" ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3"/></wsse:SecurityTokenReference></ds:KeyInfo><xenc:CipherData><xenc:CipherValue>nUZOx9XbxYJfAkIRVvRWUAD72/VCwV0VfRhu4YGugbdLr1Q8tDMrvgl7KvZR6X7wV1mCxDM2mWBSAltHCNv0VkPas7M9OL5nzy9Dn1E3PgN4k1y4UVNflZsL1tk/vjQVHhIDpGJT02zNJA4qigQpPvGiQV3mDvUEtUSPJF5uutndVt4yY6RZ2gc+d6pAcsmDOIoPbxO3m1nKNJki2uClc8kpqJGVZdmLShUkuMfVQ/pMeZ5RVUR+TJhfYQogLB9PZ58GGOnmUReFfUXHh/lVARaKohrmF4A7D1bdttd0bI6/2YTBgoyxl5Z8qi4pHcnmiPoyrhMZkxwVRKKOyiB1Rg==</xenc:CipherValue></xenc:CipherData><xenc:ReferenceList><xenc:DataReference URI="#ED-ce0bc12c-0358-422f-9d6e-23f040624a99"/></xenc:ReferenceList></xenc:EncryptedKey><xenc:EncryptedData xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" Id="ED-ce0bc12c-0358-422f-9d6e-23f040624a99" MimeType="application/octet-stream" Type="http://docs.oasis-open.org/wss/oasis-wss-SwAProfile-1.1#Attachment-Content-Only"><xenc:EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes128-gcm"/><ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#"><wsse:SecurityTokenReference xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsse11="http://docs.oasis-open.org/wss/oasis-wss-wssecurity-secext-1.1.xsd" wsse11:TokenType="http://docs.oasis-open.org/wss/oasis-wss-soap-message-security-1.1#EncryptedKey"><wsse:Reference URI="#EK-1d84643b-fcbd-4132-821a-2f57b32d5e33"/></wsse:SecurityTokenReference></ds:KeyInfo><xenc:CipherData><xenc:CipherReference URI="cid:de8be787-8da2-45b2-9209-e7f1ba018dc1@host.docker.internal"><xenc:Transforms><ds:Transform xmlns:ds="http://www.w3.org/2000/09/xmldsig#" Algorithm="http://docs.oasis-open.org/wss/oasis-wss-SwAProfile-1.1#Attachment-Ciphertext-Transform"/></xenc:Transforms></xenc:CipherReference></xenc:CipherData></xenc:EncryptedData><wsse:BinarySecurityToken EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary" ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3" wsu:Id="X509-c6f71d21-a771-406f-9359-3950a9798d90">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</wsse:BinarySecurityToken><ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#" Id="SIG-58dd494e-29c1-4402-9e4d-2c313a216a66"><ds:SignedInfo><ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"><ec:InclusiveNamespaces xmlns:ec="http://www.w3.org/2001/10/xml-exc-c14n#" PrefixList="env"/></ds:CanonicalizationMethod><ds:SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"/><ds:Reference URI="#_2ad4466d-aa1a-4caa-a54d-29f75eec3158"><ds:Transforms><ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/></ds:Transforms><ds:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/><ds:DigestValue>dU9IO5LGcvGriJX28oK1pktBIxl78Ver8KDrXW1sHKQ=</ds:DigestValue></ds:Reference><ds:Reference URI="#_f9cef8b9-9d56-4bae-8e07-b5c72fec067e"><ds:Transforms><ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/></ds:Transforms><ds:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/><ds:DigestValue>2VWtep+fGHagQBvIrRtagTcLxn2GM3prPPBHdYFZWMw=</ds:DigestValue></ds:Reference><ds:Reference URI="cid:de8be787-8da2-45b2-9209-e7f1ba018dc1@host.docker.internal"><ds:Transforms><ds:Transform Algorithm="http://docs.oasis-open.org/wss/oasis-wss-SwAProfile-1.1#Attachment-Content-Signature-Transform"/></ds:Transforms><ds:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/><ds:DigestValue>GKjC1XtbTrm2x1TH6ntO0FBebedSXvNRqNGoXqHY0YA=</ds:DigestValue></ds:Reference></ds:SignedInfo><ds:SignatureValue>C50C8OIRpHA9yBUmFBVn7/gzXUGBxlG08P3U5TQndQ3AK6ArVHBA377pp/NnjFLcDNviW/QHTwBee0S1N2xiSuwNs1pZja61NydJ6em6mZrGpUMS3gys9RHIJg0HaKSDV+B/bUX8KriUcxZhmsx4KyAa2nRPw6YtidxBWAAH9Muu9cGBeI5n7x/uxHsS9jG9y8jK2hs9EipbNcMZhjo9U5B4eYX82F7ASo1f8eyENL3m/Xa1Hm9cW75vo68/BIDeQDY4BmjkMrF6IJjD1GY5nx3z+pa6f2zt/U7exjX5zXICgcOEo/hzOCr9CSA20zQ1XqCcG9r7owMIoMKb6gmGlw==</ds:SignatureValue><ds:KeyInfo Id="KI-a1a8e7d7-2d43-4b0d-b88c-10149e7234a3"><wsse:SecurityTokenReference xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="STR-47689373-fd4d-4c69-b9d1-27d6d2d0edb8"><wsse:Reference URI="#X509-c6f71d21-a771-406f-9359-3950a9798d90" ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3"/></wsse:SecurityTokenReference></ds:KeyInfo></ds:Signature></wsse:Security></env:Header><env:Body xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="_2ad4466d-aa1a-4caa-a54d-29f75eec3158"/></env:Envelope>
--uuid:61a83890-d2c6-4815-bb2f-83dac94b5998
--- Content suppressed ---
----uuid:61a83890-d2c6-4815-bb2f-83dac94b5998

2024-10-04 16:42:21,808 DEBUG [org.apache.wss4j.dom.processor.SignatureProcessor] Found signature element
2024-10-04 16:42:21,808 DEBUG [org.apache.xml.security.algorithms.JCEMapper] Request for URI http://www.w3.org/2001/04/xmldsig-more#rsa-sha256
2024-10-04 16:42:21,812 DEBUG [org.apache.wss4j.common.crypto.Merlin] Searching keystore for cert with issuer CN=PEPPOL ACCESS POINT TEST CA - G2,OU=FOR TEST ONLY,O=OpenPEPPOL AISBL,C=BE and serial 100616203546124885654432792188549854197
2024-10-04 16:42:21,813 DEBUG [org.apache.wss4j.common.crypto.Merlin] Keystore alias cert has issuer CN=PEPPOL ACCESS POINT TEST CA - G2,OU=FOR TEST ONLY,O=OpenPEPPOL AISBL,C=BE and serial 100616203546124885654432792188549854197
2024-10-04 16:42:21,813 DEBUG [org.apache.wss4j.common.crypto.Merlin] Issuer Serial match found using keystore alias cert
2024-10-04 16:42:21,813 DEBUG [org.apache.wss4j.common.crypto.Merlin] Direct trust for certificate with CN=PMY000676,OU=PEPPOL TEST AP,O=Appfuxion Consulting Sdn. Bhd.,C=MY
2024-10-04 16:42:21,813 DEBUG [org.apache.wss4j.dom.validate.SignatureTrustValidator] Certificate path has been verified for certificate with subject CN=PMY000676,OU=PEPPOL TEST AP,O=Appfuxion Consulting Sdn. Bhd.,C=MY
2024-10-04 16:42:21,833 DEBUG [org.apache.wss4j.dom.processor.SignatureProcessor] Verify XML Signature
2024-10-04 16:42:21,833 DEBUG [org.apache.jcp.xml.dsig.internal.dom.DOMSignatureMethod] Signature provider: SunRsaSign version 17
2024-10-04 16:42:21,833 DEBUG [org.apache.jcp.xml.dsig.internal.dom.DOMSignatureMethod] Verifying with key: RSA Public Key [74:9c:df:5f:2a:5a:78:42:76:3b:88:bf:82:9e:d3:3a:13:29:fc:aa],[56:66:d1:a4]
        modulus: a5cc542904f184f38cec3ff71de1385f8eec2f4bba2477b3060be1b0c88f6486428ec33669eb527bd43e0b27f6f2561255c56e0d7f1725e64d7cc1cb32211235423e15348645121373ae65870608169cec316cf346b54a3afd0cb9fb4fd5f12692364dcce9aa389b7611cbb5c227388829827923b8a2fa26c5eb5f11a89ecfcd13f9153a68049ebfc85418568e8418a29df52a56265620d84d2b6c88a9973c1984f3ed4aa46d88ed0f9c029d2824675b7e82e5f6f09639b1702e628924a55db57a8561b41e7707d6c3a822dc3fb4004290ef94a0a903cf666e37c2c5963b8a79e86ada7723f03c962f7a7769b313998176484dec838f854603f0f62d20c4e04b
public exponent: 10001

2024-10-04 16:42:21,843 DEBUG [org.apache.jcp.xml.dsig.internal.dom.DOMSignatureMethod] JCA Algorithm: SHA256withRSA
2024-10-04 16:42:21,844 DEBUG [org.apache.jcp.xml.dsig.internal.dom.DOMSignatureMethod] Signature Bytes length: 256
2024-10-04 16:42:21,844 DEBUG [org.apache.xml.security.transforms.Transform] Create URI "http://www.w3.org/2001/10/xml-exc-c14n#" class "class org.apache.xml.security.transforms.implementations.TransformC14NExclusive"
2024-10-04 16:42:21,844 DEBUG [org.apache.xml.security.transforms.Transform] The NodeList is [ds:CanonicalizationMethod: null]
2024-10-04 16:42:21,844 DEBUG [org.apache.xml.security.utils.ElementProxy] setElement(ds:CanonicalizationMethod, "null")

2024-10-04 16:42:21,844 DEBUG [org.apache.jcp.xml.dsig.internal.dom.ApacheCanonicalizer] Created transform for algorithm: http://www.w3.org/2001/10/xml-exc-c14n#
2024-10-04 16:42:21,844 DEBUG [org.apache.jcp.xml.dsig.internal.dom.ApacheCanonicalizer] isNodeSet() = true
2024-10-04 16:42:21,844 DEBUG [org.apache.xml.security.utils.ElementProxy] setElement("ec:InclusiveNamespaces", "null")
2024-10-04 16:42:21,844 DEBUG [org.apache.jcp.xml.dsig.internal.dom.DOMSignedInfo] Canonicalized SignedInfo:
2024-10-04 16:42:21,844 DEBUG [org.apache.jcp.xml.dsig.internal.dom.DOMSignedInfo] <ds:SignedInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:env="http://www.w3.org/2003/05/soap-envelope"><ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"><ec:InclusiveNamespaces xmlns:ec="http://www.w3.org/2001/10/xml-exc-c14n#" PrefixList="env"></ec:InclusiveNamespaces></ds:CanonicalizationMethod><ds:SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></ds:SignatureMethod><ds:Reference URI="#_d1a90b93-2872-4aba-a43e-0927aefabdc7"><ds:Transforms><ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></ds:Transform></ds:Transforms><ds:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></ds:DigestMethod><ds:DigestValue>SXxp5iKYznlYFzEKjiGU0BHkunpPMc3Gso+G8rxANnc=</ds:DigestValue></ds:Reference><ds:Reference URI="#_8ee29306-a3b6-4fd2-8196-926f352756c6"><ds:Transforms><ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></ds:Transform></ds:Transforms><ds:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></ds:DigestMethod><ds:DigestValue>uZvhLBJqg7ZDzRj2ApqbPG9R5/fTpO7voVaAMZJcVO0=</ds:DigestValue></ds:Reference></ds:SignedInfo>
2024-10-04 16:42:21,844 DEBUG [org.apache.jcp.xml.dsig.internal.dom.DOMSignedInfo] Data to be signed/verified:PGRzOlNpZ25lZEluZm8geG1sbnM6ZHM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvMDkveG1sZHNpZyMiIHhtbG5zOmVudj0iaHR0cDovL3d3dy53My5vcmcvMjAwMy8wNS9zb2FwLWVudmVsb3BlIj48ZHM6Q2Fub25pY2FsaXphdGlvbk1ldGhvZCBBbGdvcml0aG09Imh0dHA6Ly93d3cudzMub3JnLzIwMDEvMTAveG1sLWV4Yy1jMTRuIyI+PGVjOkluY2x1c2l2ZU5hbWVzcGFjZXMgeG1sbnM6ZWM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDEvMTAveG1sLWV4Yy1jMTRuIyIgUHJlZml4TGlzdD0iZW52Ij48L2VjOkluY2x1c2l2ZU5hbWVzcGFjZXM+PC9kczpDYW5vbmljYWxpemF0aW9uTWV0aG9kPjxkczpTaWduYXR1cmVNZXRob2QgQWxnb3JpdGhtPSJodHRwOi8vd3d3LnczLm9yZy8yMDAxLzA0L3htbGRzaWctbW9yZSNyc2Etc2hhMjU2Ij48L2RzOlNpZ25hdHVyZU1ldGhvZD48ZHM6UmVmZXJlbmNlIFVSST0iI19kMWE5MGI5My0yODcyLTRhYmEtYTQzZS0wOTI3YWVmYWJkYzciPjxkczpUcmFuc2Zvcm1zPjxkczpUcmFuc2Zvcm0gQWxnb3JpdGhtPSJodHRwOi8vd3d3LnczLm9yZy8yMDAxLzEwL3htbC1leGMtYzE0biMiPjwvZHM6VHJhbnNmb3JtPjwvZHM6VHJhbnNmb3Jtcz48ZHM6RGlnZXN0TWV0aG9kIEFsZ29yaXRobT0iaHR0cDovL3d3dy53My5vcmcvMjAwMS8wNC94bWxlbmMjc2hhMjU2Ij48L2RzOkRpZ2VzdE1ldGhvZD48ZHM6RGlnZXN0VmFsdWU+U1h4cDVpS1l6bmxZRnpFS2ppR1UwQkhrdW5wUE1jM0dzbytHOHJ4QU5uYz08L2RzOkRpZ2VzdFZhbHVlPjwvZHM6UmVmZXJlbmNlPjxkczpSZWZlcmVuY2UgVVJJPSIjXzhlZTI5MzA2LWEzYjYtNGZkMi04MTk2LTkyNmYzNTI3NTZjNiI+PGRzOlRyYW5zZm9ybXM+PGRzOlRyYW5zZm9ybSBBbGdvcml0aG09Imh0dHA6Ly93d3cudzMub3JnLzIwMDEvMTAveG1sLWV4Yy1jMTRuIyI+PC9kczpUcmFuc2Zvcm0+PC9kczpUcmFuc2Zvcm1zPjxkczpEaWdlc3RNZXRob2QgQWxnb3JpdGhtPSJodHRwOi8vd3d3LnczLm9yZy8yMDAxLzA0L3htbGVuYyNzaGEyNTYiPjwvZHM6RGlnZXN0TWV0aG9kPjxkczpEaWdlc3RWYWx1ZT51WnZoTEJKcWc3WkR6UmoyQXBxYlBHOVI1L2ZUcE83dm9WYUFNWkpjVk8wPTwvZHM6RGlnZXN0VmFsdWU+PC9kczpSZWZlcmVuY2U+PC9kczpTaWduZWRJbmZvPg==
2024-10-04 16:42:21,844 DEBUG [org.apache.jcp.xml.dsig.internal.dom.DOMReference] URIDereferencer class name: org.apache.jcp.xml.dsig.internal.dom.DOMURIDereferencer
2024-10-04 16:42:21,844 DEBUG [org.apache.jcp.xml.dsig.internal.dom.DOMReference] Data class name: org.apache.jcp.xml.dsig.internal.dom.ApacheNodeSetData
2024-10-04 16:42:21,844 DEBUG [org.apache.xml.security.transforms.Transform] Create URI "http://www.w3.org/2001/10/xml-exc-c14n#" class "class org.apache.xml.security.transforms.implementations.TransformC14NExclusive"
2024-10-04 16:42:21,844 DEBUG [org.apache.xml.security.transforms.Transform] The NodeList is [ds:Transform: null]
2024-10-04 16:42:21,844 DEBUG [org.apache.xml.security.utils.ElementProxy] setElement(ds:Transform, "null")
2024-10-04 16:42:21,844 DEBUG [org.apache.jcp.xml.dsig.internal.dom.ApacheCanonicalizer] Created transform for algorithm: http://www.w3.org/2001/10/xml-exc-c14n#
2024-10-04 16:42:21,844 DEBUG [org.apache.jcp.xml.dsig.internal.dom.ApacheCanonicalizer] ApacheData = true
2024-10-04 16:42:21,844 DEBUG [org.apache.jcp.xml.dsig.internal.DigesterOutputStream] Pre-digested input:
2024-10-04 16:42:21,844 DEBUG [org.apache.jcp.xml.dsig.internal.DigesterOutputStream] <env:Body xmlns:env="http://www.w3.org/2003/05/soap-envelope" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="_d1a90b93-2872-4aba-a43e-0927aefabdc7"></env:Body>
2024-10-04 16:42:21,844 DEBUG [org.apache.jcp.xml.dsig.internal.dom.DOMReference] Expected digest: SXxp5iKYznlYFzEKjiGU0BHkunpPMc3Gso+G8rxANnc=
2024-10-04 16:42:21,844 DEBUG [org.apache.jcp.xml.dsig.internal.dom.DOMReference] Actual digest: SXxp5iKYznlYFzEKjiGU0BHkunpPMc3Gso+G8rxANnc=
2024-10-04 16:42:21,844 DEBUG [org.apache.jcp.xml.dsig.internal.dom.DOMXMLSignature] Reference [#_d1a90b93-2872-4aba-a43e-0927aefabdc7] is valid: true
2024-10-04 16:42:21,844 DEBUG [org.apache.jcp.xml.dsig.internal.dom.DOMReference] URIDereferencer class name: org.apache.jcp.xml.dsig.internal.dom.DOMURIDereferencer
2024-10-04 16:42:21,844 DEBUG [org.apache.jcp.xml.dsig.internal.dom.DOMReference] Data class name: org.apache.jcp.xml.dsig.internal.dom.ApacheNodeSetData
2024-10-04 16:42:21,844 DEBUG [org.apache.xml.security.transforms.Transform] Create URI "http://www.w3.org/2001/10/xml-exc-c14n#" class "class org.apache.xml.security.transforms.implementations.TransformC14NExclusive"
2024-10-04 16:42:21,844 DEBUG [org.apache.xml.security.transforms.Transform] The NodeList is [ds:Transform: null]
2024-10-04 16:42:21,844 DEBUG [org.apache.xml.security.utils.ElementProxy] setElement(ds:Transform, "null")
2024-10-04 16:42:21,844 DEBUG [org.apache.jcp.xml.dsig.internal.dom.ApacheCanonicalizer] Created transform for algorithm: http://www.w3.org/2001/10/xml-exc-c14n#
2024-10-04 16:42:21,844 DEBUG [org.apache.jcp.xml.dsig.internal.dom.ApacheCanonicalizer] ApacheData = true
2024-10-04 16:42:21,844 DEBUG [org.apache.jcp.xml.dsig.internal.DigesterOutputStream] Pre-digested input:
2024-10-04 16:42:21,844 DEBUG [org.apache.jcp.xml.dsig.internal.DigesterOutputStream] <eb:Messaging xmlns:eb="http://docs.oasis-open.org/ebxml-msg/ebms/v3.0/ns/core/200704/" xmlns:env="http://www.w3.org/2003/05/soap-envelope" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="_8ee29306-a3b6-4fd2-8196-926f352756c6" env:mustUnderstand="true"><eb:SignalMessage><eb:MessageInfo><eb:Timestamp>2024-10-04T08:42:20.786Z</eb:Timestamp><eb:MessageId>cd6f43bf-e73d-4bd1-9542-fbbb6970f7b2@a7b590de48e8</eb:MessageId><eb:RefToMessageId>bc7c1afc-32c9-4272-8f51-45971555f46e@host.docker.internal</eb:RefToMessageId></eb:MessageInfo><eb:Receipt><ns7:NonRepudiationInformation xmlns:ns7="http://docs.oasis-open.org/ebxml-bp/ebbp-signals-2.0"><ns7:MessagePartNRInformation><ns6:Reference xmlns:ns6="http://www.w3.org/2000/09/xmldsig#" URI="#_2ad4466d-aa1a-4caa-a54d-29f75eec3158"><ns6:Transforms><ns6:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></ns6:Transform></ns6:Transforms><ns6:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></ns6:DigestMethod><ns6:DigestValue>dU9IO5LGcvGriJX28oK1pktBIxl78Ver8KDrXW1sHKQ=</ns6:DigestValue></ns6:Reference></ns7:MessagePartNRInformation><ns7:MessagePartNRInformation><ns6:Reference xmlns:ns6="http://www.w3.org/2000/09/xmldsig#" URI="#_f9cef8b9-9d56-4bae-8e07-b5c72fec067e"><ns6:Transforms><ns6:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></ns6:Transform></ns6:Transforms><ns6:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></ns6:DigestMethod><ns6:DigestValue>2VWtep+fGHagQBvIrRtagTcLxn2GM3prPPBHdYFZWMw=</ns6:DigestValue></ns6:Reference></ns7:MessagePartNRInformation><ns7:MessagePartNRInformation><ns6:Reference xmlns:ns6="http://www.w3.org/2000/09/xmldsig#" URI="cid:de8be787-8da2-45b2-9209-e7f1ba018dc1@host.docker.internal"><ns6:Transforms><ns6:Transform Algorithm="http://docs.oasis-open.org/wss/oasis-wss-SwAProfile-1.1#Attachment-Content-Signature-Transform"></ns6:Transform></ns6:Transforms><ns6:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></ns6:DigestMethod><ns6:DigestValue>GKjC1XtbTrm2x1TH6ntO0FBebedSXvNRqNGoXqHY0YA=</ns6:DigestValue></ns6:Reference></ns7:MessagePartNRInformation></ns7:NonRepudiationInformation></eb:Receipt></eb:SignalMessage></eb:Messaging>
2024-10-04 16:42:21,844 DEBUG [org.apache.jcp.xml.dsig.internal.dom.DOMReference] Expected digest: uZvhLBJqg7ZDzRj2ApqbPG9R5/fTpO7voVaAMZJcVO0=
2024-10-04 16:42:21,844 DEBUG [org.apache.jcp.xml.dsig.internal.dom.DOMReference] Actual digest: uZvhLBJqg7ZDzRj2ApqbPG9R5/fTpO7voVaAMZJcVO0=
2024-10-04 16:42:21,844 DEBUG [org.apache.jcp.xml.dsig.internal.dom.DOMXMLSignature] Reference [#_8ee29306-a3b6-4fd2-8196-926f352756c6] is valid: true
2024-10-04 16:42:21,863 INFO [org.apache.cxf.services.DummyImpl.RESP_IN] RESP_IN
    Address: https://peppol-ap-testbed.appfuxion.com/as4
    Content-Type: application/soap+xml; charset=UTF-8
    ResponseCode: 200
    ExchangeId: 44517bf3-fc20-4a80-b64a-90fe4b3ea41e
    ServiceName: outbound-service
    PortName: port
    PortTypeName: DummyImpl
    Headers: {Server=nginx/1.24.0 (Ubuntu), connection=keep-alive, content-type=application/soap+xml; charset=UTF-8, Content-Length=9270, Date=Fri, 04 Oct 2024 08:42:21 GMT}
    Payload: <env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope"><env:Header><eb:Messaging xmlns:eb="http://docs.oasis-open.org/ebxml-msg/ebms/v3.0/ns/core/200704/" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" env:mustUnderstand="true" wsu:Id="_8ee29306-a3b6-4fd2-8196-926f352756c6"><eb:SignalMessage xmlns="" xmlns:ns3="http://www.unece.org/cefact/namespaces/StandardBusinessDocumentHeader" xmlns:ns4="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns6="http://www.w3.org/2000/09/xmldsig#" xmlns:ns7="http://docs.oasis-open.org/ebxml-bp/ebbp-signals-2.0"><eb:MessageInfo><eb:Timestamp>2024-10-04T08:42:20.786Z</eb:Timestamp><eb:MessageId>cd6f43bf-e73d-4bd1-9542-fbbb6970f7b2@a7b590de48e8</eb:MessageId><eb:RefToMessageId>bc7c1afc-32c9-4272-8f51-45971555f46e@host.docker.internal</eb:RefToMessageId></eb:MessageInfo><eb:Receipt><ns7:NonRepudiationInformation><ns7:MessagePartNRInformation><ns6:Reference URI="#_2ad4466d-aa1a-4caa-a54d-29f75eec3158"><ns6:Transforms><ns6:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/></ns6:Transforms><ns6:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/><ns6:DigestValue>dU9IO5LGcvGriJX28oK1pktBIxl78Ver8KDrXW1sHKQ=</ns6:DigestValue></ns6:Reference></ns7:MessagePartNRInformation><ns7:MessagePartNRInformation><ns6:Reference URI="#_f9cef8b9-9d56-4bae-8e07-b5c72fec067e"><ns6:Transforms><ns6:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/></ns6:Transforms><ns6:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/><ns6:DigestValue>2VWtep+fGHagQBvIrRtagTcLxn2GM3prPPBHdYFZWMw=</ns6:DigestValue></ns6:Reference></ns7:MessagePartNRInformation><ns7:MessagePartNRInformation><ns6:Reference URI="cid:de8be787-8da2-45b2-9209-e7f1ba018dc1@host.docker.internal"><ns6:Transforms><ns6:Transform Algorithm="http://docs.oasis-open.org/wss/oasis-wss-SwAProfile-1.1#Attachment-Content-Signature-Transform"/></ns6:Transforms><ns6:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/><ns6:DigestValue>GKjC1XtbTrm2x1TH6ntO0FBebedSXvNRqNGoXqHY0YA=</ns6:DigestValue></ns6:Reference></ns7:MessagePartNRInformation></ns7:NonRepudiationInformation></eb:Receipt></eb:SignalMessage></eb:Messaging><wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" env:mustUnderstand="true"><wsse:BinarySecurityToken EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary" ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3" wsu:Id="Gc75ba11a-47a8-4b78-86ad-c5a80d612c25">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</wsse:BinarySecurityToken><wsse:BinarySecurityToken EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary" ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3" wsu:Id="X509-e47d833a-b522-4e29-872f-41104a576d62">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</wsse:BinarySecurityToken><ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#" Id="SIG-efbb78ac-19bb-4f5b-a56e-a2344534af3e"><ds:SignedInfo><ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"><ec:InclusiveNamespaces xmlns:ec="http://www.w3.org/2001/10/xml-exc-c14n#" PrefixList="env"/></ds:CanonicalizationMethod><ds:SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"/><ds:Reference URI="#_d1a90b93-2872-4aba-a43e-0927aefabdc7"><ds:Transforms><ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/></ds:Transforms><ds:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/><ds:DigestValue>SXxp5iKYznlYFzEKjiGU0BHkunpPMc3Gso+G8rxANnc=</ds:DigestValue></ds:Reference><ds:Reference URI="#_8ee29306-a3b6-4fd2-8196-926f352756c6"><ds:Transforms><ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/></ds:Transforms><ds:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/><ds:DigestValue>uZvhLBJqg7ZDzRj2ApqbPG9R5/fTpO7voVaAMZJcVO0=</ds:DigestValue></ds:Reference></ds:SignedInfo><ds:SignatureValue>LcNJQeU0ucYDCUhzJpezx7+HwdBa9EwAfXbKzQQarLHwiDbj7JtNFHPtnT+Z9HzZ4/ZOY/CmeQnbtosyQeG0AyhpOru5anKIqkcT/22MTNERvFL4n8Mb5XxOyeBiYRbjyJslu0HVfMPx5q+V3qRvglBead4t9o5yxQphFxjIO83aLJavNX9NG9fDK/6ExlYH1JbtUiwsavH5sDUXAOPQPdLWRelM2YKfUlvcig3lqPNzkLJAPHIDTjqbFPBukGCBPUE/5mWxxDh2xFIfsdyab63RtPpnuamxLiHaCPhHzeXSfBqTnQLLGfZZDheup2IEXxzkgv0CNi9TkqpZgVDFEA==</ds:SignatureValue><ds:KeyInfo Id="KI-9a06e62f-02d9-4dd6-9b97-cef05eccd192"><wsse:SecurityTokenReference xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="STR-53dd3258-6280-4a01-b390-8be232e391ff"><wsse:Reference URI="#X509-e47d833a-b522-4e29-872f-41104a576d62" ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3"/></wsse:SecurityTokenReference></ds:KeyInfo></ds:Signature></wsse:Security></env:Header><env:Body xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="_d1a90b93-2872-4aba-a43e-0927aefabdc7"/></env:Envelope>

2024-10-04 16:42:21,914 DEBUG [eu.sendregning.oxalis.TransmissionTask] Message using messageId 0ddf7076-e9bf-4e2b-9eff-2f0738473fee sent to https://peppol-ap-testbed.appfuxion.com/as4 using peppol-transport-as4-v2_0 was assigned transmissionId bc7c1afc-32c9-4272-8f51-45971555f46e@host.docker.internal took 3499ms

bc7c1afc-32c9-4272-8f51-45971555f46e@host.docker.internal transmission took 3616 ms
Average transmission time was 3616.0ms
Total time spent: 3s
Attempted to send 1 files
Failed transmissions: 0
Transmission speed 0 documents per second

but seems the testbed didnt receive my xml message. can anyone help on this? thanks. Best regards.

aaron-kumar commented 1 month ago

@evanswappf I am providing answers to all your questions posted through various GitHub issues (https://github.com/OxalisCommunity/Oxalis-AS4/issues/259, https://github.com/OxalisCommunity/oxalis/issues/685 and this https://github.com/OxalisCommunity/Oxalis-AS4/issues/261) at same place.

When sending using Oxalis standalone, different cmdline parameters will be used depending upon whether you are sending 1. "point-to-point" (when you want to send to some specific AS4 endpoint instead of retrieving it with SMP lookup) or via 2. "proper SML/SMP lookup". The way you specified parameters in all above mentioned issues, it is for point-to-point connection. You can also see that with warning message in log "Endpoint was set by caller not retrieved from SMP, make sure this is intended behaviour.",

Example command for point-to-point (For internal testing only): java -classpath "oxalis-distribution-6.7.0-distro/bin/*;oxalis-as4-6.7.0-dist/*" eu.sendregning.oxalis.Main -f .\sample.xml -cert .\cert.cer --protocol peppol-transport-as4-v2_0 -u https://peppol-ap-testbed.appfuxion.com/as4 Here -cert is public key of your AP certificate and URL mentioned with -u is fixed AP URL e.g. https://peppol-ap-testbed.appfuxion.com/as4 . NOTE that you can use point-to-point connection only for internal testing. For production, always send message with proper SML/SMP lookup.

Example command with proper SML/SMP lookup: java -classpath "oxalis-distribution-6.7.0-distro/bin/*;oxalis-as4-6.7.0-dist/*" eu.sendregning.oxalis.Main -f .\sample.xml That's it. No need to define certificate, URL, protocol etc, Oxalis automatically take care of that through lookup.

Answer of your additional question and general suggestion for all issue those are posted via GitHub (I will add this as template) :

  1. You can use P12 certificate containing public and private key directly with Oxalis. No need to convert it into JKS.
  2. Never share password, certificate and other internal details in Github
  3. Do not use SNAPSHOT version in production setup (https://peppol-ap-testbed.appfuxion.com/as4/status)
  4. Your statement like "testbed" etc was misleading as it is easily confused with OpenPeppol testbed but I think here you are referring to your access point (https://peppol-ap-testbed.appfuxion.com)
  5. Always share complete log file, test file, java version etc by obfuscating internal details It will be quick if you can specify how to reproduce issue.
evanswappf commented 1 month ago

Hi @aaron-kumar thanks for the reply. I tested using this command with proper SML/SMP lookup

java -classpath "oxalis-distribution-6.7.0-distro/bin/*;oxalis-as4-6.7.0-dist/*" eu.sendregning.oxalis.Main -f .\sample.xml

but got this error instead

Install the latest PowerShell for new features and improvements! https://aka.ms/PSWindows

PS C:\Oxalis> java -classpath "oxalis-distribution-6.7.0-distro/bin/*;oxalis-as4-6.7.0-dist/*" eu.sendregning.oxalis.Main  -f .\sample.xml
2024-10-11 10:46:24,554 INFO [network.oxalis.commons.filesystem.detector.EnvironmentHomeDetector] Using Oxalis folder specified as environment variable 'OXALIS_HOME' with value 'C:\Oxalis\oxalis_home\'.
2024-10-11 10:46:24,556 INFO [network.oxalis.commons.filesystem.FileSystemModule] Home folder: C:\Oxalis\oxalis_home
2024-10-11 10:46:24,557 INFO [network.oxalis.commons.filesystem.FileSystemModule] Configuration folder: C:\Oxalis\oxalis_home
2024-10-11 10:46:24,557 INFO [network.oxalis.commons.config.ConfigModule] Configuration file: C:\Oxalis\oxalis_home\oxalis.conf
2024-10-11 10:46:24,561 INFO [network.oxalis.commons.settings.SettingsBuilder] File system => CONF:
2024-10-11 10:46:24,563 INFO [network.oxalis.commons.settings.SettingsBuilder] File system => INBOUND: /var/peppol/IN
2024-10-11 10:46:24,563 INFO [network.oxalis.commons.settings.SettingsBuilder] File system => PLUGIN: oxalis-plugin
2024-10-11 10:46:24,778 INFO [network.oxalis.as4.util.OxalisAlgorithmSuiteLoader] Registering OxalisAlgorithmSuite on bus cxf55755528
Oct 11, 2024 10:46:24 AM com.sun.xml.bind.v2.runtime.reflect.opt.Injector <clinit>
SEVERE: null
java.security.PrivilegedActionException: java.lang.NoSuchMethodException: sun.misc.Unsafe.defineClass(java.lang.String,[B,int,int,java.lang.ClassLoader,java.security.ProtectionDomain)
        at java.base/java.security.AccessController.doPrivileged(AccessController.java:573)
        at com.sun.xml.bind.v2.runtime.reflect.opt.Injector.<clinit>(Injector.java:166)
        at com.sun.xml.bind.v2.runtime.reflect.opt.AccessorInjector.prepare(AccessorInjector.java:51)
        at com.sun.xml.bind.v2.runtime.reflect.opt.OptimizedAccessorFactory.get(OptimizedAccessorFactory.java:157)
        at com.sun.xml.bind.v2.runtime.reflect.Accessor$FieldReflection.optimize(Accessor.java:255)
        at com.sun.xml.bind.v2.runtime.property.ArrayProperty.<init>(ArrayProperty.java:38)
        at com.sun.xml.bind.v2.runtime.property.ArrayERProperty.<init>(ArrayERProperty.java:58)
        at com.sun.xml.bind.v2.runtime.property.ArrayElementProperty.<init>(ArrayElementProperty.java:70)
        at com.sun.xml.bind.v2.runtime.property.ArrayElementNodeProperty.<init>(ArrayElementNodeProperty.java:32)
        at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77)
        at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
        at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:480)
        at com.sun.xml.bind.v2.runtime.property.PropertyFactory.create(PropertyFactory.java:99)
        at com.sun.xml.bind.v2.runtime.ClassBeanInfoImpl.<init>(ClassBeanInfoImpl.java:150)
        at com.sun.xml.bind.v2.runtime.JAXBContextImpl.getOrCreate(JAXBContextImpl.java:493)
        at com.sun.xml.bind.v2.runtime.JAXBContextImpl.<init>(JAXBContextImpl.java:310)
        at com.sun.xml.bind.v2.runtime.JAXBContextImpl.<init>(JAXBContextImpl.java:109)
        at com.sun.xml.bind.v2.runtime.JAXBContextImpl$JAXBContextBuilder.build(JAXBContextImpl.java:1142)
        at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:141)
        at com.sun.xml.bind.v2.JAXBContextFactory.createContext(JAXBContextFactory.java:35)
        at javax.xml.bind.ContextFinder.find(ContextFinder.java:358)
        at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:691)
        at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:632)
        at org.apache.xml.security.stax.config.Init.init(Init.java:54)
        at org.apache.wss4j.stax.setup.WSSec.<clinit>(WSSec.java:62)
        at org.apache.cxf.ws.security.wss4j.WSS4JStaxOutInterceptor.<init>(WSS4JStaxOutInterceptor.java:94)
        at org.apache.cxf.ws.security.wss4j.PolicyBasedWSS4JStaxOutInterceptor.<init>(PolicyBasedWSS4JStaxOutInterceptor.java:45)
        at org.apache.cxf.ws.security.policy.interceptors.WSSecurityInterceptorProvider.<init>(WSSecurityInterceptorProvider.java:65)
        at org.apache.cxf.ws.security.policy.WSSecurityPolicyLoader.registerProviders(WSSecurityPolicyLoader.java:300)
        at org.apache.cxf.ws.security.policy.WSSecurityPolicyLoader.<init>(WSSecurityPolicyLoader.java:108)
        at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77)
        at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
        at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:480)
        at org.apache.cxf.bus.extension.Extension.load(Extension.java:218)
        at org.apache.cxf.bus.extension.ExtensionManagerImpl.loadAndRegister(ExtensionManagerImpl.java:198)
        at org.apache.cxf.bus.extension.ExtensionManagerImpl.getBeansOfType(ExtensionManagerImpl.java:333)
        at org.apache.cxf.ws.policy.PolicyInterceptorProviderRegistryImpl.loadDynamic(PolicyInterceptorProviderRegistryImpl.java:93)
        at org.apache.cxf.extension.RegistryImpl.get(RegistryImpl.java:57)
        at org.apache.cxf.ws.policy.PolicyInterceptorProviderRegistryImpl.register(PolicyInterceptorProviderRegistryImpl.java:75)
        at org.apache.cxf.ws.security.policy.WSSecurityPolicyLoader.registerProviders(WSSecurityPolicyLoader.java:299)
        at org.apache.cxf.ws.security.policy.WSSecurityPolicyLoader.<init>(WSSecurityPolicyLoader.java:108)
        at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77)
        at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
        at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:480)
        at org.apache.cxf.bus.extension.Extension.load(Extension.java:218)
        at org.apache.cxf.bus.extension.ExtensionManagerImpl.loadAndRegister(ExtensionManagerImpl.java:198)
        at org.apache.cxf.bus.extension.ExtensionManagerImpl.getBeansOfType(ExtensionManagerImpl.java:333)
        at org.apache.cxf.ws.policy.AssertionBuilderRegistryImpl.loadDynamic(AssertionBuilderRegistryImpl.java:96)
        at org.apache.neethi.AssertionBuilderFactoryImpl.registerBuilder(AssertionBuilderFactoryImpl.java:95)
        at network.oxalis.as4.util.OxalisAlgorithmSuiteLoader.register(OxalisAlgorithmSuiteLoader.java:68)
        at network.oxalis.as4.util.OxalisAlgorithmSuiteLoader.lambda$new$0(OxalisAlgorithmSuiteLoader.java:48)
        at java.base/java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1708)
        at network.oxalis.as4.util.OxalisAlgorithmSuiteLoader.<init>(OxalisAlgorithmSuiteLoader.java:40)
        at network.oxalis.as4.common.As4CommonModule.configure(As4CommonModule.java:62)
        at com.google.inject.AbstractModule.configure(AbstractModule.java:66)
        at com.google.inject.spi.Elements$RecordingBinder.install(Elements.java:409)
        at com.google.inject.spi.Elements.getElements(Elements.java:108)
        at com.google.inject.internal.InjectorShell$Builder.build(InjectorShell.java:160)
        at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:107)
        at com.google.inject.Guice.createInjector(Guice.java:87)
        at com.google.inject.Guice.createInjector(Guice.java:69)
        at network.oxalis.commons.guice.GuiceModuleLoader.initiate(GuiceModuleLoader.java:66)
        at network.oxalis.outbound.OxalisOutboundComponent.<init>(OxalisOutboundComponent.java:45)
        at eu.sendregning.oxalis.Main.main(Main.java:117)
Caused by: java.lang.NoSuchMethodException: sun.misc.Unsafe.defineClass(java.lang.String,[B,int,int,java.lang.ClassLoader,java.security.ProtectionDomain)
        at java.base/java.lang.Class.getMethod(Class.java:2227)
        at com.sun.xml.bind.v2.runtime.reflect.opt.Injector$3.run(Injector.java:170)
        at com.sun.xml.bind.v2.runtime.reflect.opt.Injector$3.run(Injector.java:166)
        at java.base/java.security.AccessController.doPrivileged(AccessController.java:569)
        ... 69 more

Oct 11, 2024 10:46:24 AM org.apache.cxf.ws.security.policy.WSSecurityPolicyLoader <init>
WARNING: Could not load or register WS-SecurityPolicy related classes. Please check that (the correct version of) Apache WSS4J is on the classpath: null
Oct 11, 2024 10:46:24 AM org.apache.cxf.ws.security.policy.WSSecurityPolicyLoader <init>
WARNING: Could not load or register WS-SecurityPolicy related classes. Please check that (the correct version of) Apache WSS4J is on the classpath: Could not initialize class org.apache.wss4j.stax.setup.WSSec
2024-10-11 10:46:25,074 INFO [network.oxalis.commons.filesystem.detector.EnvironmentHomeDetector] Using Oxalis folder specified as environment variable 'OXALIS_HOME' with value 'C:\Oxalis\oxalis_home\'.
2024-10-11 10:46:25,074 INFO [network.oxalis.commons.filesystem.FileSystemModule] Home folder: C:\Oxalis\oxalis_home
2024-10-11 10:46:25,074 INFO [network.oxalis.commons.filesystem.FileSystemModule] Configuration folder: C:\Oxalis\oxalis_home
2024-10-11 10:46:25,074 INFO [network.oxalis.commons.config.ConfigModule] Configuration file: C:\Oxalis\oxalis_home\oxalis.conf
2024-10-11 10:46:25,074 INFO [network.oxalis.commons.settings.SettingsBuilder] HTTP => POOL_TOTAL: 20
2024-10-11 10:46:25,074 INFO [network.oxalis.commons.settings.SettingsBuilder] HTTP => POOL_MAX_ROUTE: 2
2024-10-11 10:46:25,074 INFO [network.oxalis.commons.settings.SettingsBuilder] HTTP => POOL_VALIDATE_AFTER_INACTIVITY: 1000
2024-10-11 10:46:25,074 INFO [network.oxalis.commons.settings.SettingsBuilder] HTTP => POOL_TIME_TO_LIVE: 30
2024-10-11 10:46:25,074 INFO [network.oxalis.commons.settings.SettingsBuilder] HTTP => TIMEOUT_CONNECT: 0
2024-10-11 10:46:25,074 INFO [network.oxalis.commons.settings.SettingsBuilder] HTTP => TIMEOUT_READ: 0
2024-10-11 10:46:25,074 INFO [network.oxalis.commons.settings.SettingsBuilder] HTTP => TIMEOUT_SOCKET: 0
2024-10-11 10:46:25,074 INFO [network.oxalis.commons.settings.SettingsBuilder] Error => TRACKER: quiet
2024-10-11 10:46:25,074 INFO [network.oxalis.commons.settings.SettingsBuilder] AS2 => NOTIFICATION: not.in.use@difi.no
2024-10-11 10:46:25,074 INFO [network.oxalis.commons.settings.SettingsBuilder] File system => CONF:
2024-10-11 10:46:25,074 INFO [network.oxalis.commons.settings.SettingsBuilder] File system => INBOUND: /var/peppol/IN
2024-10-11 10:46:25,074 INFO [network.oxalis.commons.settings.SettingsBuilder] File system => PLUGIN: oxalis-plugin
2024-10-11 10:46:25,074 INFO [network.oxalis.commons.settings.SettingsBuilder] Identifiers => HOSTNAME:
2024-10-11 10:46:25,074 INFO [network.oxalis.commons.settings.SettingsBuilder] Identifiers => MSGID_GENERATOR: default
2024-10-11 10:46:25,074 INFO [network.oxalis.commons.settings.SettingsBuilder] Key store => PATH: cert.p12
2024-10-11 10:46:25,074 INFO [network.oxalis.commons.settings.SettingsBuilder] Key store => PASSWORD: ************
2024-10-11 10:46:25,074 INFO [network.oxalis.commons.settings.SettingsBuilder] Key store => KEY_ALIAS: cert
2024-10-11 10:46:25,074 INFO [network.oxalis.commons.settings.SettingsBuilder] Key store => KEY_PASSWORD: ************
2024-10-11 10:46:25,074 INFO [network.oxalis.commons.settings.SettingsBuilder] Header => PARSER: sbdh
2024-10-11 10:46:25,074 INFO [network.oxalis.commons.settings.SettingsBuilder] Persister => PAYLOAD: default
2024-10-11 10:46:25,074 INFO [network.oxalis.commons.settings.SettingsBuilder] Persister => RECEIPT: default
2024-10-11 10:46:25,074 INFO [network.oxalis.commons.settings.SettingsBuilder] Persister => EXCEPTION: default
2024-10-11 10:46:25,074 INFO [network.oxalis.commons.settings.SettingsBuilder] Persister => HANDLER: default
2024-10-11 10:46:25,082 INFO [network.oxalis.commons.settings.SettingsBuilder] Tracing => REPORTER: noop
2024-10-11 10:46:25,082 INFO [network.oxalis.commons.settings.SettingsBuilder] Tracing => HTTP: <null>
2024-10-11 10:46:25,082 INFO [network.oxalis.commons.settings.SettingsBuilder] Tracing => TRACER: noop
2024-10-11 10:46:25,083 INFO [network.oxalis.commons.settings.SettingsBuilder] Executor => DEFAULT: 50
2024-10-11 10:46:25,083 INFO [network.oxalis.commons.settings.SettingsBuilder] Executor => STATISTICS: 50
2024-10-11 10:46:25,083 INFO [network.oxalis.commons.settings.SettingsBuilder] Tag => GENERATOR: noop
2024-10-11 10:46:25,083 INFO [network.oxalis.commons.settings.SettingsBuilder] Timestamp => SERVICE: system
2024-10-11 10:46:25,083 INFO [network.oxalis.commons.settings.SettingsBuilder] Evidence => SERVICE: rem
2024-10-11 10:46:25,083 INFO [network.oxalis.commons.settings.SettingsBuilder] Transformer => DETECTOR: noop
2024-10-11 10:46:25,083 INFO [network.oxalis.commons.settings.SettingsBuilder] Transformer => WRAPPER: xml
2024-10-11 10:46:25,083 INFO [network.oxalis.commons.settings.SettingsBuilder] Statistics => SERVICE: noop
2024-10-11 10:46:25,083 INFO [network.oxalis.commons.settings.SettingsBuilder] Transmission => VERIFIER: default
2024-10-11 10:46:25,083 INFO [network.oxalis.commons.settings.SettingsBuilder] AS4 => HOSTNAME:
2024-10-11 10:46:25,083 INFO [network.oxalis.commons.settings.SettingsBuilder] AS4 => MSGID_GENERATOR: default
2024-10-11 10:46:25,083 INFO [network.oxalis.commons.settings.SettingsBuilder] AS4 => TYPE: peppol
2024-10-11 10:46:25,085 INFO [network.oxalis.commons.settings.SettingsBuilder] Logging => CONFIG: logback.xml
2024-10-11 10:46:25,085 INFO [network.oxalis.commons.settings.SettingsBuilder] Logging => SERVICE: logback
2024-10-11 10:46:25,085 INFO [network.oxalis.commons.logging.LoggingHandler] Logging service: logback
Configuring Logback with configuration: C:\Oxalis\oxalis_home\logback.xml
2024-10-11 10:46:25,127 INFO [network.oxalis.commons.security.CertificateModule] Certificate subject: CN=PMY000676, OU=PEPPOL TEST AP, O=Appfuxion Consulting Sdn. Bhd., C=MY
2024-10-11 10:46:25,127 INFO [network.oxalis.commons.security.CertificateModule] Certificate issuer: CN=PEPPOL ACCESS POINT TEST CA - G2, OU=FOR TEST ONLY, O=OpenPEPPOL AISBL, C=BE
2024-10-11 10:46:25,218 INFO [network.oxalis.outbound.transmission.MessageSenderFactory] Prioritized list of transport profiles:
2024-10-11 10:46:25,218 INFO [network.oxalis.outbound.transmission.MessageSenderFactory] => peppol-transport-as4-v2_0
2024-10-11 10:46:25,219 INFO [network.oxalis.outbound.transmission.MessageSenderFactory] => bdxr-transport-ebms3-as4-v1p0
2024-10-11 10:46:25,219 INFO [network.oxalis.outbound.transmission.MessageSenderFactory] => busdox-transport-as2-ver1p0r1
2024-10-11 10:46:25,219 INFO [network.oxalis.outbound.transmission.MessageSenderFactory] => busdox-transport-as2-ver2p0
2024-10-11 10:46:25,219 INFO [network.oxalis.outbound.transmission.MessageSenderFactory] => busdox-transport-as2-ver1p0
2024-10-11 10:46:25,225 ERROR [network.oxalis.commons.guice.GuiceModuleLoader] Unable to detect mode.
network.oxalis.api.lang.OxalisLoadingException: Unable to detect mode.
        at network.oxalis.commons.mode.ModeProvider.get(ModeProvider.java:77)
        at network.oxalis.commons.mode.ModeProvider.get(ModeProvider.java:49)
        at com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:86)
        at com.google.inject.internal.BoundProviderFactory.provision(BoundProviderFactory.java:72)
        at com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:60)
        at com.google.inject.internal.BoundProviderFactory.get(BoundProviderFactory.java:59)
        at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
        at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:169)
        at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:45)
        at com.google.inject.internal.InternalInjectorCreator.loadEagerSingletons(InternalInjectorCreator.java:213)
        at com.google.inject.internal.InternalInjectorCreator.injectDynamically(InternalInjectorCreator.java:186)
        at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:113)
        at com.google.inject.Guice.createInjector(Guice.java:87)
        at com.google.inject.Guice.createInjector(Guice.java:69)
        at network.oxalis.commons.guice.GuiceModuleLoader.initiate(GuiceModuleLoader.java:66)
        at network.oxalis.outbound.OxalisOutboundComponent.<init>(OxalisOutboundComponent.java:45)
        at eu.sendregning.oxalis.Main.main(Main.java:117)
Caused by: network.oxalis.vefa.peppol.common.lang.PeppolLoadingException: Unable to initiate 'class network.oxalis.vefa.peppol.security.util.DifiCertificateValidator'
        at network.oxalis.vefa.peppol.mode.Mode.initiate(Mode.java:125)
        at network.oxalis.vefa.peppol.mode.Mode.initiate(Mode.java:94)
        at network.oxalis.vefa.peppol.security.ModeDetector.detect(ModeDetector.java:46)
        at network.oxalis.commons.mode.ModeProvider.get(ModeProvider.java:75)
        ... 16 common frames omitted
Caused by: java.lang.reflect.InvocationTargetException: null
        at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77)
        at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
        at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:480)
        at network.oxalis.vefa.peppol.mode.Mode.initiate(Mode.java:112)
        ... 19 common frames omitted
Caused by: java.lang.ExceptionInInitializerError: null
        at network.oxalis.commons.certvalidator.ValidatorLoader.build(ValidatorLoader.java:46)
        at network.oxalis.vefa.peppol.security.util.DifiCertificateValidator.<init>(DifiCertificateValidator.java:53)
        ... 25 common frames omitted
Caused by: java.lang.NullPointerException: Cannot invoke "java.lang.reflect.Method.invoke(Object, Object[])" because "com.sun.xml.bind.v2.runtime.reflect.opt.Injector.defineClass" is null
        at com.sun.xml.bind.v2.runtime.reflect.opt.Injector.inject(Injector.java:294)
        at com.sun.xml.bind.v2.runtime.reflect.opt.Injector.inject(Injector.java:66)
        at com.sun.xml.bind.v2.runtime.reflect.opt.AccessorInjector.prepare(AccessorInjector.java:57)
        at com.sun.xml.bind.v2.runtime.reflect.opt.OptimizedAccessorFactory.get(OptimizedAccessorFactory.java:157)
        at com.sun.xml.bind.v2.runtime.reflect.Accessor$FieldReflection.optimize(Accessor.java:255)
        at com.sun.xml.bind.v2.runtime.reflect.TransducedAccessor$CompositeTransducedAccessorImpl.<init>(TransducedAccessor.java:207)
        at com.sun.xml.bind.v2.runtime.reflect.TransducedAccessor.get(TransducedAccessor.java:147)
        at com.sun.xml.bind.v2.model.impl.RuntimeClassInfoImpl.calcTransducer(RuntimeClassInfoImpl.java:215)
        at com.sun.xml.bind.v2.model.impl.RuntimeClassInfoImpl.getTransducer(RuntimeClassInfoImpl.java:189)
        at com.sun.xml.bind.v2.model.impl.RuntimeClassInfoImpl.link(RuntimeClassInfoImpl.java:166)
        at com.sun.xml.bind.v2.model.impl.ModelBuilder.link(ModelBuilder.java:424)
        at com.sun.xml.bind.v2.model.impl.RuntimeModelBuilder.link(RuntimeModelBuilder.java:103)
        at com.sun.xml.bind.v2.runtime.JAXBContextImpl.getTypeInfoSet(JAXBContextImpl.java:448)
        at com.sun.xml.bind.v2.runtime.JAXBContextImpl.<init>(JAXBContextImpl.java:282)
        at com.sun.xml.bind.v2.runtime.JAXBContextImpl.<init>(JAXBContextImpl.java:109)
        at com.sun.xml.bind.v2.runtime.JAXBContextImpl$JAXBContextBuilder.build(JAXBContextImpl.java:1142)
        at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:141)
        at com.sun.xml.bind.v2.JAXBContextFactory.createContext(JAXBContextFactory.java:35)
        at javax.xml.bind.ContextFinder.find(ContextFinder.java:358)
        at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:691)
        at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:632)
        at network.oxalis.commons.certvalidator.ValidatorLoaderParser.<clinit>(ValidatorLoaderParser.java:32)
        ... 27 common frames omitted
Exception in thread "main" network.oxalis.api.lang.OxalisLoadingException: Unable to load Oxalis due to errors during loading.
        at network.oxalis.commons.guice.GuiceModuleLoader.initiate(GuiceModuleLoader.java:76)
        at network.oxalis.outbound.OxalisOutboundComponent.<init>(OxalisOutboundComponent.java:45)
        at eu.sendregning.oxalis.Main.main(Main.java:117)

can u help on this? Thanks. Best regards

aaron-kumar commented 1 month ago

@evanswappf : I think you are using Java 17 or higher. Java 17 & higher strongly encapsulate all internal elements of the JDK so illegal reflective accesses will not function properly. We are fixing this in upcoming release. Until then, please use following as workaround solution: Either add Environment Variable: JDK_JAVA_OPTIONS= --add-opens=java.base/java.lang=ALL-UNNAMED OR VM Parameters: VMARGS=--add-opens java.base/java.lang=ALL-UNNAMED

evanswappf commented 1 month ago

Hi @aaron-kumar thanks for the reply

I added the environment variable here using set JDK_JAVA_OPTIONS=--add-opens=java.base/java.lang=ALL-UNNAMED

but still hitting this error

PS C:\Oxalis> set JDK_JAVA_OPTIONS=--add-opens=java.base/java.lang=ALL-UNNAMED
PS C:\Oxalis> java -classpath "oxalis-distribution-6.7.0-distro/bin/*;oxalis-as4-6.7.0-dist/*" eu.sendregning.oxalis.Main -f .\sample.xml -cert .\cert.cer --protocol peppol-transport-as4-v2_0
2024-10-11 16:54:30,732 INFO [network.oxalis.commons.filesystem.detector.EnvironmentHomeDetector] Using Oxalis folder specified as environment variable 'OXALIS_HOME' with value 'C:\Oxalis\oxalis_home\'.
2024-10-11 16:54:30,734 INFO [network.oxalis.commons.filesystem.FileSystemModule] Home folder: C:\Oxalis\oxalis_home
2024-10-11 16:54:30,735 INFO [network.oxalis.commons.filesystem.FileSystemModule] Configuration folder: C:\Oxalis\oxalis_home
2024-10-11 16:54:30,736 INFO [network.oxalis.commons.config.ConfigModule] Configuration file: C:\Oxalis\oxalis_home\oxalis.conf
2024-10-11 16:54:30,739 INFO [network.oxalis.commons.settings.SettingsBuilder] File system => CONF:
2024-10-11 16:54:30,740 INFO [network.oxalis.commons.settings.SettingsBuilder] File system => INBOUND: /var/peppol/IN
2024-10-11 16:54:30,740 INFO [network.oxalis.commons.settings.SettingsBuilder] File system => PLUGIN: oxalis-plugin
2024-10-11 16:54:30,985 INFO [network.oxalis.as4.util.OxalisAlgorithmSuiteLoader] Registering OxalisAlgorithmSuite on bus cxf1835778392
Oct 11, 2024 4:54:31 PM com.sun.xml.bind.v2.runtime.reflect.opt.Injector <clinit>
SEVERE: null
java.security.PrivilegedActionException: java.lang.NoSuchMethodException: sun.misc.Unsafe.defineClass(java.lang.String,[B,int,int,java.lang.ClassLoader,java.security.ProtectionDomain)
        at java.base/java.security.AccessController.doPrivileged(AccessController.java:573)
        at com.sun.xml.bind.v2.runtime.reflect.opt.Injector.<clinit>(Injector.java:166)
        at com.sun.xml.bind.v2.runtime.reflect.opt.AccessorInjector.prepare(AccessorInjector.java:51)
        at com.sun.xml.bind.v2.runtime.reflect.opt.OptimizedAccessorFactory.get(OptimizedAccessorFactory.java:157)
        at com.sun.xml.bind.v2.runtime.reflect.Accessor$FieldReflection.optimize(Accessor.java:255)
        at com.sun.xml.bind.v2.runtime.property.SingleElementNodeProperty.<init>(SingleElementNodeProperty.java:64)
        at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77)
        at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
        at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:480)
        at com.sun.xml.bind.v2.runtime.property.PropertyFactory.create(PropertyFactory.java:99)
        at com.sun.xml.bind.v2.runtime.ClassBeanInfoImpl.<init>(ClassBeanInfoImpl.java:150)
        at com.sun.xml.bind.v2.runtime.JAXBContextImpl.getOrCreate(JAXBContextImpl.java:493)
        at com.sun.xml.bind.v2.runtime.JAXBContextImpl.<init>(JAXBContextImpl.java:310)
        at com.sun.xml.bind.v2.runtime.JAXBContextImpl.<init>(JAXBContextImpl.java:109)
        at com.sun.xml.bind.v2.runtime.JAXBContextImpl$JAXBContextBuilder.build(JAXBContextImpl.java:1142)
        at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:141)
        at com.sun.xml.bind.v2.JAXBContextFactory.createContext(JAXBContextFactory.java:35)
        at javax.xml.bind.ContextFinder.find(ContextFinder.java:358)
        at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:691)
        at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:632)
        at org.apache.xml.security.stax.config.Init.init(Init.java:54)
        at org.apache.wss4j.stax.setup.WSSec.<clinit>(WSSec.java:62)
        at org.apache.cxf.ws.security.wss4j.WSS4JStaxOutInterceptor.<init>(WSS4JStaxOutInterceptor.java:94)
        at org.apache.cxf.ws.security.wss4j.PolicyBasedWSS4JStaxOutInterceptor.<init>(PolicyBasedWSS4JStaxOutInterceptor.java:45)
        at org.apache.cxf.ws.security.policy.interceptors.WSSecurityInterceptorProvider.<init>(WSSecurityInterceptorProvider.java:65)
        at org.apache.cxf.ws.security.policy.WSSecurityPolicyLoader.registerProviders(WSSecurityPolicyLoader.java:300)
        at org.apache.cxf.ws.security.policy.WSSecurityPolicyLoader.<init>(WSSecurityPolicyLoader.java:108)
        at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77)
        at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
        at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:480)
        at org.apache.cxf.bus.extension.Extension.load(Extension.java:218)
        at org.apache.cxf.bus.extension.ExtensionManagerImpl.loadAndRegister(ExtensionManagerImpl.java:198)
        at org.apache.cxf.bus.extension.ExtensionManagerImpl.getBeansOfType(ExtensionManagerImpl.java:333)
        at org.apache.cxf.ws.policy.PolicyInterceptorProviderRegistryImpl.loadDynamic(PolicyInterceptorProviderRegistryImpl.java:93)
        at org.apache.cxf.extension.RegistryImpl.get(RegistryImpl.java:57)
        at org.apache.cxf.ws.policy.PolicyInterceptorProviderRegistryImpl.register(PolicyInterceptorProviderRegistryImpl.java:75)
        at org.apache.cxf.ws.security.policy.WSSecurityPolicyLoader.registerProviders(WSSecurityPolicyLoader.java:299)
        at org.apache.cxf.ws.security.policy.WSSecurityPolicyLoader.<init>(WSSecurityPolicyLoader.java:108)
        at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77)
        at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
        at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:480)
        at org.apache.cxf.bus.extension.Extension.load(Extension.java:218)
        at org.apache.cxf.bus.extension.ExtensionManagerImpl.loadAndRegister(ExtensionManagerImpl.java:198)
        at org.apache.cxf.bus.extension.ExtensionManagerImpl.getBeansOfType(ExtensionManagerImpl.java:333)
        at org.apache.cxf.ws.policy.AssertionBuilderRegistryImpl.loadDynamic(AssertionBuilderRegistryImpl.java:96)
        at org.apache.neethi.AssertionBuilderFactoryImpl.registerBuilder(AssertionBuilderFactoryImpl.java:95)
        at network.oxalis.as4.util.OxalisAlgorithmSuiteLoader.register(OxalisAlgorithmSuiteLoader.java:68)
        at network.oxalis.as4.util.OxalisAlgorithmSuiteLoader.lambda$new$0(OxalisAlgorithmSuiteLoader.java:48)
        at java.base/java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1708)
        at network.oxalis.as4.util.OxalisAlgorithmSuiteLoader.<init>(OxalisAlgorithmSuiteLoader.java:40)
        at network.oxalis.as4.common.As4CommonModule.configure(As4CommonModule.java:62)
        at com.google.inject.AbstractModule.configure(AbstractModule.java:66)
        at com.google.inject.spi.Elements$RecordingBinder.install(Elements.java:409)
        at com.google.inject.spi.Elements.getElements(Elements.java:108)
        at com.google.inject.internal.InjectorShell$Builder.build(InjectorShell.java:160)
        at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:107)
        at com.google.inject.Guice.createInjector(Guice.java:87)
        at com.google.inject.Guice.createInjector(Guice.java:69)
        at network.oxalis.commons.guice.GuiceModuleLoader.initiate(GuiceModuleLoader.java:66)
        at network.oxalis.outbound.OxalisOutboundComponent.<init>(OxalisOutboundComponent.java:45)
        at eu.sendregning.oxalis.Main.main(Main.java:117)
Caused by: java.lang.NoSuchMethodException: sun.misc.Unsafe.defineClass(java.lang.String,[B,int,int,java.lang.ClassLoader,java.security.ProtectionDomain)
        at java.base/java.lang.Class.getMethod(Class.java:2227)
        at com.sun.xml.bind.v2.runtime.reflect.opt.Injector$3.run(Injector.java:170)
        at com.sun.xml.bind.v2.runtime.reflect.opt.Injector$3.run(Injector.java:166)
        at java.base/java.security.AccessController.doPrivileged(AccessController.java:569)
        ... 66 more

Oct 11, 2024 4:54:31 PM org.apache.cxf.ws.security.policy.WSSecurityPolicyLoader <init>
WARNING: Could not load or register WS-SecurityPolicy related classes. Please check that (the correct version of) Apache WSS4J is on the classpath: null
Oct 11, 2024 4:54:31 PM org.apache.cxf.ws.security.policy.WSSecurityPolicyLoader <init>
WARNING: Could not load or register WS-SecurityPolicy related classes. Please check that (the correct version of) Apache WSS4J is on the classpath: Could not initialize class org.apache.wss4j.stax.setup.WSSec
2024-10-11 16:54:31,306 INFO [network.oxalis.commons.filesystem.detector.EnvironmentHomeDetector] Using Oxalis folder specified as environment variable 'OXALIS_HOME' with value 'C:\Oxalis\oxalis_home\'.
2024-10-11 16:54:31,306 INFO [network.oxalis.commons.filesystem.FileSystemModule] Home folder: C:\Oxalis\oxalis_home
2024-10-11 16:54:31,307 INFO [network.oxalis.commons.filesystem.FileSystemModule] Configuration folder: C:\Oxalis\oxalis_home
2024-10-11 16:54:31,307 INFO [network.oxalis.commons.config.ConfigModule] Configuration file: C:\Oxalis\oxalis_home\oxalis.conf
2024-10-11 16:54:31,308 INFO [network.oxalis.commons.settings.SettingsBuilder] HTTP => POOL_TOTAL: 20
2024-10-11 16:54:31,310 INFO [network.oxalis.commons.settings.SettingsBuilder] HTTP => POOL_MAX_ROUTE: 2
2024-10-11 16:54:31,310 INFO [network.oxalis.commons.settings.SettingsBuilder] HTTP => POOL_VALIDATE_AFTER_INACTIVITY: 1000
2024-10-11 16:54:31,310 INFO [network.oxalis.commons.settings.SettingsBuilder] HTTP => POOL_TIME_TO_LIVE: 30
2024-10-11 16:54:31,310 INFO [network.oxalis.commons.settings.SettingsBuilder] HTTP => TIMEOUT_CONNECT: 0
2024-10-11 16:54:31,310 INFO [network.oxalis.commons.settings.SettingsBuilder] HTTP => TIMEOUT_READ: 0
2024-10-11 16:54:31,310 INFO [network.oxalis.commons.settings.SettingsBuilder] HTTP => TIMEOUT_SOCKET: 0
2024-10-11 16:54:31,311 INFO [network.oxalis.commons.settings.SettingsBuilder] Error => TRACKER: quiet
2024-10-11 16:54:31,311 INFO [network.oxalis.commons.settings.SettingsBuilder] AS2 => NOTIFICATION: not.in.use@difi.no
2024-10-11 16:54:31,311 INFO [network.oxalis.commons.settings.SettingsBuilder] File system => CONF:
2024-10-11 16:54:31,311 INFO [network.oxalis.commons.settings.SettingsBuilder] File system => INBOUND: /var/peppol/IN
2024-10-11 16:54:31,311 INFO [network.oxalis.commons.settings.SettingsBuilder] File system => PLUGIN: oxalis-plugin
2024-10-11 16:54:31,312 INFO [network.oxalis.commons.settings.SettingsBuilder] Identifiers => HOSTNAME:
2024-10-11 16:54:31,312 INFO [network.oxalis.commons.settings.SettingsBuilder] Identifiers => MSGID_GENERATOR: default
2024-10-11 16:54:31,312 INFO [network.oxalis.commons.settings.SettingsBuilder] Key store => PATH: cert.p12
2024-10-11 16:54:31,312 INFO [network.oxalis.commons.settings.SettingsBuilder] Key store => PASSWORD: ************
2024-10-11 16:54:31,314 INFO [network.oxalis.commons.settings.SettingsBuilder] Key store => KEY_ALIAS: cert
2024-10-11 16:54:31,314 INFO [network.oxalis.commons.settings.SettingsBuilder] Key store => KEY_PASSWORD: ************
2024-10-11 16:54:31,314 INFO [network.oxalis.commons.settings.SettingsBuilder] Header => PARSER: sbdh
2024-10-11 16:54:31,314 INFO [network.oxalis.commons.settings.SettingsBuilder] Persister => PAYLOAD: default
2024-10-11 16:54:31,314 INFO [network.oxalis.commons.settings.SettingsBuilder] Persister => RECEIPT: default
2024-10-11 16:54:31,314 INFO [network.oxalis.commons.settings.SettingsBuilder] Persister => EXCEPTION: default
2024-10-11 16:54:31,315 INFO [network.oxalis.commons.settings.SettingsBuilder] Persister => HANDLER: default
2024-10-11 16:54:31,315 INFO [network.oxalis.commons.settings.SettingsBuilder] Tracing => REPORTER: noop
2024-10-11 16:54:31,315 INFO [network.oxalis.commons.settings.SettingsBuilder] Tracing => HTTP: <null>
2024-10-11 16:54:31,315 INFO [network.oxalis.commons.settings.SettingsBuilder] Tracing => TRACER: noop
2024-10-11 16:54:31,315 INFO [network.oxalis.commons.settings.SettingsBuilder] Executor => DEFAULT: 50
2024-10-11 16:54:31,315 INFO [network.oxalis.commons.settings.SettingsBuilder] Executor => STATISTICS: 50
2024-10-11 16:54:31,316 INFO [network.oxalis.commons.settings.SettingsBuilder] Tag => GENERATOR: noop
2024-10-11 16:54:31,316 INFO [network.oxalis.commons.settings.SettingsBuilder] Timestamp => SERVICE: system
2024-10-11 16:54:31,316 INFO [network.oxalis.commons.settings.SettingsBuilder] Evidence => SERVICE: rem
2024-10-11 16:54:31,316 INFO [network.oxalis.commons.settings.SettingsBuilder] Transformer => DETECTOR: noop
2024-10-11 16:54:31,316 INFO [network.oxalis.commons.settings.SettingsBuilder] Transformer => WRAPPER: xml
2024-10-11 16:54:31,316 INFO [network.oxalis.commons.settings.SettingsBuilder] Statistics => SERVICE: noop
2024-10-11 16:54:31,316 INFO [network.oxalis.commons.settings.SettingsBuilder] Transmission => VERIFIER: default
2024-10-11 16:54:31,317 INFO [network.oxalis.commons.settings.SettingsBuilder] AS4 => HOSTNAME:
2024-10-11 16:54:31,317 INFO [network.oxalis.commons.settings.SettingsBuilder] AS4 => MSGID_GENERATOR: default
2024-10-11 16:54:31,317 INFO [network.oxalis.commons.settings.SettingsBuilder] AS4 => TYPE: peppol
2024-10-11 16:54:31,317 INFO [network.oxalis.commons.settings.SettingsBuilder] Logging => CONFIG: logback.xml
2024-10-11 16:54:31,317 INFO [network.oxalis.commons.settings.SettingsBuilder] Logging => SERVICE: logback
2024-10-11 16:54:31,317 INFO [network.oxalis.commons.logging.LoggingHandler] Logging service: logback
Configuring Logback with configuration: C:\Oxalis\oxalis_home\logback.xml
2024-10-11 16:54:31,374 INFO [network.oxalis.commons.security.CertificateModule] Certificate subject: CN=PMY000676, OU=PEPPOL TEST AP, O=Appfuxion Consulting Sdn. Bhd., C=MY
2024-10-11 16:54:31,375 INFO [network.oxalis.commons.security.CertificateModule] Certificate issuer: CN=PEPPOL ACCESS POINT TEST CA - G2, OU=FOR TEST ONLY, O=OpenPEPPOL AISBL, C=BE
2024-10-11 16:54:31,466 INFO [network.oxalis.outbound.transmission.MessageSenderFactory] Prioritized list of transport profiles:
2024-10-11 16:54:31,466 INFO [network.oxalis.outbound.transmission.MessageSenderFactory] => peppol-transport-as4-v2_0
2024-10-11 16:54:31,466 INFO [network.oxalis.outbound.transmission.MessageSenderFactory] => bdxr-transport-ebms3-as4-v1p0
2024-10-11 16:54:31,467 INFO [network.oxalis.outbound.transmission.MessageSenderFactory] => busdox-transport-as2-ver1p0r1
2024-10-11 16:54:31,467 INFO [network.oxalis.outbound.transmission.MessageSenderFactory] => busdox-transport-as2-ver2p0
2024-10-11 16:54:31,467 INFO [network.oxalis.outbound.transmission.MessageSenderFactory] => busdox-transport-as2-ver1p0
2024-10-11 16:54:31,474 ERROR [network.oxalis.commons.guice.GuiceModuleLoader] Unable to detect mode.
network.oxalis.api.lang.OxalisLoadingException: Unable to detect mode.
        at network.oxalis.commons.mode.ModeProvider.get(ModeProvider.java:77)
        at network.oxalis.commons.mode.ModeProvider.get(ModeProvider.java:49)
        at com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:86)
        at com.google.inject.internal.BoundProviderFactory.provision(BoundProviderFactory.java:72)
        at com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:60)
        at com.google.inject.internal.BoundProviderFactory.get(BoundProviderFactory.java:59)
        at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
        at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:169)
        at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:45)
        at com.google.inject.internal.InternalInjectorCreator.loadEagerSingletons(InternalInjectorCreator.java:213)
        at com.google.inject.internal.InternalInjectorCreator.injectDynamically(InternalInjectorCreator.java:186)
        at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:113)
        at com.google.inject.Guice.createInjector(Guice.java:87)
        at com.google.inject.Guice.createInjector(Guice.java:69)
        at network.oxalis.commons.guice.GuiceModuleLoader.initiate(GuiceModuleLoader.java:66)
        at network.oxalis.outbound.OxalisOutboundComponent.<init>(OxalisOutboundComponent.java:45)
        at eu.sendregning.oxalis.Main.main(Main.java:117)
Caused by: network.oxalis.vefa.peppol.common.lang.PeppolLoadingException: Unable to initiate 'class network.oxalis.vefa.peppol.security.util.DifiCertificateValidator'
        at network.oxalis.vefa.peppol.mode.Mode.initiate(Mode.java:125)
        at network.oxalis.vefa.peppol.mode.Mode.initiate(Mode.java:94)
        at network.oxalis.vefa.peppol.security.ModeDetector.detect(ModeDetector.java:46)
        at network.oxalis.commons.mode.ModeProvider.get(ModeProvider.java:75)
        ... 16 common frames omitted
Caused by: java.lang.reflect.InvocationTargetException: null
        at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77)
        at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
        at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:480)
        at network.oxalis.vefa.peppol.mode.Mode.initiate(Mode.java:112)
        ... 19 common frames omitted
Caused by: java.lang.ExceptionInInitializerError: null
        at network.oxalis.commons.certvalidator.ValidatorLoader.build(ValidatorLoader.java:46)
        at network.oxalis.vefa.peppol.security.util.DifiCertificateValidator.<init>(DifiCertificateValidator.java:53)
        ... 25 common frames omitted
Caused by: java.lang.NullPointerException: Cannot invoke "java.lang.reflect.Method.invoke(Object, Object[])" because "com.sun.xml.bind.v2.runtime.reflect.opt.Injector.defineClass" is null
        at com.sun.xml.bind.v2.runtime.reflect.opt.Injector.inject(Injector.java:294)
        at com.sun.xml.bind.v2.runtime.reflect.opt.Injector.inject(Injector.java:66)
        at com.sun.xml.bind.v2.runtime.reflect.opt.AccessorInjector.prepare(AccessorInjector.java:57)
        at com.sun.xml.bind.v2.runtime.reflect.opt.OptimizedAccessorFactory.get(OptimizedAccessorFactory.java:157)
        at com.sun.xml.bind.v2.runtime.reflect.Accessor$FieldReflection.optimize(Accessor.java:255)
        at com.sun.xml.bind.v2.runtime.reflect.TransducedAccessor$CompositeTransducedAccessorImpl.<init>(TransducedAccessor.java:207)
        at com.sun.xml.bind.v2.runtime.reflect.TransducedAccessor.get(TransducedAccessor.java:147)
        at com.sun.xml.bind.v2.model.impl.RuntimeClassInfoImpl.calcTransducer(RuntimeClassInfoImpl.java:215)
        at com.sun.xml.bind.v2.model.impl.RuntimeClassInfoImpl.getTransducer(RuntimeClassInfoImpl.java:189)
        at com.sun.xml.bind.v2.model.impl.RuntimeClassInfoImpl.link(RuntimeClassInfoImpl.java:166)
        at com.sun.xml.bind.v2.model.impl.ModelBuilder.link(ModelBuilder.java:424)
        at com.sun.xml.bind.v2.model.impl.RuntimeModelBuilder.link(RuntimeModelBuilder.java:103)
        at com.sun.xml.bind.v2.runtime.JAXBContextImpl.getTypeInfoSet(JAXBContextImpl.java:448)
        at com.sun.xml.bind.v2.runtime.JAXBContextImpl.<init>(JAXBContextImpl.java:282)
        at com.sun.xml.bind.v2.runtime.JAXBContextImpl.<init>(JAXBContextImpl.java:109)
        at com.sun.xml.bind.v2.runtime.JAXBContextImpl$JAXBContextBuilder.build(JAXBContextImpl.java:1142)
        at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:141)
        at com.sun.xml.bind.v2.JAXBContextFactory.createContext(JAXBContextFactory.java:35)
        at javax.xml.bind.ContextFinder.find(ContextFinder.java:358)
        at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:691)
        at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:632)
        at network.oxalis.commons.certvalidator.ValidatorLoaderParser.<clinit>(ValidatorLoaderParser.java:32)
        ... 27 common frames omitted
Exception in thread "main" network.oxalis.api.lang.OxalisLoadingException: Unable to load Oxalis due to errors during loading.
        at network.oxalis.commons.guice.GuiceModuleLoader.initiate(GuiceModuleLoader.java:76)
        at network.oxalis.outbound.OxalisOutboundComponent.<init>(OxalisOutboundComponent.java:45)
        at eu.sendregning.oxalis.Main.main(Main.java:117)
PS C:\Oxalis> set JDK_JAVA_OPTIONS=--add-opens=java.base/java.lang=ALL-UNNAMED
PS C:\Oxalis> java -classpath "oxalis-distribution-6.7.0-distro/bin/*;oxalis-as4-6.7.0-dist/*" eu.sendregning.oxalis.Main -f .\sample.xml -cert .\cert.cer --protocol peppol-transport-as4-v2_0
2024-10-11 16:54:50,265 INFO [network.oxalis.commons.filesystem.detector.EnvironmentHomeDetector] Using Oxalis folder specified as environment variable 'OXALIS_HOME' with value 'C:\Oxalis\oxalis_home\'.
2024-10-11 16:54:50,267 INFO [network.oxalis.commons.filesystem.FileSystemModule] Home folder: C:\Oxalis\oxalis_home
2024-10-11 16:54:50,268 INFO [network.oxalis.commons.filesystem.FileSystemModule] Configuration folder: C:\Oxalis\oxalis_home
2024-10-11 16:54:50,268 INFO [network.oxalis.commons.config.ConfigModule] Configuration file: C:\Oxalis\oxalis_home\oxalis.conf
2024-10-11 16:54:50,272 INFO [network.oxalis.commons.settings.SettingsBuilder] File system => CONF:
2024-10-11 16:54:50,274 INFO [network.oxalis.commons.settings.SettingsBuilder] File system => INBOUND: /var/peppol/IN
2024-10-11 16:54:50,274 INFO [network.oxalis.commons.settings.SettingsBuilder] File system => PLUGIN: oxalis-plugin
2024-10-11 16:54:50,502 INFO [network.oxalis.as4.util.OxalisAlgorithmSuiteLoader] Registering OxalisAlgorithmSuite on bus cxf1835778392
Oct 11, 2024 4:54:50 PM com.sun.xml.bind.v2.runtime.reflect.opt.Injector <clinit>
SEVERE: null
java.security.PrivilegedActionException: java.lang.NoSuchMethodException: sun.misc.Unsafe.defineClass(java.lang.String,[B,int,int,java.lang.ClassLoader,java.security.ProtectionDomain)
        at java.base/java.security.AccessController.doPrivileged(AccessController.java:573)
        at com.sun.xml.bind.v2.runtime.reflect.opt.Injector.<clinit>(Injector.java:166)
        at com.sun.xml.bind.v2.runtime.reflect.opt.AccessorInjector.prepare(AccessorInjector.java:51)
        at com.sun.xml.bind.v2.runtime.reflect.opt.OptimizedAccessorFactory.get(OptimizedAccessorFactory.java:157)
        at com.sun.xml.bind.v2.runtime.reflect.Accessor$FieldReflection.optimize(Accessor.java:255)
        at com.sun.xml.bind.v2.runtime.reflect.TransducedAccessor$CompositeTransducedAccessorImpl.<init>(TransducedAccessor.java:207)
        at com.sun.xml.bind.v2.runtime.reflect.TransducedAccessor.get(TransducedAccessor.java:147)
        at com.sun.xml.bind.v2.runtime.property.ValueProperty.<init>(ValueProperty.java:51)
        at com.sun.xml.bind.v2.runtime.property.PropertyFactory.create(PropertyFactory.java:81)
        at com.sun.xml.bind.v2.runtime.ClassBeanInfoImpl.<init>(ClassBeanInfoImpl.java:150)
        at com.sun.xml.bind.v2.runtime.JAXBContextImpl.getOrCreate(JAXBContextImpl.java:493)
        at com.sun.xml.bind.v2.runtime.JAXBContextImpl.<init>(JAXBContextImpl.java:310)
        at com.sun.xml.bind.v2.runtime.JAXBContextImpl.<init>(JAXBContextImpl.java:109)
        at com.sun.xml.bind.v2.runtime.JAXBContextImpl$JAXBContextBuilder.build(JAXBContextImpl.java:1142)
        at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:141)
        at com.sun.xml.bind.v2.JAXBContextFactory.createContext(JAXBContextFactory.java:35)
        at javax.xml.bind.ContextFinder.find(ContextFinder.java:358)
        at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:691)
        at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:632)
        at org.apache.xml.security.stax.config.Init.init(Init.java:54)
        at org.apache.wss4j.stax.setup.WSSec.<clinit>(WSSec.java:62)
        at org.apache.cxf.ws.security.wss4j.WSS4JStaxOutInterceptor.<init>(WSS4JStaxOutInterceptor.java:94)
        at org.apache.cxf.ws.security.wss4j.PolicyBasedWSS4JStaxOutInterceptor.<init>(PolicyBasedWSS4JStaxOutInterceptor.java:45)
        at org.apache.cxf.ws.security.policy.interceptors.WSSecurityInterceptorProvider.<init>(WSSecurityInterceptorProvider.java:65)
        at org.apache.cxf.ws.security.policy.WSSecurityPolicyLoader.registerProviders(WSSecurityPolicyLoader.java:300)
        at org.apache.cxf.ws.security.policy.WSSecurityPolicyLoader.<init>(WSSecurityPolicyLoader.java:108)
        at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77)
        at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
        at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:480)
        at org.apache.cxf.bus.extension.Extension.load(Extension.java:218)
        at org.apache.cxf.bus.extension.ExtensionManagerImpl.loadAndRegister(ExtensionManagerImpl.java:198)
        at org.apache.cxf.bus.extension.ExtensionManagerImpl.getBeansOfType(ExtensionManagerImpl.java:333)
        at org.apache.cxf.ws.policy.PolicyInterceptorProviderRegistryImpl.loadDynamic(PolicyInterceptorProviderRegistryImpl.java:93)
        at org.apache.cxf.extension.RegistryImpl.get(RegistryImpl.java:57)
        at org.apache.cxf.ws.policy.PolicyInterceptorProviderRegistryImpl.register(PolicyInterceptorProviderRegistryImpl.java:75)
        at org.apache.cxf.ws.security.policy.WSSecurityPolicyLoader.registerProviders(WSSecurityPolicyLoader.java:299)
        at org.apache.cxf.ws.security.policy.WSSecurityPolicyLoader.<init>(WSSecurityPolicyLoader.java:108)
        at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77)
        at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
        at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:480)
        at org.apache.cxf.bus.extension.Extension.load(Extension.java:218)
        at org.apache.cxf.bus.extension.ExtensionManagerImpl.loadAndRegister(ExtensionManagerImpl.java:198)
        at org.apache.cxf.bus.extension.ExtensionManagerImpl.getBeansOfType(ExtensionManagerImpl.java:333)
        at org.apache.cxf.ws.policy.AssertionBuilderRegistryImpl.loadDynamic(AssertionBuilderRegistryImpl.java:96)
        at org.apache.neethi.AssertionBuilderFactoryImpl.registerBuilder(AssertionBuilderFactoryImpl.java:95)
        at network.oxalis.as4.util.OxalisAlgorithmSuiteLoader.register(OxalisAlgorithmSuiteLoader.java:68)
        at network.oxalis.as4.util.OxalisAlgorithmSuiteLoader.lambda$new$0(OxalisAlgorithmSuiteLoader.java:48)
        at java.base/java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1708)
        at network.oxalis.as4.util.OxalisAlgorithmSuiteLoader.<init>(OxalisAlgorithmSuiteLoader.java:40)
        at network.oxalis.as4.common.As4CommonModule.configure(As4CommonModule.java:62)
        at com.google.inject.AbstractModule.configure(AbstractModule.java:66)
        at com.google.inject.spi.Elements$RecordingBinder.install(Elements.java:409)
        at com.google.inject.spi.Elements.getElements(Elements.java:108)
        at com.google.inject.internal.InjectorShell$Builder.build(InjectorShell.java:160)
        at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:107)
        at com.google.inject.Guice.createInjector(Guice.java:87)
        at com.google.inject.Guice.createInjector(Guice.java:69)
        at network.oxalis.commons.guice.GuiceModuleLoader.initiate(GuiceModuleLoader.java:66)
        at network.oxalis.outbound.OxalisOutboundComponent.<init>(OxalisOutboundComponent.java:45)
        at eu.sendregning.oxalis.Main.main(Main.java:117)
Caused by: java.lang.NoSuchMethodException: sun.misc.Unsafe.defineClass(java.lang.String,[B,int,int,java.lang.ClassLoader,java.security.ProtectionDomain)
        at java.base/java.lang.Class.getMethod(Class.java:2227)
        at com.sun.xml.bind.v2.runtime.reflect.opt.Injector$3.run(Injector.java:170)
        at com.sun.xml.bind.v2.runtime.reflect.opt.Injector$3.run(Injector.java:166)
        at java.base/java.security.AccessController.doPrivileged(AccessController.java:569)
        ... 63 more

Oct 11, 2024 4:54:50 PM org.apache.cxf.ws.security.policy.WSSecurityPolicyLoader <init>
WARNING: Could not load or register WS-SecurityPolicy related classes. Please check that (the correct version of) Apache WSS4J is on the classpath: null
Oct 11, 2024 4:54:50 PM org.apache.cxf.ws.security.policy.WSSecurityPolicyLoader <init>
WARNING: Could not load or register WS-SecurityPolicy related classes. Please check that (the correct version of) Apache WSS4J is on the classpath: Could not initialize class org.apache.wss4j.stax.setup.WSSec
2024-10-11 16:54:50,757 INFO [network.oxalis.commons.filesystem.detector.EnvironmentHomeDetector] Using Oxalis folder specified as environment variable 'OXALIS_HOME' with value 'C:\Oxalis\oxalis_home\'.
2024-10-11 16:54:50,758 INFO [network.oxalis.commons.filesystem.FileSystemModule] Home folder: C:\Oxalis\oxalis_home
2024-10-11 16:54:50,758 INFO [network.oxalis.commons.filesystem.FileSystemModule] Configuration folder: C:\Oxalis\oxalis_home
2024-10-11 16:54:50,758 INFO [network.oxalis.commons.config.ConfigModule] Configuration file: C:\Oxalis\oxalis_home\oxalis.conf
2024-10-11 16:54:50,760 INFO [network.oxalis.commons.settings.SettingsBuilder] HTTP => POOL_TOTAL: 20
2024-10-11 16:54:50,760 INFO [network.oxalis.commons.settings.SettingsBuilder] HTTP => POOL_MAX_ROUTE: 2
2024-10-11 16:54:50,760 INFO [network.oxalis.commons.settings.SettingsBuilder] HTTP => POOL_VALIDATE_AFTER_INACTIVITY: 1000
2024-10-11 16:54:50,760 INFO [network.oxalis.commons.settings.SettingsBuilder] HTTP => POOL_TIME_TO_LIVE: 30
2024-10-11 16:54:50,760 INFO [network.oxalis.commons.settings.SettingsBuilder] HTTP => TIMEOUT_CONNECT: 0
2024-10-11 16:54:50,760 INFO [network.oxalis.commons.settings.SettingsBuilder] HTTP => TIMEOUT_READ: 0
2024-10-11 16:54:50,760 INFO [network.oxalis.commons.settings.SettingsBuilder] HTTP => TIMEOUT_SOCKET: 0
2024-10-11 16:54:50,762 INFO [network.oxalis.commons.settings.SettingsBuilder] Error => TRACKER: quiet
2024-10-11 16:54:50,762 INFO [network.oxalis.commons.settings.SettingsBuilder] AS2 => NOTIFICATION: not.in.use@difi.no
2024-10-11 16:54:50,762 INFO [network.oxalis.commons.settings.SettingsBuilder] File system => CONF:
2024-10-11 16:54:50,762 INFO [network.oxalis.commons.settings.SettingsBuilder] File system => INBOUND: /var/peppol/IN
2024-10-11 16:54:50,762 INFO [network.oxalis.commons.settings.SettingsBuilder] File system => PLUGIN: oxalis-plugin
2024-10-11 16:54:50,762 INFO [network.oxalis.commons.settings.SettingsBuilder] Identifiers => HOSTNAME:
2024-10-11 16:54:50,762 INFO [network.oxalis.commons.settings.SettingsBuilder] Identifiers => MSGID_GENERATOR: default
2024-10-11 16:54:50,762 INFO [network.oxalis.commons.settings.SettingsBuilder] Key store => PATH: cert.p12
2024-10-11 16:54:50,763 INFO [network.oxalis.commons.settings.SettingsBuilder] Key store => PASSWORD: ************
2024-10-11 16:54:50,763 INFO [network.oxalis.commons.settings.SettingsBuilder] Key store => KEY_ALIAS: cert
2024-10-11 16:54:50,763 INFO [network.oxalis.commons.settings.SettingsBuilder] Key store => KEY_PASSWORD: ************
2024-10-11 16:54:50,763 INFO [network.oxalis.commons.settings.SettingsBuilder] Header => PARSER: sbdh
2024-10-11 16:54:50,764 INFO [network.oxalis.commons.settings.SettingsBuilder] Persister => PAYLOAD: default
2024-10-11 16:54:50,764 INFO [network.oxalis.commons.settings.SettingsBuilder] Persister => RECEIPT: default
2024-10-11 16:54:50,764 INFO [network.oxalis.commons.settings.SettingsBuilder] Persister => EXCEPTION: default
2024-10-11 16:54:50,764 INFO [network.oxalis.commons.settings.SettingsBuilder] Persister => HANDLER: default
2024-10-11 16:54:50,764 INFO [network.oxalis.commons.settings.SettingsBuilder] Tracing => REPORTER: noop
2024-10-11 16:54:50,765 INFO [network.oxalis.commons.settings.SettingsBuilder] Tracing => HTTP: <null>
2024-10-11 16:54:50,765 INFO [network.oxalis.commons.settings.SettingsBuilder] Tracing => TRACER: noop
2024-10-11 16:54:50,765 INFO [network.oxalis.commons.settings.SettingsBuilder] Executor => DEFAULT: 50
2024-10-11 16:54:50,765 INFO [network.oxalis.commons.settings.SettingsBuilder] Executor => STATISTICS: 50
2024-10-11 16:54:50,766 INFO [network.oxalis.commons.settings.SettingsBuilder] Tag => GENERATOR: noop
2024-10-11 16:54:50,766 INFO [network.oxalis.commons.settings.SettingsBuilder] Timestamp => SERVICE: system
2024-10-11 16:54:50,766 INFO [network.oxalis.commons.settings.SettingsBuilder] Evidence => SERVICE: rem
2024-10-11 16:54:50,766 INFO [network.oxalis.commons.settings.SettingsBuilder] Transformer => DETECTOR: noop
2024-10-11 16:54:50,767 INFO [network.oxalis.commons.settings.SettingsBuilder] Transformer => WRAPPER: xml
2024-10-11 16:54:50,767 INFO [network.oxalis.commons.settings.SettingsBuilder] Statistics => SERVICE: noop
2024-10-11 16:54:50,767 INFO [network.oxalis.commons.settings.SettingsBuilder] Transmission => VERIFIER: default
2024-10-11 16:54:50,767 INFO [network.oxalis.commons.settings.SettingsBuilder] AS4 => HOSTNAME:
2024-10-11 16:54:50,768 INFO [network.oxalis.commons.settings.SettingsBuilder] AS4 => MSGID_GENERATOR: default
2024-10-11 16:54:50,768 INFO [network.oxalis.commons.settings.SettingsBuilder] AS4 => TYPE: peppol
2024-10-11 16:54:50,768 INFO [network.oxalis.commons.settings.SettingsBuilder] Logging => CONFIG: logback.xml
2024-10-11 16:54:50,768 INFO [network.oxalis.commons.settings.SettingsBuilder] Logging => SERVICE: logback
2024-10-11 16:54:50,769 INFO [network.oxalis.commons.logging.LoggingHandler] Logging service: logback
Configuring Logback with configuration: C:\Oxalis\oxalis_home\logback.xml
2024-10-11 16:54:50,826 INFO [network.oxalis.commons.security.CertificateModule] Certificate subject: CN=PMY000676, OU=PEPPOL TEST AP, O=Appfuxion Consulting Sdn. Bhd., C=MY
2024-10-11 16:54:50,826 INFO [network.oxalis.commons.security.CertificateModule] Certificate issuer: CN=PEPPOL ACCESS POINT TEST CA - G2, OU=FOR TEST ONLY, O=OpenPEPPOL AISBL, C=BE
2024-10-11 16:54:50,920 INFO [network.oxalis.outbound.transmission.MessageSenderFactory] Prioritized list of transport profiles:
2024-10-11 16:54:50,920 INFO [network.oxalis.outbound.transmission.MessageSenderFactory] => peppol-transport-as4-v2_0
2024-10-11 16:54:50,920 INFO [network.oxalis.outbound.transmission.MessageSenderFactory] => bdxr-transport-ebms3-as4-v1p0
2024-10-11 16:54:50,921 INFO [network.oxalis.outbound.transmission.MessageSenderFactory] => busdox-transport-as2-ver1p0r1
2024-10-11 16:54:50,921 INFO [network.oxalis.outbound.transmission.MessageSenderFactory] => busdox-transport-as2-ver2p0
2024-10-11 16:54:50,921 INFO [network.oxalis.outbound.transmission.MessageSenderFactory] => busdox-transport-as2-ver1p0
2024-10-11 16:54:50,929 ERROR [network.oxalis.commons.guice.GuiceModuleLoader] Unable to detect mode.
network.oxalis.api.lang.OxalisLoadingException: Unable to detect mode.
        at network.oxalis.commons.mode.ModeProvider.get(ModeProvider.java:77)
        at network.oxalis.commons.mode.ModeProvider.get(ModeProvider.java:49)
        at com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:86)
        at com.google.inject.internal.BoundProviderFactory.provision(BoundProviderFactory.java:72)
        at com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:60)
        at com.google.inject.internal.BoundProviderFactory.get(BoundProviderFactory.java:59)
        at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
        at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:169)
        at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:45)
        at com.google.inject.internal.InternalInjectorCreator.loadEagerSingletons(InternalInjectorCreator.java:213)
        at com.google.inject.internal.InternalInjectorCreator.injectDynamically(InternalInjectorCreator.java:186)
        at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:113)
        at com.google.inject.Guice.createInjector(Guice.java:87)
        at com.google.inject.Guice.createInjector(Guice.java:69)
        at network.oxalis.commons.guice.GuiceModuleLoader.initiate(GuiceModuleLoader.java:66)
        at network.oxalis.outbound.OxalisOutboundComponent.<init>(OxalisOutboundComponent.java:45)
        at eu.sendregning.oxalis.Main.main(Main.java:117)
Caused by: network.oxalis.vefa.peppol.common.lang.PeppolLoadingException: Unable to initiate 'class network.oxalis.vefa.peppol.security.util.DifiCertificateValidator'
        at network.oxalis.vefa.peppol.mode.Mode.initiate(Mode.java:125)
        at network.oxalis.vefa.peppol.mode.Mode.initiate(Mode.java:94)
        at network.oxalis.vefa.peppol.security.ModeDetector.detect(ModeDetector.java:46)
        at network.oxalis.commons.mode.ModeProvider.get(ModeProvider.java:75)
        ... 16 common frames omitted
Caused by: java.lang.reflect.InvocationTargetException: null
        at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77)
        at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
        at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:480)
        at network.oxalis.vefa.peppol.mode.Mode.initiate(Mode.java:112)
        ... 19 common frames omitted
Caused by: java.lang.ExceptionInInitializerError: null
        at network.oxalis.commons.certvalidator.ValidatorLoader.build(ValidatorLoader.java:46)
        at network.oxalis.vefa.peppol.security.util.DifiCertificateValidator.<init>(DifiCertificateValidator.java:53)
        ... 25 common frames omitted
Caused by: java.lang.NullPointerException: Cannot invoke "java.lang.reflect.Method.invoke(Object, Object[])" because "com.sun.xml.bind.v2.runtime.reflect.opt.Injector.defineClass" is null
        at com.sun.xml.bind.v2.runtime.reflect.opt.Injector.inject(Injector.java:294)
        at com.sun.xml.bind.v2.runtime.reflect.opt.Injector.inject(Injector.java:66)
        at com.sun.xml.bind.v2.runtime.reflect.opt.AccessorInjector.prepare(AccessorInjector.java:57)
        at com.sun.xml.bind.v2.runtime.reflect.opt.OptimizedAccessorFactory.get(OptimizedAccessorFactory.java:157)
        at com.sun.xml.bind.v2.runtime.reflect.Accessor$FieldReflection.optimize(Accessor.java:255)
        at com.sun.xml.bind.v2.runtime.reflect.TransducedAccessor$CompositeTransducedAccessorImpl.<init>(TransducedAccessor.java:207)
        at com.sun.xml.bind.v2.runtime.reflect.TransducedAccessor.get(TransducedAccessor.java:147)
        at com.sun.xml.bind.v2.model.impl.RuntimeClassInfoImpl.calcTransducer(RuntimeClassInfoImpl.java:215)
        at com.sun.xml.bind.v2.model.impl.RuntimeClassInfoImpl.getTransducer(RuntimeClassInfoImpl.java:189)
        at com.sun.xml.bind.v2.model.impl.RuntimeClassInfoImpl.link(RuntimeClassInfoImpl.java:166)
        at com.sun.xml.bind.v2.model.impl.ModelBuilder.link(ModelBuilder.java:424)
        at com.sun.xml.bind.v2.model.impl.RuntimeModelBuilder.link(RuntimeModelBuilder.java:103)
        at com.sun.xml.bind.v2.runtime.JAXBContextImpl.getTypeInfoSet(JAXBContextImpl.java:448)
        at com.sun.xml.bind.v2.runtime.JAXBContextImpl.<init>(JAXBContextImpl.java:282)
        at com.sun.xml.bind.v2.runtime.JAXBContextImpl.<init>(JAXBContextImpl.java:109)
        at com.sun.xml.bind.v2.runtime.JAXBContextImpl$JAXBContextBuilder.build(JAXBContextImpl.java:1142)
        at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:141)
        at com.sun.xml.bind.v2.JAXBContextFactory.createContext(JAXBContextFactory.java:35)
        at javax.xml.bind.ContextFinder.find(ContextFinder.java:358)
        at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:691)
        at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:632)
        at network.oxalis.commons.certvalidator.ValidatorLoaderParser.<clinit>(ValidatorLoaderParser.java:32)
        ... 27 common frames omitted
Exception in thread "main" network.oxalis.api.lang.OxalisLoadingException: Unable to load Oxalis due to errors during loading.
        at network.oxalis.commons.guice.GuiceModuleLoader.initiate(GuiceModuleLoader.java:76)
        at network.oxalis.outbound.OxalisOutboundComponent.<init>(OxalisOutboundComponent.java:45)
        at eu.sendregning.oxalis.Main.main(Main.java:117)

can u help on this? Thanks. Best regards

aaron-kumar commented 1 month ago

No, environment variable was Not set correctly, otherwise the first statement would be: NOTE: Picked up JDK_JAVA_OPTIONS: --add-opens=java.base/java.lang=ALL-UNNAMED

On Windows PowerShell, you can set it as: $Env:JDK_JAVA_OPTIONS='--add-opens=java.base/java.lang=ALL-UNNAMED'

On Windows Command Prompt, you can set it as: set JDK_JAVA_OPTIONS=--add-opens=java.base/java.lang=ALL-UNNAMED

This will solve your issue.

But additionally in logs I found " bdxr-transport-ebms3-as4-v1p0" in "Prioritized list of transport profiles". It is Not there in standard Oxalis 6.7.0 released version. Did you modified something?

evanswappf commented 1 month ago

Hi @aaron-kumar thanks for the reply

for the "bdxr-transport-ebms3-as4-v1p0" is there because I modified the .conf file.

As for the testbed after setting the env variable, I can send the message already. Thanks for that. But I want to ask another question. Does oxalis have its own built in message validation. If have how do I implement it? Because I currently testing the last test case here and the oxalis standalone cannot validate the invalid message.

image

image

Can u help on this? Thanks. Best regards.

aaron-kumar commented 1 month ago

Note that "bdxr-transport-ebms3-as4-v1p0" is Not supported in Peppol.

No, Oxalis do Not support validation of outgoing message. This is something outside the scope of Oxalis. But you can use other Open Source library/tools for validating outgoing messages.

Closing this issue now.