Referral Date Nightmare

Hello Guys,
I am somewhat new to SQL. I really need some help with the following query. I have three tables like so:
tblclient
perid
name
dob
tblreferral
refid
type
info
commments
tblreferralaction
refactid
status (allocate, nfa, closed)
status date
I need to get the list of referrals, per client, in chronological order using the dates from the referralaction table. A allocations status will be given once a referral is open. A status of NFA or Closed means that referral is closed. 
A client can have many referrals, i need to identify the current one and have the others with their open and closed dates.
I have tried pivoting the data and just cannot get it to work due to the various dates following on.
Please can someone help?! 
Thanks in advanced!
Kind Regards
Jonathan

Hi Jon, The DDL is unclear and not sure how each table linked/relate to each other.
I have assumed few keys as relation between tables and the following is the basic query to be tweaked further. Please let me know your thoughts.
SELECT
C.[PERID], -- C.[name],C.[dob],
R.[REFID], -- R.[type],R.[info],[R.comments],
RA.[refactid], -- RA.[status],
RA.[status date]
FROM
tblclient AS C
INNER JOIN
tblreferral AS R ON C.[PERID] = R.[PERID]
INNER JOIN
tblreferralaction AS RA ON R.[REFID] = RA.[REFID]
WHERE RA.[status] ='allocate' --- RA.[status] not in ('nfa', 'closed')
ORDER BY C.[PERID], R.[REFID], RA.[refactid], RA.[status date] desc
three tables like so:
tblclient
perid (PK)
name
dob
tblreferral
refid (PK)
PERID (FK)
type
info
commments
tblreferralaction
refactid (PK)
REFID (FK)
status (allocate, nfa, closed)
status date

