Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Question] Spring MVC based web application #1

Open
boeboe opened this issue Dec 17, 2014 · 0 comments
Open

[Question] Spring MVC based web application #1

boeboe opened this issue Dec 17, 2014 · 0 comments

Comments

@boeboe
Copy link

boeboe commented Dec 17, 2014

Hi,

What kind of Java application is being discussed here? I have the same issue with a Spring MVC based web application bootstrapped with webapp-runner on Heroku and I was wondering where I should load/trigger the code suggested here?

I have tried two methods:

  1. I load a Bean in my root application context, setting those env variables.
  2. I use JVM command line arguments to set proxy configuration: -Dhttp.proxyHost=proxyhostURL -Dhttp.proxyPort=proxyPortNumber -Dhttp.proxyUser=proxy -Dhttp.proxyPassword=somePassword

Both methods still end up in Caused by: java.net.BindException: Cannot assign requested address ...

What kind of web application server are you using?

How does your Procfile looks like after using this method?

web: bin/proximo java $JAVA_OPTS -jar target/dependency/webapp-runner.jar --port $PORT --expand-war --enable-compression target/*.war

Kind regards,
Bart

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant