tracker issue : CF-4203161

select a category, or use search below
(searches all categories and all time range)
Title:

onServerStart() not fired when component is located on network path

| View in Tracker

Status/Resolution/Reason: Closed/Withdrawn/NotABug

Reporter/Name(from Bugbase): Toine Vos / ()

Created: 07/27/2018

Components: General Server

Versions: 2018

Failure Type: Non Functioning

Found In Build/Fixed In Build: 2018.0.0.310739 /

Priority/Frequency: Normal / All users will encounter

Locale/System: ALL / Win 2016

Vote Count: 1

Problem Description:
Method "onServerStart" is not called when there is linked to a component with a network location like "\\vmware-host\server.cfc".

Steps to Reproduce:
1. Create a network-share
2. Create cfc file with onServerStart method that writes a log
3. Add network path to cfc in CFadmin setting "Component with onServerStart( ) method", example: "\\vmware-host\server.cfc"
4. Restart CF 

Actual Result:
No log is written 

Expected Result:
See a the log

Attachments:

Comments:

Additional: using a network path for the component with the onServerStart method worked in CF2016.
Comment by Toine V.
29410 | July 27, 2018 12:40:04 PM GMT
Hi Tione, I have tried the above scenario in both CF 2016 and CF 2018 and it works in both the instances. I have used both mapped network drive path and full network drive path(it worked in both cases). Here is the snippet I have used in server.cfc file: <cfcomponent> <cffunction name="onServerStart" access="public"> <cflog text="From ServerCFC file" file="mylog" type="warning" application="no"> </cffunction> </cfcomponent> Let me know, if I'm missing anything here?
Comment by HariKrishna K.
29413 | July 31, 2018 07:56:00 AM GMT
Hi there I cannot reproduce this issue anymore, but I'm not sure what is different from before. Anyhow, thanks for your response, this issue can be closed.
Comment by Toine V.
29424 | August 02, 2018 01:28:30 PM GMT