Production server down and unable to start Lucee - Generic Connector Communication Error

Hi,

I am unable to start Lucee server and getting this error.

No connection could be made because the target machine actively refused it 127.0.0.1:8009 at System.Net.Sockets.TcpClient…ctor(String hostname, Int32 port)
at BonCodeIIS.BonCodeCallHandler.ProcessRequest(HttpContext context)

Unfortunately, this is entirely my fault: I wanted to block acces to remote admins via BonCodeAJP13.settigs and noticed that even if I set False I can still acces then.
I have noticed the following in the Boncode Connector release notes:
Version 1.0.20 : add: support for Lucee CFML engine and add Lucee administrator security, so I downloaded a fresh one and copied the dlls over to Lucee/AJP13 and this is the result.

I have tried uninstall Lucee completely and install it again but the error persist.

Would anybody know how to fix this ? I am attaching the log from tomcat which shows some errors.

Thans in advance for any hint on this.

I guess I will be a dead man tomorrow :slight_smile:

Thanks a lot for this very useful info.

At the end, I believe it was not replacing the connector which caused me
the trouble. I did a silly mistake of removing a site from IIS / file
system and did not change the tomcat host definitions accordingly.
I ended up with the connector error which I posted, but I guess it was just
masking the issue I described.

But I would have another question about the connector posted here:
https://groups.google.com/forum/#!topic/lucee/LMaTEjblOmk
Maybe, could you please help to clarify that one as well ?

Best Regards

Ivan

The log says this:

D:\inetpub\vhosts\prazskyhradarchiv.cz\www does not exist or is not a
readable directory

As well as some stuff about duplicate “localhost” server elements.

I’d check if that directory exists, and see if you’ve got multiple
“localhost” hosts defined in your server.xml.

-DenOn 3/19/15 6:23 PM, @Ivan_Rotrekl wrote:

Hi,

I am unable to start Lucee server and getting this error.

No connection could be made because the target machine actively refused it 127.0.0.1:8009 at System.Net.Sockets.TcpClient…ctor(String hostname, Int32 port)
at BonCodeIIS.BonCodeCallHandler.ProcessRequest(HttpContext context)

Sorry to hear you had trouble with replacing connector.
To replace just the connector for Railo / Lucee is normally a quick and
simple process.
a) Simple run the connector uninstall program in Windows control panel
(keep IIS features when prompted).
b) Then, download, unblock the new distribution zip.
c) Copy the updated dll files from zip into the Lucee distribution folder
(/AJP13) for connector and run the Connector_Setup from the distribution
folder.

This should only take a few minutes.

Best,
Bilal