go-java-launcher
go-java-launcher copied to clipboard
A simple Go program for launching Java programs from a fixed configuration. This program replaces Gradle-generated Bash launch scripts which are susceptible to attacks via injection of environment var...
## What happened? In my product, a sysadmin manually starts a "bootvisor" service using `./service/bin/init.sh start` from an extracted tarball. Currently they get no output that the service started, so...
In recent versions of Java, JVM memory configuration has become a bit more sophisticated with supporting launching processes in containers. Specifically, there is a desire to want to utilize some...
## What happened? go-init does not respect the cmdline when checking for if a process is running. https://refspecs.linuxbase.org/LSB_3.1.1/LSB-Core-generic/LSB-Core-generic/iniscrptfunc.html A really easy way to confirm this is ``` echo $$ >...
## What happened? As part of the Java8 -> Java11 migration, we've advised people that if anything goes wrong in prod you can just add `javaHome: $JAVA_8_HOME` to your launcher-custom.yml...
The `absolutizeClasspathEntries` method here... https://github.com/palantir/go-java-launcher/blob/312f8b2004e221bba0707dda4858b873b102ed5e/launchlib/launcher.go#L189 ...doesn't seem to take into account if the classpath is already in absolute format. I think the `absolutizeClasspathEntries` should check if the entry starts with...
This would help resolve some of the previous issues and finer grained-control than either logging everything, or nothing.
Would need to be able to reap the child concurrently with stopping it, which should be possible
We use tildes in install paths (`/foo/bar/baz/group~value~id`). This doesn't jive well with the current regex: https://github.com/palantir/go-java-launcher/blob/develop/launchlib/launcher.go#L110 when the provided `JAVA_HOME` is a subdirectory of that install path. Request is to...
`go-java-launcher` spams out a wall of text every time I run my app, sample included below. Could we disable this logging by default? This would improve the signal-to-noise ratio of...
I have a stack where LD_LIBRARY_PATH is set in the user environment, and we want to append to it when launching our app. Our launcher-static.yml contains the following: ``` env:...