CF9 & Apache 2.2.16
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
