File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes EJB and other Java EE Technologies and the fly likes JMS Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "JMS " Watch "JMS " New topic
Author

JMS

Lalita Roy
Greenhorn

Joined: Mar 23, 2013
Posts: 1
All,

I have a JMS which calls webservices inside the onMessage. When I run program it works fine but over the time it gives out of memory issue. I suspect some kind of memory leak.

Question 1)If the webservices are not available and if it throws error connecting to webservice will it lead into memory leak. I read on net that if any call within onMessage throws exceptions it leads to memory leak. How can that be possible?
question 2) best approach to call webservice within onMessage.

Any help on this will be appreciated. New to JMS working on college project.




 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JMS