Question
cfmx7.0.2 installation nightmare
I've been trying to get ColdFusion MX 7.0.2 installed for a
couple weeks now on an FC4 i386 box.
I've given up on my hope of being able to use the new JPA peristance architecture in EJB 3.0 since it depends upon the annotation capabilities of JDK 1.5 and that road was nothing but trouble with cfmx7. I also gave up on my hope of running it in Sun App Server 8.2.
Now I'm just trying to get the standard standalone deployment to work with an Apache connector. This too has been nothing but troublesome.
I'm at the point now where when I start the coldfusion process I get:
# ./coldfusion start
Starting ColdFusion MX 7...
The ColdFusion MX 7 server is starting up and will be available shortly.
======================================================================
Running the ColdFusion MX 7 connector wizard
======================================================================
Configuring the web server connector (Launched on the first run of the ColdFusion MX 7 start script)
Running apache connector wizard...
ColdFusion MX 7 not started, will retry connector 12 more time(s)
....
ColdFusion MX 7 not started, will retry connector 1 more time(s)
The connector wizard has not been able to contact the local ColdFusion MX 7, connector installation aborted.
======================================================================
ColdFusion MX 7 has been started.
ColdFusion MX 7 will write logs to /opt/coldfusionmx7/logs/cfserver.log
======================================================================
cfserver.log shows:
11/14 15:52:33 Error [main] - Unable to initialize FlexAssembler service: coldfusion.server.ServiceException: Unable to register Flex Assembler Service in RMI registry: java.rmi.ConnectIOException: Exception creating connection to: 127.0.0.1; nested exception is: java.net.SocketException: Invalid argument or cannot assign requested address.
but it also says:
JRun Naming Service listening on *:2920
RMI Registry started and listening on port 1099
and netstat -an says:
tcp 0 0 :::2920 :::* LISTEN
tcp 0 0 :::1099 :::* LISTEN
and I can telnet and connect to both those ports
the exception.log says:
java.net.SocketException: Invalid argument or cannot assign requested address."
coldfusion.server.ServiceException: Unable to register Flex Assembler Service in RMI registry: java.rmi.ConnectIOException: Exception creating connection to: 127.0.0.1; nested exception is:
java.net.SocketException: Invalid argument or cannot assign requested address.
I then try to create my connector with:
java -Dtrace.ci=1 -jar wsconfig.jar -server coldfusion -ws apache -dir /etc/httpd/conf -bin /usr/sbin/httpd -script /usr/sbin/apachectl -coldfusion -v -apxs
and I get:
Macromedia JRun 4.0 (Build 107948)
os.name: Linux
os.version: 2.6.11-1.1369_FC4
os.arch: i386
platform: intel-linux
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
wsconfig.log says:
jrunx.connectorinstaller.NoServerException
at jrunx.connectorinstaller.CIJndi.findServers(CIJndi.java:477)
at jrunx.connectorinstaller.CIJndi.<init>(CIJndi.java:141)
at jrunx.connectorinstaller.CIJndi.<init>(CIJndi.java:147)
at jrunx.connectorinstaller.ConnectorInstaller.parseArgs(ConnectorInstaller.java:228)
at jrunx.connectorinstaller.ConnectorInstaller.<init>(ConnectorInstaller.java:56)
at jrunx.connectorinstaller.ConnectorInstaller.main(ConnectorInstaller.java:750)
security.properties currently says:
jrun.subnet.restriction=*
jrun.trusted.hosts=127.0.0.1,192.168.1.12,192.168.1.112
I've tried numerous combinations there with no luck.
SELinux is currently disabled and there is nothing in iptables.
This is a level of aggrevation the sort of which you can only achieve by paying alot of money for something that doesn't seem to work. ANY suggestions would be well received!
I've given up on my hope of being able to use the new JPA peristance architecture in EJB 3.0 since it depends upon the annotation capabilities of JDK 1.5 and that road was nothing but trouble with cfmx7. I also gave up on my hope of running it in Sun App Server 8.2.
Now I'm just trying to get the standard standalone deployment to work with an Apache connector. This too has been nothing but troublesome.
I'm at the point now where when I start the coldfusion process I get:
# ./coldfusion start
Starting ColdFusion MX 7...
The ColdFusion MX 7 server is starting up and will be available shortly.
======================================================================
Running the ColdFusion MX 7 connector wizard
======================================================================
Configuring the web server connector (Launched on the first run of the ColdFusion MX 7 start script)
Running apache connector wizard...
ColdFusion MX 7 not started, will retry connector 12 more time(s)
....
ColdFusion MX 7 not started, will retry connector 1 more time(s)
The connector wizard has not been able to contact the local ColdFusion MX 7, connector installation aborted.
======================================================================
ColdFusion MX 7 has been started.
ColdFusion MX 7 will write logs to /opt/coldfusionmx7/logs/cfserver.log
======================================================================
cfserver.log shows:
11/14 15:52:33 Error [main] - Unable to initialize FlexAssembler service: coldfusion.server.ServiceException: Unable to register Flex Assembler Service in RMI registry: java.rmi.ConnectIOException: Exception creating connection to: 127.0.0.1; nested exception is: java.net.SocketException: Invalid argument or cannot assign requested address.
but it also says:
JRun Naming Service listening on *:2920
RMI Registry started and listening on port 1099
and netstat -an says:
tcp 0 0 :::2920 :::* LISTEN
tcp 0 0 :::1099 :::* LISTEN
and I can telnet and connect to both those ports
the exception.log says:
java.net.SocketException: Invalid argument or cannot assign requested address."
coldfusion.server.ServiceException: Unable to register Flex Assembler Service in RMI registry: java.rmi.ConnectIOException: Exception creating connection to: 127.0.0.1; nested exception is:
java.net.SocketException: Invalid argument or cannot assign requested address.
I then try to create my connector with:
java -Dtrace.ci=1 -jar wsconfig.jar -server coldfusion -ws apache -dir /etc/httpd/conf -bin /usr/sbin/httpd -script /usr/sbin/apachectl -coldfusion -v -apxs
and I get:
Macromedia JRun 4.0 (Build 107948)
os.name: Linux
os.version: 2.6.11-1.1369_FC4
os.arch: i386
platform: intel-linux
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
wsconfig.log says:
jrunx.connectorinstaller.NoServerException
at jrunx.connectorinstaller.CIJndi.findServers(CIJndi.java:477)
at jrunx.connectorinstaller.CIJndi.<init>(CIJndi.java:141)
at jrunx.connectorinstaller.CIJndi.<init>(CIJndi.java:147)
at jrunx.connectorinstaller.ConnectorInstaller.parseArgs(ConnectorInstaller.java:228)
at jrunx.connectorinstaller.ConnectorInstaller.<init>(ConnectorInstaller.java:56)
at jrunx.connectorinstaller.ConnectorInstaller.main(ConnectorInstaller.java:750)
security.properties currently says:
jrun.subnet.restriction=*
jrun.trusted.hosts=127.0.0.1,192.168.1.12,192.168.1.112
I've tried numerous combinations there with no luck.
SELinux is currently disabled and there is nothing in iptables.
This is a level of aggrevation the sort of which you can only achieve by paying alot of money for something that doesn't seem to work. ANY suggestions would be well received!