This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I have tomcat and DB installed in a linux machine. I am deploying a war file. When I run the application in the browser, I can enter the user name and password. but after that I get an error page with a line "An Error has occurred in this application. Please check your log files for further information. "
When I check catalina.out, I found an error that said
Originally posted by Tim Holloway: Tomcat4 had no significant issues, but Tomcat5 is much less tolerant, since part of its clustering ability is predicated on being able to bounce sessions from one VM to another.
...and that holds for not just Tomcat 5 but any other J2EE application server or web container that supports session replication.
I implemented serializable interface and I don't get that error any more. But I have a different issue. When I run the application on tomcat server installed on linux, I get the login page and I login with correct username/pwd. But I don't get the next page. Instead I see a page which says "An Error has occurred in this application. Please check your log files for further information.". But when I check catalina.out, there is no error in it. Why am I getting this error? is Linux stopping the application by any chance?
I get this at the url which ends with j_security_check. Don't know if this is a stupid question, but what's about this?