Open pierfrancesco72 opened 2 years ago
I have modified my oxalis.conf on lookup.locator.hostname
:
oxalis.keystore {
path=dynceftest2party71gw.jks
password = test123
key.alias = dynceftest2party71gw
key.password = test123
}
security.truststore.ap=/home/ubuntu/.oxalis/truststore/gateway_truststore.jks
security.truststore.password=test123
oxalis.as4.type=cef-connectivity
oxalis.header.parser=dummy
lookup.locator.hostname="acc.edelivery.tech.ec.europa.eu/edelivery-sml/"
lookup.locator.class = network.oxalis.vefa.peppol.lookup.locator.BusdoxLocator
security.validator.class = network.oxalis.vefa.peppol.security.util.EmptyCertificateValidator
oxalis.path.inbound = /home/ubuntu/.oxalis/in
and restarted the test:
Implementation named 'dummy' for 'oxalis.header.parser' (network.oxalis.api.header.HeaderParser) is not found. Available implementations: sbdh
2022-01-31 21:15:01,362 INFO [network.oxalis.commons.security.CertificateModule] [] Certificate subject: EMAILADDRESS=CEF-EDELIVERY-SUPPORT@ec.europa.eu, CN=dynceftest2party71gw, OU=Connecting Europe Facility, O=Connectivity Test, ST=Brussels-Capital, C=BE
2022-01-31 21:15:01,362 INFO [network.oxalis.commons.security.CertificateModule] [] Certificate issuer: EMAILADDRESS=CEF-EDELIVERY-SUPPORT@ec.europa.eu, CN=Connectivity Test Component CA, OU=Connecting Europe Facility, O=Connectivity Test, ST=Belgium, C=BE
2022-01-31 21:15:01,405 INFO [network.oxalis.vefa.peppol.security.ModeDetector] [] Detected mode: TEST
2022-01-31 21:15:01,453 INFO [network.oxalis.outbound.transmission.MessageSenderFactory] [] Prioritized list of transport profiles:
2022-01-31 21:15:01,460 INFO [network.oxalis.outbound.transmission.MessageSenderFactory] [] => busdox-transport-as2-ver1p0r1
2022-01-31 21:15:01,460 INFO [network.oxalis.outbound.transmission.MessageSenderFactory] [] => busdox-transport-as2-ver2p0
2022-01-31 21:15:01,460 INFO [network.oxalis.outbound.transmission.MessageSenderFactory] [] => busdox-transport-as2-ver1p0
2022-01-31 21:15:03,947 ERROR [network.oxalis.commons.guice.GuiceModuleLoader] [] Implementation named 'dummy' for 'oxalis.header.parser' (network.oxalis.api.header.HeaderParser) is not found. Available implementations: sbdh
network.oxalis.api.lang.OxalisLoadingException: Implementation named 'dummy' for 'oxalis.header.parser' (network.oxalis.api.header.HeaderParser) is not found. Available implementations: sbdh
at network.oxalis.commons.guice.ImplLoader.get(ImplLoader.java:60)
at network.oxalis.commons.header.HeaderModule.getHeaderParser(HeaderModule.java:27)
at network.oxalis.commons.header.HeaderModule$$FastClassByGuice$$8ca44804.invoke(<generated>)
at com.google.inject.internal.ProviderMethod$FastClassProviderMethod.doProvision(ProviderMethod.java:264)
at com.google.inject.internal.ProviderMethod.doProvision(ProviderMethod.java:173)
at com.google.inject.internal.InternalProviderInstanceBindingImpl$CyclicFactory.provision(InternalProviderInstanceBindingImpl.java:185)
at com.google.inject.internal.InternalProviderInstanceBindingImpl$CyclicFactory.get(InternalProviderInstanceBindingImpl.java:162)
at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:168)
at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:39)
at com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:42)
at com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:65)
at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:113)
at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:91)
at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:306)
at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:168)
at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:39)
at com.google.inject.internal.InternalInjectorCreator.loadEagerSingletons(InternalInjectorCreator.java:211)
at com.google.inject.internal.InternalInjectorCreator.injectDynamically(InternalInjectorCreator.java:182)
at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:109)
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:114)
2022-01-31 21:15:05,182 INFO [network.oxalis.commons.security.CertificateModule] [] Certificate subject: EMAILADDRESS=CEF-EDELIVERY-SUPPORT@ec.europa.eu, CN=dynceftest2party71gw, OU=Connecting Europe Facility, O=Connectivity Test, ST=Brussels-Capital, C=BE
2022-01-31 21:15:05,183 INFO [network.oxalis.commons.security.CertificateModule] [] Certificate issuer: EMAILADDRESS=CEF-EDELIVERY-SUPPORT@ec.europa.eu, CN=Connectivity Test Component CA, OU=Connecting Europe Facility, O=Connectivity Test, ST=Belgium, C=BE
2022-01-31 21:15:05,217 INFO [network.oxalis.vefa.peppol.security.ModeDetector] [] Detected mode: TEST
2022-01-31 21:15:05,923 INFO [network.oxalis.commons.filesystem.FileSystemModule] [] Inbound folder: /home/ubuntu/.oxalis/in
2022-01-31 21:15:06,461 INFO [org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean] [] Creating Service {http://inbound.as4.oxalis.network/}As4ProviderService from class network.oxalis.as4.inbound.As4Provider
2022-01-31 21:15:06,660 DEBUG [org.apache.cxf.resource.DefaultResourceManager] [] resolving resource <org.apache.cxf.wsdl11.WSDLManagerImpl/bus> type <interface org.apache.cxf.Bus>
2022-01-31 21:15:06,664 DEBUG [org.apache.cxf.resource.DefaultResourceManager] [] resolving resource <null> type <interface org.apache.cxf.Bus>
2022-01-31 21:15:07,042 INFO [org.apache.cxf.endpoint.ServerImpl] [] Setting the server's publish address to be /
2022-01-31 21:15:07,075 DEBUG [org.apache.cxf.resource.DefaultResourceManager] [] resolving resource <network.oxalis.as4.inbound.As4Provider/context> type <interface javax.xml.ws.WebServiceContext>
2022-01-31 21:15:07,094 DEBUG [org.apache.cxf.jaxws.handler.AnnotationHandlerChainBuilder] [] building handler chain
2022-01-31 21:15:07,095 DEBUG [org.apache.cxf.jaxws.handler.AnnotationHandlerChainBuilder] [] Checking for HandlerChain annotation on network.oxalis.as4.inbound.As4Provider
2022-01-31 21:15:07,100 DEBUG [org.apache.cxf.jaxws.handler.AnnotationHandlerChainBuilder] [] Checking for HandlerChain annotation on javax.xml.ws.Provider
2022-01-31 21:15:07,100 DEBUG [org.apache.cxf.jaxws.handler.AnnotationHandlerChainBuilder] [] Checking for HandlerChain annotation on java.lang.Object
2022-01-31 21:15:07,101 DEBUG [org.apache.cxf.jaxws.handler.AnnotationHandlerChainBuilder] [] no HandlerChain annotation on class network.oxalis.as4.inbound.As4Provider
2022-01-31 21:15:07,101 DEBUG [org.apache.cxf.endpoint.ServerImpl] [] Server is starting.
2022-01-31 21:15:07,102 DEBUG [org.apache.cxf.transport.servlet.ServletDestination] [] registering incoming observer: org.apache.cxf.transport.ChainInitiationObserver@101f2ca2
2022-01-31 21:15:07,102 DEBUG [org.apache.cxf.endpoint.ServerImpl] [] register the server to serverRegistry
2022-01-31 21:15:07,112 DEBUG [org.apache.cxf.transport.servlet.ServletDestination] [] registering incoming observer: network.oxalis.as4.inbound.As4EndpointsPublisherImpl$1@649920aa
2022-01-31 21:15:07,116 INFO [network.oxalis.as4.common.MerlinProvider] [] Loading TRUSTSTORE: /home/ubuntu/.oxalis/truststore/gateway_truststore.jks
2022-01-31 21:15:07,126 INFO [network.oxalis.as4.common.MerlinProvider] [] Adding acc.edelivery.tech.ec.europa.eu (globalsign rsa ov ssl ca 2018) to truststore
2022-01-31 21:15:07,126 INFO [network.oxalis.as4.common.MerlinProvider] [] Adding peppol access point test ca - g2 (peppol root test ca - g2) to truststore
2022-01-31 21:15:07,126 INFO [network.oxalis.as4.common.MerlinProvider] [] Adding peppol root test ca - g2 to truststore
2022-01-31 21:15:07,126 INFO [network.oxalis.as4.common.MerlinProvider] [] Adding *.tech.ec.europa.eu (globalsign rsa ov ssl ca 2018) to truststore
2022-01-31 21:15:07,126 INFO [network.oxalis.as4.common.MerlinProvider] [] Adding connectivity test root ca to truststore
2022-01-31 21:15:07,126 INFO [network.oxalis.as4.common.MerlinProvider] [] Adding connectivity test component ca to truststore
2022-01-31 21:15:07,133 DEBUG [org.apache.cxf.resource.DefaultResourceManager] [] resolving resource </WEB-INF/cxfServletStaticResourcesMap.txt> type <class java.io.InputStream>
2022-01-31 21:15:07,135 DEBUG [org.apache.cxf.resource.DefaultResourceManager] [] resolving resource </cxfServletStaticResourcesMap.txt> type <class java.io.InputStream>
2022-01-31 21:15:42,441 INFO [network.oxalis.commons.security.CertificateModule] [] Certificate subject: EMAILADDRESS=CEF-EDELIVERY-SUPPORT@ec.europa.eu, CN=dynceftest2party71gw, OU=Connecting Europe Facility, O=Connectivity Test, ST=Brussels-Capital, C=BE
2022-01-31 21:15:42,442 INFO [network.oxalis.commons.security.CertificateModule] [] Certificate issuer: EMAILADDRESS=CEF-EDELIVERY-SUPPORT@ec.europa.eu, CN=Connectivity Test Component CA, OU=Connecting Europe Facility, O=Connectivity Test, ST=Belgium, C=BE
2022-01-31 21:15:42,469 INFO [network.oxalis.vefa.peppol.security.ModeDetector] [] Detected mode: TEST
2022-01-31 21:15:42,484 INFO [network.oxalis.outbound.transmission.MessageSenderFactory] [] Prioritized list of transport profiles:
2022-01-31 21:15:42,484 INFO [network.oxalis.outbound.transmission.MessageSenderFactory] [] => busdox-transport-as2-ver1p0r1
2022-01-31 21:15:42,485 INFO [network.oxalis.outbound.transmission.MessageSenderFactory] [] => busdox-transport-as2-ver2p0
2022-01-31 21:15:42,485 INFO [network.oxalis.outbound.transmission.MessageSenderFactory] [] => busdox-transport-as2-ver1p0
2022-01-31 21:15:43,389 ERROR [network.oxalis.commons.guice.GuiceModuleLoader] [] Implementation named 'dummy' for 'oxalis.header.parser' (network.oxalis.api.header.HeaderParser) is not found. Available implementations: sbdh
network.oxalis.api.lang.OxalisLoadingException: Implementation named 'dummy' for 'oxalis.header.parser' (network.oxalis.api.header.HeaderParser) is not found. Available implementations: sbdh
at network.oxalis.commons.guice.ImplLoader.get(ImplLoader.java:60)
at network.oxalis.commons.header.HeaderModule.getHeaderParser(HeaderModule.java:27)
at network.oxalis.commons.header.HeaderModule$$FastClassByGuice$$8ca44804.invoke(<generated>)
at com.google.inject.internal.ProviderMethod$FastClassProviderMethod.doProvision(ProviderMethod.java:264)
at com.google.inject.internal.ProviderMethod.doProvision(ProviderMethod.java:173)
at com.google.inject.internal.InternalProviderInstanceBindingImpl$CyclicFactory.provision(InternalProviderInstanceBindingImpl.java:185)
at com.google.inject.internal.InternalProviderInstanceBindingImpl$CyclicFactory.get(InternalProviderInstanceBindingImpl.java:162)
at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:168)
at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:39)
at com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:42)
at com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:65)
at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:113)
at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:91)
at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:306)
at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:168)
at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:39)
at com.google.inject.internal.InternalInjectorCreator.loadEagerSingletons(InternalInjectorCreator.java:211)
at com.google.inject.internal.InternalInjectorCreator.injectDynamically(InternalInjectorCreator.java:182)
at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:109)
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:114)
Is there a way around the fact that the CEF connectivity test does not return the SBDH header?
I have installed
oxalis-distribution-5.0.6-distro
and I am trying to send a payload.xml for the CEF Connectivity Test, but in first instace I will send payload to my onw Oxalis AP:this is my Oxalis conf:
this is my
payload.xml
this is the shell command:
this is the log:
threre are something wrong in my
payload.xml
?I'm not sure for this configuration:
bluild form this indications on AS4ConnectivityTestUserGuide.docx