我正在配置JNDI外观参数,以使连接工厂使用来自Web应用程序的Spring JMS侦听器来使用消息。
抛出错误,
"No connection Provider avilable for http-remoting"
我们正在使用以下参数,
jms.jndiTemplate.provider.url=http-remoting://localhost:8080
jms.jndiTemplate.naming.factory.initial=org.jboss.naming.remote.client.InitialContextFactory
jms.connectionFactory.jndiName=jms/RemoteConnectionFactory
但它对于具有上述参数的独立客户端工作正常,并且在同一服务器上使用Web应用程序部署时会抛出错误。
即使我尝试使用JNP客户端,
jms.jndiTemplate.provider.url=hostname:1099
jms.jndiTemplate.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
我最终遇到了如下所述的服务器端口问题,
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
如果我遗漏任何内容,请您提供信息。