Skip to content

Notification Hub Client requests Failing in Jboss 7.0 EAP / Spring 4.1.3-> Java 8 #190

@sigdyp

Description

@sigdyp

Query/Question
Hi, I have been trying to upgrade my Notificaiton Hub SDK from 0.4.2 to 1.1.0 to usethe FCMV1 registration. However, I am running into the error listed below. The request to createRegistrationId or upsertRegistration just goes on infinite loop throwing the exception below.

Is this a compatibility issue? Is there a workaround for older version of Java and Jboss as I am currently working on a legacy project?

Why is this not a Bug or a feature Request?
I am not sure if this is a Bug.

Setup (please complete the following information if applicable):

  • Jboss EAP 7.0
  • OS: Windows 10
  • IDE : Eclipse
  • Using latest library:

    com.windowsazure
    Notification-Hubs-java-sdk
    1.1.0

09:42:48,486 ERROR [stderr] (httpclient-dispatch-1) Exception in thread "httpclient-dispatch-1" java.lang.NoSuchMethodError: javax.net.ssl.SSLParameters.setApplicationProtocols([Ljava/lang/String;)V
09:42:48,488 ERROR [stderr] (httpclient-dispatch-1) at org.apache.hc.client5.http.ssl.DefaultClientTlsStrategy.applyParameters(DefaultClientTlsStrategy.java:108)
09:42:48,488 ERROR [stderr] (httpclient-dispatch-1) at org.apache.hc.client5.http.ssl.AbstractClientTlsStrategy.lambda$upgrade$0(AbstractClientTlsStrategy.java:138)
09:42:48,488 ERROR [stderr] (httpclient-dispatch-1) at org.apache.hc.core5.reactor.ssl.SSLIOSession.initialize(SSLIOSession.java:293)
09:42:48,488 ERROR [stderr] (httpclient-dispatch-1) at org.apache.hc.core5.reactor.ssl.SSLIOSession.beginHandshake(SSLIOSession.java:268)
09:42:48,489 ERROR [stderr] (httpclient-dispatch-1) at org.apache.hc.core5.reactor.InternalDataChannel.startTls(InternalDataChannel.java:258)
09:42:48,489 ERROR [stderr] (httpclient-dispatch-1) at org.apache.hc.client5.http.ssl.AbstractClientTlsStrategy.upgrade(AbstractClientTlsStrategy.java:111)
09:42:48,489 ERROR [stderr] (httpclient-dispatch-1) at org.apache.hc.client5.http.ssl.DefaultClientTlsStrategy.upgrade(DefaultClientTlsStrategy.java:48)
09:42:48,489 ERROR [stderr] (httpclient-dispatch-1) at org.apache.hc.core5.http2.nio.pool.H2ConnPool$1.completed(H2ConnPool.java:117)
09:42:48,490 ERROR [stderr] (httpclient-dispatch-1) at org.apache.hc.core5.http2.nio.pool.H2ConnPool$1.completed(H2ConnPool.java:110)
09:42:48,490 ERROR [stderr] (httpclient-dispatch-1) at org.apache.hc.core5.concurrent.BasicFuture.completed(BasicFuture.java:123)
09:42:48,490 ERROR [stderr] (httpclient-dispatch-1) at org.apache.hc.core5.concurrent.ComplexFuture.completed(ComplexFuture.java:72)
09:42:48,490 ERROR [stderr] (httpclient-dispatch-1) at org.apache.hc.client5.http.impl.nio.MultihomeIOSessionRequester$2$1.completed(MultihomeIOSessionRequester.java:150)
09:42:48,490 ERROR [stderr] (httpclient-dispatch-1) at org.apache.hc.client5.http.impl.nio.MultihomeIOSessionRequester$2$1.completed(MultihomeIOSessionRequester.java:142)
09:42:48,490 ERROR [stderr] (httpclient-dispatch-1) at org.apache.hc.core5.concurrent.BasicFuture.completed(BasicFuture.java:123)
09:42:48,491 ERROR [stderr] (httpclient-dispatch-1) at org.apache.hc.core5.reactor.IOSessionRequest.completed(IOSessionRequest.java:73)
09:42:48,491 ERROR [stderr] (httpclient-dispatch-1) at org.apache.hc.core5.reactor.InternalConnectChannel.onIOEvent(InternalConnectChannel.java:75)
09:42:48,491 ERROR [stderr] (httpclient-dispatch-1) at org.apache.hc.core5.reactor.InternalChannel.handleIOEvent(InternalChannel.java:51)
09:42:48,492 ERROR [stderr] (httpclient-dispatch-1) at org.apache.hc.core5.reactor.SingleCoreIOReactor.processEvents(SingleCoreIOReactor.java:178)
09:42:48,492 ERROR [stderr] (httpclient-dispatch-1) at org.apache.hc.core5.reactor.SingleCoreIOReactor.doExecute(SingleCoreIOReactor.java:127)
09:42:48,494 ERROR [stderr] (httpclient-dispatch-1) at org.apache.hc.core5.reactor.AbstractSingleCoreIOReactor.execute(AbstractSingleCoreIOReactor.java:86)
09:42:48,494 ERROR [stderr] (httpclient-dispatch-1) at org.apache.hc.core5.reactor.IOReactorWorker.run(IOReactorWorker.java:44)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions