Hi,
This information is also provided in the Administration Guide in To
Enable the Apache Felix Gogo Remote Shell in GlassFish Server 3.1.1 on
page 46 of the guide. You can get this guide from the all-in-one ZIP
archive
<
http://download.java.net/glassfish/3.1.1/release/glassfish-ose-3.1.1-docs-pdf.zip>
of the GlassFish Server 3.1.1 documentation.
-Paul Davies
On 11/1/2011 9:00 AM, Sahoo wrote:
> The remote shell is disabled by default for security reasons and the
> instructions to enable it has changed since 3.1. You need to add
> org.apache.felix.shell.remote.jar to the autostart bundles list in
> osgi/felix/config.properties as described in section #10.4.1 of [1].
>
> [1] http://glassfish.java.net/public/GF-OSGi-Features.pdf
>
> On Tuesday 01 November 2011 09:17 PM, forums_at_java.net wrote:
>> Hi there!
>>
>> I am using the latest GF build (3.1.1 build 12) and I am trying to
>> conect to
>> the gogo console to check the status of my bundles
>>
>> telnet localhost 6666
>>
>> The server is not listening on port 6666
>>
>> I check my jvm properties and I see
>>
>> -Dosgi.shell.telnet.port=6666
>>
>> -D-Dorg.glassfish.additionalOSGiBundlesToStart=org.apache.felix.shell,org.apache.felix.gogo.runtime,org.apache.felix.gogo.shell,org.apache.felix.gogo.command,org.apache.felix.shell.remote,org.apache.felix.fileinstall
>>
>>
>> which is what I used to have in GF 3.1 (up to build 43) where this was
>> working. I have tried with admin security on and off but I guess this
>> has
>> nothing to do with it.
>>
>> Is there anything different that I need to do in 3.1.1 to get this
>> console to
>> work? or is this just a bug?
>>
>> I know I can use the web based console in the mean time but I really
>> like the
>> telnet one.
>>
>> Thanks!
>>
>>
>> --
>>
>> [Message sent by forum member 'el_eduardo']
>>
>> View Post: http://forums.java.net/node/859463
>>
>>
>