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

CF9 & Apache 2.2.16

New Here ,
Sep 11, 2010 Sep 11, 2010

Does CF9 work with Apache 2.2.16? I have been having a very hard time getting the apache connector to be created and my httpd.conf file modified after installing CF9 on my Debian Linux system.

Running the apache_connector.sh script returns the following:

Could not connect to any JRun/ColdFusion servers on host localhost.
Possible causes:
o Server not running
  -Start Macromedia JRun4 or ColdFusion MX server
o Server running
  -JNDI listen port in jndi.properties blocked by TCP/IP filtering or firewall
   on server
  -host restriction in security.properties blocking communication with server

When I try to start CF9 after installation all I see is this:

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
======================================================================

Here is what is in my /opt/coldfusion9/logs/cfserver.log file in hopes that it helps any.

Starting Macromedia JRun 4.0 (Build 108858), coldfusion server
09/12 00:51:48 warning Unable to open /opt/coldfusion9/runtime/lib/license.properties
09/12 00:51:49 info JRun Naming Service listening on *:2932
09/12 00:51:49 error Exception creating connection to: 66.220.1.58; nested exception is:
    java.net.SocketException: Network is unreachable
[1]java.net.SocketException: Network is unreachable
    at java.net.PlainSocketImpl.socketConnect(Native Method)
    at java.net.PlainSocketImpl.doConnect(Unknown Source)
    at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
    at java.net.PlainSocketImpl.connect(Unknown Source)
    at java.net.SocksSocketImpl.connect(Unknown Source)
    at java.net.Socket.connect(Unknown Source)
    at java.net.Socket.connect(Unknown Source)
    at java.net.Socket.<init>(Unknown Source)
    at java.net.Socket.<init>(Unknown Source)
    at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(Unknown Source)
    at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(Unknown Source)
    at sun.rmi.transport.tcp.TCPEndpoint.newSocket(Unknown Source)
    at sun.rmi.transport.tcp.TCPChannel.createConnection(Unknown Source)
    at sun.rmi.transport.tcp.TCPChannel.newConnection(Unknown Source)
    at sun.rmi.server.UnicastRef.invoke(Unknown Source)
    at jrun.servlet.session.SessionReplicationService_Stub.getRemoteServerName(Unknown Source)
    at jrun.servlet.session.SessionReplicationService.start(SessionReplicationService.java:53)
    at jrun.servlet.ServletEngineService.createSessionReplicationService(ServletEngineService.java:130)
    at jrun.servlet.ServletEngineService.start(ServletEngineService.java:112)
    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.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]java.rmi.ConnectIOException: Exception creating connection to: 66.220.1.58; nested exception is:
    java.net.SocketException: Network is unreachable
    at sun.rmi.transport.tcp.TCPEndpoint.newSocket(Unknown Source)
    at sun.rmi.transport.tcp.TCPChannel.createConnection(Unknown Source)
    at sun.rmi.transport.tcp.TCPChannel.newConnection(Unknown Source)
    at sun.rmi.server.UnicastRef.invoke(Unknown Source)
    at jrun.servlet.session.SessionReplicationService_Stub.getRemoteServerName(Unknown Source)
    at jrun.servlet.session.SessionReplicationService.start(SessionReplicationService.java:53)
    at jrun.servlet.ServletEngineService.createSessionReplicationService(ServletEngineService.java:130)
    at jrun.servlet.ServletEngineService.start(ServletEngineService.java:112)
    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.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.net.SocketException: Network is unreachable
    at java.net.PlainSocketImpl.socketConnect(Native Method)
    at java.net.PlainSocketImpl.doConnect(Unknown Source)
    at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
    at java.net.PlainSocketImpl.connect(Unknown Source)
    at java.net.SocksSocketImpl.connect(Unknown Source)
    at java.net.Socket.connect(Unknown Source)
    at java.net.Socket.connect(Unknown Source)
    at java.net.Socket.<init>(Unknown Source)
    at java.net.Socket.<init>(Unknown Source)
    at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(Unknown Source)
    at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(Unknown Source)
    ... 47 more

