Coldfusion 10 ODBC Services

I have a server with an installation of ColdFusion 10 however the ODBC Services did not get installed with the initial installation. Is there a simple, manual method for installing ODBC Services without uninstalling CF and then reinstalling with that option selected? I have tried running the installation over the current one but with the Configure Installer window, it has Server Configuration greyed out as it has found a current installation. It then gives an option of either EAR file or WAR file in the JEE configuration. Not sure which to choose so that's why I ask the question of a manual install.
Thanks in advance. This is running on a Windows Server 2008 R2 64-bit box.
Dave

Here is the script to install ODBC services
<cfscript>
  //login using admin
  //createObject("component","cfide.adminapi.administrator").login("administrator_password" );
  createObject("component","cfide.adminapi.administrator").login("admin");
  //instantiate datasource object
  myObj = createObject("component","cfide.adminapi.datasource");
</cfscript>
To Install ODBC Services:
<cfscript>
         writeOutput("Installing ODBC Services...<br>");
         returnValue = myObj.installODBCservice();
         writeOutput("ODBC Services installed");
</cfscript>
Regards,
Anit Kumar

Similar Messages

  • The ColdFusion ODBC Server service has not been installed, HELP!

    My applications are crashing because recently we rebuilt our server and coldfusion will not install the ODBC server srvice that I need for our access databases. I can still use the Access with Unicode driver but my applications are crashing where there is a text input field and more that 255 characters is being entered. The field is of 'memo' value already in access which is sussposed to support up to 65,000 characters. Does anyone know how to install this because I have reinstalled CF 8 like 3 times on our server adn the only answer I have found to fixing my errors is taht the Unicode driver is crashing them but I cnat use regular access driver because the ODBC service wont install. Please help adn dont ever use access db if you dont have to.
    Thanks,

    It worked finally, got it to work. This link is what worked for me but I couldnt get it ot work before. http://kb2.adobe.com/cps/402/kb402637.html
    So i exchange the datasource.cfc files like it says then I just put the installODBC.cfm in the CFIDE folder and went to http://myserver/CFIDE/installODBC.cfm and ran the application but had abother problem with authentication ,"the user does not have permission" so I opeened the installODBC.cfm in an editor and noticed that the line said,     adminObj.login("admin"); which wanted a default password for the system setup but if you have your own password setup for security reasons (which you should) it wont run. So go into you CFAdmin, then go to Security > Administrator > then select no authentication needed the try to reload the installODBC.cfm page and it will execute and say that "ODBC Services installed". Then change back to having a single password needed.
    Good Luck if you ever have this stupid problem...

  • ODBC service problem on ColdFusion MX7

    We just reinstalled ColdFusion MX7 on a Windows 2000 server.
    This machine used to have an old version ColdFusion MX 6 on it, but
    that has been uninstalled. There seem to be remenants from the
    uninstallation left on the machine, but the MX version does not
    appear in the add/remove programs list, or in the services list
    anymore.
    When attempting to use ODBC datasources, the following error
    is encountered:
    java.sql.SQLException: [Macromedia][SequeLink JDBC
    Driver][SequeLink Server]The specified data source is not defined.
    The root cause was that: java.sql.SQLException:
    [Macromedia][SequeLink JDBC Driver][SequeLink Server]The specified
    data source is not defined
    If I go to edit or verify a ODBC source in the administrator,
    the following error is returned:
    The ColdFusion MX 7 ODBC Server service is not running or has
    not been installed.
    I have tried using the SequeLink Setup
    CFServiceController.exe program to reinstall the ODBC services, but
    every time it installs "ColdFusion MX ODBC Agent" and "ColdFusion
    MX ODBC Server" it should be installing MX 7, not MX.
    When it installs the wrong version, the services will not
    start, instead they say the specified file cannot be found.
    Any ideas?

    Additional development, the server service is intermittently
    crashing, resulting in messages like this one:
    Server Error
    The server encountered an internal error and was unable to
    complete your request.
    Could not connect to JRun Server.

  • CF9: Unable to install ODBC service

    I am trying to install CF9 (developer edition) in Tomcat 7 as a .war file on Windows XP (32-bit). I go through the installation process to generate the cfusion.war file without any problems. I place the cfusion.war file in my webapps directory and start Tomcat. The server comes up fine - still no issues.
    I then go to http://localhost:8080/cfusion/CFIDE/administrator/ to complete the installation.  This results in errors in the logs about installing ODBC:
    From webapps/cfusion/WEB-INF/cfusion/logs/migration.log:
    "Severity","ThreadID","Date","Time","Application","Message"
    "Information",""http-bio-8080"-exec-1","02/10/12","06:07:00",,"C:\Documents and Settings\gallen\forekicks\apache-tomcat-7.0.14\webapps\cfusion\WEB-INF\cfusion\logs\migra tion.log initialized"
    "Error",""http-bio-8080"-exec-1","02/10/12","06:07:00","CFADMIN","Could not install the ODBC service. - Unable to load library"
    From webapps/cfusion/WEB-INF/cfusion/logs/migrationException.log:
    coldfusion.tagext.lang.RegistryException: Unable to load library
            at coldfusion.tagext.lang.RegistryTag.doStartTag(RegistryTag.java:100)
            at coldfusion.runtime.CfJspPage._emptyTcfTag(CfJspPage.java:2722)
            at cfdatasource2ecfc1425555572$funcINSTALLODBCSERVICE.runFunction(E:\cf9_final\cfusion\wwwro ot\CFIDE\adminapi\datasource.cfc:1015)
            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:490)
            at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:336)
            at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2360)
            at cffinish2ecfm369434798._factor6(E:\cf9_final\cfusion\wwwroot\CFIDE\administrator\setup\fi nish.cfm:314)
            at cffinish2ecfm369434798.runPage(E:\cf9_final\cfusion\wwwroot\CFIDE\administrator\setup\fin ish.cfm:1)
            at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:231)
            at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:416)
            at coldfusion.runtime.CfJspPage._emptyTcfTag(CfJspPage.java:2722)
            at cfwizard2ecfm1164273531._factor18(E:\cf9_final\cfusion\wwwroot\CFIDE\administrator\cftags \wizard.cfm:226)
            at cfwizard2ecfm1164273531._factor19(E:\cf9_final\cfusion\wwwroot\CFIDE\administrator\cftags \wizard.cfm:225)
            at cfwizard2ecfm1164273531._factor21(E:\cf9_final\cfusion\wwwroot\CFIDE\administrator\cftags \wizard.cfm:223)
            at cfwizard2ecfm1164273531._factor14(E:\cf9_final\cfusion\wwwroot\CFIDE\administrator\cftags \wizard.cfm)
            at cfwizard2ecfm1164273531._factor33(E:\cf9_final\cfusion\wwwroot\CFIDE\administrator\cftags \wizard.cfm:146)
            at cfwizard2ecfm1164273531.runPage(E:\cf9_final\cfusion\wwwroot\CFIDE\administrator\cftags\w izard.cfm:1)
            at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:231)
            at coldfusion.filter.CFVariablesScopeFilter.invoke(CFVariablesScopeFilter.java:56)
            at coldfusion.tagext.lang.ModuleTag.doAfterBody(ModuleTag.java:352)
            at cfindex2ecfm718213779.runPage(E:\cf9_final\cfusion\wwwroot\CFIDE\administrator\setup\inde x.cfm:44)
            at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:231)
            at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:416)
            at coldfusion.runtime.CfJspPage._emptyTcfTag(CfJspPage.java:2722)
            at cfApplication2ecfm1161156468._factor7(E:\cf9_final\cfusion\wwwroot\CFIDE\administrator\Ap plication.cfm:242)
            at cfApplication2ecfm1161156468.runPage(E:\cf9_final\cfusion\wwwroot\CFIDE\administrator\App lication.cfm:1)
            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.CfincludeFilter.include(CfincludeFilter.java:33)
            at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:261)
            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.LicenseFilter.invoke(LicenseFilter.java:27)
            at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:70)
            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.filter.CachingFilter.invoke(CachingFilter.java:53)
            at coldfusion.CfmServlet.service(CfmServlet.java:200)
            at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:304)
            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.j ava:243)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
            at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:240)
            at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:164)
            at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:462)
            at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
            at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
            at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:563)
            at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
            at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:399)
            at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:317)
            at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.ja va:204)
            at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:311)
            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)
    I have tried installing on two different PCs, but get the same problem on both.
    I have searched but haven't come up with an solution to this problem. Can anyone help?
    Thanks!

    Well, I found this link (http://www.elliottsprehn.com/cfbugs/bugs/79023) that suggests installing JRun. It's almost the exact same problem I have. So I did that.
    When I now try to start the server I get an Error 193.  In the event log, I see this:
    The ColdFusion 9 ODBC Server service failed to start due to the following error:
    ColdFusion 9 ODBC Server is not a valid Win32 application.
    It looks like progress, but I'm still not there yet.
    I have verified that I have downloaded 32-bit versions of both ColdFusion and JRun.  And I am running on a 32-bit system (XP). So I'm not sure where exactly this error is coming from or what it means.
    Help?!?

  • The collection you specified does not exists or is not registered with the ColdFusion Search Service.

    While upgrading to CF7 from CF5, I am creating the new collections from Cf Admin. After creating, I indexed it from cf admin and then trying to search for the documents in that collection, and i am getting the following error. This was working yesterday. I have cheched the logs etc and nothing seems helpful in discovering what the issue is.
    Document count is 11,745 and the size is 25,948 kb, which is not too much for a collection. I have tried to restart Cold Fusion Search Services and then ColdFusion Application services, but all in vain.
    Any help on this would be greatly appreciated.
    Detail
    The collection you specified does not exists or is not registered with the ColdFusion Search Service.
    Message
    The collection rc_collectiom does not exist.
    StackTrace
    coldfusion.tagext.search.CollectionDoesNotExistException: The collection rc_collectiom does not exist. at coldfusion.tagext.search.SearchTag.verifyLocale(SearchTag.java:819) at coldfusion.tagext.search.SearchTag.doSearch(SearchTag.java:200) at coldfusion.tagext.search.SearchTag.doStartTag(SearchTag.java:159) at coldfusion.runtime.CfJspPage._emptyTag(CfJspPage.java:1915) at cfeFull2dText2dReDirect2ecfm511389924.runPage(C:\Inetpub\wwwroot\External\FullText\eFull- Text-ReDirect.cfm:43) at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:152) at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:349) at coldfusion.runtime.CfJspPage._emptyTag(CfJspPage.java:1915) at cfApplication2ecfc179940445$funcONREQUEST.runFunction(C:\Inetpub\wwwroot\External\Applica tion.cfc:114) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:344) at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:290) at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:254) at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:56) at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:207) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:169) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:194) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:146) at coldfusion.runtime.AppEventInvoker.invoke(AppEventInvoker.java:72) at coldfusion.runtime.AppEventInvoker.onRequest(AppEventInvoker.java:178) at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:215) at coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:51) at coldfusion.filter.PathFilter.invoke(PathFilter.java:86) at coldfusion.filter.LicenseFilter.invoke(LicenseFilter.java:27) at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:69) 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.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)

    So at last I figured this out myself and found a temporary resolution for this kind of problem. Majority of the times try creating the Collection through Cfcollection tag and then index it using cfindex tag, rather than performing these operations from the Cold Fusion 7 administrator.
    The only reason I can think of which might have caused the issue is – I have thousands of documents in the collection which I indexed. So while indexing the page gets expired. So I tried again to index it. This time the collection got indexed fairly quickly and I got the response that the collection has been indexed successfully. So for the first time when I tried to index the collection, there might be some piece of code, which did not register the collection properly and hence giving this error.
    When I did the same function using the code, with exactly same set of documents, it did not throw any error, even when I executed it for the first time. So the collection indexed properly.
    I am not claiming that technically this theory is correct, but this seems to be the problem.
    If someone knows technically what has happened at the back, please share it. For the time being, this is the fix – if you experience any problem in creating/indexing collections through cfadmin in CF7, do it thorough code.

  • Cannot connect to ColdFusion Data/Service in Flash Builder 4

    Hello,
    I am attempting to connect to a ColdFusion data service using the Connect to Data/Service for Flash4 window, however, when I go to select service type I only see HTTP or XML as options. I have set-up my Flash project with CF Flash Remoting and when I type http://localhost:8500/flashservices/gateway into a browser I get a blank page, which I think means that the Flash gateway is working. I am going crazy trying to figure this out, any help would be greatly appreciated!
    Thanks!

    If you been a customer long enough call and ask for a unlock code for your phone and get a temporary sim to use (similar to how walmart here has straight talk) and use that. You will of course need to buy the sim and buy the time you use. This way it will avoid big charges on your bill etc..  So just call verizon and ask for a unlock code and you will take out your current phone sim (put it somewhere safe) and put the new sim in and turn phone on and put the unlock code in. Make sure the sim you get it set to use the type of network your phone is. (look at the specs of your phone) good luck.

  • Coldfusion 8 service will not start.  Server log is ending with "Starting license..." (Emergency)

    Our server has gone down and the Coldfusion 8 service will not start.  There is no information in any of the logs for anything today since its gone down.  Ive checked the root logs directory as well as the runtime logs directory.
    The server.log is the only file being updated and it shows "Starting logging..." and then "Starting license..." and hangs.  The service does not start and the log gets nothing more after this point.  Memory continues to go up slowly, we've increased the start timeout tremendously with no effect.  There is little to no CPU usage.
    Our server is licensed and has never had this problem before.  It is the standard version.
    Our server is completely down and we are losing clients.  From what we can tell a windows update occurred, which we have since removed in case it was the issue, and when the server restarted CF did not come back.  We have been working on this for hours with no results.
    Please help and let me know anything you may need which will help diagnose our issue.
    Thanks

    So that others who see this know the solution.
    I started Coldfusion from the command line: c:\Coldfusion8\runtime\bin\jrun -start coldfusion.  This brought up all the commands as it worked through them.  From that we found that CF was looking for license.properties in the C:\Coldfusion8\runtime\lib folder.  We found a copy in the C:\Coldfusion8\lib folder.  For now we've left it running under my account and then after hours are going to try and see if the service will run now that we've copied that properties file to the other direcory.
    Probably simple to everyone on here but was new and odd to us.  Wanted to put what we found out here in case it happens to anyone else.

  • What can be done when Cold Fusion 9 ODBC Services will not install?

    What can be done when 64-bit Cold Fusion 9 ODBC Service will not install on a Windows Server 2008-R2 64-bit machine? Yes, most of the things in other discussions have been tried.

    Hi GDMVU,
    Save the below code as CF9_RemoveOdbc.cfm
    <cfscript>
      //login using admin 
      //createObject("component","cfide.adminapi.administrator").login("administrator_password" );
      createObject("component","cfide.adminapi.administrator").login("admin");            
      //instantiate datasource object
      myObj = createObject("component","cfide.adminapi.datasource");
    </cfscript>
    <cfscript> 
         writeOutput("Removing ODBC Services...<br>"); 
         returnValue = myObj.removeODBCservice(); 
         writeOutput("ODBC Services removed"); 
    </cfscript>
    Save the below code as CF9_InstallOdbc.cfm
    <cfscript>
      //login using admin 
      //createObject("component","cfide.adminapi.administrator").login("administrator_password" );
      createObject("component","cfide.adminapi.administrator").login("admin");
      //instantiate datasource object
      myObj = createObject("component","cfide.adminapi.datasource");
    </cfscript>
    <cfscript> 
             writeOutput("Installing ODBC Services...<br>"); 
             returnValue = myObj.installODBCservice(); 
             writeOutput("ODBC Services installed"); 
    </cfscript>
    Now try the following steps:-
    Change admin password in above .cfm pages for your CF 9 server.
    Use RemoveObdc cfm page first to remove any existing faulty/corrupted Odbc services.
    Use InstallOdbc Odbc services to install Odbc services there.
    Hope this helps.
    Regards,
    Anit Kumar

  • CF8 Verity "The collection you specified does not exist or is not registered with the ColdFusion Search Service."

    I'm running ColdFusion 8 Enterprise on linux. I'm able to
    create collections and index them through cfadmin as well as in cfm
    application pages, but when trying to search I get the error
    &quot;The collection you specified does not exist or is not
    registered with the ColdFusion Search Service.&quot;
    I'm using the collection name in cfsearch and not the full
    path.

    Would I have been better off posting this in the General
    Discussion section? Could the moderators move it if so,
    please?

  • Beta 2: Connect to ColdFusion Data Service issue

    I installed Beta 2 and am re-doing my data services for a Beta 1 app now since package names, etc. have changed in Beta 2. When I go to the Connect to ColdFusion Data Service wizard and point to my .cfc, the accompanying"Service Operations" dialog box is blank, it no longer shows any of the operations in my .cfc, so I'm not able to select any.
    Why is it doing this?

    That is the right directory. Not sure as to why that file is not there, but method-access-level tag that I was mentioning, if it is set to remote, then you can see only those functions that have access = "remote", so in all probability wherever that value is it is set to remote (probably in services-config.xml itself, are you using 8.01 or 8.0?)
    So, just change the access attribute in cffunction to remote, you should be able to see the functions.
    Thanks
    -Sunil

  • ColdFusion Web Service

    The core of our business logic is in ColdFusion Web Services. These services have been in use for some time and can be used in other ColdFusion apps with no problems. I am now trying to leverage these services with HTMLDB v2.0.0.00.49. I have been able to add them into the app as a web service, however, when I create a form on a simple service (a return value only, no input parameter) and run the form I get the following error:
    ORA-06502: PL/SQL: numeric or value error: character string buffer too small ORA-06512: at "FLOWS_020000.WWV_FLOW_WEB_SERVICES", line 707 ORA-30625: method dispatch on NULL SELF argument is disallowed
    I have looked through this forum and others for a couple of days now and have not been able to find a solution. Can anyone point be in the right direction?
    Thanks,
    -Russ

    Russ,
    Did you find a solution to this issue? All of a sudden we are getting a similar message with a web service we've been using in production for some time now.
    Thanks,
    Noelle

  • CF 8 ODBC service needed after 9 upgrade

    We recently upgraded from CF8 to CF9 and for some reason CF9 will not work unless the CF8 ODBC service is running. If we stop the CF8 ODBC service none of our pages load. Anyone experience this before?

    The JRun logs are in eithe [JRun install path]/logs for a multi-server install, or - I think - [CF dir]/WEB-INF/runtime/logs (or something like that) for a stand-alone install.  Search for *.log & you'll find 'em.
    If you were to steer clear of the Datasource screen in CFAdmin, does it still "start to hang" (does it "hang", or does it just "start to hang"? ;-)
    What sort of DBs are your ODBC datasources for?  Any reason you're using ODBC at all?
    Adam

  • Publish ColdFusion Web Service with Complex Return Type

    Hi,
    I am working on a project to publish couple ColdFusion
    webservices. The cosumer of those webservices is a Java
    application.
    One of my webservice need return an object. Here are demo
    codes:
    The returned ojbect is AddressRespond
    AddressRespond.cfc:
    <cfcomponent>
    <cfproperty name="addresses" type="Address[]" />
    <cfproperty name="myLearnException" type="MyException"
    />
    </cfcomponent>
    Address.cfc:
    <cfcomponent>
    <cfproperty name="city" type="string" />
    <cfproperty name="state" type="string" />
    </cfcomponent>
    MyException.cfc:
    <cfcomponent>
    <cfproperty name="code" type="string" />
    <cfproperty name="reason" type="string" />
    </cfcomponent>
    If the webservice "cosumer" is a ColdFusion application,
    there is no any problems. But the Java application doesn't
    understand the type of addresses in the WSDL file which is
    gernerated by ColdFusion:
    <complexType name="Address">
    <sequence>
    <element name="city" nillable="true"
    type="xsd:string"/>
    <element name="state" nillable="true"
    type="xsd:string"/>
    </sequence>
    </complexType>
    <complexType name="MyException">
    <sequence>
    <element name="code" nillable="true"
    type="xsd:string"/>
    <element name="reason" nillable="true"
    type="xsd:string"/>
    </sequence>
    </complexType>
    <complexType name="AddressRespond">
    <sequence>
    <element name="addresses" nillable="true"
    type="tns1:ArrayOf_xsd_anyType"/>
    <element name="MyException" nillable="true"
    type="impl:MyException"/>
    </sequence>
    </complexType>
    Could anybody give me any idea on how to resolve this
    problem?
    Thanks!

    The web service is actually the function, not the cfc and you
    didn't show a function.
    My own opinion is that since webservices by definition should
    be available to any calling app (cold fusion, .net, flash, etc),
    whatever gets returned from the method should be as universally
    recognizable as possible. This generally means text, numbers,
    boolean, or xml.

  • Flex and ColdFusion web services

    I have a simple CFC created that encompasses a function that
    has a query. I want to be able to use the web service in my Flex
    app, but I am having issues with getting the information from the
    CFC.
    My function is simple:
    <cffunction name="listBySubject" access="remote"
    returntype="query" output="false" hint="I grab the newest
    stories">
    <cfargument name="subject" type="string"
    required="yes">
    <cfquery name="list" datasource="#myDataSource#">
    SELECT linktext, story, photo
    FROM pressreleases
    WHERE rss_feed = <cfqueryparam
    value="#arguments.subject#" />
    OR rss_feed2 = <cfqueryparam value="#arguments.subject#"
    />
    ORDER BY releaseDate DESC
    </cfquery>
    <cfreturn list>
    </cffunction>
    How can I modify that to use in a Flex app's
    <mx:WebService>? Do I have to use cfsavecontent and return
    XML or can I keep it a query and use it with an ArrayCollection?
    Something like:
    <cffunction name="listBySubject" access="remote"
    returntype="xml" output="false" hint="I grab the newest
    stories">
    <cfargument name="subject" type="string"
    required="yes">
    <cfquery name="list" datasource="prmc-media">
    SELECT linktext, story, photo
    FROM pressreleases
    WHERE rss_feed = <cfqueryparam
    value="#arguments.subject#" />
    OR rss_feed2 = <cfqueryparam value="#arguments.subject#"
    />
    ORDER BY releaseDate DESC
    </cfquery>
    <cfsavecontent variable="storyList">
    <magStories>
    <cfoutput query="list">
    <magStory id="#ISBN#">
    <linkURL>#XMLFormat(linkURL)#</booktitle>
    <story>#XMLFormat(story)#</teaser>
    <photo>#XMLFormat(photo)#</price>
    </magStory>
    </cfoutput>
    </magStories>
    </cfsavecontent>
    <cfreturn storyList>
    </cffunction>
    Locally I can use RemoteObject all day with the way it is
    normally, but since UofMichigan has BlueDragon, I am forced to
    convert my apps to WebServices.

    Hi,
    Here is how to do the web services in coldfsuion.
    http://www.quackit.com/coldfusion/tutorial/coldfusion_web_services.cfm
    No in flex you call the webservices like:
    <mx:WebService id="webService"
    wsdl="
    http://www.flash-mx.com/ws/months.cfc?wsdl">
    <mx:operation name="getMonths"
    resultFormat="object"
    result="getMonths_result(event);"
    fault="getMonths_fault(event);" />
    </mx:WebService>
    http://blog.flexexamples.com/2008/04/14/calling-a-simple-web-service-from-flex-using-the-w ebservice-class/
    I hope this give you the idea.
    Rgds
    JFB

  • Coldfusion Data/Services INT bug?

    Hi, I'm have some troubles with data types in FLASH Builder 4 beta build 235740
    =========================================
    My coldfusion component takes a primary key called "id" of type int
    <!--- FLEX Vars To CFC --->
    <cfargument name="id" required="yes" type="int"/>
    =========================================
    I've imported the service yet the Data/Services tab shows the function as....
    UserManager
        Data Types
        DisplayUser( id : Object ) : Object
    =========================================
    Which I would expect....
    UserManager
        Data Types
        DisplayUser( id : Int ) : Object
    =========================================
    IF I change my data type in my coldfusion component to be string
    <!--- FLEX Vars To CFC --->
    <cfargument name="id" required="yes" type="string"/>
    =========================================
    save and refresh my Data/Services Tab I get the following
    UserManager
        Data Types
        DisplayUser( id : String ) : Object
    =========================================
    I notice that the String data type was updated in the FB Data/Service tab
    but when the component uses an 'int' FB Data/Services treats it as an object
    What am I missing here? - OR - Is this a beta bug?

    I am not sure if there is a type called "int" in ColdFusion. However you can try setting it as "numeric", which should work.
    Thanks,
    - Gaurav

Maybe you are looking for

  • Issue while loading Master Data through Process Chain in Production

    Hi All, We are getting an error in Process chain while loading Master Data Non-updated Idocs found in Source System Diagnosis IDocs were found in the ALE inbox for Source System that are not updated. Processing is overdue. Error correction: Attempt t

  • How to populate bind variable in view objects where clause in ADF faces

    I've got a page with 2 input items. The user manually enters the first value. On the second input item I have created a LOV for the item which opens in a popup. How do I restrict the data returned in the LOV using the value entered in the first input

  • Video Converter Compatibilty Output Codec?

    Hi Gang Yes unfortunately I'm still in 10.4 which eliminates the capability to download any type of MTS converter software which I'll need to convert PAL to NTSC. 'ClipWrap2' and others are all designed for 10.5 or 10.6 Work Around: I also use a Dell

  • My apple ID is nor working

    Hello My name is Sara and i recently bought an iphone but from the day i bought it till now i cant download any apps because i dont receive any emails from my iphone to my apple ID to complete the varification. Please Help!!!

  • Drop Zone / Final Cut Placeholder

    Is there a posibility to change (convert) a Drop Zone into FC Placeholder? I made some projects in Motion and I wan to use them as FCPX Titles with placeholder instead of Drop Zone.