Yes, i'm using the Spring JmsTemplate to send a response in an MDB to a remote clustered queue.
If I move the MDBs into the same clustered servers where the clustered queues reside, I don't get this problem - it only happens when the MDB is running remotely from the clustered queue.
Strange.
>From everything I read, it should be safe to use the Spring JmsTemplate for what I'm doing since I'm using it to send a reply and I'm using "java:/JmsXA".
Doesn't the JmsTemplate close sessions?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4165957#4165957
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4165957
"bortx" wrote :
| I have seen that using <application-managed-security/> not only changes this behaviour, as application must implement all connection pooling task. In my case a new connection is created on each request, so I suppose that no connection management is performed by jboss.
I need to see your code , the PoolByCri should handle things for you which is configured by <application-managed-security> setting .
If you passing the ConnectionRequestInfo with the appropriate number of windows slot the Jboss pooling mechinish should be able to create multiple pools ie one pool of Connections with one window slot AND second pool of Connections with two window slot.
Speak in terms of the code ;)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4165946#4165946
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4165946
I see...though I am familiar with what MBeans are, starting / stopping is something I am not familiar with.
1) I went to the JMX console and under MBean>jboss.j2ee>my deployment ear and tried stopping it. It throws a security policy exception (operation not allowed).
2) Would I need to custom write an MBean, specially if I wanted to have one more level of directory inside deploy folder where I keep my app?
Is there a some good reading source you could point me to? anything online or a book?
Thanks
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4165944#4165944
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4165944
I had thought about that last night. Just tried it out and it will work. Not exactly the solution I wanted, but it is at least another option, so thank you!
There is an APP-INF folder because the EAR was initially designed for Weblogic, and APP-INF is their extension (well one of the project team seems to think it is a standard, but I don't believe him since I could not get any official confirmation on it so I am going with extension). So in jboss-app.xml I added:
<jboss-app>
| <library-directory>APP-INF/lib</library-directory>
| </jboss-app>
And that works for the lib directory. This whole thing is not a big deal, I just wanted to see if there was something I could config so that I could easily go back and forth since we want to support it on both JBoss and Weblogic with minimal config/rearranging differences.
p.s. about Spring, so do I.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4165942#4165942
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4165942