[
https://issues.apache.org/jira/browse/GERONIMO-5803?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13028115#comment-13028115
]
Rex Wang commented on GERONIMO-5803:
------------------------------------
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