TEMann
09/14/2023, 6:28 PMnolanerck
09/14/2023, 7:31 PMDave Merrill
09/15/2023, 2:13 PM<cfscript>
inet_address = CreateObject("java", "java.net.InetAddress");
host_name = inet_address.getByName("66.249.66.99").getHostName();
writeOutput(host_name);
</cfscript>
Finding the host name for that specific IP works fine for me, but none of the ones I actually care about do,
They all throw "No such host is known (#ipAdr#)".
When I do nslookup of the IPs I care about in a (non-admin) cmd prompt, on the same cf server or my work laptop on the VPN, that works fine.
What's the difference?
How is that lookup available in a cmd prompt but not available to cf (really java)?
How can I make it available to cf?Angad Yadav
09/15/2023, 2:28 PMDave Merrill
09/15/2023, 3:17 PMRyan Albrecht
09/15/2023, 6:07 PMRyan Albrecht
09/15/2023, 6:07 PMalholden
09/16/2023, 3:31 AMFrank Alvarez
09/18/2023, 3:02 PM<cfreport template="#variables.RPTFileName#" format="PDF" query="#qDataRpt#">
<cfreportparam name="filterOutput" value="#variables.filterString#">
</cfreport>
where the exception references
java.lang.StringIndexOutOfBoundsException: begin 25, end -1, length 36Jason Wilson
09/19/2023, 12:14 AMJason Wilson
09/19/2023, 12:14 AMJason Wilson
09/19/2023, 12:16 AMgavinbaumanis
09/19/2023, 4:17 AMgarciadev
09/19/2023, 4:18 AMJason Wilson
09/19/2023, 5:24 AMJason Ryan
09/19/2023, 1:05 PMthis.ormenabled = true
and this.nullsupport = true
etc, etc outside of the root of the Application.cfc
component. I chose onApplicationStart()
because that seemed like an appropriate place to initialize application settings. However most things I put there (maybe even everything) doesn't have an effect. I get null doesn't exist
errors and ApplicationException: ORM is not enabled
among other issuesthis.ormenabled = true
stops my application from initializing.Ryan Albrecht
09/20/2023, 7:26 PMvariable cfrethrow is undefined
what gives?
try {
asd = 1 /0;
} catch(any e){
cfrethrow()
}
Ryan Albrecht
09/20/2023, 7:27 PMrethrow
no cfrethrow()
John Wilson
09/21/2023, 7:01 PMAndreas
09/22/2023, 8:46 AMAndreas
09/22/2023, 8:46 AMzackster
09/23/2023, 10:25 AMLeslie Carpenter
09/25/2023, 6:55 PMLeslie Carpenter
09/25/2023, 8:00 PMLeslie Carpenter
09/25/2023, 8:03 PMLeslie Carpenter
09/25/2023, 8:12 PMLeslie Carpenter
09/25/2023, 8:19 PMLeslie Carpenter
09/25/2023, 8:20 PMAdharsh kh
09/26/2023, 5:23 AM