Afternoon all...

This morning I had need to restart CF on one of our boxes.  Since the
restart I've been having a most un-fun morning.  CF started refusing to
server up and CFM pages.  In fact it seems that JRun was the culprit.

Basically, requests were being passed OK from the webserver to the CF
server, but JRun was failing to find both the requested file AND the
default error template that shows the nice "Template Not Found" error -
I was just getting a raw JRun 404 error.  This was happening both for
calls through the external web server via the connector AND using the
built-in server.

I tried everything I could think of but in the end have gone for a
reinstall.  OK so far, I can get CFMs served up using the interal
webserver, but the connector is proving more than a little troublesome.
When running the connector in debug mode I get the error show at the
bottom of this mail, saying that it can't connect to the JNDI server.

I've now hit a brick wall - I don't know where to go from here.  Any
advice most definitely appreciated!

Tim.

----------------------8<--------------------

# /opt/coldfusionmx/runtime/jre/bin/java -Dtrace.ci=1 \
  -jar /opt/coldfusionmx/runtime/lib/wsconfig.jar -ws \
  apache -dir /etc/httpd/conf -a -bin /usr/sbin/httpd \
  -script /etc/init.d/httpd -v

Macromedia JRun 4 (Build 63961)
os.name: Linux
os.version: 2.4.9-e.30.1RS
os.arch: i386
platform: intel-linux
Found port 2901 on host localhost
could not connect to port 2901 on host 127.0.0.1
javax.naming.ServiceUnavailableException: The connection to the remote
JNDI server on host 127.0.0.1 at port 2901 has failed (as have all
backup hosts listed, if any) - please verify that the server is running
and the NamingService is available [Root exception is
java.net.ConnectException: Connection refused]
        at
jrun.naming.JRunNamingContext.connectToNameServer(JRunNamingContext.java
:1353)
        at
jrun.naming.JRunNamingContext.getRemoteContextProxy(JRunNamingContext.ja
va:1319)
        at
jrun.naming.JRunNamingContext.getContextProxy(JRunNamingContext.java:113
5)
        at
jrun.naming.JRunNamingContext.lookup(JRunNamingContext.java:517)
        at
jrun.naming.JRunNamingContext.lookup(JRunNamingContext.java:495)
        at javax.naming.InitialContext.lookup(InitialContext.java:347)
        at jrunx.connectorinstaller.CIJndi.findServers(CIJndi.java:362)
        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.ja
va:56)
        at
jrunx.connectorinstaller.ConnectorInstaller.main(ConnectorInstaller.java
:731)
Caused by: java.net.ConnectException: Connection refused
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
        at
java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
        at java.net.Socket.connect(Socket.java:452)
        at java.net.Socket.connect(Socket.java:402)
        at java.net.Socket.<init>(Socket.java:309)
        at java.net.Socket.<init>(Socket.java:124)
        at
jrun.naming.JRunNamingContext.connectToNameServer(JRunNamingContext.java
:1349)
        ... 11 more
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

--
-------------------------------------------------------
<CF_CodingContest mode="judging" newentries="false"> Maze Solver -
http://tech.badpen.com/cfcontest/
-------------------------------------------------------
RAWNET LTD - Internet, New Media and ebusiness Gurus.
WE'VE MOVED - for our new address, please visit our website at
http://www.rawnet.com/ or call us any time on 0800 294 24 24.
-------------------------------------------------------
This message may contain information which is legally privileged and/or
confidential.  If you are not the intended recipient, you are hereby
notified that any unauthorised disclosure, copying, distribution or use
of this information is strictly prohibited. Such notification
notwithstanding, any comments, opinions, information or conclusions
expressed in this message are those of the originator, not of rawnet
limited, unless otherwise explicitly and independently indicated by an
authorised representative of rawnet limited.
-------------------------------------------------------
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to