Jms queue error weblogic.jms.common.jmsexception
First you have to add two libraries to the project, The first is the AQJMS library ( even when we don't use AQ ) and the second library is the Web Logic 10.3 thin Client Start the weblogic server. We need to create a new jms server with a database of file persistance.
We need this for the queue or topic persistence create a new jms system module.
The example will create a Queue Browser and obtain an enumeration from each of the physical members of the distributed destination and provide back an enumeration of the respective enumerations.
In the case of uniformly created distributed destinations, the JNDI name of the physical members will be of the format thats great.
What would be really nice is if the Weblogic runtime gave us a Queue Browser that provided an of the physical members of a distributed queue. So, I decided to create a simple example that would help me with the same.
At the same time, I am interested in understanding the capabilities of Weblogic.
The maximum number of channels allowed by the queue manager are already open. A configuration problem in the Queue Connection Factory (QCF).
NOTE: You must be sure that the firewall is configured to allow keepalive packets to pass through.The IBM Web Sphere MQ Reason Code 2009 (MQRC_CONNECTION_BROKEN) may occur when an application tries to connect to a Web Sphere MQ queue manager. Preventing the firewall from terminating connections Configure the Connection Pool and Session Pool settings for the QCF that is configured in Web Sphere Application Server so that Web Sphere can remove connections from the pool before they are dropped by the firewall.Often this occurs when the Application Server tries to use an MQ connection is QCF pool. An explicit action caused the socket to be closed by one end. Change the value of Min Connections to 0 and set the Unused Timeout to half the number of seconds as the firewall timeout.Note that the enumerations obtained in Weblogic are snapshots of the current state of the queue and are not dynamic, i.e., new messages added being dynamically reflected in the enumeration. I have a second enumeration that provides information regarding the JMServer that hosts the given message: The code for the same is available HERE. One would need to compile the same with weblogic's client jar's and then use them.Let me know if you have problems running the code or if you have any tips regarding the code.