Description
Acceptance / Success Criteria
Attachments
- 09 Jul 2015, 02:44 PM
is duplicated by
Lucidchart Diagrams
Activity
Markus von Rüden July 10, 2015 at 5:20 AM
David Schlenk July 9, 2015 at 5:16 PMEdited
Hi guys! Have you seen NMS-7785? Pretty sure it's the same issue. As noted there, the latest revision I found that works is 16d9336ea8efb94e50cb67396a69a328b95d0396. Anything later (that can actually build) is broken.
Jesse White July 9, 2015 at 5:04 PM
If I checkout develop at this particular commit 75f5d3a1182e130b6d7ef8f2fb022391ffca3fa3
there are no issues.
Jesse White July 9, 2015 at 3:57 PM
Note that this issue doesn't only affect Vaadin apps, it also affects other OSGi based web application like NRTG.
Markus von Rüden July 9, 2015 at 2:43 PMEdited
I investigated the issue and this is what I found so far.
There is no dispatcher available to dispatch the requests to /osgi/ to the osgi container.
Jesse mentioned that he got it to work when reinstalling the feature opennms-bridge-http.
I wrote a little debugger to find out which services are registered/unregistered (see mvr-debug.patch) file.
log:tail | grep HttpServiceImpl
does not show any results.
When invoking features:uninstall opennms-bridge-http and features:install opennms-bridge-http the service gets registered and from there on it is possible to access /osgi/ urls.
Log output when invoking features:uninstall:
2015-07-09 20:38:26,947 | INFO | Thread-160 | activator | ? ? | 56 - org.opennms.mvr-debug - 17.0.0.SNAPSHOT | Removed service org.opennms.container.web.felix.base.internal.EventDispatcher@7b289345
2015-07-09 20:38:26,953 | INFO | xFrameworkWiring | activator | ? ? | 56 - org.opennms.mvr-debug - 17.0.0.SNAPSHOT | Removed service org.ops4j.pax.web.service.internal.LogServiceHandler@4ce57e66
2015-07-09 20:38:26,954 | INFO | xFrameworkWiring | activator | ? ? | 56 - org.opennms.mvr-debug - 17.0.0.SNAPSHOT | Removed service org.ops4j.pax.web.service.internal.Activator$1@4922b280
2015-07-09 20:38:27,024 | INFO | xFrameworkWiring | activator | ? ? | 56 - org.opennms.mvr-debug - 17.0.0.SNAPSHOT | Adding service {}org.ops4j.pax.web.service.internal.LogServiceHandler
2015-07-09 20:38:27,024 | INFO | xFrameworkWiring | activator | ? ? | 56 - org.opennms.mvr-debug - 17.0.0.SNAPSHOT | objectClass = [org.ops4j.pax.web.service.spi.ServletListener]
2015-07-09 20:38:27,024 | INFO | xFrameworkWiring | activator | ? ? | 56 - org.opennms.mvr-debug - 17.0.0.SNAPSHOT | service.id = 486
2015-07-09 20:38:27,025 | INFO | xFrameworkWiring | activator | ? ? | 56 - org.opennms.mvr-debug - 17.0.0.SNAPSHOT | Adding service {}org.ops4j.pax.web.service.internal.Activator$1
2015-07-09 20:38:27,025 | INFO | xFrameworkWiring | activator | ? ? | 56 - org.opennms.mvr-debug - 17.0.0.SNAPSHOT | objectClass = [org.osgi.service.cm.ManagedService]
2015-07-09 20:38:27,025 | INFO | xFrameworkWiring | activator | ? ? | 56 - org.opennms.mvr-debug - 17.0.0.SNAPSHOT | service.id = 487
2015-07-09 20:38:27,025 | INFO | xFrameworkWiring | activator | ? ? | 56 - org.opennms.mvr-debug - 17.0.0.SNAPSHOT | service.pid = org.ops4j.pax.web
Log output when invoking features:install
2015-07-09 20:39:11,461 | INFO | pool-24-thread-1 | activator | ? ? | 56 - org.opennms.mvr-debug - 17.0.0.SNAPSHOT | Adding service {}org.opennms.container.web.bridge.internal.DispatcherFilter
2015-07-09 20:39:11,461 | INFO | pool-24-thread-1 | activator | ? ? | 56 - org.opennms.mvr-debug - 17.0.0.SNAPSHOT | http.felix.dispatcher = org.opennms.container.web.bridge.internal.DispatcherFilter
2015-07-09 20:39:11,461 | INFO | pool-24-thread-1 | activator | ? ? | 56 - org.opennms.mvr-debug - 17.0.0.SNAPSHOT | objectClass = [javax.servlet.Filter]
2015-07-09 20:39:11,461 | INFO | pool-24-thread-1 | activator | ? ? | 56 - org.opennms.mvr-debug - 17.0.0.SNAPSHOT | service.description = Dispatcher for bridged request handling
2015-07-09 20:39:11,461 | INFO | pool-24-thread-1 | activator | ? ? | 56 - org.opennms.mvr-debug - 17.0.0.SNAPSHOT | service.id = 488
2015-07-09 20:39:11,461 | INFO | pool-24-thread-1 | activator | ? ? | 56 - org.opennms.mvr-debug - 17.0.0.SNAPSHOT | service.vendor = The OpenNMS Group, Inc.
2015-07-09 20:39:11,481 | INFO | pool-24-thread-1 | activator | ? ? | 56 - org.opennms.mvr-debug - 17.0.0.SNAPSHOT | Adding service {}org.opennms.container.web.felix.base.internal.service.HttpServiceImpl
2015-07-09 20:39:11,481 | INFO | pool-24-thread-1 | activator | ? ? | 56 - org.opennms.mvr-debug - 17.0.0.SNAPSHOT | objectClass = [org.osgi.service.http.HttpService, org.apache.felix.http.api.ExtHttpService]
2015-07-09 20:39:11,481 | INFO | pool-24-thread-1 | activator | ? ? | 56 - org.opennms.mvr-debug - 17.0.0.SNAPSHOT | service.id = 489
2015-07-09 20:39:11,484 | INFO | pool-24-thread-1 | activator | ? ? | 56 - org.opennms.mvr-debug - 17.0.0.SNAPSHOT | Adding service {}org.opennms.container.web.felix.base.internal.EventDispatcher
2015-07-09 20:39:11,484 | INFO | pool-24-thread-1 | activator | ? ? | 56 - org.opennms.mvr-debug - 17.0.0.SNAPSHOT | http.felix.dispatcher = org.opennms.container.web.felix.base.internal.EventDispatcher
2015-07-09 20:39:11,484 | INFO | pool-24-thread-1 | activator | ? ? | 56 - org.opennms.mvr-debug - 17.0.0.SNAPSHOT | objectClass = [java.util.EventListener]
2015-07-09 20:39:11,484 | INFO | pool-24-thread-1 | activator | ? ? | 56 - org.opennms.mvr-debug - 17.0.0.SNAPSHOT | service.description = Dispatcher for bridged HttpSession events
2015-07-09 20:39:11,484 | INFO | pool-24-thread-1 | activator | ? ? | 56 - org.opennms.mvr-debug - 17.0.0.SNAPSHOT | service.id = 490
2015-07-09 20:39:11,484 | INFO | pool-24-thread-1 | activator | ? ? | 56 - org.opennms.mvr-debug - 17.0.0.SNAPSHOT | service.vendor = The OpenNMS Group, Inc.
Something went wrong on our end
If this keeps happening, share this information with your admin, who should contact support.
Hash 17RLLPW
Is a duplicate of https://opennms.atlassian.net/browse/NMS-7785#icft=NMS-7785 -> closing.