Strange HTTP probe with .cfm files.

Hey All,
I setup an http probe that checks a .cfm page for a keyword. according to the documentation there needs to be a content-length in the header for this to be parsed correctly. For some reason this .cfm page does not send the content-length. The developer manually told coldfusion to put the content-length in the header and I can see that the header now has the content-length. The probe is still failing with "Unrecognized or invalid response" If i put a test html page with a keyword, it parses it correctly and passes. If i change the keyword it fails as expected. Has anyone had any issues with the headers of coldfusion? There is no compression on the server side. Below is the probe.
probe http KEYWORD
  interval 15
  passdetect interval 30
  request method get url /index.cfm
  open 2
  expect regex "go"
Any help or suggestion would be much appreciated.
Regards,
Christian

Hey Christian and Paul,
Actually, when using expect regex, you don't need the expect status.  I alerted the documentation team about this and they have updated the documents with the following note:
Note If you do not configure an expected status code, any response from the server is marked as failed. However, if you configure the expect regex command without configuring a status code, the probe will pass if the regular expression response string is present.
Christian,
You mention that you see the error message Unrecognized or invalid response, even with the content-length header added.  Is this the same error message you got before your app team added the header?  If so, then I might suspect that the ACE doesn't like the format they used.  The header should look like this:
Content-Length:
This is per RFC2616 and can be found at section 14.13 here.  Note that the C and the L are uppercase, the header name is immediately followed by a colon, and there is a spece between the colon and the value.
I would recommend confirming that the header matches this description in a network capture.  If it does match, then I would like to see the capture, if possible.
Thanks and I hope this helps,
Sean

