CFC - URi too long during the passage of text string to CFC

I have a page that allows the user to save a large block of text which is held in a < div > tag to the database without reloading the page through cfajaxproxy and a cfc.

When you click on 'save' a javascript function draws text of the div block and stores it in a javascript string, which is then passed into a cfc using cfajaxproxy as a parameter to the javascript function. (ie. functionName (theTextBlockString);). It works fine except if the text contained in the javascript string var gets too long and causes a URi too long message.

Display of the request in firebug, that I see the cfc is called via a GET request, which causes all my input parameters that I placed in the service to be placed in a GET url string, so of course when it is a long block of text, only the URL query string is too long, and I get the message too long URI of the CFC.

What I'm trying to understand, is how hell I can pass a large text string in the EFA without encountering this problem. Is there an alternative application method so that I can't use GET?

Thank you in advance!

Dave

I found the setHTTPMethod parameter used during initialization of a cfc to cfajaxproxy - you can change it to a POSITION which obviously solves the problem. Adobe, mark POST by default as AJaxCFC, CFAjax, etc.! Maybe theres some reason to have default GET, who knows...

Tags: ColdFusion

Similar Questions

  • Wheel rotation during the passage of the apps

    Hello

    I frequently meet the spinning wheel during the passage of the apps. For example an app can do one, but open window have not been used for a while and then when I click on the window to use it I get the wheel spinning for a few seconds.

    I am running Yosemite 10.10.5 on a MacPro Mid 2010) with 16 GB of ram and 12 GB available on the 300 GB SSD drive. I just realized that maybe space on the boot drive may be the cause, so I'll empty now and update if there is no change.

    Also, my SSD is a 500 GB Samsung SSD 840 EVO media and I think that the TRIM is not enabled? I read that TRIM was not based with SSDS of third party on my machine and was picking up information contradictory as to the time it was a problem or not. The lack of TRIM could be the cause of the spinning wheel?

    Duane

    You ran a 'cleaning', 'optimize' or 'speed up' apps on your Mac?  Have you installed an antivirus software?

    The 12 GB of free space must be sufficient and not to be the cause of the problem. Don't let him get any small however.

  • fan stays on too long and the battery level decreases rapidly: any problem identified?

    Fan stays on too long and the battery level decreases rapidly: all identified cause problem or possible?

    MacBook Air mid-2013

    OS 10.11.13

    Processor 1.7 GHz Intel Core i7

    8 GB of DDR3 memory at 1600 MHz

    Thank you, Paolo

    Hi Paskowski,

    Can you give us a little more information about your problem?  What applications or processes are you using when you encounter the problem with your fan and battery?  The activity monitor application can provide you with some basic information.

    Use the monitor activity on your Mac.

    The resources below provides general information on how optimize the battery life and troubleshoot the battery on your MacBook Air.

    On batteries for laptops Mac

    Take care

  • Paper too long on the front

    On my new printer all-in-one HP 8610, I use A4 paper. However, whenever I try to print, whether front or front / back I get an error message saying "paper too long at Auto-duplex.  If I close the window, the printer prints normally, so it isn't a big problem, but I would be quit anyway.

    Hello @mussep,

    Thanks for getting back to me on this subject.

    Because this error appears when printing several programs on your computer, the e-all-in-one printer HP Officejet Pro 8610 there may be a problem within your printers Firmware Version of programming. Or, there may be a conflict between your Windows 7 computer and your printer HP Officejet driver. Can I please you follow the steps below to isolate this problem and fix it.

    Step 1: Make a copy:

    To make sure that printer hardware is working properly, I'll ask you to perform a copy on the front of your printer A4 paper. If the copy print correctly, without error messages on the printer or the paper feed issues, then we know that something on the computer is originally this printing error.

    How to copy on A4 paper:

    1. Please load a sheet of paper for the test copy either on the flat glass on your printer or in the ADF on top of your printer
    2. On the front screen of the printer, please press copy
    3. Then, tap the settings icon on the bottom of the screen
    4. Under copy settings tap paper size. Please make sure that it is set to A4
    5. Select set as new default values. Press Yes if prompted
    6. Please make a Black or a color copy

    -Source: How to copy

    • If this print-out successfully with no errors or problems paper, that the printer hardware is working properly. This seems to indicate that the problem you are having is caused by something on the computer. Can I please you proceed to the next step to resolve this problem.
    • If the copy fails to print correctly, the problem you are experiencing is caused by your printer. Maybe it's a problem within the internal Firmware programming in your printer. Essentially, the Firmware is the "brain" of your printer and control that made the printer and how the printer it. If there is a corruption in the internal programming of Firmware on your printer, it may cause the printer to performance issues. Can I have it please click hereto download the last Firmware update. Once the download is complete, you will see a prompt to "run" the update of the Firmware. Please allow this to run. The Firmware Update utility is now launched. Follow the prompts on the screen to 'send' the update of the Firmware for your printer. Once the update has been completed successfully please make another test copy to confirm if your machine now copy on A4 paper. If the copy is now accepted, please print from your computer to see if the problem is now resolved. If a copy still fails, please do not continue to troubleshoot at this time.

    Step 2: Uninstall the driver:

    If you use a USB cable connection between your computer and your HP Officejet, please unplug this cable now.

    1. Click on the Start menu
    2. Select all programs
    3. Select the HP folder
    4. Select HP Officejet
    5. Select Uninstall

    Please follow the prompts on the screen to complete the uninstallation. Once the uninstall is complete, proceed to the next step.

    Step 3: Delete the temporary files:

    1. Click on the Start menu
    2. In the box "search programs and files" located just above to start after you click on it, type %temp% , and then press enter on your keyboard
    3. When the Temp folder opens, select Ctrl + A at the same time on your keyboard. Everything in this folder will highlight now.
    4. Select the "delete" button on your keyboard. The Temp folder contains the temporary internet files. None of the actual files or folders on your computer will be affected by deleting Temp files. A Temp file should you will automatically get the pop up to 'jump' this point.
    5. Close the Temp folder when it is empty
    6. Right-click the recycling bin on your desktop and select empty recycling bin. Please proceed to the next step.

    Step 4: Install the device:

    1. Please click here to download the latest drivers for your HP Officejet.
    2. Once the download is complete, follow the prompts on the screen to install your printer
    3. If you use a USB cable connection, do not connect the USB cable until the installation program invites you to

    Once the installation is complete, please test print from your computer to confirm if the "too long in the Auto-Duplex document" error is resolved.

    Please reply to this message with the result of your troubleshooting. Good luck!

  • Error message: "the file names would be too long for the destination folder.

    I move the files from internal hard drive to external hard drive using cut and paste.  I get a message "the file name would be too long for the destination folder.  You can shorten the file name and try again, or try a location with a shorter path. "I then gives me choices to skip or cancel.  What happens to files that are ignored?  Are they deleted?  I don't want to lose all the data, but there are more 2 000 files with this problem, so passing by and rename each one really isn't a viable solution.  I don't really understand how the file names were originally created/saved about a problem that is only now that I want to move them.  The disc source and destination are NTFS.  Is there a solution for this?  It is imperative that no data is lost.  Thanks for any help you can offer.

    On Wednesday, 10 April 2013, 12:16:23 + 0000, MADinIowa wrote:

    I move the files from internal hard drive to external hard drive using cut and paste.  I get a message "the file name would be too long for the destination folder.  You can shorten the file name and try again, or try a location with a shorter path. "I then gives me choices to skip or cancel.  What happens to files that are ignored?  Are they deleted?

    N ° to check that what I say is correct, create a new folder
    for the purposes of the trial and to make a copy of some files. To ensure that
    one of them has a long name (rename if necessary), and then try to copy
    These files on the external drive. When you get the message, choose
    'jump' and see what happens.

  • HP LaserJet Enterprise 600 m602 slow printing during the passage of the trays

    Hello world!

    On the HP LaserJet Enterprise 600 m602, who met breaks in print jobs during the passage of the trays?  Example, we are going to print invoices and we have a rule configuration that prints on plate 2 with the exception of the last page that is perforated paper tray 3.  So, in a job of 5 pages, pages 1-4 are the tray 2 paper... then page 5 is perforated tray 3.  There is a 2 to 3 seconds when the last page is extracted from tray 3.  If the invoice is only 2 pages, the print job appears super slow.

    This printer was working fine with no delay until we applied the firmware 2302786_433718.  Now, the delay is very noticeable.  We do not know if it was intentional or not in the new firmware.

    We use the latest PCL 5 Universal Print Driver.  The only thing that has changed is the firmware.  We even tried a full reset of firmware.  Problem is still there.

    I worked with HP support, but we were told to wait... the next version of firmware that may or may not fix everything.

    Any help or insight is appreciated.

    We have this same problem with our printer HP Laserjet 600 M602.

    Could solve by setting the Print Mode to all papertypes that are used for the same parameter.  We thought initially can be a problem, issue or firmware of the Board of adjustment, but in reality was the paper type settings. We set up printer for ordinary paper into tray 2 and tray 3, default regular bond has been set at light mode printing and binding for the print mode binding. Each time dial-up printer and trays, he stops to configure different paper type settings.

    Hopefully the other help solve their printing problems

    Enjoy your day,

  • CC in Lightroom on Windows 10 crashes during the passage of the library to develop.

    Everyone has a problem with Frost during the passage of the library to develop modules in Lightroom on Windows 10 CC?

    Hi mgmagney,

    This could be because of the graphics processor.

    Go to the Lightroom preferences > performance > uncheck 'use the graphics processor' > restart Lightroom, and then check out.

    Kind regards

    Claes

  • JInitiator 1.1.8.2 too low during the upgrade to jre 1.7.0.45

    Hi all

    DB: 11.2.0.3.0

    EBS:12.1.3

    O / s: Ss73erpintq01 SunOS 5.10 Generic_148888-05 sun4v sparc SUNW, SPARC-Enterprise-T5220

    exisitng version java Apps pane:

    Java $-version

    Java version "1.6.0_51".

    Java (TM) SE Runtime Environment (build 1.6.0_51 - b31)

    Java hotspot Server VM (build 20, 51 - b02, mixed mode)

    ORACLE_HOME--> /t001/test1/apps/tech_st/10.1.2

    Le patch 4377566 is already used in the system. After the upgrade to jre 1.7.0.45, when to raise forms, he throws the error: too low Jinitiator 1.1.8.2

    Could you get it someone please let me know what is the cause of this problem and the solution I have for the time being back to 1.6.0.51 and able to open forms.

    output:

    ./txkSetPlugin.sh 17045
    /T001/Test1/apps/apps_st/appl/FND/12.0.0/bin

    From script to upgrade the interoperability...

    Send log output to file:
    /T001/Test1/inst/apps/test1_hostname/logs/txkSetPlugin.log
    Using the context file:
    / T001/test1/inst/Apps/test1_hostname/Appl/admin/test1_hostname. XML
    The APPLSYS file using:
    /T001/Test1/apps/apps_st/appl/APPStest1_hostname.env
    Enter the password for the database user, Oracle [APPS] applications: sysq01apps

    The use of /t001/test1/apps/tech_st/10.1.3/appsutil/jdk/jre/bin/java to run java programs

    Getting values of parameter of J2SE...

    Copy oaj2se.exe to html dir...

    Copying /t001/test1/apps/apps_st/comn/webapps/oacore/util/jinitiator/j2se17045.exe to t001/test1/apps/apps_st/comn/webapps/oacore/html/oaj2se.exe...

    Back up the Application context file...

    / T001/test1/inst/Apps/test1_hostname/Appl/admin/test1_hostname. XML to /t001/test1/inst/apps/test1_hostname/appl/admin/test1_hostname.xml.prej2se17045
    APPSWEB file /t001/test1/inst/apps/test1_hostname/ora/10.1.2/forms/server/appsweb.cfg using

    Save the appsweb file...

    Backup of /t001/test1/inst/apps/test1_hostname/ora/10.1.2/forms/server/appsweb.cfg to /t001/test1/inst/apps/test1_hostname/ora/10.1.2/forms/server/appsweb.cfg.prej2se17045
    Updating with new settings of J2SE XML context file...
    Update plugin J2SE jdk
    J2SE mimetype to 1.7.0_45 update
    J2SE Classid to CAFEEFAC-0017-0000-0045-ABCDEFFEDCBA update

    The log file for this session is located in the: /t001/test1/inst/apps/test1_hostname/admin/log/11040625/adconfig.log

    AutoConfig is to configure the application environment...

    AutoConfig will consider custom templates if it is present.
    Location CONFIG_HOME by: / t001/test1/inst/apps/test1_hostname
    Classpath: /t001/test1/apps/apps_st/comn/java/lib/appsborg2.zip:/t001/test1/apps/apps_st/comn/java/classes

    Using the context file: /t001/test1/inst/apps/test1_hostname/appl/admin/test1_hostname.xml

    Value of context management will now update the context file

    Updating the file context... COMPLETED

    Attempt to download file context and patterns of database... COMPLETED

    Set up templates of all the summits of product...
    Configuration AD_TOP... COMPLETED
    Configuration FND_TOP... COMPLETED
    Configuration ICX_TOP... COMPLETED
    Configuration MSC_TOP... COMPLETED
    Configuration IEO_TOP... COMPLETED
    Configuration BIS_TOP... COMPLETED


    Configuration AMS_TOP... COMPLETED
    Configuration CCT_TOP... COMPLETED
    Configuration WSH_TOP... COMPLETED
    Configuration CLN_TOP... COMPLETED
    Configuration OKE_TOP... COMPLETED
    Configuration OKL_TOP... COMPLETED
    Configuration OKS_TOP... COMPLETED
    Configuration CSF_TOP... COMPLETED
    Configuration IGS_TOP... COMPLETED
    Configuration IBY_TOP... COMPLETED
    Configuration JTF_TOP... COMPLETED
    Configuration MWA_TOP... COMPLETED
    Configuration CN_TOP... COMPLETED
    Configuration CSI_TOP... COMPLETED
    Configuration WIP_TOP... COMPLETED
    Configuration CSE_TOP... COMPLETED
    Configuration EAM_TOP... COMPLETED
    Configuration FTE_TOP... COMPLETED
    Configuration ONT_TOP... COMPLETED
    Configuration AR_TOP... COMPLETED
    Configuration AHL_TOP... COMPLETED
    Configuration OZF_TOP... COMPLETED
    Configuration IES_TOP... COMPLETED
    Configuration CSD_TOP... COMPLETED
    Configuration IGC_TOP... COMPLETED

    AutoConfig completed successfully.
    Fact
    you have mail in/var/mail / / applmgr
    [applmgr:hostname:test1 t001/test1/apps/apps_st/appl/fnd/12.0.0/bin]
    $ grep-i COFFEE $CONTEXT_FILE
    < sun_clsid oa_var = "s_sun_clsid" > CAFEEFAC-0017-0000-0045-ABCDEFFEDCBA < / sun_clsid >
    < jinit_clsid oa_var = "s_jinit_clsid" > CAFEEFAC-0016-0000-0007-ABCDEFFEDCBA < / jinit_clsid >

    Thanks for your time,

    Kind regards

    user10088255

    Hi Hussein.

    I tried and got the fix for the error - Jinitiator 1.1.8.2 too low during the upgrade to jre 1.7.0.45

    Difficulty:

    Set the following value in the setting of the jre 1.7.0.45 Panel-> icon of 32 bit java-> java-> view (tab)

    -Djava.vendor = "Sun Microsystems Inc."

    Later, I was able to access the Forms/applications in a new browser.

    Thank you

    user10088255

  • Literal string too long for the CLOB

    Hello
    My version of the database is:
    Oracle Database 11 g Enterprise Edition Release 11.2.0.1.0 - 64 bit Production
    PL/SQL Release 11.2.0.1.0 - Production
    CORE 11.2.0.1.0 Production
    AMT for Linux: Version 11.2.0.1.0 - Production
    NLSRTL Version 11.2.0.1.0 - Production

    When I run this piece of code, I get an error.
    DECLARE
    insCtx DBMS_XMLStore.ctxType;
    lines NUMBER;
    xmlDoc CLOB: = 'xml string is about 4600 long lines in TOAD...';
    BEGIN
    insCtx: = DBMS_XMLStore.newContext ("xmlTempTbl"); -get the context
    lines: = DBMS_XMLStore.insertXML (insCtx, xmlDoc); -Insert the doc
    DBMS_XMLStore.closeContext (insCtx); -close the handle
    END;

    ERROR:
    ORA-06550: line 4, column 19:
    PLS-00172: string literal too long

    From my understanding a CLOB leave maximum string size of 2 GB. And on top, my xml string is not greater than 2 GB (I cannot display the xml data string, refers to the business). So why I get the error too long string literal.
    For the above, I fault the XML into several parts and run the PLSQL, then it gives no error.
    Please advice.

    Published by: 934451 on November 8, 2012 07:06

    Published by: 934451 on November 8, 2012 07:07

    From my understanding a CLOB leave maximum string size of 2 GB.

    Not exactly:
    http://docs.Oracle.com/CD/E11882_01/AppDev.112/e25519/datatypes.htm#CHDDCGEE

    but this isn't the real problem.

    The error is about the "string literal" size, there is a limitation too:
    http://docs.Oracle.com/CD/E11882_01/server.112/e17766/pcmus.htm#sthref18132

    PLS-00172: string literal too long
        Cause: The string literal was longer than 32767 bytes.
        Action: Use a string literal of at most 32767 bytes.
    

    For the above, I fault the XML into several parts and run the PLSQL, then it gives no error.

    Is this a real case of production or you just test?
    In practice, we should first save the file in a variable/column CLOB (or XMLType) and then reference the content from there.

  • use marker iff section is too long for the header

    Hello everyone,

    I wonder: is it possible to implement FrameMaker using a marker iff there is one on this page?

    Here's the problem: I have a book with several chapters of different authors. Some of them used topics that are too long for the headers. For those I want to use markers.

    I know how to display markers, which I don't want, because then I have to create a benchmark for each unique position in the book (using this master page). And I know how to view the different titles for example < $paratext [H1, H2, H3] >.

    Now I'm looking for is something like this < [marker, line] $paratext >. In plain language: 'check if there is a certain marker. If there is one, show the marker, otherwise display the heading."

    Then I would be able to use the same master page and would need to use markers only where a title is too long.

    Thanks in advance

    Dennis

    Dennis,

    Take a look at http://forums.adobe.com/message/3503638#3503638

    You could create an alternative heading tag (for example InvisibleH1) with an invisible color in a framework anchored to it and can then use the building block <$paratext[InvisibleH1,H1,H2... etc.]="">. Just toggle the views appropriate to hide text in anchored frames.

  • During the typing of text after paragraph 4, the text jumps the same block of text there. Not sure if it's because of a page break. Help, please

    During the typing of text after paragraph 4, the text jumps the same block of text there. Not sure if it's because of a page break. Help, please

    And make sure that you do not use the Enter key on the numeric keypad.

  • fatal error (taken too lon) during the installation of the downloaded for an hp laser jet 1536dnf printer driver

    Error, said it took too long and restart. I did three times and also have FIOS, so the connection speed should not be a problem.  Any ideas?

    My guess is that was a break in the internet service during the download.  I use a slower DSL connection and had problems downloading HP softwrare of the internet because of the size of the HP files (in general).  I would just try again a few times.  HP website, purely my guess, when downloads if it detects a problem, it stops the download (probably a safety precaution) as I have expereinced it several times but always a new attempt I finally get the files.  Again, I have DSL and on the slow end of DSL to whom, due to problems of connectivity in the County I live.

    Try it again a couple of times and see if it works very well.  I'll even throw this at you, my college years son used to go online late at night to play multiplayer games online with our DSL because he was liked late at night because of the use of the reduced customer.  So you can also try "" off-peak.

    Good luck!

  • Path too Long for the Installation of the software

    I am trying to install a version of the CAD software to one of my PCs employee.  When we run the Setup file, we get an error message too long file path.  The message says that the file path is 99 characters long, but the limit is 93.  This seems like a terribly low limit for a C: drive.

    The path goes only in a folder as well.  Thus, its C:/Program Files/Autodesk / "name of file along here."

    I understand long path problems when you go deep in several folders and the typical character limit is 254.  I do not understand why we are running in a limited issue when you have only a single deep folder on the C: drive and only have 99 total characters in the path.  Is this a problem of windows 8?  Or maybe a problem with the PC itself?  Is it possible to change the limit of characters on the C: drive since 93 is so short and also seems to be a random number?

    Justin

    Your best bet is to contact the CAD developer, we would have no way of knowing how many levels deep the software installs.

  • Windows 7 take too long to the mouse and keyboard anable.

    Hello

    I have replace my SSD HARD drive (2 hard drives 120 GB each RAID 0) w / Windows 7 Pro 64 bit. After the replacement windows take longer time to activate the mouse and the keyboard - 5/10 seconds.
    I've updated the drivers for the two, but still have the same question. The boot is faster, but the mouse and keyboard take longer to wake up.

    Any help?

    Thank you

    M. Vilela

    Hi MVilela,

    Thanks for asking this question to Microsoft Community!

    I understand that after the replacement of the hard disk of the computer takes too long to turn on the mouse and the keyboard.

    Your Windows 7 is better suited in the TechNet forums. I suggest you to send your query there.

    Here is the link: http://social.technet.microsoft.com/Forums/en-us/w7itproperf/threads

    It will be useful. For any other corresponding Windows help, do not hesitate to contact us and we will be happy to help you.

    Kind regards!

  • I am on a trial with Acrobat Pro DC on a Mac and when I try to combine files for example a pdf file and a word doc it says "additional permissions to access to" the word doc, so I have to select a folder and grant access, etc.  It's too long - is the

    I am on a trial with Acrobat Pro DC on a Mac and when I try to combine files for example a pdf file and a word doc it says "additional permissions to access to" the word doc, so I have to select a folder and grant access, etc.  It's too long - is there a way to get around this?

    Hi Alex,

    This is not related to Acrobat, Microsoft, you can see this problem with Microsoft Word is known: grant access file: cannot open the document: user - Microsoft Community it is a sandbox application. It restricts user with several workflow.

    Unfortunately, there isn't much we can help at this stage.

    Kind regards

    Tariq Dar.

Maybe you are looking for