Sorry for replying to a post that's almost two years old, but I too got curious about unikernels recently so I gave OSv a try with TomEE. My configuration is available here if anyone is interested:
https://github.com/cuspycode/osv-stuff/tree/master/tomee It worked for my application, but your mileage may vary of course. -- Bjorn Danielsson Cuspy Code AB Jonathan Fisher <[email protected]> wrote: > Just wanted to make sure everyone saw this (http://osv.io/), since it will > likely have a large impact on how your virtualize your Java workloads in > the future. > > Essentially OSv is designed to run one application only, in kernel/real > mode. With virtualization, that's an OK thing, because the worst that can > happen is the application destroys itself. But since the JVM does byte code > verification, the risk is really really low. Think of this as a very modern > and elegant real mode DOS... and imagine if the JVM could access the page > table directly. this could have huge implications for garbage collection as > mentioned on their site. > > Anyway, they're considering writing enhanced versions of the JVM, and even > specific Java applications like Tomcat to take advantage of OSv features. > It'd be super cool if TomEE was also a part of that! The tech is still in > in Alpha stages, but this is definitely something to watch.
