Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

No Format
mika 
    -Dfelix.config.properties=file:felix.config.properties 
    -Djava.protocol.handler.pkgs=com.acunia.wonka.net 
    -jar bin/felix.jar

...

The -Djava.protocol.handler.pkgs=com.acunia.wonka.net option is necessary if you want to do anything URL-related. See here for a full discussion. Basically, we must specify the name of a package containing protocol handlers, which defaults to sun.net.www.protocol. But with Mika this must be set to wonka.net (use com.acunia.wonka.net on older versions of Mika).

We have found this setup to be more than satisfactory in terms of stability, performance and memory usage. We have uncovered several bugs in Mika's class library, but the folks at /k/ have always patched them in a timely manner.

...