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

Changing port breaks embedded static file server #192

edwelker opened this issue Feb 5, 2015 · 1 comment


Copy link

commented Feb 5, 2015

Changing either -com.twitter.finatra.config.port or directly changing port in com.twitter.finatra.config breaks the embedded static file server.

java -jar *-SNAPSHOT-jar-with-dependencies.jar
(compiled by mvn package)

won't serve any static assets.


This comment has been minimized.

Copy link
Contributor Author

commented Feb 6, 2015

Ahhh, I see now. When running as a jar, it's expected that you set the -com.twitter.finatra.config.env='production' flag so that resources aren't served via localFileSystemResponse but via resourceFileResponse instead.... that was the true issue.

@edwelker edwelker closed this Feb 6, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
1 participant
You can’t perform that action at this time.