Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Application vs. Session scope in Axis  RSS feed

 
stickboy
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello all. I am running into a problem on a service that I am working on. I have a web service that delivers content to end-users' sites. There is a control panel that allows the users to select what content they want delivered. The problem I am having is actually twofold:

If I run the service in application scope, I get good performance, but if the user makes any changes to the content, they don't appear until the application is restarted.

If I run the service in either the session or request scope, I get really poor performance and after just a few requests, the service dies, returning an OutOfMemoryException.

Below is my deploy.wsdd file showing how I have this set up. Let me know if anyone has any hints on how to handle either of these issues. Thanks in advance.

deploy.wsdd:
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!