Similar Messages

  • ACE HTTP Probe with regex

    ACE HTTP Probe with regex
    Hi,
    I'm trying to setup a HTTP probe with expected string rather then a code (config below). I do a GET for the page then a search for a string in the response however it's not working, as probe appears as failed.
    I've tested the connection to the server by using telneting and then looking at the page displayed to make sure the string I want to match is in the response.
    probe http HTTP-PROBE
    port 43050
    interval 30
    passdetect interval 30
    passdetect count 1
    request method get url /action=help
    open 43050
    expect regex action=help
    Q. Is there anything wrong with this configuration and what I'm trying to achive?
    Thanks,
    Pritesh

    Use "expect status" under probe config. expect regex doesnt work if expect status is not configured.
    expect regex work flawlessly with static pages. It doesnt work all the time with dynamic pages.
    Specially if "content-length" header is missing from Server response.
    Hope it helps
    Syed Iftekhar Ahmed

  • ACE Appliance HTTP Probe with "POST" query

    Does the ACE support HTTP Probe with a "POST" query?
    Thanks
    Joe

    Hi Joe,
    The ACE only supports GET and HEAD
    Here is the documentation related to this:
    http://www.cisco.com/en/US/customer/docs/interfaces_modules/services_modules/ace/vA5_1_0/configuration/slb/guide/probe.html#wp1031485
    Cesar R

  • CSM HTTP Probes with Method GET

    Hello.
    How does the HTTP Probe with Method GET work on CSM and what is the difference with CSS?
    CSS calculates the HASH of the web page it receives as a first answer and considers that as a REFERENCE HASH, to compare with subsequent answers. Is the behaviour of the CSM the same?
    In the CSS it is also possible to insert the HASH in the configuration as a reference HASH. I did not find such a command on the CSM. Is that feature not present on CSM?
    Thanks.

    the CSM just looks for the response code.
    No hash or anything similar to the CSS.
    Regards,
    Gilles.

  • Strange DW Behaviour with local file includes

    Can anyone please help?!?
    I've been using DW for many years, and we've just moved over
    local files to a new server. Unfortunately, during this copy, some
    of the files have started behaving very strangely...the virtual
    includes are no longer showing in the WSIWIG display. There's
    nothing wrong with the files - if I upload them to the web server,
    they work.
    Here's the example:
    1) I set up a new web site in DW. I don't specify a remote
    site at this stage.
    2) I copy in 2 of the "problem files" into the local
    directory, page1.asp and includefile.asp
    3) Page1.asp looks like this:
    <%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
    Transitional//EN" "
    http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="
    http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html;
    charset=iso-8859-1" />
    <title>Untitled Document</title>
    </head>
    <body><!--#include virtual="/includefile.asp"-->
    </body>
    </html>
    This page does not display the includefile in the design view
    as it should.
    If I go to "new web page" and copy and paste the exact code
    into the new page, it works fine and displays the include file.
    Both files are in the same directory.
    If I strip both newpage.asp and page1.asp down to just
    "<!--#include virtual="/includefile.asp"-->", one works and
    one doesn't!!
    This led me to believe it was some sort of permissions
    problem from transferring the files and folders around, but if you
    look at newpage.asp and page1.asp, they have exactly the same
    permissions.
    It's driving me mad - we have a load of web sites behaving
    like this, so I can't just create a new page for every page and
    copy in the code!
    Is there some strange hidden permissions I'm not aware of?
    Thanks!!!

    You can report this to Apple here:
    http://www.apple.com/feedback/macosx.html

  • Local Director http probes with URLs and http redirect mode

    I am trying to configure http probes on my Local director 430 running 4.2.3
    I am using http redirect mode so the Virtual is bound to URLs not REALs with are linked to DIPs which are bound to REALs. So far the probes seem to not actually do anything. Does anyone know if the probes are compatible with URL redirect loadbalancing. And if so how one would go about configuring it.
    Thanks for your help.

    keepalive can be used for the probe notification in this case.
    Check the following url for details.
    http://www.cisco.com/univercd/cc/td/doc/product/webscale/css/bsccfggd/services.htm#xtocid727448

  • Error message with .cfm file

    I posted a topic here
    http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=1&catid=2&threadid=12 71757&enterthread=y
    , but I think I should have posted it here.
    Any help would be great. Thnks

    Sounds like probably your hosting company has disabled
    method="POST" for certain pages. You'd have to check with them
    regarding this restriction.
    Before trying to use CF on a server, make sure the CF server
    software is actually installed and supported by your hosting
    provider. Most providers enable some application server technology
    (PHP, ASP, CF) by default, but sadly CF is rarely on that
    list.

  • Probs with large files in adapter engine

    Hi all,
    in a scenario I'm currently working on, I have to process files (from file adapter). These files have 1KB up to 15MB. So I set up the tuning parameters, that files with more than 2MB are queued in this special queue for large messages. This works fine. small messages are processed directly and the larger messages are queued and processed in sequence by the integration engine.
    My problem is now on the point where the integration engine sends this large files to the adapter engine. There are always 4 messages in parallel sent to the adapter engine and this slows down the whole system due to an additional self-developed module.
    So my question is: Can I restrict the sending of the messages to only 1 at a time from integration engine to adapter engine?
    The time of processing is not important. I think I can handle this with EOIO, but is there an other way? Perhaps depending on the queue?
    Thanks
    Olli

    Hi William,
    thx for your reply.
    Yes I think it is the easiest way. But the problem is, if a message runs to a failure the others will not be processed until the failure is fixed or processing is canceled.
    So I hoped to find a solution where I can restrict the sending to the adapter engine to one message at a time in order to not affect the processing of the other messages as in EOIO.
    Regards
    Olli

  • Strange stack behaviour with referenced files

    I have just started to notice peculiar behaviour with referenced images within stacks. I have been reviewing last years pictures with a view to clearing out the junk.What I have found is rather alarming in that on clicking a stack to open it all the images within the stack were the wrong pictures, wrong as in taken with a different camera in a different year.The top picture does not seem to be affected.On attempting to find the correct files using 'manage referenced files' all the wrong images are shown as found in the list view with their own file names at the same time the thumbnails (top right hand pane) show the original correct file names but with the wrong thumbnails,Aperture does not realise that it is referencing the wrong files and so will not let me reconnect to the correct files.
    Anyone with a similar problem or a cure for this behaviour?

    Ok I have deleted and rebuilt thumbnails files to no avail.
    What appears to be happening is that aperture is using the wrong file-path for the affected pictures.
    I keep all pictures arranged by date order so for example where the correct file path for an image would be;
    Raid Zero/Pictures/2006/0609/060928/pict3722
    Aperture is giving a file path of
    Picture Library/2007/0712/071223/_DCS1023
    in the manage referenced files pane it shows the wrong path as above, the thumbnail picture is of the wrong file but the thumbnail name and date is correct.
    Interestingly since rebuilding the thumbs it is now possible to reconnect to the correct original file whereas before the reconnect option was not available, however it is only possible to do this one file at a time,the re-connect all function does not work presumably because Aperture is not aware that its filepath is wrong.
    Oh dear.... Aperture has just crashed,this immediately after reconnecting 6 files and waiting for the files to update to the correct image in viewer mode.
    GRRRRRRRRR!

  • Real probs with PATH file

    IM having real problems with the PATH file on a SUN 220R running Solaris 9, when i log in as root all I have available is the .dtprofile, Ive read all over the place that you need to edit the .profile, but i cant find it.
    I have the root user using sh, and another user using the bash, neither of them have a .profile
    All this came about after a rebuild and now when trying to install samba the ./configure script looks for the gcc compiler. Ive downloaded this and also installed it from the Sun companion cd, but how to i make the system use it as default?
    Please im tearing my hair out over this one!!!

    For the .profile file, you actually nned to create one if you did not have one.
    Try to do the command 'ls -la | more ' and check again. If you would like to
    revise an existing one is in the /etc/skel, these are templates which you could used.
    As for the gcc, check your path. use the command 'set' to see you present PATH.

  • Real Probs with PATH file and gcc

    IM having real problems with the PATH file on a SUN 220R running Solaris 9, when i log in as root all I have available is the .dtprofile, Ive read all over the place that you need to edit the .profile, but i cant find it.
    I have the root user using sh, and another user using the bash, neither of them have a .profile
    All this came about after a rebuild and now when trying to install samba the ./configure script looks for the gcc compiler. Ive downloaded this and also installed it from the Sun companion cd, but how to i make the system use it as default?
    Please im tearing my hair out over this one!!!

    For the .profile file, you actually nned to create one if you did not have one.
    Try to do the command 'ls -la | more ' and check again. If you would like to
    revise an existing one is in the /etc/skel, these are templates which you could used.
    As for the gcc, check your path. use the command 'set' to see you present PATH.

  • Keeping iTunes library on portable HD? - probs with database files!

    I have my music collection on a portable HD, which I use at work and at home.
    I add music and update file info at work, but I've learned that although I run the app from the portable HD the database info is kept in the User's Music folder on that machine. Thus, when I get home I don't have the up-to-date file info on my home mac!
    Is there a way to change the default location for the database files that iTunes uses? If I could make the portable HD the default location I think I could access 1 constantly updated iTunes library without having to 'Add to Library' and import XML files.
    Is this just wishful thinking, or is there a workaround or app which can do this automatically?
    Thanks, Lee.

    One work around is to just copy the files on one computer and then copy then to the other when you get home.
    That's what I do; File/Add to Library, then sort window by date, add the recent ones.
    Trouble is things like ratings are kept in the .xml file, in the username/music folder of the local machine, not in the ID3 tags and therefore are not imported with the music!
    I have tried to import the .xml file from one mac to the other and keep them synchronised with sync software but iTunes doesn't like it. I've corrupted a 4000-track library like this and started from scratch, so I'm loathe to mess with that again!
    The scripts look interesting though. Thanks.

  • So strange.. problems with a File() instantiation....

    this is so weird. i have exhausted all ideas to fix this and i can't figure it out. It is very simple looking to me, but for some reason the solution has eluded me.
    Ok, so in the following code I am getting a NULLPointerException thrown on the line where i commented that it keeps dying at the bottom.:
    public static int OpenNewOutputFile()
       String WorkFileName;
       try
         OutputFileExtensionNo++;
         OutputFilezos.closeEntry();
         OutputFilezos.close();
         System.out.println("OutputFileWithoutExtension: " + OutputFileWithoutExtension);
         System.out.println("OutputFileName: " + OutputFileName);
         WorkFileName = OutputFileWithoutExtension;
         if ( OutputFileExtensionNo < 10) {
              WorkFileName = WorkFileName + "00";
         else {
            if (OutputFileExtensionNo < 100) {
               WorkFileName = WorkFileName + "0";
         WorkFileName = WorkFileName + OutputFileExtensionNo;
         System.out.println("55");
         System.out.println("WorkFileName= " + WorkFileName.toString());
         OutputFile =  new File(WorkFileName);  //it keeps dying here....Comments:
    on the line 'System.out.println("WorkFileName= " + WorkFileName.toString());', i get the printout :
    "WorkFileName = \surs\work\cdtemp.002" which is what i want. However, then it goes to the next line and I get the exception thrown for some reason. On the java platform it says that this exception (null pointer) is thrown for this constructor if the string passed is 'null', but this is obviously not null.
    The OutputFile variable is declared as File OutputFile... no bigee there. It is, however, at this point already been assigned a File instance. Could this be a problem? Do i have to close the File instance or anything like that?
    I REALLY appreciate any help I can get on this, it has been plaguing me for days...

    i figured it out. For some reason which i sure don't get it did not like the idea of a full, absolute pathname being handed to it. i hard coded the path in the parameter, then passed it and it worked. I did not write all this code, I am just debugging it, so it makes it twice as hard. Anyways, thanks for the suggestion. I will use that in the future.
    Cheers

  • ACE Module - HTTP Probe failure

    Hi,
    I have configured the http probe with expect status 200 202, but the probe fails despite availability of the port on rserver.
    I tried head/get method to see the return code, and it came back with HTTP1.1/302. How can I configure an http probe to understand HTTP 302 code as success return.
    Thanks.

    I changed the expect status value as below
    probe http TEST-HTTP
    interval 30
    passdetect interval 10
    request method head
    expect status 302 302
    The probe is still failing with the log message
    Apr 20 2009 12:04:35 : %ACE-3-251010: Health probe failed for server 192.168.1.10 on port 80, received invalid status code
    On 'show probe detail' it shows the last status code as 400 which means Bad Request
    --------------------- probe results --------------------
    probe association probed-address probes failed passed health
    ------------------- ---------------+----------+----------+----------+-------
    serverfarm : TEST-APP
    real : TEST-SERVER1[80]
    192.168.1.10 27 27 0 FAILED
    Socket state : CLOSED
    No. Passed states : 0 No. Failed states : 1
    No. Probes skipped : 0 Last status code : 400
    No. Out of Sockets : 0 No. Internal error: 0
    Last disconnect err : Received invalid status code
    Last probe time : Mon Apr 20 12:05:33 2009
    Last fail time : Mon Apr 20 12:00:53 2009
    Last active time : Never
    The http page is showing perfectly on the web browser. Also, using the http head/get tool, I can see that 302 is returned.
    What could be the problem.
    Regards.

  • Dreamweaver CC not prompting to put dependent files when uploading ColdFusion .cfm files?

    I just 'upgraded' (if you consider DW CC an upgrade) from CS6 to CC, and am having problems with .cfm files.
    I have followed all the instructions to get DW CC to open and edit .cfm files..... and it does this just fine. I have also installed the server behaviours and databases panel extension.
    However heres the BIG problem: when I want to upload a .cfm file to a server, I am no longer getting a prompt to upload dependent files! It prompts me fine if I upload a .html file, but not .cfm.
    I mostly work with .cfm files and make changes to CSS files regularly. Whenever I upload a .cfm it is essential that DW also uploads the dependent files associated with it.
    Please how can I fix this issues? I have gone into preferences and all the boxes are checked correctly to prompt for dependent files when putting/getting. I'm so stuck I'm thinking about cancelling my CC products and going back to CS6.

    I have now discovered that DW CC does not prompt to upload dependent files if the file extension is .CFM or .ASPX.
    This is seriously frustrating Adobe..... !!!

Maybe you are looking for

  • Upload Production order using BAPI_MOSRVAPS_SAVEMULTI3

    Hi, I am uploading Production order in APO using BAPI BAPI_MOSRVAPS_SAVEMULTI3, I have an issue while uploading the Production Order, I want to upload the actual start date and End Date, but the BAPI is uploading the Start Date same as the End Date.

  • TR-EBS  SwiftMT940 mapping to an IDOC message FINSTA01 - Bank Statements

    For Treasury, we are going to move to the PI platform. We are currently using EDI. We start the process by requesting Citibank(GXS operations team) to put a sample file into the outbound mailbox to let our company pick up.  The output of the file wil

  • Notes for Basic Excise Duty

    Hello friends, When I am trying to create outgoing excise invoice The excise values in billing document are not flowing to outgoing excise invoice.Can someone guide me the exact patch number for the above issue? Regards, Veeranji_Functional Consultan

  • How to determine N73 Music Edition is genuine?

    Hi recently i have bought a N73 Music Edition, Its pretty sweet. But i have read informations about how you can update an N73 phone to a Music Edition and then just change to the black cover. I was wandering if there is anyway for me to determine if

  • Profilemanager and it's files

    Hello Can anybody bring light into this, please? I've tried to find as many files and paths profilemanager puts something into. Waht is going on in these direcotories and files? /var/devicemgr           lrwxr-xr-x 1 _devicemgr _devicemgr 30 Sep 13 15