Coldfusion 10 Distributed Mode | C:\ColdFusion10\config\wsconfig\3\isapi_redirect.dll" failed

Here is the environment:
IIS8 on Server 2012 R2 Datacenter VM with ISAPI, CGI, IIS6 and all that good stuff
CF10 on Server 2012 R2 VM (because my version of CF 10 will not install on 2012)
Coldusion10 folder copied to C drive on 2012 webserver in the same exact location
When updating to hotfix 16 both servers were offered and updated although service is only on the CF 2008 R2 machine.

[IIS is temporarily hosting site on CF machine and CF is working fine along with datasource to SQL VM]

Until updates installed on the webserver (non CF VM) I was unable to configure a server with the wsconfig tool at all. It ended in the server 8.5 warning


Using the
C:\ColdFusion10\cfusion\runtime\lib>wsconfig.jar tool in the copied folder on the webserver, I'm able to configure a server using the CF IP of 10.1.3.50 and it installs the Tomcat C:\ColdFusion10\config\wsconfig\3\isapi_redirect.dll Filter, which results in the folowing error in any instance (1\2\3) when trying to access any .cfm:

HTTP Error 500.0 - Internal Server Error
Calling LoadLibraryEx on ISAPI filter "C:\ColdFusion10\config\wsconfig\3\isapi_redirect.dll" failed

I have tried downloading the  tomcat-connectors-1.2.40-windows-x86_64-iis and replacing the isapi_redirect.dll with no success.

There is very little documentation on this on  the web so... HELP! I would really love to put this to bed after several hours over 2 days
A_AmericanELectricAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Randy DownsOWNERCommented:
Your setup is server 2008 VM right? have you tried reboot?

CF10 on Server 2012 R2 VM (because my version of CF 10 will not install on 2012)
0
A_AmericanELectricAuthor Commented:
tried everthing. 2008 on CF VM but 2012 on IIS VM
0
A_AmericanELectricAuthor Commented:
CF10 on Server 2012 R2 VM (because my version of CF 10 will not install on 2012)
Correct which is why I chose the 2008R2 VM to host the CF10
0
Creating Active Directory Users from a Text File

If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.

Randy DownsOWNERCommented:
Errors in the CF install log maybe? Which IIS is handling CF10? I see hat there's some issues with update 4.
0
A_AmericanELectricAuthor Commented:
Here you go: I pulled a small chunk of the isapi_redirect log which is where I think the problem is.
Keep in mind that CF is serving up just fine on it's own local machine but I really want to split the servers (IIS 8.5/ CF 10):

Also- the error now and for most of the day is
"Service Temporary Unavailable!
The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.
Jakarta/ISAPI/isapi_redirector/1.2.32 () " 

___________________________________________
isapi_redirect log

