Coldfusion MX DST

Hi,
I am running Coldfusion MX 7 with JRE 1.4.2_05. Need to
upgrade to 1.4.2_11 for the DST comppilance. I tried to install the
JRE but the bin/server directory is not installed and the
Coldfusion is not starting.
Do I have to install the entiere JDK version for the server
directory. What is coldfusion recomendation on this.
Thanks
Godfrey

The easiest thing is to install the entire sdk. Then manually
edit the java.home in the {cfmx-root}/runtime/bin/jvm.config file.
It should look like the following:
java.home=c:/j2sdk1.4.2_11
Ted Zimmerman

Similar Messages

  • Getting multiple versions when installing JRE 1.4.2_13

    Hi,
    For ColdFusion and DST, I downloaded the offline install of JRE 1.4.2_13. I installed it on several Windows servers (always exactly the same way, using exactly the same .exe file and installing it to a new dir named 1.4.2_13). When I went back and ran java -version, I got several different versions. I installed them all to the same place and ran the command from the folder that the new version had been installed to. I got-
    1.4.2_13 (good)
    1.3.1_01
    1.4.2_03
    Does anyone know why the variation? Some I even uninstalled and re-installed with no luck, I even threw in some reboots even if they weren't needed. Is this normal? I know that 1.4.2_13 is DST compliant, but are the other versions listed above?
    Thanks,
    Ishmeal
    Message was edited by:
    ishmealm

    I doubt that the root cause is the modification of the file because of the following:
    - I have a machine (XP) on which I downloaded j2sdk-1_4_2_09-windows-i586-p.exe and was able to run the install without issue.
    - I then mounted a drive on a windows2003 machine and copied the same file to it, the file size was exactly the same. When I ran the install, I got the error "Error reading setup initialization file" and the button with no text.
    - I searched through google and found this thread. I used pkzip to package the file and on the original platform, copied it to the 2003 machine and unzipped it. Once again, the same error showed up.
    The explanation for the error provided in this thread is not plausible because:
    - there are no firewalls/proxy in play in a file share
    - the same thing happens when the install is transferred through a zip. Something would need to alter the zipped file in transit without corrupting the zip itself for this explanation to be valid. This is simply not plausible.
    There is clearly something going on that has yet to be explained. An explanation of the problem and (even better) a workaround would be welcome.

  • ColdFusion Timezone Bug?

    I'm working with values of time in seconds and I've come across an odd bug and I'm hoping someone might explain if this is a bug or if this is some kind of timezone issue. I have code which calculates the difference, in seconds, between two fixed dates. ColdFusion gives me one answer, native Java methods give me a different answer. The difference is one hour which makes me think this is somehow related to timezone, but I can't figure out how to properly correct for this.
    Any insight would be greatly appreciated.
    Here's my sample code:
    <cfset variables.TimeZone = CreateObject( "java", "java.util.TimeZone" ) />
    <cfset variables.Calendar = CreateObject( "java", "java.util.Calendar" ).getInstance( variables.TimeZone.getTimeZone( "GMT" )) />
    <cfset variables.Calendar.set( 2010, 6, 20, 15, 40, 0 ) />
    <h1>Seconds from 01/01/1970 12:00 AM to 07/20/2010 3:40 PM</h1>
    <p>
        According to Java:
        <cfoutput>#Int( variables.Calendar.getTimeInMillis() / 1000 )#</cfoutput>
    </p>
    <p>
        According to ColdFusion:
        <cfoutput>#DateDiff( "s", "01/01/1970 12:00 AM", "07/20/2010 3:40 PM" )#</cfoutput>
    </p>

    what tz is the cf server in? not
    UTC i take it? on the server i'm working on today the tz is ITC (no DST)
    & i get:
    According
    to Java: 1279640400
    According to ColdFusion: 1279640400
    using your
    snippet.
    maybe
    this http://bit.ly/a9ZXss
    will have some insight for you.
    So if ColdFusion treats dates and times as in the local timezone, and my local timezone has DST, then I need to check and correct for that. And there's no simple (by "simple", I mean a native ColdFusion function that can handle this difference) solution?
    So I need to employ something like this:
    <cfset variables.timeDiff = DateDiff( "s", "01/01/1970 12:00 AM", "07/20/2010 3:40 PM" ) />
    <cfif GetTimeZoneInfo().isDSTon IS TRUE>
        <cfset variables.timeDiff = variables.timeDiff + 3600 />
    </cfif>
    <p>
        According to ColdFusion (Adjusted):
        <cfoutput>#variables.timeDiff#</cfoutput>
    </p>
    Which works. I just with there was something native to CF that could handle dates outside of local timezone rules.

  • JDK DST Time Change for 2007

    I just got an e-mail from Sun about the DST issue for 2007.
    Is Adobe going to come up with a fix for this or should we download
    the JDK directly from Sun? We are currently running JDK 1.4.2_04.
    Some sort of communication about this issue would be appreciated.
    U.S. Daylight Saving Time Changes in 2007
    The United States has planned a change to its DST observance
    beginning in 2007. The Energy Policy Act of 2005 mandates that DST
    will start on the second Sunday in March and end on the first
    Sunday in November. In 2007, the start and stop dates will be March
    11 and November 4, respectively. These dates are different from
    previous DST start and stop dates. In 2006, the dates were the
    first Sunday in April (April 2, 2006) and the last Sunday in
    October (October 29, 2006).
    If you are concerned about application failures that may
    result from these DST changes, you should update your Java Runtime
    Environment. The following Java platform versions have correct time
    rules to handle the DST changes that will affect U.S. time zones in
    2007. You can download any of the following Java platform versions
    to resolve this DST issue:
    JDK 6 Project (beta)
    J2SE 5.0 Update 6 or later
    J2SE 1.4.2_11 or later

    Ok, I have figured out what the issue is here. I'm posting
    this in the hopes
    that Adobe will modify their document, "How to upgrade the
    JVM that ships with
    ColdFusion" at
    http://www.adobe.com/go/2d547983.
    There are several steps that
    are omited or vague, so here is some additional information
    that will help you
    in the upgrade process.
    JVM 1.5.x is NOT supported for ColdFusion. The link
    specified for the upgrade
    process points to the Java SE page which currently displays
    1.5.x as the
    current version. Instead go directly to the 1.4.2x page at
    http://java.sun.com/j2se/1.4.2/download.html
    to get the correct version of the
    JVM.
    It should also be noted that the default installation for
    the JVM points to
    C:\Program Files\Java\JDK<version>, this default
    directory must be changed
    because the java.config file does NOT allow for white space
    in the java.home
    argument. When installing the JVM you should choose the
    ?Custom? install and
    install to C:\Java or a directory structure that does not
    contain spaces. It
    may be helpful to rename the JRE directory under Jrun4 and
    install to that
    directory directly if you don?t want the java files outside
    of the Jrun
    directory. This is important because if there is white space
    in the directory
    structure, ColdFusion will not start up and return a ?Service
    fails to start
    with Service-Specific Error 2? message when starting the
    service.
    Once you have installed the JVM it is necessary to create a
    directory in the
    JVM folder called ?Server?. There is already a directory in
    the folder called
    ?Client?. Once you create the Server directory, copy the
    contents of the Client
    directory into the new directory called Server; this is
    completely omitted from
    the document and is important to the process for upgrading
    the JVM.
    Using the above information combined with the document
    provided by Adobe, I
    was able to install the JVM 1.4.2_11 and ColdFusion started
    up using it.
    Hopefully these suggestions will help others in the future
    when they need to
    upgrade the JVM.
    Thanks!

  • DST Upgrade Troubles

    We have a Windows 2003 server (fully patched) with IIS6 that
    has to be upgraded for DST. The box has a 7.0.0 multi-server
    install with 7 instances. Our strategy on the multi-server was to
    load CFMX 7.0.1 updater, then CFMX 7.0.2 updater, then JRUN4
    Updater 6, then load JDK 1.4.2_13. We had to repoint the JVMs to
    the new JRE as they were pointed to the default which was an
    earlier version. We did this by first applying the new location to
    the admin instance under the JRUN4 Manager and then to the
    JVM_x.config files as the JRUN setting tweaks failed to populate
    all instances with the correct address. The Cold Fusion upgrade
    also repointed us to a different location for CFIDE so we had to
    repoint CFIDE to allow our sites to come up.
    After doing all this and rebooting the box, we got a clean
    DstDates.cfm run with good versions for everything. However, we
    lost the Instance Manager. We now get the following error in the
    Instance Manger frame:
    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
    Variable GETLOCALHOST is undefined.
    The error occurred in serverlist.cfm: line 259
    Called from serverlist.cfm: line 238
    Called from serverlist.cfm: line 187
    Called from serverlist.cfm: line 176
    Called from serverlist.cfm: line 41
    Called from serverlist.cfm: line 1
    Called from index.cfm: line 191
    Called from index.cfm: 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/4.0 (compatible; MSIE 6.0; Windows NT 5.1;
    SV1; .NET CLR 1.1.4322)
    Remote Address 135.210.112.67
    Referrer
    http://acttdev.ugd.att.com/CFIDE/administrator/navserver.cfm
    Date/Time 08-Mar-07 05:46 AM
    Stack Trace (click to expand)
    at
    cfserverlist2ecfm223548473._factor3(C:\blackstone_updates\cfusion\wwwroot\CFIDE\administr ator\entman\serverlist.cfm:259)
    at
    cfserverlist2ecfm223548473._factor6(C:\blackstone_updates\cfusion\wwwroot\CFIDE\administr ator\entman\serverlist.cfm:238)
    at
    cfserverlist2ecfm223548473._factor7(C:\blackstone_updates\cfusion\wwwroot\CFIDE\administr ator\entman\serverlist.cfm:187)
    at
    cfserverlist2ecfm223548473._factor14(C:\blackstone_updates\cfusion\wwwroot\CFIDE\administ rator\entman\serverlist.cfm:176)
    at
    cfserverlist2ecfm223548473._factor15(C:\blackstone_updates\cfusion\wwwroot\CFIDE\administ rator\entman\serverlist.cfm:41)
    at
    cfserverlist2ecfm223548473.runPage(C:\blackstone_updates\cfusion\wwwroot\CFIDE\administra tor\entman\serverlist.cfm:1)
    at
    cfindex2ecfm1030964813._factor12(C:\blackstone_updates\cfusion\wwwroot\CFIDE\administrato r\entman\index.cfm:191)
    at
    cfindex2ecfm1030964813.runPage(C:\blackstone_updates\cfusion\wwwroot\CFIDE\administrator\ entman\index.cfm:1)
    coldfusion.runtime.UndefinedVariableException: Variable
    GETLOCALHOST is undefined.
    at coldfusion.runtime.CfJspPage._get(CfJspPage.java:221)
    at
    cfserverlist2ecfm223548473._factor3(C:\blackstone_updates\cfusion\wwwroot\CFIDE\administr ator\entman\serverlist.cfm:259)
    at
    cfserverlist2ecfm223548473._factor6(C:\blackstone_updates\cfusion\wwwroot\CFIDE\administr ator\entman\serverlist.cfm:238)
    at
    cfserverlist2ecfm223548473._factor7(C:\blackstone_updates\cfusion\wwwroot\CFIDE\administr ator\entman\serverlist.cfm:187)
    at
    cfserverlist2ecfm223548473._factor14(C:\blackstone_updates\cfusion\wwwroot\CFIDE\administ rator\entman\serverlist.cfm:176)
    at
    cfserverlist2ecfm223548473._factor15(C:\blackstone_updates\cfusion\wwwroot\CFIDE\administ rator\entman\serverlist.cfm:41)
    at
    cfserverlist2ecfm223548473.runPage(C:\blackstone_updates\cfusion\wwwroot\CFIDE\administra tor\entman\serverlist.cfm:1)
    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
    cfindex2ecfm1030964813._factor12(C:\blackstone_updates\cfusion\wwwroot\CFIDE\administrato r\entman\index.cfm:191)
    at
    cfindex2ecfm1030964813.runPage(C:\blackstone_updates\cfusion\wwwroot\CFIDE\administrator\ entman\index.cfm:1)
    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.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:259)
    at
    jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:541)
    at
    jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:204)
    at
    jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428)
    at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
    We have no clue as to why we lost the Instance Manager. We
    suspect it may have to do with our CFIDE problem but that is just
    speculation since it is the only area where we had problems. Our
    websites come up and we can get the individual Cold Fusion
    Administrators for all of our instances. But the Instance Manager
    is dead.
    We could sure use some ideas as we have 8 more single server
    upgrades to do before Saturday and we are not all that eager to
    move forward until we clear this trouble. Did we screw up the
    sequencing? Is there something we missed?
    Any help is appreciated!!
    Bree

    Failed. Call to main admin yields:
    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: /CFIDE/administrator/index.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 6.0; Windows NT 5.1;
    SV1; .NET CLR 1.1.4322)
    Remote Address 135.210.112.67
    Referrer
    Date/Time 08-Mar-07 10:13 AM
    Stack Trace (click to expand)
    coldfusion.runtime.TemplateNotFoundException: File not found:
    /CFIDE/administrator/index.cfm
    at coldfusion.filter.PathFilter.invoke(PathFilter.java:83)
    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:259)
    at
    jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:541)
    at
    jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:204)
    at
    jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428)
    at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
    Websites available but admin is dead.
    Bree

  • How to Install Coldfusion 8 64-bit on Small Business Server 2008 64-bit

    How to Install Coldfusion 8 64-bit on Small Business Server 2008 64-bit
    I ran Coldfusion 8 on SBS 2003 Premium for 6 months with no problems.  When we finally decided to cut over to SBS 2008, that’s when everything went to hell.  I tried for weeks to get Coldfusion 8 to install properly on the new SBS 2008 64-bit box.  During the course which, I found bits and pieces of information for Vista 64-bit and Windows Server 2008 64-bit installations.  There are some distinct differences, however, with SBS 2008 since it runs core Web applications like OWA, RWW and Companyweb.  After countless unsuccessful attempts, one of which completed corrupted the box, I found the solution.
    I have attempted in this white paper to detail the steps to assist others who may be in a similar situation.  I don’t make any warranty for the information, but so long as you follow the steps carefully you should be fine.  BTW, for those of you who say Adobe offers free technical support for licensed users, that’s not entirely true.  Like I said, I purchased CF8 and originally installed it on an SBS 2003 Premium box.  After we cut over to SBS 2008 and encountered problems, Adobe wouldn’t provide any technical support without charging.  Moreover, based on my initial conversations with Adobe’s technical team, no one seemed to know much about running 64-bit on SBS.
    From my understanding, only two versions of Coldfusion 8 can be installed in 64-bit: Enterprise and Developer.  The “normal” install (which I paid a grand for) can only be deployed in 32-bit mode – gee, THANKS Adobe!  By the way, in Developer mode only two distinct IPs can access the site in addition to the localhost.  Any additional IPs will result in a CFML error message stating that the maximum number of IPs have been exceeded.  At any rate, take your time and follow the steps to achieve a successful installation. 
    PRE-INSTALLATION TASKS
    Back Up SBS
    It’s always a good practice to backup your server before deploying any kind of major system changes.  Although this step is optional, I recommend it in case you need to restore your server for any reason.  Bear in mind, if your system ever gets totally corrupted, you cannot restore back from the twice daily incremental backup images alone.  You will need a full backup with system recovery information to restore.  Here are the basic steps:
    Click: Start > Programs > Administrative Tools.  Right-click “Windows Server Backup” and choose “Run as administrator”.
    Click “Backup Once” under Actions in the right-hand pane.
    Choose the “Different Options” radio button under Backup Options.
    Choose the “Custom” radio button.  What we’re primarily interested in here is backing up the OS – not your data partitions or attached drives.
    Select the “SYSTEM (C)” checkbox, uncheck any others.  Also, ensure that the “Enable system recovery” checkbox is selected before continuing on.
    Under ‘Specify Destination Type’, I usually select the “Local drives” radio button and point it to a Terrabyte USB drive I use for backups.  You can point this to a tape drive, or select the “Remote shared folder” radio button if you map to a UNC path to store your backup images.  Just remember, make sure that whatever path you select can readily be accessed in the event of an emergency.  Also, make sure the “Verify after writing (recommended)” checkbox is selected.
    Under ‘Specified Advanced Option’, I usually select the “VSS full backup” radio button instead of the default since I don’t use a 3rd party backup product.  If like me you rely solely on SBS for your backups, choose the full backup option.
    Confirm everything and click “Backup”.  This process may take several hours depending on the size of your system.
    Verify ISAPI Filters:
    In IIS Manager, double-click the server instance in the left-hand pane.
    In the center pane under IIS, double click the “Modules” icon to verify that the ISAPI native modules are already installed for IIS.  If it’s set up correctly you should see two entries:
    IsapiFilterModule              %windir%\System32\inetsrv\filter.dll
    IsapiModule                        %windir%\System32\inetsrv\isapi.dll
    If either of these modules are missing, you will need to re-install these (google for a solution).
    Set Up Development Environment
    Create a directory for your CFML files outside of the default Windows location (e.g., default is usually C:\inetpub\wwwroot\).  For the purpose of our install, I created a directory on a separate disk called: D:\DEV.
    Copy and paste your CFML files and directories into the new DEV root Web directory.  This will eventually be the directory where the Coldfusion installer places the CFIDE and CFDOCS folders. 
    Open IIS Manager and double-click the server instance in the left hand pane.  Expand the “Sites” folder.  Right-click the Sites folder and select “Add Web Site”.
    Enter a name in the “Site Name” box (e.g., “test-site”).  You will notice that the system will automatically create a corresponding Application Pool with the same name.  NOTE: this is important to prevent conflicts between the DefaultAppPool (needed for SBS Web apps like OWA, RWW, etc.) and the application pool needed for Coldfusion to function properly in SBS 2008.
    Point the “Physical Path” to the directory you created in step #1 above (e.g., “D:\DEV”).
    Don’t worry about testing the connection.  If you click “Test Settings” you may receive a warning that IIS cannot verify access to path (D:\DEV).  Don’t worry about this for the time being.
    Under “Host name”, enter a DNS path to your site (e.g., “dev.test-site.com”).  Click “OK”.
    Configure Application Pools for Installation
    In IIS Manager, double-click the server instance in the left-hand pane.  Click on “Application Pools” to display the list of server application pools in the center pane.
    In the “Actions” pane on the right-hand side, click “Set Application Pool Defaults”.
    Change “Enable 32-Bit Applications” - the second item from the top – from “False” to “True”, and then click “OK”.  NOTE: if you skip this step, Coldfusion will not properly create the required mappings during the install. We will change this setting back after the installation completes – more on this later.
    Modify the application.host.config File for 64-Bitness
    Click: Start > Programs > Accessories.  Right-click “Notepad” and choose “Run as administrator”.
    Open the config file from within Notepad – default location: C:\Windows\System32\inetsrv\config\applicationHost.config
    Do a search and change this one line from:
    <add name="PasswordExpiryModule" image="C:\Windows\system32\RpcProxy\RpcProxy.dll" />
    To this:
    <add name="PasswordExpiryModule" image="C:\Windows\system32\RpcProxy\RpcProxy.dll" preCondition="bitness64" />
    Restart the IIS Admin service.
    Set HTTP Compression
    According to some threads I read, the http compression module can cause errors if you don’t disable it globally. To remedy this, perform the following:
    Click: Start > Programs > Accessories.  Right-click “Command Prompt” and choose “Run as administrator”.
    At the command prompt, change directory to intetsrv by typing: cd inetsrv
    Run the following command:
    C:\Windows\system32\inetsrv>appcmd.exe set config -section:system.webServer/httpCompression /-[name='xpress']
    This will turn off HTTP compression for all sites in IIS.
    In IIS Manager, double-click the server instance in the left-hand pane.  Double-click the “Compression” icon in the IIS section of the center pane.
    Uncheck all of the boxes, then click the “Apply” button under Actions in the right-hand pane.
    Recheck all of the boxes, then click the “Apply” button under Actions in the right-hand pane.
    Restart the IIS Admin service.  This should enable compression and coldfusion to work at the same time.
    NOTE: if for some reason you need to reverse this, run the following command from the command prompt:
    C:\Windows\system32\inetsrv\appcmd.exe set config -section:system.webServer/httpCompression /+[name='xpress',doStaticCompression='false',dll='%windir%\system32\inetsrv\suscomp.dll']
    INSTALLATION TASKS
    Download the 64-bit installation package from Adobe – filename: coldfusion-801-wind64.exe.
    Right-click the file and select “Run as administrator”.
    Accept the terms of the License Agreement.
    If you have an Enterprise license, enter it.  For our purposes, just click the “Developer Edition” checkbox.
    Select “Server configuration” – the default radio button.
    I deselected all subcomponents and can’t guarantee that you’ll arrive at the same results if you select additional items like “.NET Integrated Services”.  It should be fine, particularly if you install documentation.  My preference was to keep the install as plain vanilla as possible.
    Select the directory path for Coldfusion to install into – default is :C\Coldfusion
    THE NEXT TWO STEPS ARE CRITICAL TO YOUR SUCCESS.  Unselect “All IIS Websites” and select the “Configure specific IIS Website or another web server” radio button.  Click “Add”, and then select your test Web site (e.g., “test-site”) under “IIS Web Site”.  Hit “OK”.
    Do NOT use the default directory path for the CF Administrator location (e.g., default path: “C:\inetpub\wwwroot”).  Instead, point the installer to your new DEV root Web directory (e.g., “D:\DEV”).  The bottom line, you want the installer to place the CFIDE directory and files within this folder, alongside your other CFML files and folders.
    Enter an Administrator password.
    Choose to Enable RDS, or not.  I enable this by preference but it is not required.  This allows you to make updates to files using a CFML editor directly vs. having to move/FTP the files over if you’re working remotely.  Opponents to this argue that it’s potentially less secure, but for a lower environment I don’t see this as a major concern.
    Confirm everything to kick off the install.
    If all goes well you should see a message at the end stating that the install was successful.  I recommend you uncheck the box that asks you to open the CF Administrator in the default Web browser after the install.  NOTE: we will open it a different way during the post-installation tasks.  The worst thing that will happen if you forget to uncheck the box is that you might receive an error that the command prompt hung – not a big deal – just close it and move on to the next (final) steps.
    POST-INSTALLATION TASKS
    Verify CF Installation:
    The installation will create a new folder in your program group: Start > Programs > Adobe > Coldfusion 8.  The default “Administrator” link will not work because it points to the wrong path: http://127.0.0.1/CFIDE/administrator/index.cfm. The “127.0.0.1” or “localhost” path as you may recall in IIS, points by default to the “C:\inetpub\wwwroot” directory.  Our CFIDE files, however, are located within: D:\DEV.
    To bring up the CF Administrator logon page, open up a Web browser and replace the “http://127.0.0.1” part of the path with the DNS path name to your CF environment (e.g., http://dev.test-site.com/CFIDE/administrator/index.cfm).
    This should bring up the Coldfusion Administrator Login screen.  Enter in the Administrator password you created during the install to log in and configure your application server.
    Verify that your test-site renders correctly by typing in your test URL into a Web browser (e.g., http://dev.test-site.com).
    Fix Application Pool Defaults to Re-enable SBS Web Applications:
    At this point, Coldfusion Administrator and your test CMFL Web site should be working properly.  The problem is, default SBS Web applications like OWA, RWW and Companyweb will throw errors and fail to start.  Fortunately, this is easily remedied by performing the following steps:
    In IIS Manager, double-click the server instance in the left-hand pane.  Click on “Application Pools” to display the list of server application pools in the center pane.
    In the “Actions” pane on the right-hand side, click “Set Application Pool Defaults”.
    Change “Enable 32-Bit Applications” - the second item from the top – from “True” to “False” this time.  This should re-enable the SBS applications, which would otherwise result in 500 errors (e.g., OWA, RWW, Companyweb, etc.).  There is no need to restart IIS.
    Open a Web browser and test that you can once again connect to OWA, RWW and Companyweb successfully.
    In IIS click to highlight the application pool for your new site (e.g., “test-site”).  In the right-hand pane, click “Advanced Settings”.  Ensure that “Enable 32-Bit Applications” – second item from the top – is set to “True” for this application pool specifically.
    Lastly, jump up and down for joy!  Hopefully now, everything is working.  Best of luck!! ..Paul D (MCP).

    First, it would be a good idea for you to specify what distro of Linux you're using, as not all are supported by Adobe.
    Second, this is probably your problem right here:
    http://askubuntu.com/questions/40416/why-is-lib-libc-so-6-missing
    In a nutshell, CF expects the 32-bit version of libc.so.6 to be in /lib, but it's probably not. You might be able to modify the installer to point to the correct location for that file, or you might be able to create a symlink to the file - but as the above link describes, creating a symlink might have negative consequences.
    As for installing CF 8 64-bit, that's only available with Enterprise, not Standard. If you want CF Standard 64-bit, you need to upgrade to CF 9.
    Dave Watts, CTO, Fig Leaf Software

  • Error  while assigning resultset value to Querytable variable in Coldfusion 10

    We are upgrading from coldfusion 8 to 10. Internally we were using java function to to get the data.
    In java function we have a resultset object, if we assign this resultset value to Querytable variable, we are getting below error. This code was working fine in coldfusion 8.
    Detail    This exception is usually caused by service startup failure. Check your server configuration.
    Message    The Runtime service is not available.
    StackTrace    coldfusion.server.ServiceFactory$ServiceNotAvailableException: The Runtime service is not available. at coldfusion.server.ServiceFactory.getRuntimeService(ServiceFactory.java:117) at coldfusion.runtime.RequestMonitor.<clinit>(RequestMonitor.java:14) at coldfusion.sql.QueryTable.populate(QueryTable.java:358) at coldfusion.sql.QueryTable.populate(QueryTable.java:283) at coldfusion.sql.QueryTable.<init>(QueryTable.java:96) at com.myCompany.myClass.myFunct(myClass.java:627) at
    Here is the function which is causing error.
    static private QueryTable myFunct(String userId, SessionFactory sf) {
            PreparedStatement pStmt = null;
            ResultSet rs = null;
            QueryTable ret = null;
             try{
                Query q = sf.getCurrentSession().getNamedQuery("ListUsers");
                pStmt = sf.getCurrentSession().connection().prepareStatement(q.getQueryString());
                rs = pStmt.executeQuery();// works fine till here
                ret = new QueryTable(rs);  // error line         
                rs.close();
            }catch(Exception e){
                e.printStackTrace();
                throw new RuntimeException(e.getLocalizedMessage());
            return ret;
    Can you provide some help on this. Please let me know if you need any other details.

    We have found this error is logs
    coldfusion.runtime.Encryptor$InvalidParamsForEncryptionException: An error occurred while trying to encrypt or decrypt your input string: The input and output encodings are not same..
        at coldfusion.runtime.Encryptor.decrypt(Encryptor.java:303)
        at coldfusion.runtime.Encryptor.decrypt(Encryptor.java:284)
        at coldfusion.runtime.CFPage.Decrypt(CFPage.java:5353)
        at coldfusion.runtime.CFPage.Decrypt(CFPage.java:5326)
        at coldfusion.runtime.CFPage.Decrypt(CFPage.java:5458)
        at com.vmware.vcp.service.impl.EncryptColdFusionImpl.decrypt(EncryptColdFusionImpl.java:65)
        at com.vmware.vcp.web.servlet.ApplicationConfigServlet.initEmailService(ApplicationConfigSer vlet.java:119)
        at com.vmware.vcp.web.servlet.ApplicationConfigServlet.init(ApplicationConfigServlet.java:51 )
        at javax.servlet.GenericServlet.init(GenericServlet.java:160)
        at coldfusion.bootstrap.ClassloaderHelper.initServletClass(ClassloaderHelper.java:121)
        at coldfusion.bootstrap.BootstrapServlet.init(BootstrapServlet.java:59)
        at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1266)
        at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1185)
        at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1080)
        at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5001)
        at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5278)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
        at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1525)
        at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1515)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
        at java.util.concurrent.FutureTask.run(FutureTask.java:166)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:722)

  • Error Occured while processing a Request-openning a another coldfusion page from old page link

    in one page there is dynamic link in that i want to open anather page...
    code is compiled ok and page is at place where i refered a link but it gives error 'error occured while processing a request'
    Error Diagnostic Information
    An error has occurred.
    HTTP/1.0 404 Object Not Found
    this error shows please help me...
    i am new in coldfusion.
    Thanks.

    Hi Salvatore,
    This is a very wide error. You did not provided any other info as specified by Michael. Just a wild guess, this sort of error occurs generally when classpath or java_home properties are not set correctly. But, as i said it is very wide, some more info will be useful.
    Regards
    Chander Kararia

  • ColdFusion 11: cfclient in the context of the CFML language, not the tooling

    G'day:
    I am reposting this from my blog ("ColdFusion 11: <cfclient> in the context of the CFML language, not the tooling") at the suggestion of Adobe support:
    @dacCfml @ColdFusion Can you post your queries at http://t.co/8UF4uCajTC for all cfclient and mobile queries.— Anit Kumar Panda (@anitkumar85) April 29, 2014
    I have edited this in places to remove language that will be deemed inappropriate by the censors here. Changes I have made are in [square brackets]. The forums software here has broken some of the styling, but so be it. There is worthwhile discussion in the comments of the article on my blog: perhaps go have a read.
    G'day:
    This article could end up being a complete waste of space, as I am operating under more real-world re-interpretation of the raison d'être of <cfclient>, as described by Ram:
    ColdFusion [11] has added support for client side CFML (<cfclient>) and this code is translated to JavaScript
    Mike Henke has pointed out that the first part of this "CF11 has added support for client-side CFML" is actually ******** (my wording, not his):
    "ColdFusion Splendor has added support for client side CFML" is probably phrased wrong and gave me flash backs to VBScript or CFML running in the client browser.
    Maybe this is better verbiage. "ColdFusion Splendor has added support for CFML to generate JS".
    Because... there's not such thing as "client-side CFML". That would imply CFML actually running on the client (ie: the browser, or the mobile device, as is the target of <cfclient> as a concept). This is absolutely not true. I know Ram went on to qualify what he meant there, but the messaging from Adobe on <cfclient> has been inaccurate. Possibly I think to the point of actual misrepresentation (in the legal sense, I mean).
    What <cfclient> does is... convert CFML code to JavaScript. So let's look at that idea.
    Why I say this article could be a complete waste of space is that I dunno if this is the intent of <cfclient>; because, really, the messaging from Adobe as to what <cfclient> is for is very muddied. In general the narrative about it is bundled-in with various features of ColdFusion Builder 3.0, in regards to mobile application creation and packaging (and debugging, and all sort of stuff that sounds quite nice but I don't care about as I don't use CFB).
    However <cfclient> has to stand on its own merit in the CFML language, completely decoupled from CFB features. And as far as I can tell, Mike is right: as far as CFML goes, <cfclient> is a tag which tells ColdFusion to - instead of compiling to byte code - compiles the enclosed CFML code to JavaScript instead.
    This of course just sets my alarm klaxons going.  Because Adobe are (I choose my words carefully) [not very good] at converting CFML to client-side code. This has been borne out by <cfform>, <cflayout>, <cfpod> etc. Back in the days of CFMX7 the "CFML-to-client-side" wizards had some merit, because the client-side arena was still immature, and the team at Macromedia actually had some exposure to the idea of "website development", so they knew where the pain points were that they could possible ameliorate. Times have changed, and the client-side of things is probably now more mature an environment than CFML is - Javascript is probably are more coherent language than CFML is, now - and it is very very very clear that the current Adobe ColdFusion Team don't know the first thing about web development (they can't even write decent CFML for their own documentation, before we get onto how they'd be doing web work!), so they are completely out of their depth when it comes to addressing pain points that web devs might have these days. Not only have they not walked a mile in a web dev's shoes, they don't even - as far as I can tell - know what shoes are, or why someone would be wearing them.
    And <cfclient> is a far more "meta" solution than <cfform> or <cfpod> were... at least the CFML-to-client-side solution there had a tangible target in mind. <cfclient> has removed the targets, and is just a tag designed for converting general CFML to general JS. Yikes.
    600-odd words in, here's some code. This is the first-ever code I have written using <cfclient>:
    <cfclient> <cfset msg = "G'day World"> <cfoutput>#message#</cfoutput> </cfclient>
    So I'm off to a false start: I admit I'm sitting in the pub and I've had a few pints (probably four, I guess; this is "having some drinks before deciding to actually drink this evening" sort of level for me), and I inadvertently [messed-up] my variable names here. And this did not yield a compile error. The error just fell through to JS, where it did error
    Uncaught ReferenceError: message is not defined gdayWorld.cfm:4
    If, in contrast, I tried this in CoffeeScript, I'd get this:
    coffee> msg = "G'day world"
    'G\'day world'
    coffee> alert msg
    undefined
    coffee>
    alert message
    ReferenceError: message is not defined
        at eval (eval at  (http://larryng.github.io/coffeescript-repl/js/main.js:96:26), :1:9)
    Important note: I know nothing about CoffeeScript - it seems like a solution to a non-existent problem to me - so I just googled "hello world coffeescript" and REPLed the code on http://larryng.github.io/coffeescript-repl/.
    The point is here is that ColdFusion, during the "compile" process should actually notice I am referencing a variable that doesn't exist. I'm OK with this being a runtime error in the normal CFML-compile process, because there could be many moving parts (and other files) involved in the runtime environment, but I don't think this is a valid notion with <cfclient>? Or maybe it is?
    Update:As Ray points out and Aaron agrees with below: I was being unduly harsh here... it's entirely reasonable for variables to be declared in other JS code elsewhere in the response.
    Anyway, once I actually write my code properly, I get this:
    G'day World
    On the screen. What CF actually sends back in the response is this:
    <script type="text/javascript" src="/CFIDE/cfclient/cfclient_main.js"></script> <script type="text/javascript" src="/CFIDE/cfclient/cffunctions.js"></script> <meta name="viewport" content="width=device-width"> <script type='text/javascript'>globalDivStruct=null;var _$gdayWorld_func=function(){var self=this;var variables={};self.__init=function(){var localdivstruct=globalDivStruct;var __output_var="";var tmpVarArray={};message="G'day World";localdivstruct.outputvar+=message;return""}}; function __startPage__$gdayWorld(){document.write("\x3cdiv id\x3d'__cfclient_0'\x3e\x3c/div\x3e");window.ispgbuild=false;var clientDivStruct={divId:"__cfclient_0",outputvar:""};globalDivStruct=clientDivStruct;try{_$gdayWorld=new _$gdayWorld_func;_$gdayWorld.__init()}catch(__eArg){if(__eArg!=="$$$cfclient_abort$$$")throw __eArg;}__$cf.__flush(clientDivStruct)}__startPage__$gdayWorld(); </script>
    [Blimey]. To output a string variable? Really? That's what you compile my CFML down to?
    Gobsmacked.
    And [forget] emotive things like "gobsmacked"... if one looks at the size of the response, it's 128kB to represent "G'day World" on the screen. 128kB might not be a great deal these days when it comes to a web page, but when it comes to rendering "G'day world", it's lunacy. And on a mobile phone - which intrinsically might be in an area in which one is paying a premium for data - it's just irresponsible. This is before we get to the point that it seriously should not take 128kB of data to render 11 bytes.
    Blimey. To be honest I was gonna try some more tricky CFML and see how it compiled, but I've run out of will to live (and I have to concede the beer is getting the better of me, and my laptop battery is almost dead). I'll continue this, but I will let this article stand or fall on its own merit; something <cfclient> certainly seems to be unable to do, thusfar.
    I'll be back on the case with this tomorrow.
    Adam

    The functions defined in the cffunctions.js are not namespaced. If it is namespaced, you would have to add the namespace while using a function inside cfclient.
    These functions are not namespaced, so that you can use the same syntax for using a function inside and outside the cfclient block.
    This is indicative of everyone's concern that you guys would just implement / encourage poor practice in your <cfclient> implementation.
    How is it - given you're "compiling" the CFML anyway - you cannot translate source code that says "listlen()" into "compiled" JS that is CF.listLen() or something? Thus good CFML can be translated into good JS.
    You seem to think that there's a one-to-one mapping between what the CFML says and what the resultant JS needs to be.
    You've basically written a mechanism for a CFML developer to write bad JavaScript.
    Well done.
    Adam

  • Packaged ColdFusion 9 Datasources not importing to ColdFusion 10 64-bit on another computer

    I installed ColdFusion 10 64-bit on my I new 64-bit work computer. To save time and effort; l decide to use Packaging & Deployment option on ColdFusion 9 32-bit on my old computer to archive all my data sources and deploy on the new server. I selected all the Datasources I wanted to archive (26 of them) without selecting any other settings. The archive file was successfully created and I built the backup file 'C:/Projects/ColdFusion/ColdFusionBak24May2013.car' to copy to my machine. Created achieve file is visible in ColdFusion Archives on my old computer, I can modify it and I deploy it on my old computer but nothing happens when I copy ColdFusionBak24May2013.car file to my new computer and try to deploy it there using ColdFusion 10 64-bit.
    Everything seems to work fine with selecting the file but when I click Deploy Achieve; the process goes through the motion but none of the data sources are added to ColdFusion 10 on the new computer.
    Am I doing something wrong or doesn't ColdFusion 9 (32-bit) Achieve file work on ColdFusion 10 (64-bit)?
    PS: XML file called neo-datasource.xml is located in ColdFusion10\cfusion\lib directory listing all datasources. Would it work if I merge neo-datasource.xml file on my new computer with the one on my old computer instead or not? 
    Any assistance will be greatly appreciated.
    Thank you.

    Have you considered using JDBC rather than ODBC?  I suspect that both Adobe and Microsoft view ODBC as a legacy technology.

  • Install coldfusion ent 64 bit in a distributed environment

    Hi,
    What I am trying to achieve :
    Install CF 80 ent 64 bit in windows server 2003. (server 1)
    MY webserver is is anoter system which is running windows xp
    32 bit. ie my iis is 32 bit. (server 2)
    All my web files and websites(IIS stuffs ) wil be in server
    2. and Jrun will in in server 1.
    What i did:
    1. Installed Cf 80 in server 1. with multiple instance
    support.
    2. copied the connector files from jrun folder of server 1 to
    server 2. and changed few config files
    (This was done by following some docs form net)
    But this method is not working. Please let me know if someone
    have a clear way of doing it or any docs are there.
    I will be so thankfull as I am struck up with this.
    Thanks,
    Dev

    devlosh wrote:
    > Install CF 80 ent 64 bit in windows server 2003. (server
    1)
    > MY webserver is is anoter system which is running
    windows xp 32 bit. ie my iis
    > is 32 bit. (server 2)
    >
    > All my web files and websites(IIS stuffs ) wil be in
    server 2. and Jrun will
    > in in server 1.
    This will not work. All your .cfm files must be on the server
    that has
    JRun (server1).
    In order to set this up:
    1. Install JRun / CF on server1. It is highly recommended to
    choose the
    buildin webserver so you can verify your installation is
    correct.
    2. Copy wsconfig.jar to the webserver on server2. Make sure
    you have a
    JDK installed (same version as CF/JRun uses).
    3. Run wsconfig.jar and specify connection parameters to
    connect to
    server1:
    http://livedocs.adobe.com/coldfusion/6.1/htmldocs/websera7.htm
    4. Plcae your .cfm files in the CF wwwroot
    (...\???.ear\cfusion.war\
    folder) on server 1.
    5. Test.
    This should work, but IIRC Adobe will only support a
    configuration where
    you also have your CF code on the webserver and the path to
    your IIS
    wwwroot on server2 is identical to the path to the JRun
    wwwroot on server1.
    Jochem
    Jochem van Dieten
    Adobe Community Expert for ColdFusion

  • Install coldfusion 8 32 bit on 64bit system

    in agreement with docs
    http://kb2.adobe.com/cps/403/kb403277.html#main__Toc193176416
    ("As of ColdFusion 8 Update 1, the Standard Edition can run as a 32-bit application on all supported 64-bit platforms in addition to 32-bit platforms")
    i'm trying to install coldfusion-801-lin.bin on
    a linux 64bit system
    but i receive this error
    [root@lnx1 store]# ./coldfusion-801-lin.bin
    Preparing to install...
    Extracting the JRE from the installer archive...
    Unpacking the JRE...
    Extracting the installation resources from the installer archive...
    Configuring the installer for this system's environment...
    strings: '/lib/libc.so.6': No such file
    Launching installer...
    ./coldfusion-801-lin.bin: /tmp/install.dir.9137/Linux/resource/jre/bin/java: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory
    ./coldfusion-801-lin.bin: line 2479: /tmp/install.dir.9137/Linux/resource/jre/bin/java: Success
    =========
    if i tryng to install coldfusion-801 64bit version,
    the serial number is not valid
    (my serial number is CF standard, upg license)
    you can help me?
    many thanks!

    First, it would be a good idea for you to specify what distro of Linux you're using, as not all are supported by Adobe.
    Second, this is probably your problem right here:
    http://askubuntu.com/questions/40416/why-is-lib-libc-so-6-missing
    In a nutshell, CF expects the 32-bit version of libc.so.6 to be in /lib, but it's probably not. You might be able to modify the installer to point to the correct location for that file, or you might be able to create a symlink to the file - but as the above link describes, creating a symlink might have negative consequences.
    As for installing CF 8 64-bit, that's only available with Enterprise, not Standard. If you want CF Standard 64-bit, you need to upgrade to CF 9.
    Dave Watts, CTO, Fig Leaf Software

  • Unique ID's in ColdFusion 8?

    What tools are available to create UNIQUE ID's for an application?
    I know in ColdFusion we can use CreateUUID() but this generates a string that is very long.
    What I want to be able to do is create a string of say no more than 6 characters long that can be considered unique for a number of records that could reach the millions.
    For example, the website TinyURL seems to do this quite well with a link like the following:
    http://tinyurl.com/dlz23k
    How do you think they ensure it's uniqu everytime??
    Cheers,
    Mikey

    I've done quite a bit of research on URL shortening due to a customer's desire. After review of 8th grade math (permutations and combinations), there are two solutions to URL shortening. These schemes assume that the URL cannot be recycled and put back into circulation.
    Base 36 - a 6 character URL key consisting of letters a-z and 0-9 for a total of 36 characters, and hence base 36. (26 characters (a-z) and 10 digits). This scheme provides  2,238,976,116 unique URL keys ((36^7-36)/35). Notice, this is case-insensitive. For example, http://foo.com/?ItsMagic and http://foo.com/?itsmagic resolve to the same real URL. If over 2 billion URLs is sufficient, this scheme is for you.
    Base 62 - a 6 character URL key consisting of letters a-z, A-Z, and 0-9 for a total of 62 characters (26 +26 + 10 = 62). This scheme provides 57,731,386,986 ((62^7-62)/61) unique URLs. For example, http://foo.com/?ItsMagic and http://foo.com/?itsmagic resolve to DIFFERENT real URLs. If over 5 billion URLs is sufficient, this scheme is for you. (ref: http://www.bennadel.com/blog/1540-Converting-Numbers-To-A-Character-Set-Based-Radix-Using- ColdFusion.htm)
    Scheme 1 code:
            <!--- number of times to try getting a unique suffix before quiting --->
            <cfset var tries = 10>
            <!--- current number of trys --->
            <cfset var trycnt = 1>
            <!--- flag that suffix is unique --->
            <cfset var isunique = false>
            <!--- try to generate a random url suffix --->
            <cfloop condition="(not isunique and trycnt lte tries)">
                <!--- number of epoch seconds --->
                <cfset epochs = DateDiff("s", "January 1 1970 00:00", Now())>
                <!--- the suffix is a base 36 number --->
                <cfset suffix = FormatBaseN((RandRange(1,100000000) + epochs),36)>
                <!--- make sure this URL key is unique among those already created --->
                <cfset isunique = URLDAO.isURLUnique(this,suffix);
                <cfset trycnt = trycnt + 1>
            </cfloop>
    Scheme 2 code:
    See http://www.bennadel.com/blog/1540-Converting-Numbers-To-A-Character-Set-Based-Radix-Using- ColdFusion.htm)

  • Coldfusion 11 Running on IIS Server and Java CreateObject Error

    I am getting the error below when trying to create an object in CF 11 using cfscript. In the CF Admin Java VM settings are the default setting. I have placed xmlsec-1.5.8.jar file under \cfusion\lib and cfusion\wwwroot\WEB-INF\lib I have also restarted the CF service.
    java.lang.NoClassDefFoundError: Could not initialize class org.apache.xml.security.signature.XMLSignature
    sun.misc.Unsafe.ensureClassInitialized(Native Method) at sun.reflect.UnsafeFieldAccessorFactory.newFieldAccessor(UnsafeFieldAccessorFactory.java:4 3) at sun.reflect.ReflectionFactory.newFieldAccessor(ReflectionFactory.java:142) at java.lang.reflect.Field.acquireFieldAccessor(Field.java:1082) at java.lang.reflect.Field.getFieldAccessor(Field.java:1063) at java.lang.reflect.Field.get(Field.java:387) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at coldfusion.runtime.StructBean.invoke(StructBean.java:508) at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2553) at cfdump2ecfm2106091068$funcDUMPOBJECT.runFunction(/WEB-INF/cftags/dump.cfm:1797) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:487) at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47) at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:383) at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:95) at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:334) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:533) at coldfusion.runtime.CfJspPage._invokeUDF(CfJspPage.java:2805) at cfdump2ecfm2106091068$funcRENDEROUTPUT.runFunction(/WEB-INF/cftags/dump.cfm:681) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:487) at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47) at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:383) at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:95) at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:334) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:231) at coldfusion.runtime.CfJspPage._invokeUDF(CfJspPage.java:2840) at cfdump2ecfm2106091068._factor17(/WEB-INF/cftags/dump.cfm:565) at cfdump2ecfm2106091068._factor25(/WEB-INF/cftags/dump.cfm:564) at cfdump2ecfm2106091068._factor3(/WEB-INF/cftags/dump.cfm) at cfdump2ecfm2106091068._factor54(/WEB-INF/cftags/dump.cfm:493) at cfdump2ecfm2106091068.runPage(/WEB-INF/cftags/dump.cfm:1) at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:246) at coldfusion.filter.CFVariablesScopeFilter.invoke(CFVariablesScopeFilter.java:56) at coldfusion.tagext.lang.ModuleTag.doStartTag(ModuleTag.java:332) at coldfusion.runtime.CfJspPage._emptyTcfTag(CfJspPage.java:2986) at cfjavatest2ecfm1994854383.runPage(J:\PPNPF_WEB\SAMLTEST\javatest.cfm:8) at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:246) at coldfusion.tagext.lang.IncludeTag.handlePageInvoke(IncludeTag.java:736) at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:572) at coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65) at coldfusion.filter.IpFilter.invoke(IpFilter.java:45) at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:487) at coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:42) at coldfusion.filter.MonitoringFilter.invoke(MonitoringFilter.java:40) at coldfusion.filter.PathFilter.invoke(PathFilter.java:142) at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:94) at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:2 8) at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38) at coldfusion.filter.NoCacheFilter.invoke(NoCacheFilter.java:58) 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.j ava:303) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) 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:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:422) at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:199) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.jav a:607) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:314) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:745)

    Does the coldfusion administrator show that the jar file is loaded? If you go to the Settings Summary and look for the CF Server Java Class Path part, it will list all the loaded files.

  • How to handle Coldfusion SOAP Web Service Errors

    Hi,
    I have just created simple wsdl example:
    My Component:
    <cfcomponent displayname="mytest">
        <cffunction name="service_login_authentication" access="remote" output="true" returntype="any" hint="Returns login">
         <cfargument name="login" type="string" required="yes">
            <cfargument name="password" type="string" required="yes">
              <cfif #arguments.login# eq "abcdef" and #arguments.password# eq "123456">
                      <cfxml variable="soapRes">                
                            <kps_response>
                                <message>OK</message>
                                <token>354dfdffsdf</token>
                             </kps_response>
                        </cfxml>
                 <cfelse>
                         <cfthrow type="MyException" message="INVALID LOGIN" errorcode="1000" />
             </cfif>        
          <cfreturn soapRes >
        </cffunction>
    </cfcomponent>
    Its generating wsdl and no problem with response but when generating any error like username and password does not match then it's generating fault code like this:
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <soapenv:Body>
          <soapenv:Fault>
             <faultcode>soapenv:Server.userException</faultcode>
             <faultstring>coldfusion.xml.rpc.CFCInvocationException: [coldfusion.runtime.CustomException : INVALID LOGIN. ]</faultstring>
             <detail>
                <ns1:hostname xmlns:ns1="http://xml.apache.org/axis/">HOST_NAME</ns1:hostname>
             </detail>
          </soapenv:Fault>
       </soapenv:Body>
    </soapenv:Envelope>
    But I want customize Fault Code like this:
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <soapenv:Body>
          <soapenv:Fault>
             <faultcode>1000</faultcode>
             <faultstring>INVALID LOGIN</faultstring>
          </soapenv:Fault>
       </soapenv:Body>
    </soapenv:Envelope>
    Fault Code and Fault String should be customize and I don't want detail tag completely. In old ColdFusion version like ColdFusion 8 displaying detail tag with <ns1:stackTrace xmlns:ns1="http://xml.apache.org/axis/"> coldfusion.xml.rpc.CFCInvocationException: and so on.
    Any suggestions on how to create customize faultcode and faultstring is very helpful.
    Thanks!!

    But my component is not produces this fault code:
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">                   
                                <soapenv:Body>                   
                                      <soapenv:Fault>                   
                                         <<faultcode>1000</faultcode>                   
                                                   <faultstring>INVALID LOGIN</faultstring>                   
                                      </soapenv:Fault>                   
                                   </soapenv:Body>                   
    </soapenv:Envelope>
    What is your ColdFusion Version as i have checked in ColdFusion 11 developer edition and ColdFusion 8 enterprise which is on window 2003 server.
    Could you please check my below component, did i am doing something wrong.
    <cfcomponent output="false">
        <cffunction name="service_login_authentication" access="remote" output="true" returntype="any" hint="Returns login">
         <cfargument name="login" type="string" required="yes">
            <cfargument name="password" type="string" required="yes">
      <cfset var isLoginValid = False>
            <cftry>
              <cfif #arguments.login# eq "1111" and #arguments.password# eq "1111">
                  <cfset isLoginValid = True>
                </cfif>
                 <cfif isLoginValid>
                        <cfsavecontent variable="soapRes"><?xml version="1.0" encoding="UTF-8"?>           
                           <kps_response>           
                               <message>OK</message>           
                               <token>354dfdffsdf</token>           
                            </kps_response>           
                         </cfsavecontent>           
                    <cfelse>           
                        <cfthrow type="MyException" message="INVALID LOGIN" errorcode="1000" />           
                    </cfif>
                      <cfcatch type="MyException">           
                         <cfsavecontent variable="soapRes">               
                                <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">                   
                                <soapenv:Body>                   
                                      <soapenv:Fault>                   
                                         <<cfoutput><faultcode>#cfcatch.errorCode#</faultcode>                   
                                                   <faultstring>#cfcatch.message#</faultstring></cfoutput>                   
                                      </soapenv:Fault>                   
                                   </soapenv:Body>                   
                                </soapenv:Envelope>                  
                           </cfsavecontent>
                    </cfcatch>
                </cftry>     
          <cfreturn soapRes >
        </cffunction>
    </cfcomponent>
    If my component is okay then may be possible some setting in ColdFusion administrator. i have checked in SoapUI as well via getSoapResponse method.