09/12 00:51:49 info No JDBC data sources have been configured for this server (see jrun-resources.xml)
09/12 00:51:49 info Deploying enterprise application "Adobe_ColdFusion_9" from: file:/opt/coldfusion9/
09/12 00:51:49 info Deploying web application "Adobe ColdFusion 9" from: file:/opt/coldfusion9/
09/12 00:51:50 INFO License Service: Flex 1.5 CF Edition enabled
09/12 00:51:50 INFO Starting Flex 1.5 CF Edition
09/12 00:51:50 user JSPServlet: init
09/12 00:51:50 user ColdFusionStartUpServlet: init
09/12 00:51:50 user ColdFusionStartUpServlet: ColdFusion: Starting application services
09/12 00:51:50 user ColdFusionStartUpServlet: ColdFusion: VM version = 14.3-b01
09/12 00:51:50 Information [main] - Starting logging...
09/12 00:51:50 Information [main] - Starting license...
09/12 00:51:51 Information [main] - Evaluation Edition enabled
09/12 00:51:51 Information [main] - Starting crypto...
09/12 00:51:51 Information [main] - Installed JSafe JCE provider: Version 3.6 RSA Security Inc. Crypto-J JCE Security Provider (implements RSA, DSA, Diffie-Hellman, AES, DES, Triple DES, DESX, RC2, RC4, RC5, PBE, MD2, MD5, RIPEMD160, SHA1, SHA224, SHA256, SHA384, SHA512, HMAC-MD5, HMAC-RIPEMD160, HMAC-SHA1, HMAC-SHA224, HMAC-SHA256, HMAC-SHA384, HMAC-SHA512)
09/12 00:51:51 Information [main] - Starting security...
09/12 00:51:51 Information [main] - Starting scheduler...
09/12 00:51:51 Information [main] - Starting WatchService...
09/12 00:51:51 Information [main] - Starting debugging...
09/12 00:51:51 Information [main] - Starting sql...
09/12 00:51:52 Information [main] - Starting mail...
09/12 00:51:52 Information [main] - Starting runtime...
09/12 00:51:52 Information [main] - CORBA Configuration not enabled
09/12 00:51:52 Information [main] - Starting cron...
09/12 00:51:52 Information [main] - Starting registry...
09/12 00:51:52 Information [main] - Starting client...
09/12 00:51:53 Information [main] - Starting xmlrpc...
09/12 00:51:53 Information [main] - Starting graphing...
09/12 00:51:53 Information [main] - Starting verity...
09/12 00:51:53 Information [main] - Starting solr...
09/12 00:51:53 Information [main] - Starting archive...
09/12 00:51:53 Information [main] - Starting document...
09/12 00:51:53 Information [main] - Starting eventgateway...
09/12 00:51:53 Information [main] - Starting Event Backend Handlers.
09/12 00:51:53 Information [main] - Initialized EventRequestDispatcher with a Thread Pool size of 1.
09/12 00:51:53 Information [main] - Initializing EventRequestHandler
09/12 00:51:53 Information [main] - Starting Event Gateways.
09/12 00:51:53 Information [main] - Starting FlexAssembler...
09/12 00:51:53 Information [main] - Starting .NET...
09/12 00:51:53 Information [main] - Starting Monitoring...
09/12 00:51:53 Information [main] - ColdFusion started
09/12 00:51:53 user ColdFusionStartUpServlet: ColdFusion: application services are now available
09/12 00:51:53 user CFMxmlServlet: init
09/12 00:51:53 user CFMxmlServlet: Macromedia Flex Build: 87315.134646
09/12 00:51:53 INFO Macromedia Flex Build: 87315.134646
09/12 00:51:53 user CFSwfServlet: init
09/12 00:51:53 user CFCServlet: init
09/12 00:51:54 user FlashGateway: init
09/12 00:51:54 user MessageBrokerServlet: init
09/12 00:51:55 user CFFormGateway: init
09/12 00:51:55 user CFInternalServlet: init
09/12 00:51:55 user WSRPProducer: init
09/12 00:51:55 user ServerCFCServlet: init
Server coldfusion ready (startup time: 7 seconds)

Output of apache2 -V

Server version: Apache/2.2.16 (Debian)
Server built:   Aug 29 2010 14:40:00
Server's Module Magic Number: 20051115:24
Server loaded:  APR 1.4.2, APR-Util 1.3.9
Compiled using: APR 1.4.2, APR-Util 1.3.9
Architecture:   32-bit
Server MPM:     Prefork
  threaded:     no
    forked:     yes (variable process count)
Server compiled with....
-D APACHE_MPM_DIR="server/mpm/prefork"
-D APR_HAS_SENDFILE
-D APR_HAS_MMAP
-D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
-D APR_USE_SYSVSEM_SERIALIZE
-D APR_USE_PTHREAD_SERIALIZE
-D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
-D APR_HAS_OTHER_CHILD
-D AP_HAVE_RELIABLE_PIPED_LOGS
-D DYNAMIC_MODULE_LIMIT=128
-D HTTPD_ROOT="/etc/apache2"
-D SUEXEC_BIN="/usr/lib/apache2/suexec"
-D DEFAULT_PIDLOG="/var/run/apache2.pid"
-D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
-D DEFAULT_LOCKFILE="/var/run/apache2/accept.lock"
-D DEFAULT_ERRORLOG="logs/error_log"
-D AP_TYPES_CONFIG_FILE="mime.types"
-D SERVER_CONFIG_FILE="apache2.conf"

I'll be more than happy to give you any server output that may help me in solving/figuring out why I can't get CF9 to work with my version of Apache.

Message was edited by: Demonic Pagan

7.3K
Translate
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 12, 2010 Sep 12, 2010

Is anyone able to help me get CF9 working with Apache 2.2.16? I'd really like to get started working on my CF projects.

Translate
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
Enthusiast ,
Sep 13, 2010 Sep 13, 2010

Have you tried running commands from the "Configuring web servers in UNIX" section of the CF documentation?

http://help.adobe.com/en_US/ColdFusion/9.0/Installing/WSc3ff6d0ea77859461172e0811cdec18a15-7ff0.html

Also be aware that Debian is not listed as a supported OS in the CF system requirements.  That may be part of your problem.

http://www.adobe.com/products/coldfusion/systemreqs/

Translate
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 13, 2010 Sep 13, 2010

I am finding it hard to believe that I can't install on Debian since it is able to be installed on Ubuntu which is just a Debian port. Both use aptitude and have the same directory structure. I have tried using the commands pointed out in your link without any success.

Translate
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
Guest
Nov 20, 2010 Nov 20, 2010

I am having the same problem.

Translate
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 ,
Nov 24, 2010 Nov 24, 2010

Did you install 32 bit or 64 bit version of ColdFusion? You're Apache version is 32 bit so just

looking to clarify you're installing 32 bit ColdFusion.

Andy

Translate
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 ,
Nov 24, 2010 Nov 24, 2010

For me, I was installing the 32 bit version with my 32 bit version of Apache2. I know better than to try and install 64 bit software on a 32 bit system.

Translate
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
Guest
Nov 24, 2010 Nov 24, 2010

64 bit version of CF. I gave up on Apache for now.

Translate
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
Guest
Sep 29, 2011 Sep 29, 2011

Hello,


I just had this problem too.

It turns out Coldfusion didn't start up properly due to the /etc/hosts file not having correct entries. So...I fixed the /etc/hosts file so that the wrong IPs weren't in there! Apparently CF starting tries to use IPs from that file....It fails if they are wrong =D. Hence it couldn't find the JNDI listening port.Once I fixed those, I did a complete re-install of Coldfusion and the connectors worked flawlessly afterwards. I didn't even have to do the manual connector command, which for me was:

/opt/coldfusion9/runtime/bin/wsconfig -ws Apache -dir /etc/httpd/conf -server coldfusion -bin /usr/sbin/httpd -script /usr/sbin/apachectl -coldfusion -v

I got this error before fixing the /etc/hosts file:

-------------------

Could not connect to any JRun/ColdFusion servers on host localhost.
Possible causes:
o Server not running
  -Start Macromedia JRun4 or ColdFusion MX server
o Server running
  -JNDI listen port in jndi.properties blocked by TCP/IP filtering or firewall
   on server
  -host restriction in security.properties blocking communication with server

-------------------

My Coldfusion server was running, leave me with:

-JNDI listen port in jndi.properties blocked by TCP/IP filtering or firewall

   on server

  -host restriction in security.properties blocking communication with server

I troubleshooted both reasons, neither were fixes in my case.

Just make sure you go to the ColdFusion administrator in a browser once the installation is done. I think this step is a must, as when I didn't in the past, things didn't work right until I did.

Here is some information on my environment:

[root@~]# lsb_release -a

LSB Version:    :core-4.0-ia32:core-4.0-noarch:graphics-4.0-ia32:graphics-4.0-noarch:printing-4.0-ia32:printing-4.0-noarch

Distributor ID: CentOS

Description:    CentOS release 5.6 (Final)

Release:        5.6

Codename:       Final

[root@~]#

[root@~]# apachectl -v

Server version: Apache/2.2.3

Server built:   Aug 31 2011 20:22:40

I doubt 2.2.16 and 2.2.3 are much different in this regards.

