Add localDataSource="true" to the realm when using local database.
Make sure you use the same name for your database everywhere in context.xml.
Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.
You have a different solution? A short tip here would help you and many other users who saw this issue last week.