Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Making Apache Felix Gogo not open a local console

I am learning Apache Felix to use as my OSGi framework. I want to be able to use the Felix Remote Shell to access my running instance through telnet. The Remote Shell accesses the process through Gogo, as explained on http://felix.apache.org/site/apache-felix-remote-shell.html. When I start Felix with the Gogo shell bundles in the auto-deploy bundles directory, it opens a Felix prompt g! on the Linux console from which I am starting. What I would like to do is have Felix start with the Gogo shell active, but without attaching to my current Linux console and showing the g! prompt, and still allowing me to access the instance using the Remote Shell through telnet. Is this possible? If so, what is the correct way to do it? Would nohup and running in the background suffice? That doesn't seem very clean to me. Thanks for any suggestions!

like image 373
John Simmons Avatar asked Jan 14 '13 17:01

John Simmons


1 Answers

According to a discussion on the mailing list, you should add the -Dgosh.args=--nointeractive JVM argument.

like image 180
Richard S. Hall Avatar answered Oct 16 '22 12:10

Richard S. Hall