Closed midhunmohan closed 4 years ago
At first glance, there doesn't seem to be any issues in the configuration. However, to allow for further investigation, please provide for the following:
After setting this in oxalis.conf
oxalis.transformer.detector=noop
Message failed : Content does not contain SBDH.
this has been displayed, but in the xml we have the SBDH envelope
so from now on wards since the SBDH will be used for sender and receiver details, we tried as follows
java -jar /opt/production/oxalis/target/oxalis-standalone.jar -f /home/ubuntu/out/test.xml
I don't think you should set oxalis.transformer.detector=noop
For me, when I add this to oxalis.conf I get the following error:
Message failed : Content does not contain SBDH.
2019-11-12 14:44:07,033 ERROR [eu.sendregning.oxalis.Main] Execution failed: no.difi.oxalis.api.lang.OxalisTransmissionException: No transmission is provided.
java.util.concurrent.ExecutionException: no.difi.oxalis.api.lang.OxalisTransmissionException: No transmission is provided.
But without the line Oxalis 4.0.4 is working for me.
@artjomsk , we are generating SBDH wrapper for the forward compliance. There its been recommended to use oxalis.transformer.detector=noop
so that oxalis don't have to build/generate the same from the receiver and sender details provided via args.
OK, I see. Yes, when payload file contains SBDH recommended oxalis.transformer.detector=noop
doesn't cause error.
Thank you for information. But you have some other problem I suppose.
@artjomsk, @napramirez finally found the point, there was two things caused these issues.
<CreationDateAndTime>2019-10-30T13:12:36.040Z</CreationDateAndTime>
instead of<DocumentIdentification> <Standard>#########</Standard> <TypeVersion>####</TypeVersion> <InstanceIdentifier>########</InstanceIdentifier> <Type>Invoice</Type> <CreationDateAndTime>2019-10-30T13:12:36.040Z[Etc/UTC]</CreationDateAndTime> </DocumentIdentification>
<BusinessScope> <Scope> <Type>DOCUMENTID</Type> <InstanceIdentifier>########</InstanceIdentifier> </Scope> <Scope> <Type>PROCESSID</Type> <InstanceIdentifier>########</InstanceIdentifier> </Scope> </BusinessScope>
Thanks for your valuable responses
Hello, my oxalis.conf is like the above one and I have this problem which is similar, what could the cause be?
2024-04-10 17:16:07,620 WARN [no.difi.oxalis.sniffer.document.NoSbdhParser] [] You have enabled support for automatic detection of content. This functionality will be turned of by default in version 4.1 and removed in version 4.2/5.0. Use configuration "oxalis.transformer.detector = noop" to disable it today. 2024-04-10 17:16:07,794 ERROR [eu.sendregning.oxalis.Main] [] Execution failed: no.difi.oxalis.api.lang.OxalisTransmissionException: No transmission is provided. java.util.concurrent.ExecutionException: no.difi.oxalis.api.lang.OxalisTransmissionException: No transmission is provided. at java.util.concurrent.FutureTask.report(FutureTask.java:122) at java.util.concurrent.FutureTask.get(FutureTask.java:192) at eu.sendregning.oxalis.Main.main(Main.java:227) Caused by: no.difi.oxalis.api.lang.OxalisTransmissionException: No transmission is provided. at no.difi.oxalis.outbound.transmission.DefaultTransmitter.perform(DefaultTransmitter.java:116) at no.difi.oxalis.outbound.transmission.DefaultTransmitter.transmit(DefaultTransmitter.java:93) at eu.sendregning.oxalis.TransmissionTask.performTransmission(TransmissionTask.java:168) at eu.sendregning.oxalis.TransmissionTask.call(TransmissionTask.java:96) at eu.sendregning.oxalis.TransmissionTask.call(TransmissionTask.java:49) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748)
I am using this line to run oxalis:
/opt/app/java8/bin/java -classpath "oxalis-standalone-4.0.4.jar:/opt/app/Oxalis-AS4/*" eu.sendregning.oxalis.Main -f $file > $file.log;
where all the libraries needed are in /opt/app/Oxalis-AS4/
Following log returned when try to execute the transfer by
JDK Version Used: openjdk version "1.8.0_222" Oxalis Version: 4.0 is there anything wrong in the transfer command or with the conf?