• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Unresponsive ColdFusion 11 install on Macintosh 10.9.4

New Here ,
Sep 11, 2014 Sep 11, 2014

Copy link to clipboard

Copied

I have a MacBook Pro running Macintosh OS 10.9.4. 

I am using Java version 1.6.0_65

I just ran the Developer installer for Coldfusion 11.

I started the service using sudo ./coldfusion start and saw the following messages:

Starting ColdFusion 11 server ...

The ColdFusion 11 server is starting up and will be available shortly.

======================================================================

ColdFusion 11 server has been started.

ColdFusion 11 will write logs to /Applications/CF11/cfusion/bin/../logs/coldfusion-out.log

When I tried to navigate to 127.0.0.1:8501/CFIDE/administrator/index.cfm the page loads blank.

I checked the error log and it gives me a long list of problems starting with a complaint about

The APR based Apache Tomcat Native library:

Sep 11, 2014 4:04:10 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: /Users/ericrose/Library/Java/Extensions:/Library/Java/Extensions:/Network/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java:.

Sep 11, 2014 4:04:11 PM org.apache.coyote.AbstractProtocol init

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

Sep 11, 2014 4:04:11 PM org.apache.coyote.AbstractProtocol init

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

Sep 11, 2014 4:04:11 PM org.apache.catalina.core.StandardService startInternal

INFO: Starting service Catalina

Sep 11, 2014 4:04:11 PM org.apache.catalina.core.StandardEngine startInternal

INFO: Starting Servlet Engine: Apache Tomcat/7.0.52

java.lang.ExceptionInInitializerError

  at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

  at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)

  at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)

  at java.lang.reflect.Constructor.newInstance(Constructor.java:526)

  at java.lang.Class.newInstance(Class.java:374)

  at coldfusion.bootstrap.ClassloaderHelper.initFilterClass(ClassloaderHelper.java:150)

  at coldfusion.bootstrap.BootstrapFilter.init(BootstrapFilter.java:34)

  at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:279)

  at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:260)

  at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:105)

  at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4809)

  at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5477)

  at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)

  at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)

  at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)

  at java.util.concurrent.FutureTask.run(FutureTask.java:262)

  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

  at java.lang.Thread.run(Thread.java:745)

Caused by: org.apache.commons.logging.LogConfigurationException: org.apache.commons.logging.LogConfigurationException: No suitable Log constructor [Ljava.lang.Class;@7e02856c for org.apache.commons.logging.impl.Log4JLogger (Caused by java.lang.NoClassDefFoundError: org/apache/log4j/Category) (Caused by org.apache.commons.logging.LogConfigurationException: No suitable Log constructor [Ljava.lang.Class;@7e02856c for org.apache.commons.logging.impl.Log4JLogger (Caused by java.lang.NoClassDefFoundError: org/apache/log4j/Category))

  at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:543)

  at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:235)

  at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:209)

  at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:351)

  at coldfusion.portlet.wsrp.ProviderImpl.<clinit>(ProviderImpl.java:72)

  ... 19 more

Caused by: org.apache.commons.logging.LogConfigurationException: No suitable Log constructor [Ljava.lang.Class;@7e02856c for org.apache.commons.logging.impl.Log4JLogger (Caused by java.lang.NoClassDefFoundError: org/apache/log4j/Category)

  at org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:413)

  at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:529)

  ... 23 more

Caused by: java.lang.NoClassDefFoundError: org/apache/log4j/Category

  at java.lang.Class.getDeclaredConstructors0(Native Method)

  at java.lang.Class.privateGetDeclaredConstructors(Class.java:2493)

  at java.lang.Class.getConstructor0(Class.java:2803)

  at java.lang.Class.getConstructor(Class.java:1718)

  at org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:410)

  ... 24 more

Caused by: java.lang.ClassNotFoundException: org.apache.log4j.Category

  at java.net.URLClassLoader$1.run(URLClassLoader.java:366)

  at java.net.URLClassLoader$1.run(URLClassLoader.java:355)

  at java.security.AccessController.doPrivileged(Native Method)

  at java.net.URLClassLoader.findClass(URLClassLoader.java:354)

  at java.lang.ClassLoader.loadClass(ClassLoader.java:425)

  at java.lang.ClassLoader.loadClass(ClassLoader.java:358)

  ... 29 more

Sep 11, 2014 4:04:12 PM org.apache.catalina.core.ApplicationContext log

INFO: failed to load: coldfusion.portlet.wsrp.ProviderImpl

Does anyone know how to solve this problem?

Views

523

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Sep 15, 2014 Sep 15, 2014

Copy link to clipboard

Copied

erose68,

     Can you please try using the default java with CF11, and see if you run in to the same problem.

You can edit the jvm.config file at <cf_root>/cfusion/bin and point the java.home setting to the default location at <cf_root>/cfusion/jre.... . Pls. back up the original file before making any changes.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Sep 18, 2014 Sep 18, 2014

Copy link to clipboard

Copied

What do you mean "the Default Java"?  Version I am using Java version 1.6.0_65 is the one which was installed on the Mac when I got it from the store. 

The jvm.config file contains the following line:

java.home=../../jre/Contents/Home/jre

- this is already pointing at the directory you described in your email, isn't it?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Sep 19, 2014 Sep 19, 2014

Copy link to clipboard

Copied

LATEST

CF11 packages its own JRE. It is physically located in the path your java.home in jvm.config seems to be pointing to. So, it should not matter if you have any other Java installed in your OS.

You can, though, manipulate that jvm.home setting to make it point to a "non CF" JRE, so that your CF uses an external JRE.

BTW, CF11 ships with (Java 1.7u51, later changed to Java 1.7u55). In all likelihood, it will not work with the older JDK1.6.

Can you check if files at ".<cf-root>/jre/Contents/Home/jre" are physically present

If you continue to face the issue, can you please reach out to cfinstal@adobe.com for help.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation