Problems using BPM Suite 6 Kie Server JMS Java client

Solution In Progress - Updated -

Issue

  • We are having problems to run Decision Server(product name for the kie-server.war application) client using JMS as transport instead REST. When we run it on JBoss EAP, we have a NullPointerException:
Caused by: java.lang.NullPointerException
    at org.kie.server.client.impl.KieServicesClientImpl.getServerInfo(KieServicesClientImpl.java:126) [kie-server-client-6.4.0.Final-redhat-3.jar:6.4.0.Final-redhat-3]
    at org.kie.server.client.impl.KieServicesClientImpl.init(KieServicesClientImpl.java:74) [kie-server-client-6.4.0.Final-redhat-3.jar:6.4.0.Final-redhat-3]
    at org.kie.server.client.impl.KieServicesClientImpl.(KieServicesClientImpl.java:61) [kie-server-client-6.4.0.Final-redhat-3.jar:6.4.0.Final-redhat-3]
    at org.kie.server.client.KieServicesFactory.newKieServicesClient(KieServicesFactory.java:101) [kie-server-client-6.4.0.Final-redhat-3.jar:6.4.0.Final-redhat-3]
  • When running it from a standalone client, we have the exception No matching XNIO provider found:
Caused by: java.lang.RuntimeException: Unable to create InitialContext
    at: com.sample.test.InitialContextCreation.getRemoteInitialContext(InitialContextCreation.java:167)
        ...
Caused by: javax.naming.NamingException: Failed to create remoting connection [Root exception is java.lang.IllegalArgumentException: No matching XNIO provider found]
    at org.jboss.naming.remote.client.ClientUtil.namingException(ClientUtil.java:51)
    at org.jboss.naming.remote.client.InitialContextFactory.getInitialContext(InitialContextFactory.java:152)
    at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:684)
    at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:307)
    at javax.naming.InitialContext.init(InitialContext.java:242)
    at javax.naming.InitialContext.<init>(InitialContext.java:216)
    at: com.sample.test.InitialContextCreation.getRemoteInitialContext(InitialContextCreation.java:167)
    ... 33 more
Caused by: java.lang.IllegalArgumentException: No matching XNIO provider found
    at org.xnio.Xnio.doGetInstance(Xnio.java:192)
    at org.xnio.Xnio.getInstance(Xnio.java:146)
    at org.jboss.remoting3.Remoting.createEndpoint(Remoting.java:73)
    at org.jboss.naming.remote.client.EndpointCache.get(EndpointCache.java:44)
    at org.jboss.naming.remote.client.InitialContextFactory.createEndpoint(InitialContextFactory.java:226)
    at org.jboss.naming.remote.client.InitialContextFactory.getOrCreateEndpoint(InitialContextFactory.java:207)
    at org.jboss.naming.remote.client.InitialContextFactory.getOrCreateNamingStore(InitialContextFactory.java:170)
    at org.jboss.naming.remote.client.InitialContextFactory.getInitialContext(InitialContextFactory.java:146)
    ... 38 more

Environment

  • Red Hat JBoss BPM Suite
    • 6.3
  • Red Hat JBoss BRMS
    • 6.3
  • Red Hat JBoss Enterprise Application Platform
    • 6.x
    • 7.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In