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

Already on GitHub? Sign in to your account

Intermittent "Java unavailable" errors with yui compressor #218

Open
jakedouglas opened this Issue Feb 2, 2012 · 0 comments

Comments

Projects
None yet
1 participant

I'm deploying to 6 servers using Capistrano and at some point in the process I run a rake task that executes Jammit.package!. Some of the time it works fine, and other times some of the servers report "Jammit Warning: Asset compression disabled -- Java unavailable.". I don't understand where the nondeterminism is coming from, as I can run the deploy process repeatedly with different machines reporting the problem some of the time and working fine some of the time. I also occasionally get "compression failed" (why?).

I'm using jammit 0.6.5 with yui-compressor 0.9.6. Java is definitely installed on all of the machines.

java version "1.6.0_20"
OpenJDK Runtime Environment (IcedTea6 1.9.10) (rhel-1.23.1.9.10.el5_7-x86_64)
OpenJDK 64-Bit Server VM (build 19.0-b09, mixed mode)

Any ideas?...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment