ibm-mq

javax.naming.NamingException: unexpected exception [Root exception is java.lang.NullPointerException]; remaining name FactoryName

巧了我就是萌 提交于 2020-01-07 02:31:54
问题 I have a Spring JMS project managed with Maven. When I run the project via Eclipse everything goes well, but when I launch it from the executable jar file I got the following error : INFO - Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@12911b4f: defining beans [jmsBridgeServer,messageFrameStreamReader,outgoingMessageEventListener,serverLifecycleEventListener,jmsQueueConnectionFactory,jndiTemplate,jmsQueueTemplate,jmsDestinationResolver,jmsSender

javax.naming.NamingException: unexpected exception [Root exception is java.lang.NullPointerException]; remaining name FactoryName

空扰寡人 提交于 2020-01-07 02:31:05
问题 I have a Spring JMS project managed with Maven. When I run the project via Eclipse everything goes well, but when I launch it from the executable jar file I got the following error : INFO - Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@12911b4f: defining beans [jmsBridgeServer,messageFrameStreamReader,outgoingMessageEventListener,serverLifecycleEventListener,jmsQueueConnectionFactory,jndiTemplate,jmsQueueTemplate,jmsDestinationResolver,jmsSender

How to set Oracle JDK support FIPS mode

五迷三道 提交于 2020-01-06 19:56:47
问题 Currently. I have to create client application to connect IBM MQ server which only support TLS. After google a lot. I know the JDK used have to support FIPS. Any one can help with how to set it up on Linux server? 回答1: You're right. FIPS is not supported as default in Oracle JDK. Download JCE from http://www.oracle.com/technetwork/java/javase/downloads/jce8-download-2133166.html Put the extracted jars to %JAVA_HOME%/jre/lib/security. But these jars are just interface. Install NSS as an FIPS

How to set Oracle JDK support FIPS mode

白昼怎懂夜的黑 提交于 2020-01-06 19:56:04
问题 Currently. I have to create client application to connect IBM MQ server which only support TLS. After google a lot. I know the JDK used have to support FIPS. Any one can help with how to set it up on Linux server? 回答1: You're right. FIPS is not supported as default in Oracle JDK. Download JCE from http://www.oracle.com/technetwork/java/javase/downloads/jce8-download-2133166.html Put the extracted jars to %JAVA_HOME%/jre/lib/security. But these jars are just interface. Install NSS as an FIPS

XMS.NET hanging indefinitely on factory.CreateConnection(“username”, null);

梦想与她 提交于 2020-01-06 03:35:28
问题 I am trying to connect to an existing JMS queue with a .NET client. I know the queue is working, I already browsed it using IBM MQ Explorer. In the following code, the call to factory.CreateConnection keeps hanging - it does not jump to the next line, in does not show any error message. It even doesnt consume any CPU. Are there any options that I should try to get it working (or at least make it show me an error message of any kind)? private static IConnectionFactory GetConnectionFactory() {

Camel JMS - Unable to set JMSPriority to IBM MQ Message

守給你的承諾、 提交于 2020-01-06 02:28:13
问题 We are trying to send JMS text message over IBM mq using Apache Camel. We are able set few JMS header properties except the JMSPriority. We tried setting int value and used resultType="java.lang.Integer" but unable to alter priority. Any clue would be more than helpful. <route id="mqSender"> <from uri="direct:mqSender"></from> <filter> <simple> ${body} != null</simple> <setProperty propertyName="originalRequest"> <simple> ${body}</simple> </setProperty> <setHeader headerName="JMSCorrelationID

Spring JMS - IBM MQ has open input count issue

霸气de小男生 提交于 2020-01-05 03:59:10
问题 We are using Spring JMS to connect IBM MQ in that the MQ open input count keep on increase.is there any solution can we reduce the open input count. we are using concurrent connection as 1 only. 回答1: The IBM MQ connection handle behaves differently with Spring configuration. If you are using the CachingConnectionFactory that spring provides, please read my answer in the below thread. JMS connections exhausted using WebSphere MQ Please add more details to better understand the issue. The

WMQ Pub/Sub Topic to Queue bridge

只愿长相守 提交于 2020-01-04 06:16:20
问题 In other queue managers it is possible to setup a bridge between a queue to a topic so that publishers and subscribers does not need to know that they are using a topic: Example in TIBCO EMS create Bridge source=queue:QName target=topic:TName create Bridge source=topic:TName target=queue:QName How do I do this in WMQ? 回答1: See WebSphere MQ V7.0 Features and Enhancements page 47, it mentions the use of Alias queues and administrative subscriptions WebSphere MQ V7.0 introduces an extension to

com.ibm.msg.client.jms.DetailedJMSException: JMSWMQ0018: Failed to connect to queue manager 'xxx' with connection mode 'yyy' and host name 'zzz'

筅森魡賤 提交于 2020-01-04 05:46:11
问题 JMS app requires seven parameters to make successful SSL connection with MQ series given here, https://github.com/ibm-messaging/mq-tls-ssl-wizard/blob/master/com.ibm.mq.ssl-wizard/src/tlswizard/samples/SSLSampleJMS.java I am trying to interpret these parameters, Conname- the connection name of the server queue manager in the same format as the CONNAME parameter on the MQSC DEFINE CHANNEL command, but without the port specified. I guess this is host name Port - the connection port of the

How are Websphere MQ messages stored to allow persistence?

青春壹個敷衍的年華 提交于 2020-01-03 18:01:21
问题 Are Websphere MQ messages stored in a database or filesystem? Can I configure it to use MySQL? 回答1: WebSphere MQ persistence is always a local filesystem for distributed platforms. On the mainframe there is the possibility of using a DB2 database in a Sysplex with a Coupling Facility but for everything else it is a filesystem. Also, there is no local persistence for WebSphere MQ clients. Only the queue manager will persist messages. In the WebSphere family, WebSphere Application Server's