Apache Tomcat not starting or crashing
- When using an older version of tomcat (< 8.0.53) you may encounter an exception “Invalid byte tag in constant pool” (described in detail here) which prevents the Java application from starting properly. To workaround the issue add the vFunction dependencies jar (runtime-agent-dependencies.jar) to the exception list under the tomcat.util.scan.DefaultJarScanner.jarsToSkip property in the catalina.properties file.
- If the exceptions in the log are related to the database data source not starting up properly, try to change the property in the vfunctoin-runtime-override.properties file: change com.vfunction.runtime.config.aop.xml.db.tracking.enabled to false and change com.vfunction.runtime.config.aop.xml.db.tracking.jdvcdriver.enabled to true.
- If an error persists after reviewing this section, remove the vFunction parameters in the JVM arguments, restart the monolith, and contact support@vfunction.com