geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rex Wang (JIRA)" <>
Subject [jira] [Commented] (GERONIMO-5793) OSGI Bundle "Stop" doesn't work according to Hot deployed "HelloWorld" osgi bundle sample
Date Mon, 25 Apr 2011 02:57:14 GMT


Rex Wang commented on GERONIMO-5793:

commit the fix At revision: 1096396 in trunk.
The DeployCLI runs in a new OSGi framework runtime, so the bundles in hotbundles will be installed
and uninstalled each time we execute the command. You can see the loads
the felix file-install bundle by default. However I can not make a new
that get rid of file-install bundle for deployer only, because the file-install is also used
to load the cfg files in etc.
The solution is making a new for deployer, and move the org.apache.felix.fileinstall-deploy.cfg
to a separate folder. So The org.apache.felix.fileinstall-deploy.cfg won't be loaded and the
hotbundles folder will have no effect to the osgi runtime for deployer.

> OSGI Bundle "Stop" doesn't work according to Hot deployed "HelloWorld" osgi bundle sample
> -----------------------------------------------------------------------------------------
>                 Key: GERONIMO-5793
>                 URL:
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: Hot Deploy Dir
>    Affects Versions: 3.0
>         Environment: JRE 1.6.0 IBM J9 2.4 Windows XP x86-32 jvmwi3260sr9-20101124_69295
(JIT enabled, AOT enabled)
>            Reporter: Tina Li
>            Assignee: Rex Wang
>             Fix For: 3.0
>         Attachments: HelloWorld.jar, cviewer.war, geronimo.log, picture1.JPG
> 1.Use Jan 28 build of Geronimo server
> 2.Start the server if it's not started
> 3.Use simple osgi bundle sample "HelloWorld"
> 4.Hot deploy "HelloWorld.jar",that is, put "HelloWorld.jar" into  file folder of <Geronimo_home>/hotbundles,
> then "Hello World" info will show in server console (if you undeploy this bundle,"Goodbye
World" info will show in server console.)
> 5.Deploy an application using command, e.g., deploy cview sample: deploy.bat deploy %SAMPLE_HOME%/applications/cviewer/target/cviewer.war

> Then "Hello World"  and "Goodbye World" info showed in commond console,showed in picture1.
> 6.Stop the "HelloWorld" bundle in Geronimo Console, the status of bundle became "resolved".
> 7.Then undeploy cview sample using command :deploy.bat undeploy,
> then the  "Hello World"  and "Goodbye World" info showed again.The Stop of bundle doesn't
> The "HelloWorld.jar", "cviewer.war" , picture1 and server.log are attached for detail.

This message is automatically generated by JIRA.
For more information on JIRA, see:

View raw message