Comments (7)
It's your lucky day ;-) Both parameters stored_error_filename
and stored_sent_filename
are now supported (with msg
and date
parameters available). The latest SNAPSHOT is pushed...
from as2-lib.
I looked at your configuration and it seems to be okay.
I am however not sure if D:/gitrepo/as2-lib-spring-demo/data/toopenas2a/
works, or whether it would be better to use D:\gitrepo\as2-lib-spring-demo\data\toopenas2a\
.
For enhanced debugging I recommend to turn up the log level of Log4J from info
to debug
and see, if some polling takes place.
from as2-lib.
Hi Philip,
It seems All instances of AbstractActiveModule are started by AS2ServerXMLSession in the main method of MainOpenAS2Server, it's not included in as2-lib or as2-servlet, so the AS2DirectoryPollingModule will not start in currnet as2-servlet apps, the AS2ServletXMLSession loads the MessageProcessor, but it doesn't start all active modules, so far, I haven't found a way to acquire the AS2ServletXMLSession in my app code and I guess it's designed for internal use?
from as2-lib.
Okay, I think I got it.
There are imho 2 things in the current version:
- The AS2 configuration only gets read when accessing
/as2
or/as2mdn
for the first time and - The active modules are never started (hence they are also not shut down)
I made the necessary adjustments in the as2-demo-spring-boot application and pushed a new version of 4.8.0-SNAPSHOT
to Maven Central for Snapshots. Please verify if that works for you too.
from as2-lib.
A few more things relevant to your configuration example:
errordir
andsentdir
cannot be parameterized until v4.8.0 - so this is new :)- The parameters
stored_error_filename
andstored_sent_filename
are currently unsupported - let me see what I can do
from as2-lib.
Hi Philip,
Thank you so much for such quick upgrade, yes, following the latest sample, the polling module can start successfully, and with AS2SenderModule, message can be sent to my OpenAs2Server successfully.
Regarding stored_error_filename and stored_sent_filename, I just copied the config from OpenAs2Server, didn't realize the problem, thanks again. :-D 👍
from as2-lib.
Okay cool. so this issue can be closed. Release 4.8.0 coming soon
from as2-lib.
Related Issues (20)
- Performance issues in AS2 servlet when transferring files HOT 2
- unable to send file to AS2 server from AS2-LIB HOT 5
- getting started HOT 9
- Disposition isn't correct when using servlet HOT 14
- "Invalid HTTP Request" Error with Servlet-based Demo-Web-App HOT 8
- java.lang.IllegalStateException: unable to create shared stream: java.io.FileNotFoundException: /tmp/as2-lib-res-16551011638687829143.tmp (No such file or directory) HOT 7
- Spring boot: possible to make custom handler a spring managed bean? HOT 3
- partnership attribute: remove_cms_algorithm_protection_attrib HOT 2
- Error receiving from chunked transfer encoding HOT 11
- MIC calculation on outgoing AS2 is incorrect when using compress before signing HOT 9
- Question : Does AS2 includes standard HTTP headers and custom generated headers for communication between 2 systems interacting using AS2 protocol. HOT 1
- Cant' send files to distant client using "MainSendToMendelsonTestServer.java" HOT 2
- Trying to use RSASSA_PKCS1_V1_5_WITH_SHA3_256 signing alg results in IllegalArgumentException: Unknown signature type requested: RSASSAPSS HOT 13
- latest certificates from keystore is not fetching when service is running HOT 2
- Advice on creating documentation HOT 7
- Can't work with AS2 version 5.0 with bc-fips HOT 4
- NoClassDefFoundError: javax/mail/internet/MimeBodyPart HOT 2
- Private Key is Null for public key HOT 4
- bcMail temporary files not deleted when compression is used (as2-lib 5.1.2)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from as2-lib.