[
https://issues.apache.org/jira/browse/KARAF-1861?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13462808#comment-13462808
]
Achim Nierbeck commented on KARAF-1861:
---------------------------------------
yes, the http-service sents events when the servlets are registered and
started, you can register a specialized webEventListener as done in pax-web:
https://github.com/ops4j/org.ops4j.pax.web/blob/master/itest/src/test/java/org/ops4j/pax/web/itest/WarIntegrationTest.java#L152
> Test failure in exam regression tests : KarafWithBundleTest
> -----------------------------------------------------------
>
> Key: KARAF-1861
> URL: https://issues.apache.org/jira/browse/KARAF-1861
> Project: Karaf
> Issue Type: Bug
> Components: karaf-tooling
> Affects Versions: 3.0.0
> Reporter: Christian Schneider
> Assignee: Christian Schneider
> Fix For: 3.0.0
>
>
> When running the tooling/exam/regression tests I get an exception in
> KarafWithBundleTest.
> It cant connect to the URL http://localhost:9080/test/services.
> I think there are two possible problems with the test.
> 1. At least on my machine karaf needs quite some time to start. So we might
> have a timing issue between karaf startup and the url.getConnection timing out
> 2. We might have a timing issue between the war feature start and the
> servlet activator that gets the httpservice.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira