OxalisCommunity / oxalis

Oxalis - PEPPOL Access Point open source implementation - Core component
Other
124 stars 90 forks source link

Oxalis Standalone sending test failed #680

Closed Robcio35 closed 1 month ago

Robcio35 commented 2 months ago

Hi, I successfully installed Oxalis + Oxalis AS4 on my Linux server (Ubuntu) with JDK 11 and Tomcat 9. I have a PEPPOL TEST CERTIFICATE and I'm trying to send a test message following the documentation available here. When I try the following command : java -jar oxalis-standalone.jar \ -f /home/ubuntu/peppol-testbed/TestFile_001__BISv3_Invoice.xml \ -r 9922:NGTBCNTRLP1001 \ -s 9925:PBE000675 I receive the following result : _WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by com.sun.xml.bind.v2.runtime.reflect.opt.Injector (file:/opt/tomcat/oxalis/oxalis-standalone.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int) WARNING: Please consider reporting this to the maintainers of com.sun.xml.bind.v2.runtime.reflect.opt.Injector WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release

Total time spent: 1s Attempted to send 0 files Failed transmissions: 1_

The complete output of command is in the attached file oxalis-standalone.jar.log : oxalis-standalone.jar.log

The test file I'm trying to send is in attached here : TestFile_001__BISv3_Invoice.txt

The Oxalis Log file is attached here : oxalis.log

My Oxalis configuration file is attached here : oxalis.conf.txt

Could you please help me in understanding what's wrong in my configuration ?

Many thanks

R.

Robcio35 commented 1 month ago

I finally used another method to send messages, which works correctly : java -classpath "standalone/:as4/" eu.sendregning.oxalis.Main -f /home/ubuntu/peppol-testbed/TestFile_001__BISv3_Invoice.xml