1 Reply Latest reply on May 7, 2015 5:30 AM by Pawel Czarnota

    Running ColdFusion 11 Update 4/5 on JDK 1.7

    Pawel Czarnota Level 1

      Hello, we're trying to debug problem we have with custom jar files that keep hanging our ColdFusion 11 instances with nothing being logged anywhere. One of the troubleshooting steps we want to do is to switch our new ColdFusion 11 Update 5 setup to run on JDK 1.7 instead of 1.8, because we know these jar files run just fine on our ColdFusion 9 JDK 1.7 platform. So, we repointed the instance we want to run in JDK 1.7 to correct JDK directory and tried to start the instance but the service will not start. We looked at the log file and Server Event Viewer shows this error: "... service terminated with the following-specific error: The system cannot find the file specified". The ColdFusion-our file doesn't have anything in it for that error (I don't think ColdFusion even gets to that point). The coldfusion-error.log file doesn't have anything specific either. Can someone help us debug this? Is there a way to increase the debug level so that we can get more info in ColdFusion log files? Thank you

      May 06, 2015 2:46:57 PM org.apache.catalina.core.AprLifecycleListener init
      INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: D:\CF11\INSTANCE11\lib;D:\CF11\INSTANCE11\jintegra\bin;D:\CF11\INSTANCE11\jintegra\bin\in ternational;D:\CF11\INSTANCE11\lib\oosdk\classes\win

      May 06, 2015 2:46:59 PM org.apache.coyote.AbstractProtocol init

      INFO: Initializing ProtocolHandler ["http-bio-8611"]

      May 06, 2015 2:46:59 PM org.apache.coyote.AbstractProtocol init

      INFO: Initializing ProtocolHandler ["ajp-bio-8011"]

      May 06, 2015 2:46:59 PM org.apache.catalina.core.StandardService startInternal

      INFO: Starting service Catalina

      May 06, 2015 2:46:59 PM org.apache.catalina.core.StandardEngine startInternal

      INFO: Starting Servlet Engine: Apache Tomcat/7.0.54

      May 06, 2015 2:47:08 PM org.apache.catalina.core.ApplicationContext log

      INFO: ColdFusionStartUpServlet: ColdFusion: Starting application services

      May 06, 2015 2:47:08 PM org.apache.catalina.core.ApplicationContext log

      INFO: ColdFusionStartUpServlet: ColdFusion: VM version = 25.45-b02

      May 06, 2015 2:47:33 PM org.eclipse.jetty.util.log.JavaUtilLog info

      INFO: jetty-9.0.7.v20131107

      May 06, 2015 2:47:33 PM org.eclipse.jetty.util.log.JavaUtilLog info

      INFO: Started o.e.j.s.ServletContextHandler@5786f47c{/,null,AVAILABLE}

      May 06, 2015 2:47:33 PM org.eclipse.jetty.util.log.JavaUtilLog info

      INFO: Started ServerConnector@44a694df{HTTP/1.1}{0.0.0.0:55065}

      May 06, 2015 2:47:36 PM org.apache.catalina.core.ApplicationContext log

      INFO: CFMxmlServlet: Macromedia Flex Build: 87315.134646

      May 06, 2015 2:47:58 PM org.apache.catalina.startup.HostConfig deployDescriptor

      INFO: Deploying configuration descriptor D:\CF11\INSTANCE11\runtime\conf\Catalina\localhost\cfscripts-obfs.xml

      May 06, 2015 2:47:58 PM org.apache.catalina.startup.SetContextPropertiesRule begin

      WARNING: [SetContextPropertiesRule]{Context} Setting property 'debug' to '0' did not find a matching property.

      May 06, 2015 2:47:58 PM org.apache.catalina.startup.HostConfig deployDescriptor

      INFO: Deployment of configuration descriptor D:\CF11\INSTANCE11\runtime\conf\Catalina\localhost\cfscripts-obfs.xml has finished in 859 ms

      May 06, 2015 2:47:58 PM org.apache.coyote.AbstractProtocol start

      INFO: Starting ProtocolHandler ["http-bio-8611"]

      May 06, 2015 2:47:58 PM org.apache.coyote.AbstractProtocol start

      INFO: Starting ProtocolHandler ["ajp-bio-8011"]

      May 06, 2015 2:47:58 PM com.adobe.coldfusion.launcher.Launcher run

      INFO: Server startup in 64058 ms

        • 1. Re: Running ColdFusion 11 Update 4/5 on JDK 1.7
          Pawel Czarnota Level 1

          Funny how sometimes things work. As soon as I posted this question, I thought of starting ColdFusion in a console and right away I saw the error there:

           

          Unrecognized VM option 'MaxMetaspaceSize=256

          Could not create the Java virtual machine.

          I guess I forgot I added new memory option specific to JDK 8 few weeks back. I posted it back here for reference in case someone runs into similar issue.