I do have a running osgi (equinox container) application. It will been started via a bash script. See felix gogo shell
java -jar ... _osgi.jar -console 1234 &
This all works pretty well and I also can stop it via
telnet localhost 1234
<osgi>stop 0
But what I am looking for is how can I embed this into a bash script to stop the osgi application.
I already tried this
stop 0 | telnet localhost 1234
but this doesn't work. So if someone has idea how to put this in a bash script, please let me know.
from Newest questions tagged java - Stack Overflow http://ift.tt/1JtUFo2
via IFTTT
Aucun commentaire:
Enregistrer un commentaire