Archive for the ‘java.lang.ClassFormatError’ tag
Feb
23
Xythos Broken Advanced Upload Functionality
We use Xythos at our workplace to provide a file repository for students and eventually faculty and staff. It’s basically a web front end for a file system.
My personal feelings about the product are somewhat ho-hum and indifferent. It makes funny noises under the hood, it’s a bit clunky, but it works, runs on Linux and it’s reliable.
So you’re probably here because you searched on this error:
java.lang.ClassFormatError: Truncated class file
The problem is that you’re probably running your Xythos installation over port 443 (as you should) but there are still components trying to pull files down from port 80. With Xythos, if SSL is enabled, any requests to port 80 get dumped over to 443, and you will get truncated errors like above.