Skip to main content
Participant
May 24, 2012
Answered

Apache 2.2.15 & ColdFusion 9

  • May 24, 2012
  • 1 reply
  • 1111 views

I am trying to install ColdFusion on top of an existing webserver running apache.  I was able to get everything installed and if I go to the CFIDE/administrator directory it just prompts me to download the index.cfm file.  It appears I am not able to get ColdFusion and Apache to connect.

Here is a snipit of the coldfusion log.  Can anyone tell me what steps I might of missed?

05/24 01:37:11 info No JDBC data sources have been configured for this server (see jrun-resources.xml)

05/24 01:37:11 info Fail to lookup ClusterManager instance.

05/24 01:37:11 error java.lang.NullPointerException

[1]java.lang.NullPointerException

    at jrunx.cluster.ClusterableServiceAdapter.start(ClusterableServiceAdapter.java:154)
    at jrun.deployment.DeployerService.start(DeployerService.java:1296)
    at sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Unknown Source)
    at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Unknown Source)
    at com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(Unknown Source)
    at com.sun.jmx.mbeanserver.PerInterface.invoke(Unknown Source)
    at com.sun.jmx.mbeanserver.MBeanSupport.invoke(Unknown Source)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(Unknown Source)
    at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(Unknown Source)
    at jrunx.kernel.ServiceAdapter.invokeMethod(ServiceAdapter.java:705)
    at jrunx.kernel.JRunServiceDeployer.invokeOnServices(JRunServiceDeployer.java:460)
    at jrunx.kernel.JRunServiceDeployer.startServices(JRunServiceDeployer.java:312)
    at jrunx.kernel.JRunServiceDeployer.startLifecycle(JRunServiceDeployer.java:260)
    at jrunx.kernel.JRunServiceDeployer.deployServices(JRunServiceDeployer.java:87)
    at jrunx.kernel.DeploymentService.loadServices(DeploymentService.java:46)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Unknown Source)
    at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Unknown Source)
    at com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(Unknown Source)
    at com.sun.jmx.mbeanserver.PerInterface.invoke(Unknown Source)
    at com.sun.jmx.mbeanserver.MBeanSupport.invoke(Unknown Source)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(Unknown Source)
    at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(Unknown Source)
    at jrunx.kernel.JRun.startServer(JRun.java:575)
    at jrunx.kernel.JRun.<init>(JRun.java:493)
    at jrunx.kernel.JRun$1.run(JRun.java:346)
    at java.security.AccessController.doPrivileged(Native Method)
    at jrunx.kernel.JRun.start(JRun.java:343)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at jrunx.kernel.JRun.invoke(JRun.java:180)
    at jrunx.kernel.JRun.main(JRun.java:168)

[0]javax.management.RuntimeMBeanException: java.lang.NullPointerException

    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.rethrow(Unknown Source)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.rethrowMaybeMBeanException(Unknown Sourc

e)

    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(Unknown Source)
    at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(Unknown Source)
    at jrunx.kernel.ServiceAdapter.invokeMethod(ServiceAdapter.java:705)
    at jrunx.kernel.JRunServiceDeployer.invokeOnServices(JRunServiceDeployer.java:460)
    at jrunx.kernel.JRunServiceDeployer.startServices(JRunServiceDeployer.java:312)
    at jrunx.kernel.JRunServiceDeployer.startLifecycle(JRunServiceDeployer.java:260)
    at jrunx.kernel.JRunServiceDeployer.deployServices(JRunServiceDeployer.java:87)
    at jrunx.kernel.DeploymentService.loadServices(DeploymentService.java:46)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Unknown Source)
    at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Unknown Source)
    at com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(Unknown Source)
    at com.sun.jmx.mbeanserver.PerInterface.invoke(Unknown Source)
    at com.sun.jmx.mbeanserver.MBeanSupport.invoke(Unknown Source)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(Unknown Source)
    at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(Unknown Source)
    at jrunx.kernel.JRun.startServer(JRun.java:575)
    at jrunx.kernel.JRun.<init>(JRun.java:493)
    at jrunx.kernel.JRun$1.run(JRun.java:346)
    at java.security.AccessController.doPrivileged(Native Method)
    at jrunx.kernel.JRun.start(JRun.java:343)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at jrunx.kernel.JRun.invoke(JRun.java:180)
    at jrunx.kernel.JRun.main(JRun.java:168)

Caused by: java.lang.NullPointerException

    at jrunx.cluster.ClusterableServiceAdapter.start(ClusterableServiceAdapter.java:154)
    at jrun.deployment.DeployerService.start(DeployerService.java:1296)
    at sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Unknown Source)
    at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Unknown Source)
    at com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(Unknown Source)
    at com.sun.jmx.mbeanserver.PerInterface.invoke(Unknown Source)
    at com.sun.jmx.mbeanserver.MBeanSupport.invoke(Unknown Source)
    ... 30 more

Server coldfusion ready (startup time: 2 seconds)

This topic has been closed for replies.
Correct answer grifgr10

Was able to resolve this by updating the host file.  You must have the actual server name listed in that file pointed to an internal ip.

1 reply

grifgr10Author
Participant
May 24, 2012

Actually, the issue appears to be that ColdFusion will just not start properly.  Here is what I am seeing when just starting coldfusion.

/opt/coldfusion9/bin/coldfusion start

Starting ColdFusion 9...

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

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

Running the ColdFusion 9 connector wizard

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

Configuring the web server connector (Launched on the first run of the ColdFusion 9 start script)

Running apache connector wizard...

ColdFusion 9 not started, will retry connector 12 more time(s)

ColdFusion 9 not started, will retry connector 11 more time(s)

ColdFusion 9 not started, will retry connector 10 more time(s)

ColdFusion 9 not started, will retry connector 9 more time(s)