Similar Messages

  • Does Safari use send referrer data for open tabs?

    If I have 8 tabs open in iPhone Safari and click a link that opens a "new" window (new meaning it takes over an open tab), does Safari send the referrer to the destination's web site/analytics as the spawning URL or the page that was overtaken? I don't mind if it's the spawning but I hate the idea of the open page being shared.
    Any insight anyone might have?
    Thanks!

    iStat pro is another good means of checking your Mac's activity.   Set it up within Dashboard.   It is a free facility.
    iStat pro for Mac - CNET Download.com

  • Report data binding error unknown column name

    Hi,
    I am having a problem with the new 7.02 update of Report
    Builder. The issue is it's not finding my SQL query.
    I have wrote my query initally in the advance mode, and it
    doesn't seem to reconize it. Is there an issue with this?
    I did manage to fix one of my reports by using the basic mode
    and selecting all my tables and seting my linkage and criteria.
    I have other computers that i have not updated to 7.02 and
    they do not have this issue. Below is the error:
    Error Occurred While Processing Request
    Report data binding error Unknown column name : work_phone.
    Please try the following:
    Check the ColdFusion documentation to verify that you are
    using the correct syntax.
    Search the Knowledge Base to find a solution to your problem.
    Browser Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0;
    .NET CLR 1.1.4322; .NET CLR 2.0.50727)
    Remote Address 127.0.0.1
    Referrer
    Date/Time 13-Jul-06 02:33 PM
    Stack Trace (click to expand)
    coldfusion.runtime.report.Report$ReportDataBindingException:
    Report data binding error Unknown column name : work_phone.
    at
    coldfusion.runtime.report.Report.runReport(Report.java:420)
    at
    coldfusion.filter.ComponentFilter.invoke(ComponentFilter.java:96)
    at
    coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:225)
    at
    coldfusion.filter.BrowserDebugFilter.invoke(BrowserDebugFilter.java:52)
    at coldfusion.filter.PathFilter.invoke(PathFilter.java:86)
    at
    coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:69)
    at
    coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:2 8)
    at
    coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38)
    at
    coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)
    at
    coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
    at coldfusion.xml.rpc.CFCServlet.invoke(CFCServlet.java:106)
    at coldfusion.xml.rpc.CFCServlet.doGet(CFCServlet.java:157)
    at
    javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at
    org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
    at
    javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at
    coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:78)
    at
    jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91)
    at
    jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
    at
    jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:257)
    at
    jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:527)
    at
    jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:204)
    at
    jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:349)
    at
    jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:457)
    at
    jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:295)
    at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
    This report works in 7.01. So all query variables match with
    a variable in the SQL select statement.
    Anyone have any Ideas??
    Thanks,
    Daniel

    Thank you very much for help.
    The "Unknown column name " is a field still used in my
    report, so I can't remove it.
    After I clear the query in the report and reopen the report
    and apply the same query back to it, I get different error message:
    Element TASKNUM is undefined in QUERY.
    The error occurred in : line 1
    -1 : Unable to display error's location in a CFML template.
    I know for sure this "Element TASKNUM is undefined in QUERY."
    is defined in query. each time it complains something different. I
    get really confused.
    Thanks again.
    Yueming

  • Crystal Reports not displaying all data

    We have a simple report pulling from 3 tables on a sql server. For some reason, data from one table does not fully display. The table is called Referral, and we have some clients that have a Referral record tied to them. Out of a report of 20 records, we will have 3-4 that won't display the referral data (even though I can see it in the database), but the other 16 records will. If I go into the database, and change the data on one of the non-displaying referral records and save, it will start displaying. If I then change the data back to the original, it will also display. Being new to Crystal Reports, I don't know if this is a Crystal issue or a problem at the data source, but thought I would put it out here in case someone is familiar with this problem. Our Crystal Reports version is 2011.
    Thanks.

    Hi
    This could be either table join problem in your crystal reports designer or when you are linking the tables it is unable to match the records.
    -- Go in Crystal reports designer and refresh the report and go in Database Menu--Show SQL query and copy the SQL and run the same at database end and check.
    Also you said you are able to see all records at database end, if you are extracting data through SQL you can very well copy that SQL in crystal reports under 'Add Command'  option and create your report.
    You will find Add command option under your Database connection while creating a report.
    Thanks,
    Sastry

  • Unable to use Datasource.cfc in Admin API - The current user is not authorized to invoke this method

    Hi Everyone,
    I am having some issues accessing the methods in the datasource.cfc in the adminAPI.
    I can successfully load the administrator CFC and am told that I have successsfuly logged in;
    But when I try to subsequently load the datasource.cfc I get an error that the current user is unable to access the method.
    /* Create an Admin API object and call the login method */
                                                      var local = {};
                                                      local.adminObj = createObject("component", "cfide.adminapi.administrator");
                                                      /* Enter your password for the CF Admin */
      /* if you dump this - TRUE is returned */
                                                      local.adminObj.login(adminPassword="my_admin_user_password");
                                                      /* Create an object of datasource component */
                                                      local.dsnObj = createObject("component", "cfide.adminapi.datasource");
      writeDump(local.dsnObj.getDataSources());
    I tried creating separate admin users and passwords - yhinking that perhaps a revent hotfix had stopped the "admin" user from being allowed to use the adminAPI - but changing to a new adminuser yielded the same results.
    I could login to the admin API with the new username and passsword - but could not access the datasource.cfc after that.
    Here is the debug output from the error...
    The current user is not authorized to invoke this method.
    The error occurred in accessmanager.cfc: line 48
    Called from datasource.cfc: line 52
    Called from C:/inetpub/wwwroot/projectDir/trunk/Application.cfc: line 155
    Called from C:/inetpub/wwwroot/projectDir/trunk/Application.cfc: line 52
    Called from C:/inetpub/wwwroot/projectDir/trunk/Application.cfc: line 45
    Called from C:/inetpub/wwwroot/projectDir/trunk/Application.cfc: line 1
    -1 : Unable to display error's location in a CFML template.
    Resources:
    Check the ColdFusion documentation to verify that you are using the correct syntax.
    Search the Knowledge Base to find a solution to your problem.
    Browser 
    Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.64 Safari/537.31
    Remote Address 
    127.0.0.1
    Referrer 
    Date/Time 
    22-Apr-13 01:09 PM
    Stack Trace
    at cfaccessmanager2ecfc974154242$funcCHECKADMINROLES.runFunction(E:/cf10_final/cfusion/wwwro ot/CFIDE/adminapi/accessmanager.cfc:48) at cfdatasource2ecfc1679861966$funcGETDATASOURCES.runFunction(E:/cf10_final/cfusion/wwwroot/ CFIDE/adminapi/datasource.cfc:52) at cfApplication2ecfc498167235$funcPREREQUISITESTART.runFunction(C:/inetpub/wwwroot/projectD ir/trunk/Application.cfc:155) at cfApplication2ecfc498167235$funcINIT.runFunction(C:/inetpub/wwwroot/projectDir/trunk/Appl ication.cfc:52) at cfApplication2ecfc498167235._factor5(C:/inetpub/wwwroot/projectDir/trunk/Application.cfc: 45) at cfApplication2ecfc498167235.runPage(C:/inetpub/wwwroot/projectDir/trunk/Application.cfc:1 )
    coldfusion.runtime.CustomException: The current user is not authorized to invoke this method. at coldfusion.tagext.lang.ThrowTag.doStartTag(ThrowTag.java:142) at coldfusion.runtime.CfJspPage._emptyTcfTag(CfJspPage.java:2799) at cfaccessmanager2ecfc974154242$funcCHECKADMINROLES.runFunction(E:\cf10_final\cfusion\wwwroot\CFIDE\adminapi\accessmanager.cfc:48) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472) at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47) at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:368) at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:55) at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:321) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:220) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:655) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:444) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:414) at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2432) at cfdatasource2ecfc1679861966$funcGETDATASOURCES.runFunction(E:\cf10_final\cfusion\wwwroot\CFIDE\adminapi\datasource.cfc:52) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472) at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47) at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:405) at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:368) at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:55) at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:321) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:220) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:655) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:444) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:414) at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2432) at cfApplication2ecfc498167235$funcPREREQUISITESTART.runFunction(C:\inetpub\wwwroot\projectDir\trunk\Application.cfc:155) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472) at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:405) at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:368) at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:55) at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:321) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:220) at coldfusion.runtime.CfJspPage._invokeUDF(CfJspPage.java:2659) at cfApplication2ecfc498167235$funcINIT.runFunction(C:\inetpub\wwwroot\projectDir\trunk\Application.cfc:52) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472) at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:368) at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:55) at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:321) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:220) at coldfusion.runtime.CfJspPage._invokeUDF(CfJspPage.java:2659) at cfApplication2ecfc498167235._factor5(C:\inetpub\wwwroot\projectDir\trunk\Application.cfc:45) at cfApplication2ecfc498167235.runPage(C:\inetpub\wwwroot\projectDir\trunk\Application.cfc:1) at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:244) at coldfusion.runtime.TemplateProxyFactory.resolveComponentHelper(TemplateProxyFactory.java:538) at coldfusion.runtime.TemplateProxyFactory.resolveName(TemplateProxyFactory.java:234) at coldfusion.runtime.TemplateProxyFactory.resolveName(TemplateProxyFactory.java:159) at coldfusion.runtime.TemplateProxyFactory.resolveFile(TemplateProxyFactory.java:120) at coldfusion.cfc.CFCProxy.<init>(CFCProxy.java:138) at coldfusion.cfc.CFCProxy.<init>(CFCProxy.java:84) at coldfusion.runtime.AppEventInvoker.<init>(AppEventInvoker.java:64) at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:232) at coldfusion.filter.MonitoringFilter.invoke(MonitoringFilter.java:40) at coldfusion.filter.PathFilter.invoke(PathFilter.java:112) at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:94) at coldfusion.filter.BrowserDebugFilter.invoke(BrowserDebugFilter.java:79) at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:28) at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38) at coldfusion.filter.NoCacheFilter.invoke(NoCacheFilter.java:46) at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38) at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22) at coldfusion.filter.CachingFilter.invoke(CachingFilter.java:62) at coldfusion.CfmServlet.service(CfmServlet.java:219) at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:42) at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:928) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:414) at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:204) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:539) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:298) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662)
    And here is the listed exceptions, beneath the stack trace;
    13:09:56.056 - cfadminapiSecurityError Exception - in E:/cf10_final/cfusion/wwwroot/CFIDE/adminapi/accessmanager.cfc : line 48
             The current user is not authorized to invoke this method.
    13:09:56.056 - cfadminapiSecurityError Exception - in E:/cf10_final/cfusion/wwwroot/CFIDE/adminapi/accessmanager.cfc : line 48
             The current user is not authorized to invoke this method.
    13:09:56.056 - java.io.FileNotFoundException - in C:/ColdFusion10/cfusion/wwwroot/WEB-INF/exception/errorcontext.cfm : line 44
             E:/cf10_final/cfusion/wwwroot/CFIDE/adminapi/accessmanager.cfc (The system cannot find the path specified)
    This perspn seems to be having the same issue;
    http://forums.adobe.com/message/5051892
    and I agree I don't have "E" drive either!

    I've found a solution to my plight - I don't know if it'll work for you or help you try something that MAY fix it.
    I use a common code set which includes the Application.cfc from a CF Mapping - So, in the application.cfc in the actual website I do this:-
    <cfinclude template="/UberDirectory/Application.cfc">
    Then, in the /UberDirectory/Application.cfc, I was initialising a CFC which checks if the datasource was created for the website. The datasource checking code attempts to log into the Admin API and check & create if necessary the datasource.
    This has previously worked without fail for me - But in this instance it failed!! I was doing two things wrong - Firstly, the CFC should only be called in the Application.cfc in the onRequestStart section as the Application had to be initialised first - This is maybe because I've invoked the application.cfc in a "non-standard" manner.
    Secondly, once I'd moved the CFC invocation into oNRequestStart I saw the following error:-
    The string COOKIE.CFAUTHORIZATION_uber-directory is not a valid ColdFusion variable name.
    I had this as the app name .... <cfset this.name = 'uber-directory'>
    Changedthe dash to an underscore and I was away and could once again check the datasources
    Hope it helps
    Martin

  • File Not Found error message

    I keep getting this message when I try to view my coldfusion
    page in my web browser. How do I fix this? I've tried saving it
    somewhere else and recreating the file but I still get the message.
    Here is the message:
    The web site you are accessing has experienced an unexpected
    error.
    Please contact the website administrator.
    The following information is meant for the website developer
    for debugging purposes.
    Error Occurred While Processing Request
    File not found: /reviews.cfm
    Resources:
    Check the ColdFusion documentation to verify that you are
    using the correct syntax.
    Search the Knowledge Base to find a solution to your problem.
    Browser Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1;
    .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30;
    InfoPath.2; Windows-Media-Player/10.00.00.3990)
    Remote Address 127.0.0.1
    Referrer
    Date/Time 06-Mar-08 12:31 PM
    Stack Trace (click to expand)
    coldfusion.runtime.TemplateNotFoundException: File not found:
    /reviews.cfm
    at coldfusion.filter.PathFilter.invoke(PathFilter.java:89)
    at
    coldfusion.filter.LicenseFilter.invoke(LicenseFilter.java:27)
    at
    coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:70)
    at
    coldfusion.filter.BrowserDebugFilter.invoke(BrowserDebugFilter.java:74)
    at
    coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:2 8)
    at
    coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38)
    at
    coldfusion.filter.NoCacheFilter.invoke(NoCacheFilter.java:46)
    at
    coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)
    at
    coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
    at coldfusion.CfmServlet.service(CfmServlet.java:175)
    at
    coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89)
    at jrun.servlet.FilterChain.doFilter(FilterChain.java:86)
    at
    coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:42 )
    at
    coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46)
    at jrun.servlet.FilterChain.doFilter(FilterChain.java:94)
    at jrun.servlet.FilterChain.service(FilterChain.java:101)
    at
    jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:106)
    at
    jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
    at
    jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:284)
    at
    jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:543)
    at
    jrun.servlet.http.WebService.invokeRunnable(WebService.java:172)
    at
    jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:320)
    at
    jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428)
    at
    jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:266)
    at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
    Debugging Information ColdFusion Server Developer
    8,0,0,176276
    Template /reviews.cfm
    Time Stamp 06-Mar-08 12:31 PM
    Locale English (US)
    User Agent Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1;
    .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30;
    InfoPath.2; Windows-Media-Player/10.00.00.3990)
    Remote IP 127.0.0.1
    Host Name localhost
    Execution Time
    No top level page was found.
    Exceptions
    12:31:43.043 - coldfusion.runtime.TemplateNotFoundException -
    in : line -1
    File not found: /reviews.cfm
    Scope Variables
    CGI Variables:
    AUTH_PASSWORD=
    AUTH_TYPE=
    AUTH_USER=
    CERT_COOKIE=
    CERT_FLAGS=
    CERT_ISSUER=
    CERT_KEYSIZE=
    CERT_SECRETKEYSIZE=
    CERT_SERIALNUMBER=
    CERT_SERVER_ISSUER=
    CERT_SERVER_SUBJECT=
    CERT_SUBJECT=
    CF_TEMPLATE_PATH=C:\ColdFusion8\wwwroot\reviews.cfm
    CONTENT_LENGTH=
    CONTENT_TYPE=
    CONTEXT_PATH=
    GATEWAY_INTERFACE=
    HTTPS=
    HTTPS_KEYSIZE=
    HTTPS_SECRETKEYSIZE=
    HTTPS_SERVER_ISSUER=
    HTTPS_SERVER_SUBJECT=
    HTTP_ACCEPT=*/*
    HTTP_ACCEPT_ENCODING=gzip, deflate
    HTTP_ACCEPT_LANGUAGE=en-us
    HTTP_CONNECTION=Keep-Alive
    HTTP_COOKIE=
    HTTP_HOST=localhost:8500
    HTTP_REFERER=
    HTTP_USER_AGENT=Mozilla/4.0 (compatible; MSIE 7.0; Windows NT
    5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30;
    InfoPath.2; Windows-Media-Player/10.00.00.3990)
    PATH_INFO=
    PATH_TRANSLATED=C:\ColdFusion8\wwwroot\reviews.cfm
    QUERY_STRING=
    REMOTE_ADDR=127.0.0.1
    REMOTE_HOST=localhost
    REMOTE_USER=
    REQUEST_METHOD=GET
    SCRIPT_NAME=/reviews.cfm
    SERVER_NAME=localhost
    SERVER_PORT=8500
    SERVER_PORT_SECURE=0
    SERVER_PROTOCOL=HTTP/1.1
    SERVER_SOFTWARE=
    WEB_SERVER_API=
    Debug Rendering Time: 62 ms

    No CFINCLUDE, unless I'm not seeing it. Here's my code:
    <!--- Get ratings --->
    <cfquery datasource="PFB" name="Ratings">
    SELECT *
    FROM Ratings
    ORDER BY RatingID
    </cfquery>
    <!----get ages----->
    <cfquery datasource="PFB" name="Age">
    SELECT *
    FROM Age
    ORDER BY AgeID
    </cfquery>
    <html>
    <body>
    <cfform action="insertnewreview.cfm">
    <table>
    <tr>
    <td>Age:</td>
    <td> <select name="AgeID">
    <cfoutput query="age">
    <option
    value="#AgeID#">#Age#</option></cfoutput>
    </select>
    </td>
    </tr>
    <tr>
    <td><cfoutput
    query="question">#Question#</cfoutput></td>
    <td><select name="RatingID">
    <cfoutput query="ratings"><option
    value="#RatingID#">#Rating#</option>
    </cfoutput></select></td>
    </tr>
    </table>
    </cfform>
    </body>
    </html>

  • HTML special characters in form input

    In my site I store form input in my database. Before I store
    the data, I parse out smart quotes, en dashes, and other extended
    special characters and convert them into HTHML quivalents such as
    &#8217;
    All is well and good until the user goes to edit their info.
    In my form these characters show up in my <input> tags as
    their long-winded HTML equivalents, such as &#8217; instead of
    a smart apostrophe.
    Is there any way to convert these back to the special
    characters from the HTML on the form input text fields so that
    users can edit them without being confused?
    Thanks.

    Hmmm, well I ran the MX 6.1 updater and installed the two hot
    fixes that had to do with null pointer exceptions and it still does
    not work.
    Here is the detailed error I'm getting, if it helps. Any more
    ideas? Thanks again for the help, I'm really stuck on this one...
    The system has attempted to use an undefined value, which
    usually indicates a programming error, either in your code or some
    system code.
    Null Pointers are another name for undefined values.
    The error occurred in C:\Inetpub\wwwroot\store\index.cfm:
    line 1
    1 : <cfquery name="getBooks" datasource="#dsn#">
    2 : SELECT *
    3 : FROM products
    Please try the following:
    * Check the ColdFusion documentation to verify that you are
    using the correct syntax.
    * Search the Knowledge Base to find a solution to your
    problem.
    Browser Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US;
    rv:1.8.1.7) Gecko/20070914 Firefox/2.0.0.7
    Remote Address 127.0.0.1
    Referrer
    Date/Time 09-Oct-07 02:20 PM
    Stack Trace
    at
    cfindex2ecfm1770128649.runPage(C:\Inetpub\wwwroot\store\index.cfm:1)
    java.lang.NullPointerException
    at coldfusion.sql.QueryTable.populate(QueryTable.java:260)
    at coldfusion.sql.QueryTable.populate(QueryTable.java:159)
    at coldfusion.sql.Executive.getRowSet(Executive.java:505)
    at coldfusion.sql.Executive.executeQuery(Executive.java:974)
    at coldfusion.sql.Executive.executeQuery(Executive.java:886)
    at coldfusion.sql.SqlImpl.execute(SqlImpl.java:236)
    at
    coldfusion.tagext.sql.QueryTag.doEndTag(QueryTag.java:447)
    at
    cfindex2ecfm1770128649.runPage(C:\Inetpub\wwwroot\store\index.cfm:1)
    at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:147)
    at
    coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:357)
    at
    coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:62)
    at
    coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:107)
    at coldfusion.filter.PathFilter.invoke(PathFilter.java:80)
    at
    coldfusion.filter.LicenseFilter.invoke(LicenseFilter.java:24)
    at
    coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:47)
    at
    coldfusion.filter.BrowserDebugFilter.invoke(BrowserDebugFilter.java:52)
    at
    coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:2 8)
    at
    coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:35)
    at
    coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:43)
    at
    coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
    at coldfusion.CfmServlet.service(CfmServlet.java:105)
    at
    jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91)
    at
    jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
    at
    jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:249)
    at
    jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:527)
    at
    jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:192)
    at
    jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:348)
    at
    jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:451)
    at
    jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:294)
    at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)

  • How can I process an SSO Logon Ticket in ColdFusion 9?

    Hi,
    We want to integrate some CouldFusion templates on the SAP portal and I try to process the SSO Logon Ticket using the following code:
    <cfif IsDefined("Cookie.MYSAPSSO2") AND Cookie.MYSAPSSO2 neq "">
    <cfscript>
        ticket = Cookie.MYSAPSSO2;
        sso = createObject("java", "SSO2Ticket");
        version = sso.getVersion();
        Application.CertPath = "/opt/coldfusion9/lib/verify.pse";
    </cfscript>
    <h2>Ticket cookie:</h2>
    <cfdump var="#ticket#">
    <h2>Version:</h2>
    <cfdump var="#version#">
    <h2>Certification path:</h2>
    <cfdump var="#Application.CertPath#">
    <cfscript>
        result = sso.evalLogonTicket (ticket, Application.CertPath,"");
        sapUser   = result[1]; //First element is the SAP system user
        sysID  = result[2]; //Second element is the id of the issuing system
        client = result[3]; //Third element is the client of the issuing system
        portalUser = result[5]; //Portal user
        validityInSeconds = result[7]; //Validity in seconds
    </cfscript>
    <h2>Ticket content:</h2>
    <cfdump var="#result#">
    <cfelse>
        SAP Logon Ticket not found - Extranet content can only be accessed through SAP Portal.   
    </cfif>
    The certificate verify.pse and the current version of the libraries libsapcrypto.so, libsapssoext.so and libslcryptokernel.so are stored at the same location.
    After logging in into a SAP portal I get following error when executing the script:
    Ticket cookie:
      AjExMDAgAAxwb3J0YWw6VG90aEyIABNiYXNpY2F1dGhlbnRpY2F0aW9uAQAFVE9USEwCAAMwMDADAANEUDIEAAwyMDE0MDYyNTEzNTMFAAQAAAAICgAFVE9USEz/AQUwggEBBgkqhkiG9w0BBwKggfMwgfACAQExCzAJBgUrDgMCGgUAMAsGCSqGSIb3DQEHATGB0DCBzQIBATAiMB0xDDAKBgNVBAMTA0RQMjENMAsGA1UECxMESjJFRQIBADAJBgUrDgMCGgUAoF0wGAYJKoZIhvcNAQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG9w0BCQUxDxcNMTQwNjI1MTM1MzQ3WjAjBgkqhkiG9w0BCQQxFgQU2lImEL6oxLc/4ZdXYTDJudUNhOIwCQYHKoZIzjgEAwQvMC0CFQC4ftTFs8COV0ThRZH5lJxY9ITqfQIUMSugOMEkhmQHqBZD!ZHQ1Tb9e90= 
    Version:
    SAPSSOEXT 4 
    Certification path:
    /opt/coldfusion9/lib/verify.pse 
    The web site you are accessing has experienced an unexpected error.
    Please contact the website administrator. 
    The following information is meant for the website developer for debugging purposes.
    Error Occurred While Processing Request
    MySapEvalLogonTicketEx failed: standard error= 9, ssf error= 0
      The error occurred in /opt/coldfusion9/wwwroot/ExtranetMod/authTest.cfm: line 20
    18 : 19 : <cfscript> 20 : result = sso.evalLogonTicket (ticket, Application.CertPath,""); 21 :     sapUser   = result[1]; //First element is the SAP system user 22 :     sysID  = result[2]; //Second element is the id of the issuing system
    Resources:
    Check the ColdFusion documentation to verify that you are using the correct syntax.
    Search the Knowledge Base to find a solution to your problem.
    Browser 
    Mozilla/5.0 (Windows NT 5.1; rv:30.0) Gecko/20100101 Firefox/30.0
    Remote Address 
    172.20.231.111
    Referrer 
    Date/Time 
    25-Jun-14 04:23 PM
    Stack Trace
    at cfauthTest2ecfm1658987646.runPage(/opt/coldfusion9/wwwroot/ExtranetMod/authTest.cfm:20)
    java.lang.Exception: MySapEvalLogonTicketEx failed: standard error= 9, ssf error= 0 at SSO2Ticket.evalLogonTicket(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at coldfusion.runtime.java.JavaProxy.invoke(JavaProxy.java:97) at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2360) at cfauthTest2ecfm1658987646.runPage(/opt/coldfusion9/wwwroot/ExtranetMod/authTest.cfm:20) at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:231) at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:416) at coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65) at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:360) at coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:48) at coldfusion.filter.MonitoringFilter.invoke(MonitoringFilter.java:40) at coldfusion.filter.PathFilter.invoke(PathFilter.java:94) at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:70) at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:28) at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38) at coldfusion.filter.NoCacheFilter.invoke(NoCacheFilter.java:46) at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38) at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22) at coldfusion.filter.CachingFilter.invoke(CachingFilter.java:62) at coldfusion.CfmServlet.service(CfmServlet.java:200) at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89) at jrun.servlet.FilterChain.doFilter(FilterChain.java:86) at coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:42) at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46) at jrun.servlet.FilterChain.doFilter(FilterChain.java:94) at jrun.servlet.FilterChain.service(FilterChain.java:101) at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:106) at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42) at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:286) at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:543) at jrun.servlet.http.WebService.invokeRunnable(WebService.java:172) at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:320) at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428) at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:266) at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
    I would be most thankful for any hints that could bring me further...
    Many thanks
    Lajos

    Thank you for your assistance in this matter.
    This has been frustrating the crap out of me for the last week (not that the photo is important, it is just that I like to conquer and solve this types of issues)
    I was shooting with an aperture of 7.1. 
    I changed the exposure on the photos as you had done previously but this only blew out the watch and I couldn't recover it afterwards and the alignment was no better any way.  So then I started experimenting as you suggested, and I don't know if what I am about to write is acceptable in an Adobe forum, but here goes.
    I tried Helicon Focus and it was terrible, but I must admit I didn't know how to really use it, it doesn't seem to have any alignment function and is very difficult to try to use and understand.
    then I tried Hugin and I am not even sure if this is image stacking software or just an alignment software, anyway that didn't work either and kept saying the output was a very bad match.
    THEN I downloaded and tried zerestacker (free 30 day trial)  (after reading about it in a google search) and WOW, it worked amazing, see below photo, it was so easy to use and the interface is easy as well and it does the alignment and stacking in the same process and you can see the image output show up on the left of the screen.  Sorry PS but I will be using ZS for photostacking from now on. Adobe need to buy this company and incorporate it in to PS CC6.
    This is just so much better than anything I got out of PS, there is no ghosting or blurring and the alignment is perfect and it is so simple to use.

  • Problems with all Adobe sites + Dreamwaver install

    Hi
    Sorry to post here - the first half of this topic is general,
    the second half is Dreamweaver.
    1. I have been having loads of problems with Adobe websites
    a. could not get into Dreamweaver Trial download page because
    my IP was blocked and I am no spammer!
    I had to disguise my IP in order to download it - it seems
    they do not want my money!
    2. Now in the forums, anything I search I get a error:
    Error Occurred While Processing Request Variable
    FTVAR_RESULTTYPE is undefined. Resources:
    * Enable Robust Exception Information to provide greater
    detail about the source of errors. In the Administrator, click
    Debugging & Logging > Debug Output Settings, and select the
    Robust Exception Information option. * Check the ColdFusion
    documentation to verify that you are using the correct syntax. *
    Search the Knowledge Base to find a solution to your problem.
    Browser Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB;
    rv:1.9.0.5) Gecko/2008120122 Firefox/3.0.5 (.NET CLR 3.5.30729)
    Remote Address 10.172.32.23 Referrer Date/Time 28-Jan-09 08:48 AM
    It looks like they have a problem with Firefox 3.0.5 ?
    Also sometimes pages do not load, I get a blank page, the F5
    and it loads!
    DREAMWEAVER
    I have 'tried' to install CS4 (I do have MX2004 (time to
    upgrade!) and I got a 'Found Trojan Horse Crypt.CFR' from AVG!
    So, I have now stopped.
    Since I cannot search the forum I had to open a topic.
    Sorry again.
    Any idea?
    Regards all ...

    > 2. Now in the forums, anything I search I get a error:
    > Error Occurred While Processing Request Variable
    FTVAR_RESULTTYPE is
    > undefined. Resources:
    use the Advanced Search option in the web forums, or use the
    google groups
    search to search the macromedia.dreamweaver NNTP archive.
    Alan
    Adobe Community Expert, dreamweaver
    http://www.adobe.com/communities/experts/

  • Error Executing Database Query (Encountered [nullstring])

    The attached code gives the following error message. I did
    have nullstrings being submitted as the "notes" and "internal
    notes," but I removed them in an (unsuccessful) attempt to solve
    this problem. Can this be fixed? Thanks!
    quote:
    Error Executing Database Query.
    Syntax error: Encountered "" at line 9, column 43.
    The error occurred in
    C:\ColdFusion8\wwwroot\Example\init.cfm: line 6
    4 : </head>
    5 : <body>
    6 : <CFQUERY NAME="init" DATASOURCE="Example">
    7 : CREATE TABLE programs(
    8 : ID int,
    SQLSTATE 42X01
    SQL CREATE TABLE programs( ID int, program_ID int, name
    varchar(20), long_name varchar(50), creator_email varchar(50),
    notes varchar(50), internal_notes varchar(50), is_public bool );
    INSERT INTO programs( ID, program_ID, name, long_name,
    creator_email, is_public ) VALUES( 0, 1, "Basic", "Basic
    (pre-selected)", "[email protected]", true ); SELECT * FROM
    programs;
    VENDORERRORCODE 30000
    DATASOURCE Example
    Resources:
    * Check the ColdFusion documentation to verify that you are
    using the correct syntax.
    * Search the Knowledge Base to find a solution to your
    problem.
    Browser Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US;
    rv:1.8.1.6) Gecko/20070725 Firefox/2.0.0.6
    Remote Address 127.0.0.1
    Referrer
    Date/Time 20-Feb-08 11:53 PM
    Stack Trace
    at
    cfinit2ecfm949254281.runPage(C:\ColdFusion8\wwwroot\Example\init.cfm:6)
    at
    cfinit2ecfm949254281.runPage(C:\ColdFusion8\wwwroot\Example\init.cfm:6)
    [ginormous Java stacktrace omitted]

    I whittled my SQL down to the first query and added the
    transaction block, but the error remains. Thanks for your time!
    quote:
    Error Executing Database Query.
    Syntax error: Encountered "" at line 9, column 51.
    The error occurred in
    C:\ColdFusion8\wwwroot\Example\init.cfm: line 7
    5 : <body>
    6 : <CFTRANSACTION>
    7 : <CFQUERY NAME="init" DATASOURCE="Example">
    8 : CREATE TABLE programs(
    9 : ID int,
    SQLSTATE 42X01
    SQL CREATE TABLE programs( ID int, program_ID int, name
    varchar(20), long_name varchar(50), creator_email varchar(50),
    notes varchar(50), internal_notes varchar(50), is_public bool );
    VENDORERRORCODE 20000
    DATASOURCE Example
    Resources:
    * Check the ColdFusion documentation to verify that you are
    using the correct syntax.
    * Search the Knowledge Base to find a solution to your
    problem.
    Browser Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US;
    rv:1.8.1.6) Gecko/20070725 Firefox/2.0.0.6
    Remote Address 127.0.0.1
    Referrer
    Date/Time 22-Feb-08 10:02 AM
    Stack Trace
    at
    cfinit2ecfm949254281.runPage(C:\ColdFusion8\wwwroot\Example\init.cfm:7)
    at
    cfinit2ecfm949254281.runPage(C:\ColdFusion8\wwwroot\Example\init.cfm:7)

  • Problem removing referrals in 5.2

    Hi.
    I've been trying to relocate some data from one set of DS installations to another set, on the same machines--which I did by replicating to the new master, promoting it to hub, adding the new replica, promoting the new master to master, enabling multimaster, then disabling replication from the old master and then taking it down. Everything went fairly smoothly, except I ended up with some strange behavior when changes are being made on the replica--and the only thing I can come up with to explain it is that there are referrals from the connections to the original pair of servers, which will NOT go away permanently.
    The master has a referral to the old master, though it shouldn't be using it at all. However, nothing I can do will make this referral go away permanently. If i delete it from the console, directly, it goes away--then comes back either in a matter of minutes, or after a restart. Same if I delete it from the dse.ldif file. I can't find anything else which holds this referral data (including the o=netscaperoot area of the config directory), where it could be reloading every time I restart. Clearly the "Delete" function in the console is pointless since no delete will actually stick.
    But I think my problem is on my replica, where I have referrals to two different servers, which may both have been the current master, but while it was on two different ports (btw, I'll point out as well that changing the port the server runs on via the console appears to leave a lot of configs pointing to the original install port, implying it's far from a clean port change). And my best guess as to the strange behavior I'm seeing is that somehow the replica is trying to pass referrals to both server instances, which are actually the same master, and the master is attempting to make the change twice. Which causes problems when you're doing adds and deletes--the first one works fine, but then you get an error that it already exists or that there's no such object.
    I even brought back my original master instance and made sure to delete (rather than merely disabling) the original replication agreements, on the theory that only by deleting would the replica know to remove the referral, but that didn't work either. So as it stands, I have 2 bad referrals on 2 instances, and no way I can find anywhere, as to how to remove these referrals without completely replacing the instances. I may end up deciding I need to rebuild the replica anyway, in hopes this will clear up my problems, if I don't get a solution to this behavior very quickly. Getting errors every time you try to access/modify ldap is hardly a desirable state of affairs.
    Anyone, help?

    I had master:4389 -> replica:4389. I added master:3389 as consumer. I promoted master:3389 to hub and added replica:3389. I promoted master:3389 to master as part of a step-by-step process to verify at each stage things were still working properly. Made master:4389 and master:3389 multimaster. Then either demoted master:4389 to hub or just disabled its replication agreements and shut it down. Then with only master:3389 and replica:3389 left, I changed the ports for both instances to get them back to port 4389.
    This left the master, now back to 4389, witha referral to master:4389 which was impossible to delete. And replica, now 4389, with referrals to both master:4389 and master:3389. Deleting the referrals didn't work, obviously.
    A little while ago, I returned the new master:4389 to master:3389, and replica:4389 to replica:3389 (as mentioned, there were other references to the port number which didn't change with a console port-number change), brought back the old master:4389, and deleted both of its replication agreements. Referrals weren't automatically removed. Deleted them manually again. They stayed gone... until I restarted the directory servers. Are you claiming the only way to remove a referral to a nonexistent master is to completely turn off replication at the consumer? That seems kind of stupid, considering the whole point of this promotion-demotion thing is to enable smooth and flexible reorganization of your replication architecture--if I have to disable replication in order to do it safely, that seems an extremely questionable requirement, and certainly not one that's advertised anywhere I've been able to find.
    And you can't make a server a master without promoting it. If you enable replication as a consumer in order to get the initial data populated from the old master, in order to change it to be a master itself, you are required to promote it to Hub, so it can add changelog configs, etc, and then promote it to be a master. I suppose if somehow I'd had any reason to know the built-in system for manipulating the replication architecture was this screwy, I might have chosen to turn off replication completely (which may or may not have removed the referral to the original master, I have no proof from anything I've done yet that it would work), then enable it again as a master.
    But why would I do that? Without some reason to believe things wouldn't work as advertised??

  • Cron service not available error

    A production issue appeared today at one of our customer
    sites.... and I am unable to login to CFadmin. I stop and restart
    the services, but still the same issue appears. See below.
    Anyone have any thoughts? Ideas? Has anyone ever seen this
    before??
    Error Occurred While Processing Request
    The Cron service is not available.
    This exception is usually caused by service startup failure.
    Please check your server configuration.
    The error occurred in Application.cfm: line 78
    -1 : Unable to display error's location in a CFML template.
    Please try the following:
    Check the ColdFusion documentation to verify that you are
    using the correct syntax.
    Search the Knowledge Base to find a solution to your problem.
    Browser Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2;
    SV1; .NET CLR 1.1.4322)
    Remote Address 127.0.0.1
    Referrer
    Date/Time 25-Apr-06 12:57 PM
    Stack Trace (click to expand)
    at
    cfApplication2ecfm105811000.runPage(C:\blackstone_final\cfusion\wwwroot\CFIDE\administrat or\Application.cfm:78)
    coldfusion.server.ServiceFactory$ServiceNotAvailableException:
    The Cron service is not available.
    at
    coldfusion.server.ServiceFactory.getCronService(ServiceFactory.java:118)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
    Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown
    Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
    Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at
    coldfusion.runtime.java.JavaProxy.invoke(JavaProxy.java:74)
    at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:1627)
    at
    cfApplication2ecfm105811000.runPage(C:\blackstone_final\cfusion\wwwroot\CFIDE\administrat or\Application.cfm:78)
    at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:152)
    at
    coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:343)
    at
    coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65)
    at
    coldfusion.filter.CfincludeFilter.include(CfincludeFilter.java:33)
    at
    coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:157)
    at
    coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:51)
    at coldfusion.filter.PathFilter.invoke(PathFilter.java:86)
    at
    coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:50)
    at
    coldfusion.filter.BrowserDebugFilter.invoke(BrowserDebugFilter.java:52)
    at
    coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:2 8)
    at
    coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38)
    at
    coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)
    at
    coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
    at coldfusion.CfmServlet.service(CfmServlet.java:105)
    at
    coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:78)
    at
    jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91)
    at
    jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
    at
    jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:257)
    at
    jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:527)
    at
    jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:204)
    at
    jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:349)
    at
    jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:457)
    at
    jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:295)
    at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)

    I'm receiving the exact same error as the original post. We tried every suggestion on this forum and still get the 'cron service not available' error. I've also checked and we don't have a neo-cron.xml file. We are using Coldfusion 8.
    The Cron service is not available.
    This exception is usually caused by service startup failure. Check your server configuration.
    The error occurred in Application.cfm: line 84
    Called from Application.cfm: line 4
    Called from Application.cfm: line 1
    -1: Unable to display error's location in a CFML template.
    Any help will be appreciated. Thanks.
    Crystal

  • Coldfusion classnot found&database connection

    Hi,
    This is my problem:
    Object Instantiation Exception.
    Class not found: com.drew.imaging.jpeg.JpegMetadataReader
    The error occurred in C:\CFusionMX7\wwwroot\jpegexif.cfm:
    line 11
    9 : <cfobject type="Java" class="java.io.File"
    Action="Create" name="fileReader">
    10 : <cfset myJPG = fileReader.init("c:\data\My
    Pictures\camera_nebula.jpg")>
    11 : <cfobject type="java"
    class="com.drew.imaging.jpeg.JpegMetadataReader"
    12 : Action="create" name="JpegMetadataReader">
    13 : <cfset myMetaData =
    JpegMetadataReader.readMetadata(myJPG)>
    Resources:
    * Check the ColdFusion documentation to verify that you are
    using the correct syntax.
    * Search the Knowledge Base to find a solution to your
    problem.
    Browser Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US;
    rv:1.8.1.1) Gecko/20061204 Firefox/2.0.0.1
    Remote Address 127.0.0.1
    Referrer
    Date/Time 15-Jan-07 02:26 PM
    Stack Trace
    at
    cfjpegexif2ecfm1646320632.runPage(C:\CFusionMX7\wwwroot\jpegexif.cfm:11)
    at
    cfjpegexif2ecfm1646320632.runPage(C:\CFusionMX7\wwwroot\jpegexif.cfm:11)
    java.lang.ClassNotFoundException
    at
    coldfusion.bootstrap.BootstrapClassLoader.loadClass(BootstrapClassLoader.java:229)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
    at coldfusion.runtime.CFPage.createObject(CFPage.java:5779)
    at coldfusion.runtime.CFPage.CreateObject(CFPage.java:5673)
    at
    coldfusion.tagext.lang.ObjectTag.doStartTag(ObjectTag.java:195)
    at
    coldfusion.runtime.CfJspPage._emptyTag(CfJspPage.java:1915)
    at
    cfjpegexif2ecfm1646320632.runPage(C:\CFusionMX7\wwwroot\jpegexif.cfm:11)
    at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:152)
    at
    coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:349)
    at
    coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65)
    at
    coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:225)
    at
    coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:51)
    at coldfusion.filter.PathFilter.invoke(PathFilter.java:86)
    at
    coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:69)
    at
    coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:2 8)
    at
    coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38)
    at
    coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)
    at
    coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
    at
    coldfusion.filter.RequestThrottleFilter.invoke(RequestThrottleFilter.java:115)
    at coldfusion.CfmServlet.service(CfmServlet.java:107)
    at
    coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:78)
    at
    jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91)
    at
    jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
    at
    jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:257)
    at
    jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:541)
    at
    jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:204)
    at
    jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:318)
    at
    jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:426)
    at
    jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:264)
    at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
    Please help me.

    Did you put JpegMetadataReader in the classpath in the
    Coldfusion Administrator?

  • Webservice API call

    I have been trying to make Webservice call to "https://webservice.exacttarget.com/etframework.wsdl" using coldfusion server 9.0 without much success. My code recognizes WSDL and it methods but When I call method it throws following error:
    Web service operation Describe with parameters {{DESCRIBEREQUESTS={[Lcom.et.client.ObjectDefinitionRequest;@78b0e1}}} cannot be found.
    Please suggest.....
    MyCode CFM file code:
    Package Class: "com.et.client"
    <cfsilent>
        <cffunction name="head1" access="private" returntype="Any" output="false"
                    hint="Return the header needed to make an Omniture web service request as a SOAPHeaderElement object">
            <cfargument name="strUsername" type="String" required="true" />
            <cfargument name="strSecret" type="String" required="true" />
            <cfscript>
                // Unique random number
                var strNonce = createUUID();
                var strCreated  = DateFormat(Now(),'YYYY-mm-dd H:mm:ss');
                var strPassword = arguments.strSecret;
                // Start to build header
                var objHeader = CreateObject("java", "org.apache.axis.message.SOAPHeaderElement");
                var nodeUserToken = "";
                var nodePassword = "";
                // Construct XML structure with code
                objHeader.init("http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd", "wsse:Security");
                objHeader.setMustUnderstand(1);
                objHeader.setActor("");
                nodeUserToken = objHeader.addChildElement("wsse:UsernameToken");
                nodeUserToken.setAttribute("wsu:Id", "User");
                nodeUserToken.addChildElement("wsse:Username").setValue(arguments.strUsername);
                nodePassword = nodeUserToken.addChildElement("wsse:Password");
                nodePassword.setAttribute("Type", "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0##Passwo rdText");
                nodePassword.setValue(strPassword);
                nodeUserToken.addChildElement("wsse:Nonce").setValue(strNonce);
                nodeUserToken.addChildElement("wsu:Created").setValue(strCreated);
            </cfscript>
            <cfreturn objHeader />
        </cffunction>
        <cfscript>
            objHeader = head1("test", "emails@3");
            objService = CreateObject("webservice", "https://webservice.exacttarget.com/etframework.wsdl");
            objService.setHeader(objHeader);
                                    definitionRequest =  createObject("java", "com.et.client.ObjectDefinitionRequest").init();
                                    definitionRequest.setObjectType("Account");
                                    DefinitionRequestMsg  = StructNew();                               
                                    defre = arraynew(1);
                                    defre[1] =definitionRequest;
                                    DefinitionRequestMsg.DescribeRequests = JavaCast("com.et.client.ObjectDefinitionRequest[]",defre);
       </cfscript>
    </cfsilent>
    </br>
    SubKey ::: <cfdump var="#sub.SubscriberKey#">
    <br/>
    <p>
    Type ::: <cfdump var="#definitionRequest.getObjectType()#">
    <br/>
    <p>
    DefinitionRequestMsg ::: <cfdump var="#DefinitionRequestMsg.DescribeRequests[1].ObjectType#">
    <br/>
    <p>
    Methods ::: <cfdump var="#objService#">
    <br/>
    <cfscript>
    objService.Describe(DefinitionRequestMsg);
    resp = getSOAPResponse(objService);
    OutPut:
    SubKey :::   Jon_Doe 
    Type :::   Account
    DefinitionRequestMsg :::   Account
    Methods ::: 
    object of com.exacttarget.wsdl.partnerAPI.SoapBindingStub
    Class Name
    com.exacttarget.wsdl.partnerAPI.SoapBindingStub
    Methods
    Method
    Return Type
    configure(com.exacttarget.wsdl.partnerAPI.ConfigureRequestMsg)
    com.exacttarget.wsdl.partnerAPI.ConfigureResponseMsg
    create(com.exacttarget.wsdl.partnerAPI.CreateRequest)
    com.exacttarget.wsdl.partnerAPI.CreateResponse
    delete(com.exacttarget.wsdl.partnerAPI.DeleteRequest)
    com.exacttarget.wsdl.partnerAPI.DeleteResponse
    describe(com.exacttarget.wsdl.partnerAPI.DefinitionRequestMsg)
    com.exacttarget.wsdl.partnerAPI.DefinitionResponseMsg
    execute(com.exacttarget.wsdl.partnerAPI.ExecuteRequest[])
    com.exacttarget.wsdl.partnerAPI.ExecuteResponseMsg
    extract(com.exacttarget.wsdl.partnerAPI.ExtractRequest[])
    com.exacttarget.wsdl.partnerAPI.ExtractResponseMsg
    getSystemStatus(com.exacttarget.wsdl.partnerAPI.SystemStatusRequestMsg)
    com.exacttarget.wsdl.partnerAPI.SystemStatusResponseMsg
    perform(com.exacttarget.wsdl.partnerAPI.PerformRequestMsg)
    com.exacttarget.wsdl.partnerAPI.PerformResponseMsg
    query(com.exacttarget.wsdl.partnerAPI.QueryRequestMsg)
    com.exacttarget.wsdl.partnerAPI.QueryResponseMsg
    retrieve(com.exacttarget.wsdl.partnerAPI.RetrieveRequestMsg)
    com.exacttarget.wsdl.partnerAPI.RetrieveResponseMsg
    schedule(com.exacttarget.wsdl.partnerAPI.ScheduleRequestMsg)
    com.exacttarget.wsdl.partnerAPI.ScheduleResponseMsg
    update(com.exacttarget.wsdl.partnerAPI.UpdateRequest)
    com.exacttarget.wsdl.partnerAPI.UpdateResponse
    versionInfo(com.exacttarget.wsdl.partnerAPI.VersionInfoRequestMsg)
    com.exacttarget.wsdl.partnerAPI.VersionInfoResponseMsg
    Fields
    Field
    Value
    java.lang.String ENDPOINT_ADDRESS_PROPERTY
    javax.xml.rpc.service.endpoint.address
    java.lang.String PASSWORD_PROPERTY
    javax.xml.rpc.security.auth.password
    java.lang.String SESSION_MAINTAIN_PROPERTY
    javax.xml.rpc.session.maintain
    java.lang.String USERNAME_PROPERTY
    javax.xml.rpc.security.auth.username
    Parent Class
    The web site you are accessing has experienced an unexpected error.
    Please contact the website administrator.
    The following information is meant for the website developer for debugging purposes.
    Error Occurred While Processing Request
    Web service operation Describe with parameters {{DESCRIBEREQUESTS={[Lcom.et.client.ObjectDefinitionRequest;@78b0e1}}} cannot be found.
    The error occurred in /Users/bgogineni/ColdFusion/wwwroot/ET/index2.cfm: line 84
    82 : <br/> 83 : <cfscript>
    84 :  objService.Describe(DefinitionRequestMsg); 85 :  resp = getSOAPResponse(objService); 86 :
    Resources:
    Check the ColdFusion documentation to verify that you are using the correct syntax.
    Search the Knowledge Base to find a solution to your problem.
    Browser 
    Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1.9) Gecko/20100315 Firefox/3.5.9
    Remote Address 
    127.0.0.1
    Referrer 
    Date/Time 
    13-May-10 10:27 PM
    Stack Trace
    at cfindex22ecfm949006999.runPage(/Users/bgogineni/ColdFusion/wwwroot/ET/index2.cfm:84)                  
    coldfusion.xml.rpc.ServiceProxy$ServiceMethodNotFoundException: Web service operation Describe with parameters {{DESCRIBEREQUESTS={[Lcom.et.client.ObjectDefinitionRequest;@78b0e1}}} cannot be found. at coldfusion.xml.rpc.ServiceProxy.invokeImpl(ServiceProxy.java:256) at coldfusion.xml.rpc.ServiceProxy.invoke(ServiceProxy.java:154) at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2360) at cfindex22ecfm949006999.runPage(/Users/bgogineni/ColdFusion/wwwroot/ET/index2.cfm:84) at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:231) at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:416) at coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65) at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:363) at coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:48) at coldfusion.filter.MonitoringFilter.invoke(MonitoringFilter.java:40) at coldfusion.filter.PathFilter.invoke(PathFilter.java:87) at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:70) at coldfusion.filter.BrowserDebugFilter.invoke(BrowserDebugFilter.java:74) at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:28) at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38) at coldfusion.filter.NoCacheFilter.invoke(NoCacheFilter.java:46) at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38) at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22) at coldfusion.filter.CachingFilter.invoke(CachingFilter.java:53) at coldfusion.CfmServlet.service(CfmServlet.java:200) at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89) at jrun.servlet.FilterChain.doFilter(FilterChain.java:86) at coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:42) at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46) at jrun.servlet.FilterChain.doFilter(FilterChain.java:94) at jrun.servlet.FilterChain.service(FilterChain.java:101) at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:106) at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42) at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:286) at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:543) at jrun.servlet.http.WebService.invokeRunnable(WebService.java:172) at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:320) at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428) at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:266) at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
    Debugging Information
    ColdFusion Server Enterprise
    9,0,0,251028
    Template
    /ET/index2.cfm
    Time Stamp
    13-May-10 10:27 PM
    Locale
    English (US)
    User Agent
    Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1.9) Gecko/20100315 Firefox/3.5.9
    Remote IP
    127.0.0.1
    Host Name
    localhost
    Execution Time  
    Total Time
    Avg Time
    Count
    Template
    15 ms
    15 ms
    1
    /Users/bgogineni/ColdFusion/wwwroot/ET/index2.cfm
    14 ms
    STARTUP, PARSING, COMPILING, LOADING, & SHUTDOWN
    29 ms
    TOTAL EXECUTION TIME
    red = over 250 ms average execution time   
    Exceptions  
    22:27:34.034 - Application Exception - in /Users/bgogineni/ColdFusion/wwwroot/ET/index2.cfm : line 84
        Web service operation Describe with parameters {{DESCRIBEREQUESTS={[Lcom.et.client.ObjectDefinitionRequest;@78b0e1}}} cannot be found.    
    Thanks
    -GBK

    We do a lot of work with web service APIs using coldfusion.  A while ago, we decided it was much easier (especially when dealing with complex web service invocations) to switch to posting/receiving the raw XML SOAP messages in order to exchange data with the remote web service.  Ben Nadel has a great article that outlines what is involved:
    http://www.bennadel.com/blog/1809-Making-SOAP-Web-Service-Requests-With-ColdFusion-And-CFH TTP.htm
    What's more, you can use a lot of free/OSS tools to generate a template for the Request/Response SOAP messages, so it really just winds up being a matter of creating your XML in a cfsavecontent block and adding your variables in place of the sample text.  We use SOAPSonar from Crosscheck networks (http://www.crosschecknet.com/products/soapsonar.php) - they have a free "personal" edition that will parse a WSDL and generate the resulting XML SOAP messages that you can use as a template.
    The only major issue is you have to watch out for the XML namespaces in the response that comes back from the web service.  ColdFusion (not surprisingly) has a major issue with extracting data using XMLSearch() from an XML node that includes a name space.  There are a couple of work-arounds - you could use a local-name() xpath method to perform a namespace-agnostic search, or you could use regular expressions to just strip all the namespace data out of the XML and parse using ColdFusion.
    Anyway, the implementation winds up looking something like this:
    <!--- build Soap XML --->
    <cfsavecontent variable="sSOAPBody">
    <cfoutput>
    <?xml version="1.0" encoding="utf-8"?>
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body>
         <myMethod>
              <firstArgument>#MyValue#</firstArgument>
         </myMethod>
    </soap:Body>
    </soap:Envelope>
    </cfoutput>
    </cfsavecontent>
    <!--- Send SOAP data using CFHTTP --->
    <cfhttp url="URL of Web service (e.g. .asmx, .cfc - no WSDL)" method="post">
    <cfhttpparam type="header" name="SOAPAction" value="http://target_namespace_goes_here/method">
    <cfhttpparam type="header" name="accept-encoding" value="no-compression">
    <cfhttpparam type="xml" value="#trim(sSOAPBody)#">
    </cfhttp>
    <!--- Parse XML Response in CFHTTP.FileContent --->

  • Error Occurred While Processing Request

    Hi I am getting this message when attempting to open
    my website.
    Error Occurred While Processing Request
    Cannot find CFML template for custom tag header.
    ColdFusion attempted looking in the tree of installed custom
    tags but did not find a custom tag with this name.
    Please try the following:
    Enable Robust Exception Information to provide greater detail
    about the source of errors. In the Administrator, click Debugging
    & Logging > Debugging Settings, and select the Robust
    Exception Information option.
    Check the ColdFusion documentation to verify that you are
    using the correct syntax.
    Search the Knowledge Base to find a solution to your problem.
    Browser Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1)
    Remote Address 127.0.0.1
    Referrer
    Date/Time 04-Apr-07 02:19 PM
    Can someone help....
    Thanks,
    Art

    It means that you are attempting to run a custom tag bue CF
    cannot find de .cmf file.
    The .cfm file must be in the same folder that is called or in
    the custom tag folders in the CF instalation.
    Regards

Maybe you are looking for