Code Monkey home page Code Monkey logo

Comments (6)

phax avatar phax commented on June 4, 2024

Hi. I'm on vacation this week so I only have quick ideas: is BouncyCastle in your classpath? If yes which version? The latest version of BC is 1.60.
Hth Philip

from as2-lib.

yusufbata avatar yusufbata commented on June 4, 2024

Thanks for the quick reply!

I've packaged BouncyCastle version 1.59, as well as 1.60 - same issue occurs with both.

Do you have a working example project that contains as2-servlet (i.e. a deployable war)?

Thanks!
Yusuf

from as2-lib.

phax avatar phax commented on June 4, 2024

What does packaged mean? Maven assembly plugin and BC does not work, because BC is a signed JAR! Also uberjar and all that stuff must be handled with care. A sgandalone example for using as2-servlet is available and will be published after my vacation next week. So stay tuned

from as2-lib.

phax avatar phax commented on June 4, 2024

Did the hint on packaging help you? Did this solve your issue?
https://vzurczak.wordpress.com/2017/09/04/bouncycastle-osgi-and-uber-jars/ contains the explanation.
Try e.g. https://stackoverflow.com/questions/17658831/how-can-i-exclude-dsa-and-sf-files-from-shaded-jar for a possibility to exclude *.SF, .DSA,.RSA

from as2-lib.

yusufbata avatar yusufbata commented on June 4, 2024

Thanks Philip - excluded the bouncy castle dependencies from the war and its working perfectly.

from as2-lib.

phax avatar phax commented on June 4, 2024

Great that it works :)

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.