[ 
https://issues.apache.org/jira/browse/GERONIMO-5793?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Rex Wang updated GERONIMO-5793:
-------------------------------

    Description: 
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 
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.

The "HelloWorld.jar", "cviewer.war" , picture1 and server.log are attached for 
detail.

  was:
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.


> 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
>             Fix For: 3.0-M2, 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 
> 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.
> 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