-
Notifications
You must be signed in to change notification settings - Fork 102
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cacheless setup details #67
Comments
This is not likely to be anything do with this repo directly as the actual management of connections is handled either by the core generic Spring JMS layer, or it might be something in the underlying MQ JMS implementation. From your code fragment I can't see where the jmsTemplate variable is created or destroyed - presumably you're running this in some broader framework environment. You said there's an FDC but don't give any details of what the actual error is. And you say the server side "looks clear" - do you mean that you only see a single (pair of) MQ connections there, or just that the qmgr keeps running fine with that level of connections. Problems in the MQ JMS package itself would have to be handled by opening an Case in the IBM support system. Though if you're really running 2.1.1 of this package, that will probably be incorporating MQ 9.1.2 which itself is out of support. |
thanks for update, sure, the case for MQ is also open, I just try to get a better understanding of all this. You are absolutely right about MQ client version, I know this is also needs to be updated to more recent. And the FDCs contain
which I guess is due to executor shutdownNow was called
sorry I didn't include receive method, they call it without timeout, probably also subject to change to put receive timeout there and only terminate threads for a bigger one timeout, just in case, to let them clean up gracefully. |
The JMS code does have a habit of emitting FDCs when interrupted - I'd prefer it didn't do that as it's not really a severe error worthy of an FDC, but I've been told it's not something that's likely to change. Since I've been adding trace points to the code, which will be available from the next update, it was easy to check the different pool/cache/single CFs are being called in the way I'd expect when both those properties are set to |
Hello, there is a simple app used for a long time running, which every 10 second fire a task which send message via JmsTemplate and if succeed read it back, for health-checking purposes.
The app is configured neither to use mq pool nor to use cache, like
but at some point in FDC we see a tons of MQ objects like
and at server side everything seems clear.
is it configuration problem, with spring/mq-jms, or kind of bug?
normally we would expect this setup will only create 1 session, 1 connection and 1 consumer and 1 producer respectively,
as we always use single JMSTemplate.
just wonder where to look/go from there.
A small code sample that demonstrates the issue.
`
`
The text was updated successfully, but these errors were encountered: