users@glassfish.java.net

Re: How to enable the OSGi Bundles autodeployment on Glassfish 3

From: <forums_at_java.net>
Date: Thu, 14 Apr 2011 11:54:10 -0500 (CDT)

[quote=ss141213]Hi, Felix has been started, because GlassFish runs within it,
but none of the OSGi features have been enabled yet in your runtime. Please
run the following two commands to enable the OSGi features in 3.1: 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
The above commands are sensitive to whitespace, so be careful while executing
it. There are alternative ways of doing the same as mentioned in [1]. Thanks,
Sahoo [/quote]

Thanks, after i set the
"org.apache.felix.shell.remote,org.apache.felix.fileinstall " in JVM
Options, it works.


--
[Message sent by forum member 'jakarta99tw']
View Post: http://forums.java.net/node/791670