[Thu Aug 06 20:17:07.693 2015] [2836:1960] [info] init_jk::jk_isapi_plugin.c (2613): Starting Jakarta/ISAPI/isapi_redirector/1.2.32 ()[Thu Aug 06 20:17:07.771 2015] [2836:1960] [info] init_jk::jk_isapi_plugin.c (2792): Jakarta/ISAPI/isapi_redirector/1.2.32 () initialized[Thu Aug 06 23:42:12.903 2015] [2836:2460] [info] TerminateFilter::jk_isapi_plugin.c (2322): Jakarta/ISAPI/isapi_redirector/1.2.32 () stopping[Thu Aug 06 23:52:23.319 2015] [3104:3856] [info] init_jk::jk_isapi_plugin.c (2613): Starting Jakarta/ISAPI/isapi_redirector/1.2.32 ()[Thu Aug 06 23:52:23.619 2015] [3104:3856] [info] init_jk::jk_isapi_plugin.c (2792): Jakarta/ISAPI/isapi_redirector/1.2.32 () initialized[Thu Aug 06 23:52:24.913 2015] [3104:3856] [info] jk_open_socket::jk_connect.c (626): connect to 127.0.0.1:8012 failed (errno=61)[Thu Aug 06 23:52:25.513 2015] [3104:3856] [info] ajp_connect_to_endpoint::jk_ajp_common.c (1027): Failed opening socket to (127.0.0.1:8012) (errno=61)[Thu Aug 06 23:52:26.066 2015] [3104:3856] ajp_send_request::jk_ajp_common.c (1649): (cfusion) connecting to backend failed. Tomcat is probably not started or is listening on the wrong port (errno=61)[Thu Aug 06 23:52:26.476 2015] [3104:3856] [info] ajp_service::jk_ajp_common.c (2629): (cfusion) sending request to tomcat failed (recoverable), because of error during request sending (attempt=1)[Thu Aug 06 23:52:27.802 2015] [3104:3856] [info] jk_open_socket::jk_connect.c (626): connect to 127.0.0.1:8012 failed (errno=61)[Thu Aug 06 23:52:28.165 2015] [3104:3856] [info] ajp_connect_to_endpoint::jk_ajp_common.c (1027): Failed opening socket to (127.0.0.1:8012) (errno=61)[Thu Aug 06 23:52:28.496 2015] [3104:3856] ajp_send_request::jk_ajp_common.c (1649): (cfusion) connecting to backend failed. Tomcat is probably not started or is listening on the wrong port (errno=61)[Thu Aug 06 23:52:28.638 2015] [3104:3856] [info] ajp_service::jk_ajp_common.c (2629): (cfusion) sending request to tomcat failed (recoverable), because of error during request sending (attempt=2)[Thu Aug 06 23:52:28.828 2015] [3104:3856] ajp_service::jk_ajp_common.c (2648): (cfusion) connecting to tomcat failed.[Thu Aug 06 23:52:28.938 2015] [3104:3856] HttpExtensionProc::jk_isapi_plugin.c (2272): service() failed with http error 503[Thu Aug 06 23:53:07.293 2015] [3104:3856] [info] jk_open_socket::jk_connect.c (626): connect to 127.0.0.1:8012 failed (errno=61)[Thu Aug 06 23:53:07.593 2015] [3104:3856] [info] ajp_connect_to_endpoint::jk_ajp_common.c (1027): Failed opening socket to (127.0.0.1:8012) (errno=61)[Thu Aug 06 23:53:08.051 2015] [3104:3856] ajp_send_request::jk_ajp_common.c (1649): (cfusion) connecting to backend failed. Tomcat is probably not started or is listening on the wrong port (errno=61)[Thu Aug 06 23:53:08.272 2015] [3104:3856] [info] ajp_service::jk_ajp_common.c (2629): (cfusion) sending request to tomcat failed (recoverable), because of error during request sending (attempt=1)[Thu Aug 06 23:53:09.566 2015] [3104:3856] [info] jk_open_socket::jk_connect.c (626): connect to 127.0.0.1:8012 failed (errno=61)[Thu Aug 06 23:53:10.197 2015] [3104:3856] [info] ajp_connect_to_endpoint::jk_ajp_common.c (1027): Failed opening socket to (127.0.0.1:8012) (errno=61)[Thu Aug 06 23:53:10.513 2015] [3104:3856] ajp_send_request::jk_ajp_common.c (1649): (cfusion) connecting to backend failed. Tomcat is probably not started or is listening on the wrong port (errno=61)[Thu Aug 06 23:53:10.702 2015] [3104:3856] [info] ajp_service::jk_ajp_common.c (2629): (cfusion) sending request to tomcat failed (recoverable), because of error during request sending (attempt=2)[Thu Aug 06 23:53:10.971 2015] [3104:3856] ajp_service::jk_ajp_common.c (2648): (cfusion) connecting to tomcat failed.[Thu Aug 06 23:53:11.318 2015] [3104:3856] HttpExtensionProc::jk_isapi_plugin.c (2272): service() failed with http error 503[Fri Aug 07 00:49:57.014 2015] [3104:3656] [info] TerminateFilter::jk_isapi_plugin.c (2322): Jakarta/ISAPI/isapi_redirector/1.2.32 () stopping[Fri Aug 07 15:44:01.803 2015] [3600:3588] [info] init_jk::jk_isapi_plugin.c (2613): Starting Jakarta/ISAPI/isapi_redirector/1.2.32 ()[Fri Aug 07 15:44:01.913 2015] [3600:3588] [info] init_jk::jk_isapi_plugin.c (2792): Jakarta/ISAPI/isapi_redirector/1.2.32 () initialized[Fri Aug 07 16:05:00.648 2015] [3600:3372] [info] TerminateFilter::jk_isapi_plugin.c (2322): Jakarta/ISAPI/isapi_redirector/1.2.32 () stopping[Fri Aug 07 16:17:06.468 2015] [2132:2124] [info] init_jk::jk_isapi_plugin.c (2613): Starting Jakarta/ISAPI/isapi_redirector/1.2.32 ()[Fri Aug 07 16:17:06.515 2015] [2132:2124] [info] init_jk::jk_isapi_plugin.c (2792): Jakarta/ISAPI/isapi_redirector/1.2.32 () initialized[Fri Aug 07 16:54:07.365 2015] [2132:2824] [info] TerminateFilter::jk_isapi_plugin.c (2322): Jakarta/ISAPI/isapi_redirector/1.2.32 () stopping[Fri Aug 07 18:29:03.501 2015] [1456:2940] [info] init_jk::jk_isapi_plugin.c (2613):
0
Randy DownsOWNERCommented:
It comes down to "Tuning ColdFusion 10 IIS Connector configuration". Extensive information can be found in this page.

