492 questions
0
votes
0
answers
79
views
How to support transfer-encoding: chunked in lucee requests and responses when using Undertow
What I need
being able to receive and serve requests that have the header Transfer-Encoding = chunked, the page is returning a few KB of json text.
What's happening
requests are served correctly when ...
1
vote
1
answer
111
views
Bouncy Castle GeneralName creation failing with "argument type mismatch" in CFML
I'm trying to generate a Certificate Signing Request (CSR) using Bouncy Castle in CFML/Lucee. The CSR needs to include Subject Alternative Names (SANs) for both DNS names and IP addresses. However, I'...
-2
votes
1
answer
93
views
How do I communicate over telnet using cfml? [closed]
I have a game server that communicates only via telnet. I have a Lucee server running in the same server room, and wanted to write a small web app that could send commands to the game server. Seemed ...
0
votes
1
answer
77
views
Lucee Not Reading htaccess File
I recently installed Lucee on Windows using the installer "lucee-5.4.5.23-windows-x64-installer" and am testing a website that previously ran using Coldfusion.
Everything works well, except ...
-1
votes
2
answers
166
views
Coldfusion secure login and session methods [closed]
I'd like to implement secure authentication for a Lucee CFML application, but the example I found below requires a big learning curve to follow along. Any recommendations for creating a secure session ...
0
votes
1
answer
39
views
forcing new line in a text box thats populated programmatically (Lucee cfml)
How can i add a new line character in a text input box that's being populated by a Lucee script?
The idea is this: I have a script that's querying a database and popuating the text box with what it ...
0
votes
1
answer
193
views
FW/1 How to set up multiple layouts
I want to have two different layouts for my site. default.cfm site wide layout, and in the admin section admin.cfm for the layout. Creating admin.cfm in /layouts and navigating to admin.index does ...
1
vote
1
answer
48
views
upload throwing file does not contains a file error
I have a very simple code which uploads the file
<form method="post" action="upload.cfm" enctype="multipart/form-data">
<table>
<tbody>
...
1
vote
1
answer
1k
views
Cookie not set on Cordova app (iOS and Android)
I develop applications using Cordova and utilize the cordova-plugin-inappbrowser to open a local index.html file, which in turn displays a website within the app.
window.location='https://example.com/...
0
votes
1
answer
83
views
How is aws console able to provide a way to download an RDP file but I can't on my local intranet?
Intranet website.
I have a web page using Coldfusion/Lucee/CommandBox displaying a list of servers. Next to a server is an icon that is linked to a verified working RDP file.
If I double-click ...
1
vote
0
answers
116
views
soap request gui and its corrosponding code trying in cf
I am trying to fix the SOAP request so i can see the results, but something is not right, my soap request is like this:
main wsdl,
https://hiddenurl.oraclecloud.com/foundationParties/PersonService?...
0
votes
0
answers
65
views
having iussue serializing the columns for datatables
I am getting my data from sql server adn i am having trouble when i am trying to send back a proper json format
{"draw": <cfoutput>#val(draw)#</cfoutput>,
"recordsTotal"...
0
votes
1
answer
151
views
Object with static methods vs object methods -> which is more effecient?
In Lucee / Coldfusion, if I have an object that doesn't do anything in an init() nor has properties, and all that it has are helper functions, which of the following two would be more efficient ...
0
votes
1
answer
178
views
Coldfusion Lucee - How to output fields of JSON cfhttp return?
I am making a cfhttp call to a service to get details related to service requests. I want to be able to output or store certain values that are coming back in the DB.
There is a main struct returned ...
0
votes
1
answer
126
views
Lucee - header and footer is not coming into each page
I am using Lucee to generate pdf. PDF has more than 1 page. whenever pdf is being generated then header and footer are not coming into each . It is only coming to last page of pdf. I have attached ...
1
vote
2
answers
115
views
doing a serializing a replace but the data i am expecting is not right
I have this function in a cfc which is doing me is returning me the months in an array
<cffunction name="getLocaleMonths">
<cfargument name="sLanguage" required=&...
0
votes
1
answer
624
views
How to proxy web requests to Lucee/Tomcat under Apache?
I'm having trouble setting Lucce to run on Apache in a CentOS 9 machine.
The steps I've followed are bellow:
Installed .run file from https://downloads.lucee.org
Left the default for apachectl, httpd ...
0
votes
1
answer
299
views
better way of coding to fix memory leak issues
i have an application which is using this a lot
<cfset SetVariable("b.vari.#c.i#",variables[c.i])>
how can simply it in better way using cf2021 now.
i tried following the urls from a ...
0
votes
1
answer
81
views
How can I provide data to a javascript chart library using ajax'd data in coldfusion/lucee?
This is the my working example that I have.
var handleChartStatic = function(){
const ctx = document.getElementById('myChart').getContext('2d');
// need to make this ajax'd fed;
const graphData = {
...
0
votes
0
answers
63
views
jsoup code to replace the code or add remove
i am scraping a page which is working very well and i can modify the elements which i need, except i have thiis issue
I was going through the documentation and could not find anywwhere how can i ...
1
vote
1
answer
82
views
using jsoup to modify data
i have successfully used and got html from the website, i am having some troubles while showing the Data
Here is my generated code
<tr class="2" id="AS 2238_2022-10-18T08:50:00"&...
0
votes
1
answer
600
views
Lucee - MySQL - Could not create connection to database server. Attempted reconnect 3 times. Giving up
I try to add a new data source, but I get this error:
lucee.runtime.exp.NativeException: Could not create connection to database server. Attempted reconnect 3 times. Giving up. at com.mysql.cj.jdbc....
-1
votes
1
answer
186
views
decontructing a coldfusion array loop
I am trying to deconstruct an array loop created by some one and they had instructions on how to call but if I do that value, I am being ended up in an error
Here is the code
<cfloop from="1&...
-1
votes
1
answer
93
views
MySQL Update Error - Cannot find what is wrong
I am working on a CFML project with a MySQL backend. I have a function that contains an SQL update statement. The cfquery looks like this:
<cfquery name="del" datasource="#...
-1
votes
1
answer
104
views
problem locating the xml within the xml search of the code
I have defined the xml as below with all information in it.
<application>
<name>CRUD Generator</name>
<author>User 1</author>
<version>Beta</version&...