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.
javax.naming.NameNotFoundException: Name tyrexDomainConfig is not bound in this Context
at org.apache.naming.NamingContext.lookup(Unknown Source)
You have a different solution? A short tip here would help you and many other users who saw this issue last week.