Comments (4)
@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.
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.
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.
This is released in 7.0.40.0
from webapp-runner.
Related Issues (20)
- Add support for XMemcached
- From 8.5.38.0 and up, receiving error about duplicate web fragments of name org_apache_jasper HOT 13
- Is it possible to open both a port and an httpsPort? HOT 2
- how to define CATALINA_OPTS for my webapp
- Unusual java process hang while using webapp-runner HOT 2
- Failed test while building HOT 3
- Change Tomcat default error pages HOT 2
- Illegal reflective access operation WARNING after JDK 11 HOT 2
- -AmaxPostSize=-1 not work, cannot post large content HOT 11
- How disable JSP tag pooling ? HOT 3
- LinkageError when deploying spring boot application HOT 3
- Possibility to select http connector HOT 3
- Increase Heroku slugsize HOT 1
- Tomcat 9.0.41 don't recognize annotations like @WebServlet HOT 1
- Dependency org.apache.tomcat:tomcat-catalina, leading to CVE problem HOT 1
- Name [java:comp/env] is not bound in this Context. Unable to find [java:comp] HOT 2
- execution error HOT 1
- 413 Request Entity too Large for large file uploads
- Please consider adding Tomcat 10.1 support HOT 7
- Security Vulnerability - Action Required: URL Redirection to Untrusted Site vulnerability in the newest version of com.github.jsimone:webapp-runner HOT 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 webapp-runner.