You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Tina Li (JIRA)" <ji...@apache.org> on 2011/03/16 10:20:29 UTC

[jira] Created: (GERONIMO-5869) No error messge display when reinstall a bundle without uninstall it after first install

No error messge display when reinstall a bundle without uninstall it after first install
----------------------------------------------------------------------------------------

                 Key: GERONIMO-5869
                 URL: https://issues.apache.org/jira/browse/GERONIMO-5869
             Project: Geronimo
          Issue Type: Bug
      Security Level: public (Regular issues)
          Components: osgi-bundles
    Affects Versions: 3.0
         Environment: JRE 1.6.0 IBM J9 2.4 Windows XP x86-32 jvmwi3260sr9-20101209_70480 (JIT enabled, AOT enabled)
            Reporter: Tina Li
            Priority: Trivial


1.Use Mar 8 build of Geronimo server
2.Start the server if it's not started
3.Install a osgi bundle via "OSGI Bundle" porlet and choose "start" before install,then web console showed info:
  bundle installed
  Info bundle started
4.Change the deploy bundle name, for example, only change old.jar to new.jar,then deploy this bundle again without uninstall this bundle.
Then error info display:
	install bundle failed!
and geronimo.log file showed reason:this bundle has already been installed from the same path.
This seems reasonable
5.But when do nothing to the bundle name and just install this bundle again both without uninstall and don't choose "start", then web console showed info:
  bundle installed
and the status of this bundle still remains "active".
This seems unreasonable

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] Assigned: (GERONIMO-5869) No error messge display when reinstall a bundle without uninstall it after first install

Posted by "Rex Wang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-5869?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rex Wang reassigned GERONIMO-5869:
----------------------------------

    Assignee: Rex Wang

> No error messge display when reinstall a bundle without uninstall it after first install
> ----------------------------------------------------------------------------------------
>
>                 Key: GERONIMO-5869
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-5869
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: osgi-bundles
>    Affects Versions: 3.0
>         Environment: JRE 1.6.0 IBM J9 2.4 Windows XP x86-32 jvmwi3260sr9-20101209_70480 (JIT enabled, AOT enabled)
>            Reporter: Tina Li
>            Assignee: Rex Wang
>            Priority: Trivial
>
> 1.Use Mar 8 build of Geronimo server
> 2.Start the server if it's not started
> 3.Install a osgi bundle via "OSGI Bundle" porlet and choose "start" before install,then web console showed info:
>   bundle installed
>   Info bundle started
> 4.Change the deploy bundle name, for example, only change old.jar to new.jar,then deploy this bundle again without uninstall this bundle.
> Then error info display:
> 	install bundle failed!
> and geronimo.log file showed reason:this bundle has already been installed from the same path.
> This seems reasonable
> 5.But when do nothing to the bundle name and just install this bundle again both without uninstall and don't choose "start", then web console showed info:
>   bundle installed
> and the status of this bundle still remains "active".
> This seems unreasonable

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Closed] (GERONIMO-5869) No error messge display when reinstall a bundle without uninstall it after first install

Posted by "Tina Li (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-5869?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tina Li closed GERONIMO-5869.
-----------------------------


1.Use Mar 25 build of Geronimo server
2.Change the name of bundle file,redeploy the existed bundle, error display:
Encountered an unhandled exception while process action: install
Bundle "helloOSGi" version "1.0.0" has already been installed from files:///<geronimo_home>\var

