Reputation: 249
I am in the process of moving my web website over to google app engine and am having a problem with my site when it is deployed. The application was being hosted on tomcat/mysql and predominately consists of jsp pages. I have read the fallowing google documentation:
http://code.google.com/appengine/docs/java/config/webxml.html
I am unable to get any of the jsp pages to work correctly I keep getting a 500 Server Error
Error: Server Error The server encountered an error and could not complete your request.
The project works great in the google app engine development environment but doesn't work when deployed it seems like the project isn't getting mapped.
Does anyone have any insight.
Upvotes: 0
Views: 535
Reputation: 249
So after plenty of research I found the problem to be that some classes that are persisted need to also implement Serializable when you use sessions. For some reason I didn't see this in the documentation or come across it in my initial research.
Upvotes: 1
Reputation: 15018
If you're testing locally on tomcat + mysql, then you can't deploy on the app engine. The Google App Engine not does support SQL databases. Besides that, if you want a more detailed response you need to look at the app engine logs and tell us why it is throwing a 500 at you.
Upvotes: 0
Reputation: 101139
When your app raises an uncaught exception, App Engine shows the generic 500 page. In order to see the exception, you need to check the logs for your app in your app's admin console.
Upvotes: 1
Reputation: 488
I guess you have already done this, but you should be able to check if everything is fine locally, by first deploying locally using the app engine development server. http://code.google.com/appengine/docs/java/tools/devserver.html
Upvotes: 0