Maybe you are looking for

  • Text on schedule line of Scheduling Agreement

    Dear All, I want to maintain some text on each schedule line of JIT Delivery Schedule of Scheduling Agreement. Also this text should flow in Delivery as well as in Billing Document. How to maintain this text ? Regards SAGAR

  • ST-PI nad ST-A/PI VERSION

    Hi,   I am in the process of go-live auditing early watch alert configuration. and bi system patch level below i mentioned. SAP_ABA 700 18 SAP_BASIS 700 18 PI_BASIS 2005_1_700 17 SAP_BW 700 19 BI_CONT 703 11 solmon is 7.0. and for ecc 6.0 already con

  • EBS F5 263 - The difference is too large for clearing

    Hi, When I am trying to upload the bank file from FF_5, i am getting the error as "(F5 263) The difference is too large for clearing". I have already gone through with posts related with the same error but didn't get the solution. I have checked OBA0

  • Duplicate records in generic data source

    Hello, We have created a generic data source using a database view joing two tables MARA and MBEW. When we run the view in our DEV server, we get perfectly fine data. Now when run the same view in QA, we get duplicate records. Is it any thing to do w

  • IPad with cellular and wifi and a cheap end laptop or just a MacBook Pro/Air?

    Hi guys I'm a first year studying dentistry and my current laptop(Dell XPS M1530) have crashed so I'm looking at purchasing a new laptop. It has lasted 5 years and looking for something to take me another 5 years. I hear the iPad is selling faster th