> No error messge display when reinstall a bundle without uninstall it after first install
> ----------------------------------------------------------------------------------------
>
>                 Key: GERONIMO-5869
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-5869
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: osgi-bundles
>    Affects Versions: 3.0
>         Environment: JRE 1.6.0 IBM J9 2.4 Windows XP x86-32 jvmwi3260sr9-20101209_70480 (JIT enabled, AOT enabled)
>            Reporter: Tina Li
>            Assignee: Rex Wang
>            Priority: Trivial
>             Fix For: 3.0
>
>
> 1.Use Mar 8 build of Geronimo server
> 2.Start the server if it's not started
> 3.Install a osgi bundle via "OSGI Bundle" porlet and choose "start" before install,then web console showed info:
>   bundle installed
>   Info bundle started
> 4.Change the deploy bundle name, for example, only change old.jar to new.jar,then deploy this bundle again without uninstall this bundle.
> Then error info display:
> 	install bundle failed!
> and geronimo.log file showed reason:this bundle has already been installed from the same path.
> This seems reasonable
> 5.But when do nothing to the bundle name and just install this bundle again both without uninstall and don't choose "start", then web console showed info:
>   bundle installed
> and the status of this bundle still remains "active".
> This seems unreasonable

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] Resolved: (GERONIMO-5869) No error messge display when reinstall a bundle without uninstall it after first install

Posted by "Rex Wang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-5869?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rex Wang resolved GERONIMO-5869.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 3.0

> No error messge display when reinstall a bundle without uninstall it after first install
> ----------------------------------------------------------------------------------------
>
>                 Key: GERONIMO-5869
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-5869
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: osgi-bundles
>    Affects Versions: 3.0
>         Environment: JRE 1.6.0 IBM J9 2.4 Windows XP x86-32 jvmwi3260sr9-20101209_70480 (JIT enabled, AOT enabled)
>            Reporter: Tina Li
>            Assignee: Rex Wang
>            Priority: Trivial
>             Fix For: 3.0
>
>
> 1.Use Mar 8 build of Geronimo server
> 2.Start the server if it's not started
> 3.Install a osgi bundle via "OSGI Bundle" porlet and choose "start" before install,then web console showed info:
>   bundle installed
>   Info bundle started
> 4.Change the deploy bundle name, for example, only change old.jar to new.jar,then deploy this bundle again without uninstall this bundle.
> Then error info display:
> 	install bundle failed!
> and geronimo.log file showed reason:this bundle has already been installed from the same path.
> This seems reasonable
> 5.But when do nothing to the bundle name and just install this bundle again both without uninstall and don't choose "start", then web console showed info:
>   bundle installed
> and the status of this bundle still remains "active".
> This seems unreasonable

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] Commented: (GERONIMO-5869) No error messge display when reinstall a bundle without uninstall it after first install

Posted by "Rex Wang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GERONIMO-5869?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13007800#comment-13007800 ] 

Rex Wang commented on GERONIMO-5869:
------------------------------------

this is not a problem to me.
for #5, when install the same bundle twice, this second install will be directly returned by osgi framework. So this is a valid response.
For #4, seems some eclipse specific exception is thrown. I have to say eclipse did a bad thing, i.e. it should not throw a specific exception out of its implementation. Anyway improve the messges shown in the console page so that it won't confuse our users.

Commit fix in GERONIMO-5847 At revision: 1082391 in trunk

> No error messge display when reinstall a bundle without uninstall it after first install
> ----------------------------------------------------------------------------------------
>
>                 Key: GERONIMO-5869
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-5869
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: osgi-bundles
>    Affects Versions: 3.0
>         Environment: JRE 1.6.0 IBM J9 2.4 Windows XP x86-32 jvmwi3260sr9-20101209_70480 (JIT enabled, AOT enabled)
>            Reporter: Tina Li
>            Assignee: Rex Wang
>            Priority: Trivial
>
> 1.Use Mar 8 build of Geronimo server
> 2.Start the server if it's not started
> 3.Install a osgi bundle via "OSGI Bundle" porlet and choose "start" before install,then web console showed info:
>   bundle installed
>   Info bundle started
> 4.Change the deploy bundle name, for example, only change old.jar to new.jar,then deploy this bundle again without uninstall this bundle.
> Then error info display:
> 	install bundle failed!
> and geronimo.log file showed reason:this bundle has already been installed from the same path.
> This seems reasonable
> 5.But when do nothing to the bundle name and just install this bundle again both without uninstall and don't choose "start", then web console showed info:
>   bundle installed
> and the status of this bundle still remains "active".
> This seems unreasonable

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira