You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Rex Wang (JIRA)" <ji...@apache.org> on 2011/05/03 11:05:03 UTC

[jira] [Issue Comment Edited] (GERONIMO-5803) EBA cannot work after server restart

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

Rex Wang edited comment on GERONIMO-5803 at 5/3/11 9:04 AM:
------------------------------------------------------------

The root cause is in the ApplicationGBean. Some content bundles are not added to the applicationBundles list when the server restart after a hard stop, because it still presents in the bundle cache. So such content bundle won't be started in the GBean's doStart. Will provide a fix.

      was (Author: rwonly):
    The root cause is in the ApplicationGBean. Some content bundles are not added to the applicationBundles list after the server restart of a hard stop, because it is still in the bundle cache. So such content bundle won't be started in the GBean's doStart. Will provide a fix.
  
> EBA cannot work after server restart
> ------------------------------------
>
>                 Key: GERONIMO-5803
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-5803
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>    Affects Versions: 3.0-M2, 3.0
>         Environment: windows 7
>            Reporter: LiWenQin
>            Assignee: Rex Wang
>         Attachments: CounterApp_1.0.0.eba
>
>
> 1.deploy CounterApp_1.0.0.eba through "Deployer" Portlet.
> 2.There is a copy "CounterApp_1.0.0.eba" in repository.
> 3. In the cache, there are CounterApp, CounterWebBundle, CounterServiceBundle, CounterWorldBundle and their states are all "Active" in the OSGi Portlet
> 4. We can access http://localhost:8080/CounterWebBundle/CounterServlet.
> 5. hard stop the server.
> 6. In the OSGi Portlet,  states of CounterWebBundle, CounterServiceBundle, CounterWorldBundle are "Resolved" (CounterApp is "Active") so that EBA cannot work. 
>     We cannot access url http://localhost:8080/CounterWebBundle/CounterServlet.
> 7. In the "Application EBAs" Portlet, state of application/CounterApp/1.0.0/eba is "running" but the app does not work. 
>     Stop "application/CounterApp/1.0.0/eba" in the "Application EBAs" Portlet will remove CounterApp in "OSGi" Portlet but not remove other three related bundles.
> (CounterApp EBA will work well after normal stop.)

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