Hi all,
I have created a simple web app designed to provide
Java flash
cards for my study. The
cards are stored in a mySQL database. This web app works great when run locally through Eclipse, as well as on Jelastic. I decided to try and deploy it on my Raspberry Pi and I've run into a problem. Everything works except I can't get the database connection going. The odd thing is that if I run the app from within Eclipse and reference the DB on the Pi, it works!
I have placed the two required JARs (
JDBC Connection and JSON) in every possible location Google suggests on the Pi, but to no avail.
The only error I can find while running everything on the Pi is a 500 error each time the
JSP requests a flash card's data from the
servlet.
I'm new to setting up Apache/Tomcat, so I'm having trouble figuring out where I can see logs that might show a stack trace similar to what I am accustomed to in Eclipse.
For the record, phpMyAdmin accesses the DB fine from the Pi as well.
Any suggestions would be greatly appreciated.