[ 
https://issues.apache.org/jira/browse/GERONIMO-5793?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12992754#comment-12992754
 ] 

David Jencks commented on GERONIMO-5793:
----------------------------------------

What's going on is that an eba is treated like many configs in geronimo, so 
while the hot deployer tells the framework to uninstall just the eba, it gets 
back notifications for each bundle in the eba.  The existing "escape" of 
ignoring the "same" id therefore doesn't work.

I put the "toRemoves" in a list and go through it as the first item on the 
scan.  This introduces a small delay before the file is actually removed, but I 
don't consider this a big problem.

fixed in 3.0-M2 rev 1069148.
trunk rev 1069150

> OSGI Bundle "Stop" doesn't work according to Hot deployed "HelloWorld" osgi 
> bundle sample
> -----------------------------------------------------------------------------------------
>
>                 Key: GERONIMO-5793
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-5793
>             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: David Jencks
>         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 
> 6. Then "Hello World!!"  and "Goodbye World!!" info showed in commond 
> console,showed in picture1.
> 7.Stop the "HelloWorld" bundle in Geronimo Console, the status of bundle 
> became "resolved".
> 8.Then undeploy cview sample using command :deploy.bat undeploy 
> com.ibm.wasce.samples/cviewer/2.1.1.5/car, then the  "Hello World!!"  and 
> "Goodbye World!!" info showed again.The Stop of bundle doesn't work.
> 9.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: http://www.atlassian.com/software/jira

        

Reply via email to