http://blogs.coldfusion.com/post.cfm/tuning-coldfusion-10-iis-connector-configuration

My {CF-Home}/config/wsconfig/{some no}/workers.properties file looks like this:

<Connector port="8012" protocol="AJP/1.3" connectionTimeout="60000" redirectPort="8445" maxThreads="500" tomcatAuthentication="false">

Open in new window

0
A_AmericanELectricAuthor Commented:
SOB!! The whole damned time its been the firewall. It has crossed my mind a few times over the past few days but since "firewall" has not came up in any of the research I didnt bother. But its been bugging me so I just got out of bed and mad an inbound rule on the CF VM for ports 8009,8012,8013,8300,8500 and the same outbound rule on the webserver and instant success.

Recommend this to me and I'll credit you with the question so that it may be useful to others down the road.
0
Randy DownsOWNERCommented:
Checking firewall should have been a natural had we not got sidetracked on the error codes. Here's some common ports for distributed mode.

Many processes and daemons on a given server communicate using the TCP stack. TCP provides a predictable, high capacity, mature protocol for piping requests and data in and out of server processes. In this case, IIS or Apache communicate with CF through the local loopback (localhost or 127.0.0.1) IP address and a port - usually 8012 (or 8013 or 8014) chosen at installation
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
A_AmericanELectricAuthor Commented:
Thanks for your professionalism and courtesy. I frequent EE so I hope to deal with you again very soon.
It was a pleasure!
0
A_AmericanELectricAuthor Commented:
I know this is out of topic but if you know a simple cure I won't bother with a new thread.
I have a dedicated virtual drive (webroot) setup on the webserver with all the same NTFS permissions but every time I switch to that directory I get a 404 not found error on any of the cfm pages.
But http://10.1.3.48/CFIDE/administrator/index.cfm still works.

It makes me think that theres a problem with the IIS virtual directory CFIDE but the full path is there.
C:\ColdFusion10\cfusion\wwwroot\CFIDE

As soon as I switch back to inetpub/wwwroot it all works again. Tried removing and reinstalling with the web connector but no change
0
Randy DownsOWNERCommented:
That doesn't sound like a simple cure unless you can put the folder in inetpub/wwwroot.
0
A_AmericanELectricAuthor Commented:
With all of the trial and error I made the mistake of running the site directly from wwwroot and not from a site subfolder. Now I'm trying to add a site but when I copy the files over to a subfolder I lose CF. So I reran the connector but still nothing. I created a new site and ran connector but nothing works. I set the root back to wwwroot and CF works fine again. Any ideas?
0
Randy DownsOWNERCommented:
It's probably a permissions issue. Compare permission in the root to subfolder.
0
A_AmericanELectricAuthor Commented:
Thats what I thought too but it appears the same
0
Randy DownsOWNERCommented:
You may want to create a new thread so others can weigh in.
0
A_AmericanELectricAuthor Commented:
Ok but one last thing:
For whatever reason- the folder has to be named wwwroot (in this case) for CF to work. I can copy the entire wwwroot and rename it and choose that as my root dir but cf pages will not display.
I then rename the copied folder back to wwwroot and change my directory back in IIS to the copied wwwroot folder and it works fine.

Could the path C:\inetpub\wwwroot\ be registered on the remote cf server somewhere and the server not allowing any other path as a security measure or something?
I tried everything on the webserver (folder permissions/ownership application pools) with no success.

Otherwise I'll re-post that last paragraph. Thanks!
0
Randy DownsOWNERCommented:
Do you have any websites running on IIS in subfolders without Cold Fusion? If so then the problem may be on the Cold Fusion side. If not then IIS may not be configuring the sites  in subfolders (virtuals) properly.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
ColdFusion Language

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.