Giter Site home page Giter Site logo

Comments (7)

phax avatar phax commented on July 29, 2024 1

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.

phax avatar phax commented on July 29, 2024

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.

GeeinHub avatar GeeinHub commented on July 29, 2024

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.

phax avatar phax commented on July 29, 2024

Okay, I think I got it.
There are imho 2 things in the current version:

  1. The AS2 configuration only gets read when accessing /as2 or /as2mdn for the first time and
  2. 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.

phax avatar phax commented on July 29, 2024

A few more things relevant to your configuration example:

  • errordir and sentdir cannot be parameterized until v4.8.0 - so this is new :)
  • The parameters stored_error_filename and stored_sent_filename are currently unsupported - let me see what I can do

from as2-lib.

GeeinHub avatar GeeinHub commented on July 29, 2024

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.

phax avatar phax commented on July 29, 2024

Okay cool. so this issue can be closed. Release 4.8.0 coming soon

from as2-lib.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.