Giter Site home page Giter Site logo

Comments (4)

kvlou avatar kvlou commented on July 21, 2024

@jsimone i have that implemented as we needed it.
seems like some apps will use getRealPath from the servlet which will return
null if the war is not expanded. Usually its best to use getResourceStream, but there are some
apps that do not do this.

https://github.com/lkamenov/webapp-runner/tree/expand_war

I have added an extra option --expand-war that will expand the war and launch tomcat over that.

take a look and let me know if you would like me to submit a pull request.

Lou

from webapp-runner.

jsimone avatar jsimone commented on July 21, 2024

Please do submit the pull request. Your timing is perfect. I was going to look at implementing this very soon. I'll just look to merge your work instead ;)

Thanks!

On Jun 7, 2013, at 10:24 AM, Lou Kamenov [email protected] wrote:

@jsimone i have that implemented as we needed it.
seems like some some apps will use getRealPath from the servlet which will return
null if the war is not expanded. Usually its best to use getResourceStream, but there are some
apps that do not do this.

https://github.com/lkamenov/webapp-runner/tree/expand_war

I have added an extra option --expand-war that will expand the war and launch tomcat over that.

take a look and let me know if you would like me to submit a pull request.

Lou


Reply to this email directly or view it on GitHub.

from webapp-runner.

kvlou avatar kvlou commented on July 21, 2024

Just did that, however it includes the base-url for proxys there as well. You can just pick what you need from there.

from webapp-runner.

jsimone avatar jsimone commented on July 21, 2024

This is released in 7.0.40.0

from webapp-runner.

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.