我正在尝试将 Tibco Web Messaging (TWM) 连接到 Tibco EMS。但是我在 ConnectionFactory 上得到 NameNotFoundException。下面是日志。
ERROR Error starting Gateway: caught exception java.lang.ClassCastException: com.tibco.tibjms.naming.TibjmsContext cannot be cast to javax.jms.ConnectionFactory
java.lang.ClassCastException: com.tibco.tibjms.naming.TibjmsContext cannot be cast to javax.jms.ConnectionFactory
at com.kaazing.gateway.jms.server.service.StompJmsService.initHandler(StompJmsService.java:103)
at com.kaazing.gateway.jms.server.service.AbstractStompService.init(AbstractStompService.java:210)
at com.kaazing.gateway.jms.server.service.AbstractStompFanoutService.init(AbstractStompFanoutService.java:87)
at com.kaazing.gateway.jms.server.service.StompJmsService.init(StompJmsService.java:91)
at com.kaazing.gateway.server.context.resolve.DefaultServiceContext.init(DefaultServiceContext.java:697)
at com.kaazing.gateway.server.Launcher.initInternal(Launcher.java:54)
at com.kaazing.gateway.server.Launcher.init(Launcher.java:33)
at com.kaazing.gateway.server.impl.GatewayImpl.launch(GatewayImpl.java:291)
at com.kaazing.gateway.server.GatewayCommandProcessor.launchGateway(GatewayCommandProcessor.java:98)
at com.kaazing.gateway.server.GatewayCommandProcessor.launchGateway(GatewayCommandProcessor.java:43)
at com.kaazing.gateway.server.Main.main(Main.java:34)
INFO Stopping server
INFO Stopping management
有没有人遇到同样的错误。
谢谢,纳文