Skip to main content
webmandman8
Inspiring
July 25, 2014
Answered

Enterprise multiple instances can't start with port set to 80

  • July 25, 2014
  • 2 replies
  • 2087 views

I have three instances: main instance is for cfadmin site, next two are my websites.

cfusion ---> cfadmin site --- http port <blank> --- remote port 8014 --- host localhost --- cluster none

cfusion2 ----> website 1 --- http port 80 --- remote port 8012 --- host localhost --- cluster none

cfusion3 ----> website 2 --- http port 8501 --- remote port 8011 --- host localhost --- cluster none

cfusion2 does not start up and the instance manager page just refreshes without a message, and there are no system or cf logs with errors. I'm using Chrome browser, I gave up on Internet Explorer(event after adding the sites to the safe zone).

I then proceeded to configure the third site using WSCONFIG in hopes that it will use cfusion3 server but instead it automatically selected cfusion.

I could really use some help here. Thanks in advance.

This topic has been closed for replies.
Correct answer webmandman8

Alright, I got my instances running and each with its own windows service. Plus I do not get the white page of death, and I did not have to manually edit config files in order to make this work.

When cf instances are created, it creates a duplicate copy of the cfusion folder for itself. and so within itself there is also a runtime/bin folder which contains the WSCONFIG tool. So instead of creating cf connectors for my IIS sites using the main cfusion WSCONFIG tool I had to use each tool within each instance. Many of you probably already knew that.

It was recommended by Anit Kumar to enable the embedded server so that port 8500 is occupied before creating the instances so that the newly created instances do not automatically pick up port 8500.

Thanks to Anit who helped every step of the way and who got my server setup correctly.

For anyone doing a clean install on windows server make sure to run the installer with administrator rights. Plus make sure that your cf install folder has the appropriate permissions. I initially gave everyone full controll of my install folder then after it was setup and working I started to follow the permissions recommedations from Peter's CF 11 Lockdown Guide. http://www.adobe.com/content/dam/Adobe/en/products/coldfusion/pdfs/cf11/cf11-lockdown-guide.pdf

Adobe CF, could you guys add some tips and simple how to instructions to the instance manager page in the cf adminstrator? It should be know that instances have their own WSCONFIG tool and should be used for the intended sites. Also, I think additional instances should start with port 8501, 8500 should be left alone for the embedded server option. This could avoid setup issues. Oooh, also if possible in the instance manager add another action button that opens up its own WSCONFIG tool. Action can be called "Add a website".

2 replies

jvanoppen
Participant
August 4, 2014

The issues I am having are very similar to the issues reported by the originator of this thread. My CF 11 Enterprise will not create additional services for my cold fusion sites beyond the initial service created during the install process. My problems are compounded because when I try and uninstall the CF11 application the uninstall process hangs and throws the error below. I am now forced to try and uninstall manually. Any help or suggestions to getting the issue resolved are welcome.

Description:

A problem caused this program to stop interacting with Windows.

Problem signature:

  Problem Event Name: AppHangB1

  Application Name:         javaw.exe

  Application Version:     7.0.510.13

  Application Timestamp:              52b25e38

  Hang Signature:              0967

  Hang Type:       6144

  OS Version:      6.1.7601.2.1.0.274.10

  Locale ID:           1033

  Additional Hang Signature 1:     09675b5d8f587c9fd57b85cb72e629da

  Additional Hang Signature 2:     2cff

  Additional Hang Signature 3:     2cff32d5db809ac6ce8170a1d7ac1eb0

  Additional Hang Signature 4:     0967

  Additional Hang Signature 5:     09675b5d8f587c9fd57b85cb72e629da

  Additional Hang Signature 6:     2cff

  Additional Hang Signature 7:     2cff32d5db809ac6ce8170a1d7ac1eb0

jvanoppen
Participant
August 5, 2014

I resolved the problem with setting up Cold Fusion 11 instances. I had to turn off Windows Server 2008 R2 UAC for all users in order to complete the installation with IIS as the web server. This also resolved the problem with separate instances not getting created for each web site. Finally, it also resolved the problem with being unable to uninstall Cold Fusion.

