|
Yep, good findings.
Using JNI instead has given me headaches, though. I have not been able to proper unload a library (loading JNI libs works fine otherwise, given you add the relevant permissions) - and it does not unload automatically for me. That's relevant because at the _second_ start of a kindlet, it will refuse to load the JNI lib again because it is already loaded. It will not, however, allow access to the methods defined in this lib anymore. So I dropped my approaches towards JNI for now.
The "faster way" after editing permissions is "/etc/init.d/framework restart".
You can do a lot of things by "just running" applications the way you found. However, the main difference compared to the telnet/ssh approaches is that the latter will provide apps with a full fledged (pseudo) tty. Some (mainly UI-based) apps simply don't work well without a TTY. Running apps that just do simple input/output will work fine.
|