javax.naming.NameNotFoundException: Name java:comp is not bound in this Context
Logs are filled with the same error, over and over.
I should have known: I have seen this type of error before in other projects. So here is the answer again - let's hope I will remember next time.
The server wasn't shut down properly. Kill all java processes and restart the server.
The post I made in search of the answer this time: NameNotFoundException: Name java:comp is not bound in this Context. The post I found that reminded me of the answer to this type of error: error getting dbconnection jdbc/dotCMSPool.
Shutdown, kill, start and look at logs.
[21/01/11 12:05:56:056 EST] ERROR db.DbConnectionFactory: ---------- DBConnectionFactory: error getting dbconnection jdbc/dotCMSPool javax.naming.NameNotFoundException: Name java:comp is not bound in this Context at org.apache.naming.NamingContext.lookup(NamingContext.java:770) at org.apache.naming.NamingContext.lookup(NamingContext.java:153) at javax.naming.InitialContext.lookup(InitialContext.java:392) at com.liferay.util.JNDIUtil.lookup(JNDIUtil.java:88) at com.dotmarketing.db.DbConnectionFactory.getDataSource(DbConnectionFactory.java:37) at com.dotmarketing.db.DbConnectionFactory.getConnection(DbConnectionFactory.java:81) at com.dotmarketing.db.HibernateUtil.getSession(HibernateUtil.java:498) at com.dotmarketing.db.HibernateUtil.sessionCleanupAndRollback(HibernateUtil.java:596) at com.dotmarketing.db.HibernateUtil.rollbackTransaction(HibernateUtil.java:580) at com.dotmarketing.portlets.contentlet.business.ReindexThread.run(ReindexThread.java:107)
I should have known: I have seen this type of error before in other projects. So here is the answer again - let's hope I will remember next time.
The server wasn't shut down properly. Kill all java processes and restart the server.
The post I made in search of the answer this time: NameNotFoundException: Name java:comp is not bound in this Context. The post I found that reminded me of the answer to this type of error: error getting dbconnection jdbc/dotCMSPool.
Shutdown, kill, start and look at logs.
sudo $DOTCMS_ROOT/bin/shutdown.sh sudo killall java sudo $DOTCMS_ROOT/bin/startup.sh tail -f $DOTCMS_ROOT/logs/dotcms.log