webmandman8
webmandman8AuthorCorrect answer
Inspiring
August 6, 2014

Alright, I got my instances running and each with its own windows service. Plus I do not get the white page of death, and I did not have to manually edit config files in order to make this work.

When cf instances are created, it creates a duplicate copy of the cfusion folder for itself. and so within itself there is also a runtime/bin folder which contains the WSCONFIG tool. So instead of creating cf connectors for my IIS sites using the main cfusion WSCONFIG tool I had to use each tool within each instance. Many of you probably already knew that.

It was recommended by Anit Kumar to enable the embedded server so that port 8500 is occupied before creating the instances so that the newly created instances do not automatically pick up port 8500.

Thanks to Anit who helped every step of the way and who got my server setup correctly.

For anyone doing a clean install on windows server make sure to run the installer with administrator rights. Plus make sure that your cf install folder has the appropriate permissions. I initially gave everyone full controll of my install folder then after it was setup and working I started to follow the permissions recommedations from Peter's CF 11 Lockdown Guide. http://www.adobe.com/content/dam/Adobe/en/products/coldfusion/pdfs/cf11/cf11-lockdown-guide.pdf

Adobe CF, could you guys add some tips and simple how to instructions to the instance manager page in the cf adminstrator? It should be know that instances have their own WSCONFIG tool and should be used for the intended sites. Also, I think additional instances should start with port 8501, 8500 should be left alone for the embedded server option. This could avoid setup issues. Oooh, also if possible in the instance manager add another action button that opens up its own WSCONFIG tool. Action can be called "Add a website".

webmandman8
Inspiring
July 25, 2014

I just checked my Services and the instance manager did NOT create a windows service for cfusion2 and cfusion3. I am pretty sure I checked the box for this option.

webmandman8
Inspiring
July 25, 2014

I deleted cfusion2 instance and recreated it and i got

[step 1 of 2] Creating new CF Instance... Done

[step 2 of 2] Creating the CF runtime, this may take a few minutes...


plus I get this error at the bottom of the page and I confirmed that the file does not exists. Not sure why this file did not get created in the creation of the instance.


The cause of this exception was: java.io.FileNotFoundException: E:/../../../lib/neo-runtime.xml (The system cannot find the file specified).



webmandman8
Inspiring
July 29, 2014

To my surprise, I configured my sites in IIS to use port 80 and they work. But how? One website is configure in IIS to use hostname:80 and is connected to cfusion2 instance which is set to HTTP port 8501 and REMOTE port 8012 Host localhost.


Correction: The following error occurs when I restart the windows service to CF server not when I create a new instance.

Windows detected your registry file is still in use by other applications or services. The file will be unloaded now. The applications or services that hold your registry file may not function properly afterwards. No user action is required.

DETAIL -

3 user registry handles leaked from \Registry\User\S-1-5-21-1567615034-1048198885-1555736510-1003_Classes:

Process 1444 (\Device\HarddiskVolume3\..\..\..\bin\coldfusion.exe) has opened key \REGISTRY\USER\S-1-5-21-1567615034-1048198885-1555736510-1003_CLASSES

Process 924 (\Device\HarddiskVolume2\Windows\System32\svchost.exe) has opened key \REGISTRY\USER\S-1-5-21-1567615034-1048198885-1555736510-1003_CLASSES

Process 1444 (\Device\HarddiskVolume3\..\..\..\bin\coldfusion.exe) has opened key \REGISTRY\USER\S-1-5-21-1567615034-1048198885-1555736510-1003_CLASSES

My Issues:

1. Creating a new instance with a windows service does NOT work. Instance is created but not the windows service.

2. I can't stop an instance from the instange manager. The request waits endlessly for a response from the server. So if I can't reliably stop and start an instance I can't work with this server.

I have less than 9 days left on my trial and I need to atleast setup my environment to show my boss.So I need help in setting up my three websites in IIS with a separate coldfusion server instance and running on port 80. My patience is running out, specially since I've done more than 5 fresh installs and every time encountering new issues.