• Post Reply Bookmark Topic Watch Topic
  • New Topic

memory leak in tomcat

 
Naren bharani
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
I am using tomcat and this is the first time i am using it. Everytime have to reuse a application created in JSP using the USEBEAN function i have to close the application server and restart it. the second time i use it, it gives me the same values i entered the first time. this continues till i restart.
Is there something i need to do with settings to solve this problem and is there any othere solution??
please let me know. Will be of help to me.

Naren
 
Nathan Pruett
Bartender
Posts: 4121
IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving this post from "Distributed Java" to the "JSP" forum.

This doesn't sound like a memory leak in Tomcat at all... it just sounds like there's something slightly wrong in your web app. There could be a problem with the way that you're using the bean in the usebean tag, a problem with the bean itself, or simply a problem with storing the bean in a different context than you want it in...

How about starting out by posting the usebean tag?
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This question belongs in the JSP forum and is unrelated to distributed java. That said, I suspect your problem is related to the scope you have assigned in the useBean tag.
Bill
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!