Comments (9)
Ack, sorry about this. I think the best thing for us to do in the short term is just remove these two lines from jvm-common:
https://github.com/heroku/heroku-buildpack-jvm-common/blob/master/opt/jvmcommon.sh#L26-L27
Then I'll fix the clojure buildpack so that JVM_OPTS is set dynamically (Just like the other env vars in jvm-common). Does that sound reasonable?
from heroku-buildpack-clojure.
Seems like that would fix our issue. Checking...
from heroku-buildpack-clojure.
Ah... still doesn't work, but that's because https://codon-buildpacks.s3.amazonaws.com/buildpacks/heroku/jvm-common.tgz
still has the problematic version of jvmcommon.sh
from heroku-buildpack-clojure.
Oh sorry, yes we have to release it. If you want to give it a try now, you can set this config var (note the "jkutner" part instead of "heroku"):
$ heroku config:set JVM_COMMON_BUILDPACK="https://codon-buildpacks.s3.amazonaws.com/buildpacks/jkutner/jvm-common.tgz"
Let me know if that works, but I'll probably release here in a bit either ways.
from heroku-buildpack-clojure.
I've released the regular default jvm-common, so this should be resolved for you. I'll leave this ticket open and close it when I've fixed JVM_OPTS in this buildpack.
from heroku-buildpack-clojure.
Ok that worked! (that's with custom JVM_COMMON_BUILDPACK)
And thanks for releasing the jvmcommon.
Sounds like I don't need to pass JAVA_OPTS to java ...
in Procfile anymore... It should pickup JAVA_TOOL_OPTIONS. Right?
from heroku-buildpack-clojure.
Correct. You could use JAVA_OPTS for things that are specific to your app if need or if you just preferred to keep them out of the Procfile. But otherwise, every Java process will pick up JAVA_TOOL_OPTIONS (with the exception of Java procs in one-off dynos started with heroku run
).
from heroku-buildpack-clojure.
I've fixing this by removing JVM_OPTS entirely. It just gets in the way of JAVA_OPTS and JAVA_TOOL_OPTIONS and doesn't provide any advantages.
from heroku-buildpack-clojure.
That makes total sense.
from heroku-buildpack-clojure.
Related Issues (20)
- CI is failing after herokuapp.com default domain name change
- Compiling ClojureScript with advanced optimizations takes a lot of time HOT 2
- JDK from system.properties is ignored due to config_vars HOT 2
- Leiningen trouble downloading dependencies HOT 4
- Leiningen 2.4.2 places uberjar into a different location, thus breaking existing Procfiles HOT 2
- Heroku config problem HOT 2
- java/bin missing during deploy HOT 2
- Support for Oracle JDK? HOT 2
- Make node available at build time HOT 4
- Boot support HOT 2
- Could not transfer artifact lein-cprop:lein-cprop:pom:1.0.1 from/to central HOT 5
- nodejs downloaded over HTTP
- Travis fails for PRs with "Invalid credentials provided"
- clojure / clj command not available during build HOT 3
- AgentProxyException when referencing a git repo in deps.edn HOT 5
- Question: Using bin/build script HOT 1
- min-lein-version doesn't work with multi-line
- CLI and tools.deps support HOT 12
- CLI tools step failure message could be improved in cases when download.clojure.org certificate is expired HOT 4
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 heroku-buildpack-clojure.