users@glassfish.java.net

Re: Problems using OSGi Administration Console in GlassFish 3.1

From: Paul M Davies (Oracle) <"Paul>
Date: Tue, 01 Mar 2011 10:16:26 -0800

Hi,

This procedure is explained starting on page 41 of /GlassFish Server
Open Source Edition 3.1 Administration Guide/. This guide is part of the
all-in-one documentation archive
<http://download.java.net/glassfish/3.1/release/glassfish-ose-3.1-docs-pdf.zip>
that is available from the GlassFish project site.

Regards,
-Paul

On 03/01/11 10:07, Sahoo wrote:
> Hi,
>
> In the final build of 3.1, we had to disable fileinstall bundle which
> is responsible for autostarting bundles placed in modules/autostart as
> well as autodeploy/bundles. So, you need to enable fileinstall bundle
> to get the desired functionality. There is a system property called
> org.glassfish.additionalOSGiBundlesToStart in domain.xml that contains
> a list of additional bundles to be started by glassfish. One has to
> add org.apache.felix.fileinstall there. Here are a few ways to do it:
>
> Option #1: You can delete the property and create it again using
> following asadmin commands:
> asadmin delete-jvm-options --target server-config
> -Dorg.glassfish.additionalOSGiBundlesToStart=org.apache.felix.shell,org.apache.felix.gogo.runtime,org.apache.felix.gogo.shell,org.apache.felix.gogo.command
>
>
> asadmin create-jvm-options --target server-config
> -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
>
>
>
> Option #2: You can use GlassFish Admin Console to edit the jvm-option.
>
> Option #3: You can edit the domain.xml directly.
>
> Sorry for the inconvenience. This has been fixed in trunk. If there is
> a release off 3.1 branch, it will be fixed there as well.
>
> Sahoo
>
> On Tuesday 01 March 2011 11:21 PM, benno.luthiger_at_id.ethz.ch wrote:
>> Hello
>>
>> I’m not able to display the OSGi Administration Console using the new
>> GlassFish version 3.1.
>>
>> Is the description on
>> http://wikis.sun.com/display/GFOSGIConsole/Using+GlassFish+OSGi+Console
>> +in+V3 still valid?
>>
>> I’ve tried this but didn’t succeed.
>> I installed the component ‘glassfish-osgi-admin-console‘ too.
>> However, the system complains displaying ‘requested URL
>> /osgi/system/console/bundles was not found on this server’.
>>
>> Regards,
>> Benno
>>
>


-- 
Oracle <http://www.oracle.com>
Paul Davies| Principal Technical Writer| +1.408.276.3413
Oracle GlassFish Server Documentation
4140 Network Circle, Santa Clara CA 95054, USA
Green Oracle <http://www.oracle.com/commitment> 	Oracle is committed to 
developing practices and products that help protect the environment