I am configuring JNDI look parameters for getting connection factory to consume messages using Spring JMS listener from web application.
It is throwing below error,
"No connection Provider avilable for http-remoting"
And we are using below parameters,
jms.jndiTemplate.provider.url=http-remoting://localhost:8080
jms.jndiTemplate.naming.factory.initial=org.jboss.naming.remote.client.InitialContextFactory
jms.connectionFactory.jndiName=jms/RemoteConnectionFactory
But it is working fine for standalone client with above parameter and is throwing error when deployed using web application on the same server.
Even I tried with JNP client,
jms.jndiTemplate.provider.url=hostname:1099
jms.jndiTemplate.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
And I end up with server port issues as mentioned below,
ERROR [org.jboss.as.controller.client] (Controller Boot Thread) WFLYCTL0190: Step handler org.jboss.as.controller.AbstractAddStepHandler$1@30a0f455 for operation {"address" => [("socket-binding-group" => "standard-sockets"),("socket-binding" => "iiop")],"operation" => "add","interface" => "unsecure","port" => 3528,"fixed-port" => undefined,"multicast-address" => undefined,"multicast-port" => undefined,"client-mappings" => undefined} at address [
("socket-binding-group" => "standard-sockets"),
("socket-binding" => "iiop")
] failed handling operation rollback -- java.util.concurrent.TimeoutException
Could you please provide the information If I miss anything.