Translate
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 29, 2011 Sep 29, 2011

What were those wrong IPs you are referring to in your /etc/hosts file?

Translate
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
Guest
Sep 30, 2011 Sep 30, 2011

Hey, this is what it looked like before fixing it:

[root@~]# cat /etc/hosts

127.0.0.1 localhost.localdomain localhost

10.10.10.3 name.server-hostname.com serverName

This is what it looked like after fixing it:

[root@~]# cat /etc/hosts

127.0.0.1 localhost.localdomain localhost

10.60.4.3 name.server-hostname.com serverName

The  10.10.10.3; IP isn't bound to my test server. Here are my bindings:

[root@~]# ifconfig | grep "inet addr"

          inet addr:10.60.4.3  Bcast:10.60.4.255  Mask:255.255.255.0

          inet addr:127.0.0.1  Mask:255.0.0.0

[root@~]#

If I checked /opt/coldfusion9/logs/cfserver.log, it showed this error over and over:

------------------------------

[0]java.rmi.ConnectException: Connection refused to host: 10.10.10.3; nested exception is:

        java.net.ConnectException: Connection timed out

        at sun.rmi.transport.tcp.TCPEndpoint.newSocket(Unknown Source)

        at sun.rmi.transport.tcp.TCPChannel.createConnection(Unknown Source)

        at sun.rmi.transport.tcp.TCPChannel.newConnection(Unknown Source)

        at sun.rmi.server.UnicastRef.invoke(Unknown Source)

        at jrun.servlet.session.SessionReplicationService_Stub.getRemoteServerName(Unknown Source)

        at jrun.servlet.session.SessionReplicationService.start(SessionReplicationService.java:53)

        at jrun.servlet.ServletEngineService.createSessionReplicationService(ServletEngineService.java:130)

        at jrun.servlet.ServletEngineService.start(ServletEngineService.java:112)

        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.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.net.ConnectException: Connection timed out

        at java.net.PlainSocketImpl.socketConnect(Native Method)

        at java.net.PlainSocketImpl.doConnect(Unknown Source)

        at java.net.PlainSocketImpl.connectToAddress(Unknown Source)

        at java.net.PlainSocketImpl.connect(Unknown Source)

        at java.net.SocksSocketImpl.connect(Unknown Source)

        at java.net.Socket.connect(Unknown Source)

        at java.net.Socket.connect(Unknown Source)

        at java.net.Socket.<init>(Unknown Source)

        at java.net.Socket.<init>(Unknown Source)

        at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(Unknown Source)

        at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(Unknown Source)

        ... 47 more

------------------------------

Translate
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
Guest
Sep 30, 2011 Sep 30, 2011

Also make sure the permissions on the /etc/hosts file is 0644. I got this idea from Source1 which led me to check the entries in the /etc/hosts file.

Source1:

https://www.centos.org/modules/newbb/viewtopic.php?topic_id=17124&start=0#forumpost143719

Translate
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
Community Expert ,
Sep 30, 2011 Sep 30, 2011

What's the content of your apache_connector.sh file?

Translate
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
Community Expert ,
Sep 30, 2011 Sep 30, 2011

1) Did you ensure the following attribute in /SERVER-INF/jrun.xml is set to false?

<attribute name="deactivated">false</attribute>

2) Have you followed (again, from the beginning) the steps for configuring Apache for use with ColdFusion on Unix

3) Did you stop and restart ColdFusion after every change?

Translate
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 30, 2011 Sep 30, 2011

I finally got my setup going and found my solution here: http://robpar.blogspot.com/2009/12/broken-java-networking.html  I had net.ipv6.bindv6only enabled in /etc/sysctl.d/bindv6only.conf so coldfusion was trying to communicate with an IPv6 IP address and not reaching the destination.

Translate
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
Guest
Sep 30, 2011 Sep 30, 2011

Nice work! I actually disabled IPv6 at one point too during troubleshooting. I had to do this for my Cent OS 5.6 server:

http://wiki.centos.org/FAQ/CentOS5#head-47912ebdae3b5ac10ff76053ef057c366b421dc4

I determined it wasn't the fix for me though. This was because I did the same installation on another box, that I didn't disable IPv6 on, and it worked fine (once I verified the /etc/hosts file was good to go).

Glad you finally got this working after roughly 13 months?

Translate
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
Community Expert ,
Sep 30, 2011 Sep 30, 2011
LATEST

Good for you! You should mark the question as answered. It will help others who have a similar problem.

Translate
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