You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 18, 2022. It is now read-only.
The JAXRSConnector checks if the ports of the HTTP Service implementation and the registered resource are equal. In some cases, the value of HTTP Service port is Integer and the check fails.
I'm using the Equinox HTTP Service implementation which registers
{org.osgi.service.http.HttpService}={http.port=80, service.pid=org.eclipse.equinox.http.HttpService-http, http.address=ALL, service.vendor=IBM, service.description=OSGi Http Service - IBM Implementation, http.scheme=http, http.timeout=30, service.id=106, service.bundleid=91, service.scope=bundle}
privateHttpServicefindHttpServiceForPort( Objectport ) {
ServiceHolder[] serviceHolders = httpServices.getServices();
HttpServiceresult = null;
for( ServiceHolderserviceHolder : serviceHolders ) {
ObjectservicePort = getPort( serviceHolder );
// servicePort is Integer// port is Stringif( servicePort.equals( port ) ) {
result = ( HttpService )serviceHolder.getService();
}
}
returnresult;
}
The text was updated successfully, but these errors were encountered:
The JAXRSConnector checks if the ports of the HTTP Service implementation and the registered resource are equal. In some cases, the value of HTTP Service port is Integer and the check fails.
I'm using the Equinox HTTP Service implementation which registers
The text was updated successfully, but these errors were encountered: