File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Tomcat and the fly likes Missing members after 24 hours of inactivity Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Missing members after 24 hours of inactivity" Watch "Missing members after 24 hours of inactivity" New topic
Author

Missing members after 24 hours of inactivity

Alex Roskin
Greenhorn

Joined: Mar 24, 2011
Posts: 14
Logging in to the jhitch.com after 24 hours of inactivity, members are missing from home page, login for the second time and registered members are displayed.
Members need to be displayed on the homepage anytime a user logs in.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60057
    
  65

And? What are you asking?

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Alex Roskin
Greenhorn

Joined: Mar 24, 2011
Posts: 14
Does this seem like an issue with Tomcat setting, or could it be the jsp causing this issue?
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60057
    
  65

It's impossible to even surmise an answer with the scant information you've give. What on earth is a jhitch.com for example?
Alex Roskin
Greenhorn

Joined: Mar 24, 2011
Posts: 14
The website is a collection of member profiles with ability to send instant messages to members that are online. Site is created with MySQL, Java Classes, Servlets, and JSPs.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60057
    
  65

At this point all I can say is that it sounds like there is a bug somewhere in your program. Have you done any debugging to try and isolate where the problem is?
Alex Roskin
Greenhorn

Joined: Mar 24, 2011
Posts: 14
This is occuring on the Tomcat deployed application
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60057
    
  65

Have you done any debugging to try and isolate where the problem is?
Alex Roskin
Greenhorn

Joined: Mar 24, 2011
Posts: 14
Yes, This issue does not occur in test server in environment, the logs dont show anything on the deployed server.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60057
    
  65

What else have you done? Have you determined that the data is OK in the database? That the data is being fetched correctly from the database? Sent to the page correctly? At what point in the process are things going awry?
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Missing members after 24 hours of inactivity
 
Similar Threads
size column -> 6 bytes! (B&S)
Database connection getting cloesd when the application is running
Please help me this. Im new to this.
Problem in receiving message from MQ queue
session invalidation