gabrieldavis321
Explorer
gabrieldavis321
Explorer
Activity
‎Jun 20, 2024
05:59 AM
THANKS!!! You are a life-saver!
... View more
‎Jun 19, 2024
12:56 PM
Hi, After applying CF update 14 on cf2021 box search no longer works. When I go to the CF admin to the coldfusion collections tab I get: Unable to retrieve collections from the Search Services. Ensure that you have installed ColdFusion Search Service and it is running. I tried uninstalling the search component and re-installing and also down grading the search component but no luck. After more research, I see that the issue only happens when there are multiple Coldfusion Instances and does not happen on my local which only has one CF instance Any ideas? Thanks, Gabe
... View more
‎Apr 15, 2024
12:09 PM
1 Upvote
Turning off anti-virus fixed the issue
... View more
‎Apr 15, 2024
11:40 AM
I copied the file adobe_cf.lax and renamed it to adobe_cf1.lax and that seemed to resolve the issue, but I am not sure if that was the right thing to do. Please advise
... View more
‎Apr 15, 2024
08:23 AM
Hi Priyank, How do I find the checksum? I have used the same installer to install on my local windows 10 and on 3 servers, so I am not sure if it would suddenly be corrupted or something
... View more
‎Apr 15, 2024
06:18 AM
Hi, I am getting the error below when trying to install on windows 11 Unable to Launch Java Application The properties files is missing an essentail property file: lax.main.class Please make sure it exists in the properties file C:/1713185448/windows/adobe_cf1.lax I do NOT see the file adobe_cf1.lax in the folder I unzipped to (see screenshot)
... View more
‎Mar 29, 2024
10:41 AM
Hi, Adobe writes: The JVM flag -Dcoldfusion.searchimplicitscopes will be removed in the next major release of ColdFusion, hence disallowing searching of an unscoped variable in the implicit scopes. This may require application code changes. We are currently on Coldfusion2021. Does "next major release of ColdFusion" mean something like Coldfusion2025 or some other version than Coldfusion2021 and until we upgrade to that version we can continue to use the flag?
... View more
‎Jan 19, 2024
12:58 PM
Hi, I know that this was question was asked in https://community.adobe.com/t5/coldfusion-discussions/cf-2018-auto-lockdown-states-the-server-is-not-running/m-p/12174409 but no answer was given. I know that I ultimately figured it out but forgot to document it. When I run the CF 2021 lockdown tool I get the following error: "ColdFusion server is nor running. Please start the server and try again." But Coldfusion's instances (2) are running! the lockdown logs look like: 2024-01-19 15:53:51 INFO - ColdFusion is not running. Please start ColdFusion using services and try again. 2024-01-19 15:54:00 INFO - Path:d:\ColdFusion2021\lockdown\cfusion 2024-01-19 15:54:00 INFO - LINE_DEBUGGER_ENABLED -> null 2024-01-19 15:54:00 INFO - developer_enabled -> false 2024-01-19 15:54:00 INFO - REMOTE_INSPECTION_ENABLED -> null 2024-01-19 15:54:00 INFO - ajax_enabled -> false 2024-01-19 15:54:00 INFO - robust_enabled -> false 2024-01-19 15:54:00 INFO - FLASHFORMCOMPILEERRORS -> null 2024-01-19 15:54:00 INFO - enabled -> false 2024-01-19 15:54:01 INFO - Server is not running
... View more
‎Aug 21, 2023
06:13 AM
Hi, I am trying to convert some java code (below) to Coldfusion but am running into an error "Variable HEX is undefined". How can I create a Hex object in CF? <cfset input='{"id":7,"attempts":1,"notifications":[{"action":"UPDATE","message":{"id":0,"sender":"","body":"{\u0022TableId\u0022:930002,\u0022TableName\u0022:\u0022DEMOGRAPHIC\u0022,\u0022TableAction\u0022:\u0022UPDATE\u0022}"}}]}'>
<cfset key = "xxxx">
<cfscript>
secret = createObject('java', 'javax.crypto.spec.SecretKeySpec' ).Init(key.GetBytes("UTF-8"), 'HmacSHA256');
mac = createObject('java', "javax.crypto.Mac");
mac = mac.getInstance("HmacSHA256");
mac.init(secret);
digest = Hex.encodeHexString(mac.doFinal(input.GetBytes("UTF-8")));
</cfscript>
... View more
‎Jul 13, 2023
10:53 AM
The error turned out to have nothing to do with update 7. If there was a way to delete this post I would
... View more
‎Jul 12, 2023
01:42 PM
Hi, I installed CF update 7 on CF2021 boxes and it breaks our webService signin. I tried rolling back and than fixes. I re-installed and it breaks so I am pretty sure that this is an issue with update 7. Note The full stack trace of the root cause is available in the server logs. The error turned out NOT to have anything to do with CF update 7
... View more
‎Jun 16, 2023
05:37 AM
Hi Charlie, I checked the new instance using cfstart and sure enough you were right! I got an error: "Error opening zip file or JAR manifest missing : D:/FusionReactor/instance/apps.cf2021/fusionreactor.jar" ... I modified the new app's jvm file and removed all references to fusionreactor and now the service works! Thanks to both! -Gabe
... View more
‎Jun 15, 2023
01:45 PM
Hi Vikram, I tried that and it registered in Services but when I try to start it it says "Windows could not start the Coldfusion Apps Server on Local Computer. For more information, review the System Events Log. If this is a non-Microsoft service, contact the service vender, and refer to service-specific error code 2" I checked the Systems event log and it says "The Coldfusion 2021 Apps Server service terminated with the following service-specific error: The system cannot find the file specified." But I am sure that the path is correct because I can see coldfusionsvc.exe in the same folder as the path in the Service properties - Path to executable: D:\ColdFusion2021\apps\bin\coldfusionsvc.exe. I modified the permissions to give the service account that CF runs under full control of D:\ColdFusion2021\apps. Any ideas? Thanks, Gabe
... View more
‎Jun 15, 2023
12:56 PM
Hi, I have a CF 2021 with all the latest patches and am trying to create a new instance but the service does not get created even though I checked the box (I tried twice) and below is the result. Enterprise Administrator - Creating New CF Instance [step 1 of 2] Creating new CF Instance... Done [step 2 of 2] Creating the CF runtime, this may take a few minutes...Done Return to Enterprise Manager No errors and I can see the new instance folder under D:\ColdFusion2021. I checked instances.xml and I do see that the new instance was added but no service was created. Is there a way to manaully create the service? I did not have this issue with other servers running the exact same version of CF with same patches (up to date) Thanks! Gabe
... View more
‎Feb 09, 2023
11:35 AM
Thanks! That is exactly what my googling reveal.
... View more
‎Feb 09, 2023
11:15 AM
Can Coldfusion 2016 spider a site out of the box? If not can solr that ships with CF spider a site
... View more
‎Dec 16, 2022
11:03 AM
I was able to get cgi.auth_user and cgi.remote_user populated after changing the code in attributes-map.xml to <Attribute name="schemas.xmlsoap.org/ws/2005/05/identity/claims/name" id="NameID"> <AttributeDecoder xsi:type="StringAttributeDecoder" caseSensitive="false"/> </Attribute> and then in shibboleth.xml adding NameID to ApplicationDefaults but none of the other vars sent over by azure ad are populated
... View more
‎Dec 16, 2022
10:21 AM
I am trying to use Shibboleth 3 as the sp and azure AD as the ipd and I can see that I have successfully implemented based on the Shibboleth transaction log. 2022-12-16 12:35:54|Shibboleth-TRANSACTION.AuthnRequest|||https://sts.windows.net/c04845f0-4224-4637-aed2-9beea8319b5b/||||||urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect||||||
2022-12-16 12:35:55|Shibboleth-TRANSACTION.Login||_292e2cf9f81890bcdf7ffe1cd147c92f|https://sts.windows.net/c04845f0-4224-4637-aed2-9beea8319b5b/|_ff1422a3-4c91-4255-adec-fa6fd52d2600|urn:oasis:names:tc:SAML:2.0:ac:classes:Password|2022-12-16T07:00:19|authnmethodsreferences(2),displayname(1),emailaddress(1),givenname(1),groups(1),identityprovider(1),objectidentifier(1),surname(1),tenantid(1)|davisg1@XXXXX.com|urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST||urn:oasis:names:tc:SAML:2.0:status:Success|||Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36 Edg/108.0.1462.46|167.244.201.154 I changed the email in the text above to "davisg1@XXXXX.com" for obvious reasons. However I can't seem to retrieve the variables on my Coldfusion page. I have googled endlessly and not found an answer that actually works I tried dumping cgi and getHTTPRequestData() and i also tried hardcoding like http_givenName #cgi['http_givenName']# and HTTP_REMOTE_USER #cgi['HTTP_REMOTE_USER']# but nothing useful appears I have updated by attributes-map.xml to use the "name" field returned by azure AD and made sure that in shibboleth.xml that ApplicationDefaults REMOTE_USER uses persistentID <Attribute name="http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name" id="persistent-id"> <AttributeDecoder xsi:type="NameIDAttributeDecoder" formatter="$NameQualifier!$SPNameQualifier!$Name" defaultQualifiers="true"/>
</Attribute>
<ApplicationDefaults entityID="https://intranettest.amc.edu/shibboleth-sp"
REMOTE_USER="eppn subject-id pairwise-id persistent-id"
cipherSuites="DEFAULT:!EXP:!LOW:!aNULL:!eNULL:!DES:!IDEA:!SEED:!RC4:!3DES:!kRSA:!SSLv2:!SSLv3:!TLSv1:!TLSv1.1">
azure-active-directorycoldfusionshibbolethshibboleth-sp I have seen that there might be a bug request that was NOT fulfilled that might be relevant https://tracker.adobe.com/#/view/CF-3698424
... View more
‎Dec 14, 2022
06:53 AM
Hi, We have a load balanced environment (netscaler). When a user hits a page the load balancer sends the request to a particular box with sticky sessions by IP which starts the SSO process using InitSAMLAuthRequest. Our IDP https://login.microsoftonline.com/ then posts back but since https://login.microsoftonline.com/ does not have the same as IP as the user, the load balancer sometimes sends the response to a box that did NOT initiate the request and we get an error: Possible replay attack occurred as there is no login/logout information associated with this request. I can catch the error but there is not much else that I can do because now the load balancer will keep the user on box 1 and https://login.microsoftonline.com/ on box 2 so no way to redirect to another server. Any ideas? Thanks, Gabriel
... View more
‎Nov 17, 2022
05:23 AM
Thanks Charlie but unfortunately that didn't have the expected results. I should have said what I am trying to do is stop CF from listening for .jsp in the URL, in other words it is not enough to just disable jsp functionality, what I need is for CF to stop responding to those requests and that didn't happen when I commented out the relevant section in \ColdFusion2021\cfusion\runtime\conf\web.xml. Instead I continued to get a 404 page and the error below: <%=(request.getAttribute("javax.servlet.error.status_code")!=null)? request.getAttribute("javax.servlet.error.status_code"):"Error" %>
... View more
‎Nov 16, 2022
11:51 AM
Hi,
I read that you can disable JSP at least on CF 9 - https://www.3gpp2.org/cfdocs/htmldocs/Installing/WSf01dbd23413dda0e5753779b11fae614009-8000.html
by commenting out
<!--
<servlet-mapping>
<servlet-name>JspLicenseServlet</servlet-name>
<url-pattern>*.jsp</url-pattern>
</servlet-mapping>
--> in cf_root\WEB-INF\web.xml. We are using the same website to host CF and Confluence (confluence runs jsp) with a URL rewrite rule to redirect to a different port which works fine as long as the url does not have .jsp in it... but if the url does have .jsp in it CF takes over and tries to process the page so we want to disabke CF from taking over. The issue is that I can't find JspLicenseServlet in cf_root\WEB-INF\web.xml. Our web.xml is attached.
... View more
‎Oct 31, 2022
02:45 PM
@RaviShankar Chagnur sorry when I run from a command prompt I get: D:\ColdFusion2021\intranetApps\bin>cfstart.bat Error opening zip file or JAR manifest missing : D:/FusionReactor/instance/intranetApps.cf2021/fusionreactor.jar Error occurred during initialization of VM agent library failed to init: instrument D:\ColdFusion2021\intranetApps\bin> I am thinking maybe I need to add the new instance to FusionReactor?
... View more
‎Oct 31, 2022
02:39 PM
@RaviShankar Chagnur sorry when I run from a command prompt I get: D:\ColdFusion2021\intranetApps\bin>cfstart.bat Error opening zip file or JAR manifest missing : D:/FusionReactor/instance/intranetApps.cf2021/fusionreactor.jar Error occurred during initialization of VM agent library failed to init: instrument D:\ColdFusion2021\intranetApps\bin>
... View more
‎Oct 31, 2022
02:34 PM
UPDATE---------------------------------- so it turned out that I had locked down the server too much and the account that CF was running in didn't have enough permissions to create the services. I changed the log on properties to "local system" and was able to successfully create the service, but it won't start. It says check the event viewer for details and event viewer then says "The ColdFusion 2021 Application Server intranetApps service could not be started. Check the server "intranetApps" log files for more information." When I check the logs there are just 2 zero length files - coldfusion-error.log and coldfusion-out.log @RaviShankar Chagnur I ran the cfstart.bat manually and it just flashes a window too fast for me to read anything
... View more
‎Oct 31, 2022
01:56 PM
By the way I had no issue with creating a new instance on my local machine which is also CF0221 update 5 developer version. It is just failing when I try to create the new instance on our test boxes which are CF2021 enterprise version update 5
... View more
‎Oct 31, 2022
01:46 PM
Hi, We are running CF2021 on update 5 and when I try to create a new CF instance and check the box to "create Windows Service" it says [step 1 of 2] Creating new CF Instance... Done [step 2 of 2] Creating the CF runtime, this may take a few minutes...Done and I DO see a new folder under the root for the new instance, but it did NOT create the windows service and when I try to click to go the CF admin to the instance we just created it says "This site can’t be reached 127.0.0.1 refused to connect." The new instance is using port 8500 because our 2 existing instances are using non-standard port #'s leaving 8500 available. I checked logs but am not finding anything. Thanks, Gabe
... View more
‎Oct 13, 2022
01:28 PM
Thanks RaviShankar Chagnur! that worked!
... View more
‎Oct 13, 2022
01:27 PM
Thanks Charlie, I DO appreciate the fast response. I tried adding the flag but unfortuately it had no effect
... View more
‎Oct 13, 2022
09:58 AM
I just applied update 5 and now I am getting XML errors: "Error","ajp-nio-127.0.0.1-8020-exec-10","10/13/22","11:28:42","Medlists3","coldfusion.runtime.CFPage.XmlSearch(Lcoldfusion/xml/XmlNodeList;Ljava/lang/String;)Ljava/lang/Object; https://helpx.adobe.com/coldfusion/kb/coldfusion-2021-update-5.html says CHANGE IN XML If the XML path contains a forward slash or backslash, it will be blocked. The flag, coldfusion.xml.allowPathCharacters, must be set to true to allow the same. But I don't know where to make this change.
... View more
‎Apr 05, 2022
05:23 AM
Thanks BKBK, I will give that a shot. -Gabe
... View more