ColdFusion 9 not started, will retry connector 8 more time(s)

ColdFusion 9 not started, will retry connector 7 more time(s)

ColdFusion 9 not started, will retry connector 6 more time(s)

ColdFusion 9 not started, will retry connector 5 more time(s)

ColdFusion 9 not started, will retry connector 4 more time(s)

ColdFusion 9 not started, will retry connector 3 more time(s)

ColdFusion 9 not started, will retry connector 2 more time(s)

ColdFusion 9 not started, will retry connector 1 more time(s)

The connector wizard has not been able to contact the local ColdFusion 9, connector installation aborted.

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

ColdFusion 9 has been started.

ColdFusion 9 will write logs to /opt/coldfusion9/logs/cfserver.log

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

CFSERVER.log

05/24 12:44:58 info No JDBC data sources have been configured for this server (see jrun-resources.xml)

05/24 12:44:58 info Fail to lookup ClusterManager instance.

05/24 12:44:58 error java.lang.NullPointerException

[1]java.lang.NullPointerException

        at jrunx.cluster.ClusterableServiceAdapter.start(ClusterableServiceAdapter.java:154)

        at jrun.deployment.DeployerService.start(DeployerService.java:1296)

        at sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

        at java.lang.reflect.Method.invoke(Unknown Source)

        at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Unknown Source)

        at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Unknown Source)

        at com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(Unknown Source)

        at com.sun.jmx.mbeanserver.PerInterface.invoke(Unknown Source)

        at com.sun.jmx.mbeanserver.MBeanSupport.invoke(Unknown Source)

        at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(Unknown Source)

        at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(Unknown Source)

        at jrunx.kernel.ServiceAdapter.invokeMethod(ServiceAdapter.java:705)

        at jrunx.kernel.JRunServiceDeployer.invokeOnServices(JRunServiceDeployer.java:460)

        at jrunx.kernel.JRunServiceDeployer.startServices(JRunServiceDeployer.java:312)

        at jrunx.kernel.JRunServiceDeployer.startLifecycle(JRunServiceDeployer.java:260)

        at jrunx.kernel.JRunServiceDeployer.deployServices(JRunServiceDeployer.java:87)

        at jrunx.kernel.DeploymentService.loadServices(DeploymentService.java:46)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

        at java.lang.reflect.Method.invoke(Unknown Source)

        at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Unknown Source)

        at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Unknown Source)

        at com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(Unknown Source)

        at com.sun.jmx.mbeanserver.PerInterface.invoke(Unknown Source)

        at com.sun.jmx.mbeanserver.MBeanSupport.invoke(Unknown Source)

        at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(Unknown Source)

        at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(Unknown Source)

        at jrunx.kernel.JRun.startServer(JRun.java:575)

        at jrunx.kernel.JRun.<init>(JRun.java:493)

        at jrunx.kernel.JRun$1.run(JRun.java:346)

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

        at jrunx.kernel.JRun.start(JRun.java:343)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

        at java.lang.reflect.Method.invoke(Unknown Source)

        at jrunx.kernel.JRun.invoke(JRun.java:180)

        at jrunx.kernel.JRun.main(JRun.java:168)

[0]javax.management.RuntimeMBeanException: java.lang.NullPointerException

        at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.rethrow(Unknown Source)

        at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.rethrowMaybeMBeanException(Unknown Sourc

e)

        at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(Unknown Source)

        at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(Unknown Source)

        at jrunx.kernel.ServiceAdapter.invokeMethod(ServiceAdapter.java:705)

        at jrunx.kernel.JRunServiceDeployer.invokeOnServices(JRunServiceDeployer.java:460)

        at jrunx.kernel.JRunServiceDeployer.startServices(JRunServiceDeployer.java:312)

        at jrunx.kernel.JRunServiceDeployer.startLifecycle(JRunServiceDeployer.java:260)

        at jrunx.kernel.JRunServiceDeployer.deployServices(JRunServiceDeployer.java:87)

        at jrunx.kernel.DeploymentService.loadServices(DeploymentService.java:46)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

        at java.lang.reflect.Method.invoke(Unknown Source)

        at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Unknown Source)

        at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Unknown Source)

        at com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(Unknown Source)

        at com.sun.jmx.mbeanserver.PerInterface.invoke(Unknown Source)

        at com.sun.jmx.mbeanserver.MBeanSupport.invoke(Unknown Source)

        at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(Unknown Source)

        at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(Unknown Source)

        at jrunx.kernel.JRun.startServer(JRun.java:575)

        at jrunx.kernel.JRun.<init>(JRun.java:493)

        at jrunx.kernel.JRun$1.run(JRun.java:346)

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

        at jrunx.kernel.JRun.start(JRun.java:343)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

        at java.lang.reflect.Method.invoke(Unknown Source)

        at jrunx.kernel.JRun.invoke(JRun.java:180)

        at jrunx.kernel.JRun.main(JRun.java:168)

Caused by: java.lang.NullPointerException

        at jrunx.cluster.ClusterableServiceAdapter.start(ClusterableServiceAdapter.java:154)

        at jrun.deployment.DeployerService.start(DeployerService.java:1296)

        at sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

        at java.lang.reflect.Method.invoke(Unknown Source)

        at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Unknown Source)

        at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Unknown Source)

        at com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(Unknown Source)

        at com.sun.jmx.mbeanserver.PerInterface.invoke(Unknown Source)

        at com.sun.jmx.mbeanserver.MBeanSupport.invoke(Unknown Source)

        ... 30 more

Server coldfusion ready (startup time: 2 seconds)

grifgr10AuthorCorrect answer
Participant
May 29, 2012

Was able to resolve this by updating the host file.  You must have the actual server name listed in that file pointed to an internal ip.