SesConverter with extension throws coldfusion.runtime.TemplateNotFoundException

Hello,
i change my CF application from CF9 to CF10 and have some trouble with my SES URLs now.
I use the (SES) Converter (http://developer.fusium.com/tools/ses.cfm) CustomTag to get Search Engine URLS. With Cold Fusion 9 both ways are working correctly if the command
<CF_sesConverter SESrBaseName="baseHREF" SESdummyExtension=".cfm">
is set up correctly at the application.cfm:
http://www.domain.de/index.cfm/content/test1/test_id/11.cfm
http://www.domain.de/index.cfm/content/test1/test_id/11
Now with CF 10 only one way works correctly:
http://www.domain.de/index.cfm/content/test1/test_id/11
When we try to get the page with the extension .cfm:
http://www.domain.de/index.cfm/content/test1/test_id/11.cfm
we get the error "coldfusion.runtime.TemplateNotFoundException". I don't understand why CF10 check if the file exist at this point. The CustomTag CF_sesConverter is never called. Cf check first if the page exist. What I'm missing here? Is there any setting that I forget?
Thanks for any suggestion,
Andreas

Hey Adam,
Thanks for taking a look at this, so yes sorry its a HTTP request to that file and the rest of the websites files are on that file share.
The file is static and does not get changed so no file permissions change or the like. Also the permissions are correct.
So the file will be fine and it will work and then for whatever reason it will fail.
In regard to if Coldfusion has problems seeing the other files when this fails, I have not tried setting something up for this yet.
Regards

Similar Messages

  • Problem with return a ColdFusion query object from a Java class

    Hi!
    I need to return a ColdFusion query object from a Java class
    using a JDBC result set ( java.sql.ResultSet);
    I have tried to pass my JDBC result set in to the constructor
    of the coldfusion.sql.QueryTable class with this code:
    ColdFusion code
    <cfset pra = createObject("java","QueryUtil").init()>
    <cfset newQuery = CreateObject("java",
    "coldfusion.sql.QueryTable")>
    <cfset newQuery.init( pra.getColdFusionQuery () ) >
    My java class execute a query to db and return QueryTable
    Java code (QueryUtil.java)
    import coldfusion.sql.QueryTable; // (CFusion.jar for class
    QueryTable)
    import com.allaire.cfx //(cfx.jar for class Query used from
    QueryTable)
    public class QueryUtil
    public static coldfusion.sql.QueryTable
    getColdFusionQuery(java.sql.ResultSet rs)
    return new coldfusion.sql.QueryTable(rs);
    but when i run cfm page and coldfusion server tries to
    execute : "<cfset pra =
    createObject("java","QueryUtil").init()>" this error appears:
    Object Instantiation Exception.
    An exception occurred when instantiating a java object. The
    cause of this exception was that: coldfusion/sql/QueryTable.
    If i try to execute QueryUtil.java with Eclipse all it works.
    Also I have tried to return java.sql.ResultSet directly to
    coldfusion.sql.QueryTable.init () with failure.
    Do you know some other solution?

    ok
    i print all my code
    pratica.java execute a query to db and return a querytable
    java class
    import java.util.*;
    import java.sql.*;
    import coldfusion.sql.*;
    public class Pratica {
    private HashMap my;
    private String URI,LOGIN,PWD,DRIVER;
    private Connection conn=null;
    //funzione init
    //riceve due strutture converite in hashmap
    // globals
    // dbprop
    public Pratica(HashMap globals,HashMap dbprop) {
    my = new HashMap();
    my.put("GLOBALS",globals);
    my.put("DBPROP",dbprop);
    URI = "jdbc:sqlserver://it-bra-s0016;databaseName=nmobl";
    LOGIN = "usr_dev";
    PWD = "developer";
    DRIVER = "com.microsoft.sqlserver.jdbc.SQLServerDriver";
    try{
    // Carico il driver JDBC per la connessione con il database
    MySQL
    Class.forName(DRIVER);
    /* Connessione alla base di dati */
    conn=DriverManager.getConnection(URI,LOGIN,PWD);
    if(conn!=null) System.out.println("Connection Successful!");
    } catch (ClassNotFoundException e) {
    // Could not find the database driver
    System.out.print("\ndriver non trovato "+e.getMessage());
    System.out.flush();
    catch (SQLException e) {
    // Could not connect to the database
    System.out.print("\nConnessione fallita "+e.getMessage());
    System.out.flush();
    //funzione search
    //riceve un hash map con i filtri di ricerca
    public QueryTable search(/*HashMap arg*/) {
    ResultSet rs=null;
    Statement stmt=null;
    QueryTable ret=null;
    String query="SELECT * FROM TAN100pratiche";
    try{
    stmt = conn.createStatement();// Creo lo Statement per
    l'esecuzione della query
    rs=stmt.executeQuery(query);
    // while (rs.next()) {
    // System.out.println(rs.getString("descrizione"));
    catch (Exception e) {
    e.printStackTrace();
    try {
    ret = Pratica.RsToQueryTable(rs);
    } catch (SQLException e) {
    e.printStackTrace();
    this.close();
    return(ret);
    // ret=this.RsToQuery(rs);
    // this.close(); //chiude le connessioni,recordset e
    statament
    //retstruct CF vede HashMap come struct
    //METODO DI TEST
    public HashMap retstruct(){
    return(my);
    //conversione resultset to querytable
    private static QueryTable RsToQueryTable(ResultSet rs)
    throws SQLException{
    return new QueryTable(rs);
    //chiura resultset statament e connessione
    private void close(){
    try{
    conn.close();
    conn=null;
    catch (Exception e) {
    e.printStackTrace();
    coldfusion code
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01
    Transitional//EN">
    <html>
    <head>
    <title>Test JDBC CFML Using CFScript</title>
    </head>
    <body>
    <cftry>
    <cfset glb_map =
    createObject("java","java.util.HashMap")>
    <cfset dbprop_map =
    createObject("java","java.util.HashMap")>
    <cfset glb_map.init(glb)> <!---are passed from
    another page--->
    <cfset dbprop_map.init(glb["DBPROP"])>
    <cfset pra =
    createObject("java","Pratica").init(glb_map,dbprop_map)>
    <cfset ourQuery
    =createObject("java","coldfusion.sql.QueryTable").init(pra.search())>
    <cfcatch>
    <h2>Error - info below</h2>
    <cfdump var="#cfcatch#"><cfabort>
    </cfcatch>
    </cftry>
    <h2>Success - statement dumped below</h2>
    <cfdump var="#ourQuery#">
    </body>
    </html>
    error at line <cfset pra =
    createObject("java","Pratica").init(glb_map,dbprop_map)>
    An exception occurred when instantiating a java object. The
    cause of this exception was that: coldfusion/sql/QueryTable.
    -----------------------------------------------------------------------

  • Native extensions and captive runtime

    I'm trying to use native extensions and captive runtime. When I try to create a release, the IDE shows this message "Native extensions are being used in the project but are not supported by the CAPTIVE_RUNTIME_BUNDLE package type. Runtime issues can occur." and I can't continue.
    I've been able to compile it using the command-line, but I'm worried about the "runtime issues" that can occur.

    Hi,
    Sorry, just verified that export release build, with Native Extensions and Captive Runtime bundled for Desktop projects has been fixed and is available in the final release of Flash Builder 4.7.
    Thanks,
    Hari

  • Could not initialize class coldfusion.runtime.report.Report

    I have inherited an application that contains a number of
    reports. This application was developed on our CF7 server, and when
    we upgraded, the application was copied to 8, but not fully tested.
    Now, when we request the reports, we get the following errors (this
    is a Flex application):
    (mx.rpc::Fault)#0
    errorID = 0
    faultCode = "Server.Processing"
    faultDetail = (null)
    faultString = "Could not initialize class
    coldfusion.runtime.report.Report"
    message = "faultCode:Server.Processing faultString:'Could
    not initialize class coldfusion.runtime.report.Report'
    faultDetail:'null'"
    name = "Error"
    rootCause = (null)
    My searching for a solution has not been successful on
    Google. Has anyone experienced this error and been able to fix it?
    I'm at a loss on what to do next, and as the app is in production,
    I have some upset clients over this.
    Thanks!!
    Jenn

    I can't find anything further on this error after much
    research. I'm getting the problem when I try to run any report on a
    live web server (hosted site), even though it runs fine in the
    development environment. My hosting company could only suggest that
    the problem could lie with the fact they have RDS disabled;
    however, although the Report Builder requires RDS, running uploaded
    .cfr reports from the cfreport tag shouldn't. If anyone solves this
    I'd be most grateful for the information to be posted.

  • Help coldfusion.runtime.CookieScope error

    Hi I'm new. I have a problem I have a web site created with coldfusion and I'm bulding an application in java who insert automatically information in the field of a form in a page of the site and then send this information with the post method. The application simulate a person who insert the information and press Submit button. When I do the operation with mozzila or internetexplorer all is ok but when I do it with my java application I have this error in the Response Header of the post:
    500 Element ' ' is undefined in a Java object of type class coldfusion.runtime.CookieScope.
    I d'ont understand why I have this error, the information in the post metod send at the server are all ok ( I controll it with firebug for firefox when I do the operation manually).
    Can samoene helo me please?? Can someone say me more information about this error and also what is CookieScope??
    Thank you so much!!
    Please answer me!
    Bye

    Closing out this thread, as I later concluded that this is
    better suited for the Advanced Techniques forum. The new thread is
    at
    http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?catid=7&threadid=1217913

  • Coldfusion.runtime.CookieScope error in IE

    Hi,
    I receive the following error message:
    "Element 1 is undefined in a Java object of type class
    coldfusion.runtime.CookieScope referenced as"
    when trying to view my site with Internet Explorer 6.
    I use the customtag cf_inputFilter as a safety
    "removes characters or tags from all fields coming from the
    specified scopes (form,cookie, or url)".
    and the site has been running fine with this for years but
    now a cfscript is inside inputfilter.cfm is
    causing the error above.
    The error appared for the first time today but I have not
    made any code changes or updates
    If I remove the following from inputfilter.cfm the site works
    again (but without the otherwise brilliant customtag)
    // get the handle for the scope (form, cookie, url)
    s = Evaluate( scopeName ) ;
    // scroll thru fields in the scope and handle only simple
    values
    for ( field in s )
    if ( IsSimpleValue( s[field] ) ) {
    // replace tags - recursively until there are no more
    unwanted tags
    if ( reTags neq '' )
    do { prev = s[field];
    s[field] = REReplaceNoCase( s[field], reTags, "", "ALL" );
    } while (prev NEQ s[field]) ;
    // replace chars
    if ( charList neq '' )
    s[field] = ReplaceList( s[field], charList, "" ) ;
    It´s very strange because the error is isolated to
    Internet Explorer when I use Firefox or Opera everything is working
    fine
    The error appears only on my localhost :
    Coldfusion Version: 6,1,0,63958
    IIS 5.1 (on XP pro)
    Greatful for any help on this!

    Don't know if this might help, but I ran into a similar issue with a user who upgraded to IE 7. I had him download the latest SE JRE and the problem went away. I'm still in the process of getting a test system set up to run IE 7 on, and see if I can figure out what's going on.

  • Coldfusion.runtime.UndefinedVariableException Error

    We have existing site in CF6 and it is working fine.We have installed CF9 on same server for testing purpose and using the copy of DB/application files that is used for CF6.What happens is that in CF9 it gives the error
    coldfusion.runtime.UndefinedVariableException: Variable Q_DATA_STAT is undefined
    in a CFC file that has the variable Q_DATA_STAT which is used inside a function like this
    <cffunction name="get_total_status" access="public" returntype="query">
    <cfquery maxrows="#arguments.top#" name="q_data_stat" datasource="#application.datasource#">
    The query in actual returns 0 records if I check in sqlserver,and I get the above error from where this CFC fcntion is called.The same CFC file and script works in CF6 even though it also has 0 records.Is there a setting in CF9 to handle the resultset that returns 0 records? Or anyone has idea how to handle this error.
    Thanks in advance
    Harish

    CF9, or CF9.0.1?
    There was a bug in CF9 in that - with some combinations of SQL - a zero-row result set would actually not be returned, instead the variable was set to null.
    Here's the ticket for it:
    http://cfbugs.adobe.com/cfbugreport/flexbugui/cfbugtracker/main.html#bugId=82311
    I think it was fixed in 9.0.1.  Of course with the CF bug tracker, there's no way to confirm that, other than inferring "closed" means "fixed" (it could mean "not going to fix", or "could not reproduce" - although I know they could reproduce this one - or various other things though).
    Adam

  • Coldfusion.runtime.j2eesessionscope

    Does anyone know how to manually create the coldfusion.runtime.j2eesessionscope class in Java?  I want to be able to create this class in a java filter in the same manner it is created through coldfusion.  However, when I try to create the object I get a message that says it has not constructor.  Any help is appreciated.

    liferealized wrote:
    Has anyone seen this exception before....
    Google has - a few thousand times!
    It's likely to do with how you set up the application. You should enable the application and session scopes in the ColdFusion Administrator. Also, make sure your application files contain at least the following information
    Application.cfm:
    <cfapplication name="myApplicationName"
    sessionmanagement="yes"
    setclientcookies="yes"
    sessiontimeout="#createTimeSpan(0,0,20,0)#"
    applicationtimeout="#createTimeSpan(1,0,0,0)#">
    Application.cfc:
    <cfset this.name="myApplicationName">
    <cfset this.sessionmanagement="yes">
    <cfset this.setclientcookies="yes">
    <cfset this.sessiontimeout="#createtimespan(0,0,20,0)#">
    <cfset this.applicationtimeout="#createtimespan(1,0,0,0)#">
    I can imagine you getting that exception if you, for example, set the sessiontimeout at a higher value than the applicationtimeout.

  • While trying to change a BOM with transaction CS02, a runtime error appears

    While trying to change a BOM with transaction CS02, a runtime error appears.
    In intial screen he entered material ,plant BOM usage and date valid from  after executed then id displayed item list in that he wantu2019s delete one item, he has been deleted selected item after that when he was saving he is getting runtime error
    Developer trace
    ABAP Program SAPLKED1_WRITE_CE4_BPS1                 .
    Source LKED1_WRITE_CE4_BPS1U01                  Line 30.
    Error Code SAPSQL_ARRAY_INSERT_DUPREC.
    Module  $Id: //bas/640_REL/src/krn/runt/absapsql.c#17 $ SAP.
    Function HandleRsqlErrors Line 775.
    RABAX: level LEV_RX_STDERR completed.
    RABAX: level LEV_RX_RFC_ERROR entered.
    RABAX: level LEV_RX_RFC_ERROR completed.
    RABAX: level LEV_RX_RFC_CLOSE entered.
    RABAX: level LEV_RX_RFC_CLOSE completed.
    RABAX: level LEV_RX_IMC_ERROR entered.
    RABAX: level LEV_RX_IMC_ERROR completed.
    RABAX: level LEV_RX_DATASET_CLOSE entered.
    RABAX: level LEV_RX_DATASET_CLOSE completed.
    RABAX: level LEV_RX_RESET_SHMLOCKS entered.
    RABAX: level LEV_RX_RESET_SHMLOCKS completed.
    RABAX: level LEV_RX_ERROR_SAVE entered.
    RABAX: level LEV_RX_ERROR_SAVE completed.
    RABAX: level LEV_RX_ERROR_TPDA entered.
    RABAX: level LEV_RX_ERROR_TPDA completed.
    RABAX: level LEV_RX_PXA_RELEASE_RUDI entered.
    RABAX: level LEV_RX_PXA_RELEASE_RUDI completed.
    RABAX: level LEV_RX_LIVE_CACHE_CLEANUP entered.
    RABAX: level LEV_RX_LIVE_CACHE_CLEANUP completed.
    RABAX: level LEV_RX_END entered.
    RABAX: level LEV_RX_END completed.
    RABAX: end RX_RFC
    In sm21
    Perform rollback
    Run-time error "SAPSQL_ARRAY_INSERT_DUPREC" occurred
         Short dump "090618 110101 donalda 11557 " generated
    Runtime Error          SAPSQL_ARRAY_INSERT_DUPREC
    Exception              CX_SY_OPEN_SQL_DB
           Occurred on     18.06.2009 at   11:01:01
    The ABAP/4 Open SQL array insert results in duplicate database records.
    What happened?
    Error in ABAP application program.
    The current ABAP program "SAPLKED1_WRITE_CE4_BPS1" had to be terminated because
    one of the
    statements could not be executed.
    This is probably due to an error in the ABAP program.
    What can you do?
    Print out the error message (using the "Print" function)
    and make a note of the actions and input that caused the
    error.
    To resolve the problem, contact your SAP system administrator.
    You can use transaction ST22 (ABAP Dump Analysis) to view and administer
    termination messages, especially those beyond their normal deletion
    date.
    Error analysis
    An exception occurred. This exception is dealt with in more detail below
    . The exception, which is assigned to the class 'CX_SY_OPEN_SQL_DB', was
    neither
    caught nor passed along using a RAISING clause, in the procedure
    "RKE_WRITE_CE4__BPS1" "(FUNCTION)"
    Since the caller of the procedure could not have expected this exception
    to occur, the running program was terminated.
    The reason for the exception is:
    If you use an ABAP/4 Open SQL array insert to insert a record in
    the database and that record already exists with the same key,
    this results in a termination.
    (With an ABAP/4 Open SQL single record insert in the same error
    situation, processing does not terminate, but SY-SUBRC is set to 4.)
    How to correct the error
    The exception must either be prevented, caught within the procedure
    "RKE_WRITE_CE4__BPS1"
    "(FUNCTION)", or declared in the procedure's RAISING clause.
    To prevent the exception, note the following:
    Use an ABAP/4 Open SQL array insert only if you are sure that none of
    the records passed already exists in the database.
    You may able to find an interim solution to the problem
    in the SAP note system. If you have access to the note system yourself,
    use the following search criteria:
    "SAPSQL_ARRAY_INSERT_DUPREC" CX_SY_OPEN_SQL_DBC
    "SAPLKED1_WRITE_CE4_BPS1" or "LKED1_WRITE_CE4_BPS1U01"
    "RKE_WRITE_CE4__BPS1"
    If you cannot solve the problem yourself, please send the
    following documents to SAP:
    1. A hard copy print describing the problem.
       To obtain this, select the "Print" function on the current screen.
    2. A suitable hardcopy prinout of the system log.
       To obtain this, call the system log with Transaction SM21
       and select the "Print" function to print out the relevant
       part.
    3. If the programs are your own programs or modified SAP programs,
       supply the source code.
       To do this, you can either use the "PRINT" command in the editor or
       print the programs using the report RSINCL00.
    4. Details regarding the conditions under which the error occurred
       or which actions and input led to the error.

    Hi ,
    you are getting beacuse u are trying to do mass update to database.
    Please check that below note are applicable to your system.
    Note 453313 - DBIF_RSQL_ERROR_INTERNAL for mass insert
    Note 869534 - AFS MRP doesn't work properly with all BOM item categories
    Thanks Rishi Abrol

  • Have iPod touch 4 with extensive music list. How do I transfer it to the cloud so my other devices can play the music?  I subscribed to ITunes Match, but it's not functioning.

    Have iPod touch 4 with extensive music list. How do I transfer it to the cloud so my other devices can play the music?  I subscribed to ITunes Match, but it's not functioning

    Troubleshooting Match
    http://support.apple.com/kb/TS4054
    Subscribing to Match
    http://support.apple.com/kb/HT4914
    Match for the iOS devices
    http://support.apple.com/kb/HT5637

  • When trying to save a file under Excel 2008, ver 12.3.3, with extension .xlsx or .xlx, I am told it can't be saved because it is "read only." How do I change the file from read only?

    When I try to save a file using Excel 2008, ver 12.3.3, with extension either .xlsx or .xls, I get a message saying it cannot be saved because it is "read only." How do I change it from read only? (And how did it ever get to be read only?)

    Save the file as a new name. Close and Open the new file.
    Most likely when a file transfer happens, Office makes the file 'Read Only'.
    If you have two opened files with the same name, the last opened file will be 'Read Only'.

  • How do you create an installer/bundle for PPro with extension, a plugin (export-controller) and some

    Hi
    As my topic says
    How do you create an installer/bundle for PPro with extension, a plugin (export-controller) and some custom presets?
    Assume you have Flash Builder 4.5, CS Extension builder 2.0, Xcode 4.5.1 running under MacOS 10.8.

    I understand why you need updated running headers in your book. To a sighted reader these serve as a guide to where you are and help you find things quickly.  In addition, if you are exporting your data to XML or HTML from the tagged PDF it would also be important to have these in the proper location. 
    But for accessibility purposes, it doesn't have to be there because the screen reader reads everything in linear order, line by line.  No one is looking at the page.  A user listening to the screen reader read the page is going to hear this heading, just before the actual word itself. So they will hear the first word on the page twice.  It's not the end of the world if it's there, but such headings are not necessary for accessibility unless they are not repetitive and contain information that is not otherwise available.
    So I would say, fine if you need them or want them there, it's just one word. 
    I think you should try exporting your book to PDF (or even just a chapter of the book) and look at the tags panel in Acrobat to see if you are getting the result you want.  I can't tell you exactly what you should do to get those results, you are using a plug-in I don't have. 
    I can tell you I didn't have to add the headers to any article at all, they just automatically export if the other articles in the file are added and you don't select the header style option "not for export as XML."
    You may not experience the same results with your plug-in, but I think it will probably work the same way. 
    Give it a try and best of luck.

  • Select options with out intervals and with extension in WebDynpro ABAP

    Hi webdynpro experts,
    I am with working with webdynpro select options.
    Is there any way to hide selection screen intervals with extension same as ABAP?
    Your input is appreicated.
    Thanks
    Rajesh Yadla

    Hi Prabhu,
    I have two radio buttons ex: R1 and R2 and three Fields Ex: Vendor, User Name and Password.
    When I select R1 Vendor field should be Visible and when I select R2 Vendor field should be invisible.
    I created one attribute of type WDUI_VISIBILITY and binded in Visbility property of Vendor field.
    On action of R1 I am setting attribute value as Visible using Set_attribute method and On Action of R2 I am setting BLANK in Set_attribute method. But somehow I am unable get the solution......
    Thanks
    Basu

  • Adobe InDesign CC 2014 Custom Panel Built With Extension Builder - Problem: Can't tab from one entry field to the next; Hitting tab instead hides all palettes; Is there a fix? This didn't happen in Adobe Indesign CC

    Adobe InDesign CC 2014 Custom Panel Built With Extension Builder - Problem: Can't tab from one entry field to the next; Hitting tab instead hides all palettes; Is there a fix? This didn't happen in Adobe Indesign CC

    This is planned to be fixed in the next release.

  • I am still having trouble with extensions in Dreamweaver CS6

    I have installed a couple of extensions that I got through Adobe Marketplace and installed them with Extension Manger. I have been through tech support many times. I have even been escalated up to the next level, 4 or 5 monthe ago and have yet to have anyone help me with this issue. I keep getting promises of a phone calls but never a call back on this issue. If anyone has had this trouble, please help me. I can't be the only one.

    Assuming your computer meets or exceeds the min requirements:
    http://prodesigntools.com/products/adobe-cs6-system-requirements.html
    And you have plenty of physical memory (100 MB or more) to perform installations, my only guess is that something is corrupted.
    Have you tried deleting your DW Cache and/or Personal Configuration folder?
    NOTE: you'll need to show hidden files & folders in your OS.
    http://forums.adobe.com/thread/494811
    Nancy O.

Maybe you are looking for

  • Cannot get Unity 8.0 to syncronize with Active Directory

    Hi All,    any help/advice will be greatly appreciated here.  Pulling my hair out on this one.  So we installed our CUC 8.0.2 a few years ago.  At the time, CUC was setup to sync with LDAP, our windows AD.  Filters were defined, etc.  All has been fi

  • I updated my software, now my email will not update, how do I fix this?

    I cannot get emails on my iphone 4 after I updated the software to the latest one.  I tried to re-enter my passwords but that did not work, still get no email. HELP

  • Output to matlab client wiindow

    Hello! Does anybody know how to output in the Matlab command window? Matlab code: disp('Hallo.......') does not appear in the client window but is a well known Matlab command for outputing. Thanks for helping Andi

  • How to get back ilife 11

    I just reformatted my hard drive and i had ilife 11. I saved the programs to a stick, but the computer wom't take it in. please help if you can, because i want to get my programs back

  • Import tax account with g/l

    i have created tax code import with condition type jmo1 and jec1 with 0% for both the condition, but i dont want want to assigned G/L account for both the condition type. how should i go about. regard nabil