March 6th, 2011

Felix console not enabled by default on Glassfish 3.1

How to enable the Felix command line shell on Glassfish 3.1 final

— Matthew Fellows —

I recently upgraded to Glassfish V3.1 Final from the beta releases and noticed that the Felix shell was no longer activated by default. It wasn’t completely obvious as to how to enable it. Turns out there has been some discussion around security and the need for it to be enabled by default (see GLASSFISH-13006 for more info).

To fix this, modify your domain config file ($GLASSFISH_HOME/glassfish/domains/domain1/config/domain.xml) and update the entry as per below:


And for those who would prefer the vanilla felix shell sans-gogo, just remove the gogo jar entries:


Start the application server and telnet to localhost:

  telnet localhost 6666

… and we’re done!

  • Tom

    This worked great! Thanks for including the settings for the non-gogo setup which is my preference.