CF8 Issue

I'm trying to call a web service from CF8, running on Mac OS
X 10.4.10 (with all updates).
I'm getting this error on the cfinvoke line:
coldfusion.jsp.JavaCompiler$UnknownCompiler: Unable to run
the internal Java compiler: java.lang.NoClassDefFoundError:
javax/tools/StandardJavaFileManager.
This is using Java 5 that comes as part of OS X (again with
all updates). Browsing to the WSDL for the CFC in question returns
the expected wsdl. javax.tools.StandardJavaFileManager appears to
be part of Java 6, not Java 5. I tried installing the Java 6
pre-release for Tiger from last fall, doesn't seem to make a
difference.
Mark

I'm answering this for myself, as no one else has. It appears
that CF8 ships with the JDK 1.6 tools.jar file in cfusion/lib. The
JDK1.5, which is current on a Mac, includes the 1.5 version of the
tools.jar. The conflict causes the JVM to blow up. Removing the
tools.jar on a mac should let the native tools.jar work. On a PC,
if you're swapping between a 1.5 and 1.6 JVM, you'll need to
replace the cfusion/lib/tools.jar with the correct version. Adobe
needs to write an official technote on this.
Information gleaned from:
http://www.petefreitag.com/item/652.cfm
http://coldfused.blogspot.com/2007/08/coldfusion-and-webservice-file-has.html
http://rahulnarula.blogspot.com/2007/06/coldfusion-8-installation-tip.html

Similar Messages

  • CF8 string replacement of \ with ' generates errors ?

    Hello,
    I have been banging my head on this CF8 issue for too long now.   I have a string that
    is of the form [~]'trespes[~] where I need to replace [~] with the escaped backslash
    \   I have tried coldfusion replace, and java ReplaceAll but whenever I put any
    escaped html into the fuction, replace(string,"[~]","\") I get an error from CF
    Missing argument name. When using named parameters to a function,
    every parameter must have a name.
    If I use java ReplaceALL I get the same result.  Any insight to this problem would
    be greatly appreciated, driving me batty..   I know it must be simple..  ugh.
    Thanks,
    Bob

    http://help.adobe.com/en_US/ColdFusion/10.0/Developing/WSc3ff6d0ea77859461172e0811cbec0999 c-7ffb.html
    The docs are for CF10, but it's the same in CF8.
    Adam

  • CF8 Install Problems on a Windows Dedicated VPS

    Hello,
    I have a dedicated VPS running Windows Server 2003 that I am
    using to run CF8 on. However, I can't access the CF administrators
    page. When you click on Administrator under the Adobe folder in the
    start menu, the browser opens and acts as though it is bringing the
    page up and then it goes to a download window like you are
    downloading a program. Finally, the browser window returns the
    message "Service Unavailable". I have tried to get the company who
    I lease my VPS server from to help me, but they said this is a CF8
    issue and they can't help me. The best they could do is tell me to
    try accessing coldfusion through my VPS IP address with :8500 in
    front of it. That still does nothing. Under Windows services, I
    verified that the CF8 application server is running. I just don't
    know what to do now. I would appreciate any help with this
    matter.

    If it is 64-bit Windows, CF is not supported on 64-bit yet.
    http://www.forta.com/blog/index.cfm/2006/2/6/Connecting-ColdFusion-MX-7-To-64bit-IIS-6
    That post will point you to this Microsoft page:
    http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/405f5bb5-87a3-4 3d2-8138-54b75db73aa1.mspx?mfr=true
    Watch the wrap on the URLs
    Ken Ford
    Adobe Community Expert - Dreamweaver
    Fordwebs, LLC
    http://www.fordwebs.com
    "RTCXi" <[email protected]> wrote in message
    news:flh46i$ejb$[email protected]..
    > Hello,
    >
    > I have a dedicated VPS running Windows Server 2003 that
    I am using to run
    > CF8
    > on. However, I can't access the CF administrators page.
    When you click on
    > Administrator under the Adobe folder in the start menu,
    the browser opens
    > and
    > acts as though it is bringing the page up and then it
    goes to a download
    > window
    > like you are downloading a program. Finally, the browser
    window returns
    > the
    > message "Service Unavailable". I have tried to get the
    company who I lease
    > my
    > VPS server from to help me, but they said this is a CF8
    issue and they
    > can't
    > help me. The best they could do is tell me to try
    accessing coldfusion
    > through
    > my VPS IP address with :8500 in front of it. That still
    does nothing.
    > Under
    > Windows services, I verified that the CF8 application
    server is running. I
    > just
    > don't know what to do now. I would appreciate any help
    with this matter.
    >

  • Issues with Flex3 and CF8 on Windows Vista

    Sorry for the whine, however I feel it necessary to get a few
    issues I've found with Flex3 on a Vista Laptop working with CF8
    that I've not seen documented elsewhere.
    Environment:
    Sony Laptop with Intel Core 2 Duo processor and 3 GB Ram.
    Running CF 8 Standard Edition, along with mySQL 5.x and
    access to a SQL Server instance on another machine on the same
    local network.
    What I am trying to do:
    A) learn flex, my background is CF with over 8 years of
    experience along with Flash AS2 along the way.
    B) put together a hello world app.
    C) use the flex/cf application wizard to build a simple
    master/detail set of selection/edit screens for one table of a
    database that I used recently on a CF8 project. To see how much
    better the UI really is on Flex and whether I could use it to retro
    fit that old application to have a better UI using flex3.
    Issues.
    My mini-application is set up initially in the folder
    c:/inetpub/wwwroot/mydirectory, but it does not work.
    Reason is that when run, it cannot access the flex2gateway on
    the url that the wizard puts into the app. which is
    http://localhost/mydirectory/flex2gateway...
    Details:
    flex2gateway does not work on a subdirectory URL on the
    default web site.
    If I access
    http://localhost/flex2gateway/
    I get a blank screen (as expected) meaning that the flex2gatweway
    is working.
    If I access
    http://localhost/mysubdirectory/flex2gateway/
    I get a 404.0 error (not found)
    Now, I beleive this is supposed to work, something must be
    wrong with one of the xml file setups. But I cannot find any
    documentation for it.
    Initially the flex2gateway did not work at all. I did the web
    connector thing with CF batch file and that got it working, but
    only on the base directory, not the subdirectory.
    So, to get around this issue, Luckily Vista with IE7 allows
    more than one website.. I create a whole new website that is
    accessed using
    http://192.168.1.73:81/
    I set this website up in the folder c:/localhost/mydirectory.
    The flex project is called mydirectory
    So we come to issue 2.
    Given the above Issue number 1, I have further frustration
    because when the Flex/Cold Fusion Application wizard builds the
    various mxml files it insists on prefixing all of the remote object
    calls with 'mydirectory.'
    e.g "mydirectory.components.cfgenerated.mycfc"
    Now, given that the web root is also the base of the project,
    this will not work.
    What actually works is: "components.cfgenerated.mycfc"
    There seems to be no way I can configure the project when
    building it to get around this issue. The only way |I can fix this
    is to manually edit all the mxml files after the wizard is
    finished. I also have to doctor the project setup for similar
    reasons. It wants all of the urls to be:
    http://192.168.1.73:81/mydirectory/bin/main.html
    instead of
    http://192.168.1.73:81/bin/main.html
    So obviously the wizard is not set up to handle applications
    that are based right at the web root, even though this is the only
    place that the flex2gateway can work. <snafu I guess>
    Issue 3:
    I find that the flex/Cf application wizard is set up to build
    pages based upon a certain narrowly defined way of constructing the
    source database tables. In particular it wants every table to have
    its own unique numeric id for each row, and can't handle a string
    for the primary key and have the primary key editable as well.
    Seems inflexible if you ask me. The main problem is that the
    preconditions on the table structure that the wizard can work with
    are poorly defined and documented. You obviously had to go to the
    same school of database design and the same class as the Adobe
    developers to think in the same way.
    Given that this tool is supposed to be a help to new users of
    Flex and AS3 and it is supposed to be a productivity aid, perhaps I
    should not be surprised to have had to spend over a week getting to
    grips with the wizard and learning its tricks just to get it to
    build a mind numbingly simple mini app of my own that works when
    run. Sorry Adobe, but you get a F minus on your report card for
    this one, particularly on the really bad documentation. Just as bad
    for the coding complexity of the solution to seemingly simple
    application concept.
    Cheers,
    Bryn Parrott

    Hi,
    Which version of RDP client you are using for your client?
    Does more user login at same period of time?
    As you have commented that after sticking the user can’t able to login in RDCB server, here I can suggest you to check the setting of connection broker. Also you can check that you have place the proper location path of UPD while configuring in collection configuration
    wizard. You can take a look at below article foe virtual desktop configuration.
    Deploying Virtual Desktops with Windows Server 2012
    Are you trying to use same UPD for different collection then also it might happens to occur your issue. The fact of UPD is User profile disks are for a single collection only. A user connecting to two different collections will have two separate profiles. If
    you want to synchronize settings, refer to Microsoft User Experience Virtualization. Go through this article for more understanding related to UPD.
    Working with User Profile Disks on Session-Based Desktop Deployments
    Hope it helps!
    Thanks.

  • CFMAIL issue in cf8

    I have set up the mail connection via CF Admin.
    I tested connection and I ahve no problem.
    But now when I send any emails where the address is in
    format:
    [email protected] it fails with invalid address
    but if i try [email protected] it send the email with no problem.
    So I know that my connection is correct.
    In fact, I already CF7 as my production server, but we are
    testing this to see if it is worth it for us to
    upgrade.
    So far this issue is cauing a major issue.
    Because many of clients have email format that I specified.
    I tested this from my email account from ail server to an
    address [email protected], and was able to send it with no problem.
    Only when using cfmail, seems to be having an issue.
    If anyone can give me a pointer or a some information to
    andle this wuld be great.
    Asad

    i have no problems sending mail to addresses like
    [email protected] using
    cf8's cfmail...
    tested on cf8 with hf2 on winxp. do you have all hotfixes in
    stalled?
    Azadi Saryev
    Sabai-dee.com
    http://www.sabai-dee.com/

  • CF8 ODBC performance issues w/ SQL 2K5

    Problem: A basic "select *" query returning 5 rows is taking
    a little over 5000ms.
    Platform: Vista Business, CF8 Developer, MS SQL 2K5 Developer
    SP2, ODBC Socket using trusted connection
    I ran a query against cfartgallery without any performance
    problems. Leads me to believe this is an ODBC issue.
    (Server monitor memory tracking is off.)
    Does anybody have any suggested fixes? Thank you.

    gdemaria -
    I reverted back to using MX7 rather than 8.
    I tried using the JDBC driver, which is the default driver on
    the first screen--where you have to specify a username and password
    and you connect over port 1433-- but I couldn't get that to work.
    (This is probably a problem with my SQL server configuration.)
    My plan is to play around some more with the JDBC driver. Or,
    wait and see if I get an ODBC solution from the forum here. For now
    I will develop on MX7 and use CF8 in the live hosting
    environment---not an ideal situation, but it's workable.

  • Cfdocument printing issues: cf7 vs cf8

    Here's what happens when I create a pdf with
    <cfdocument> on CF7 vs CF8:
    CF7
    The generated pdf is 16 pages and 87.6 KB. When I print the
    pdf the progress bar in acrobat fills up immediately. The total
    size in the print spooler is 1.18MB
    CF8
    The generated pdf is 16 pages and 622 KB. When I print the
    pdf the progress bar in acrobat takes almost 3 minutes to get to
    100%. The total size in the print spooler is a whopping 75.5MB
    I am using fontembed="false", but that seems to have no
    effect on the actual filesize either. Also, on the CF8 document I
    can click all over the place and get these 1/2" x 1/2" blue cubes
    that show up. They are exactly like the ones you get if you click
    on an image, only they are in random areas all over the place. One
    other thing, when I save the CF8 pdf, there is a progress bar in
    the lower right that says "optimized for fast web viewing". It
    doesn't do that for CF7.
    What is going on here, and what can be done? Users are not
    able to print anything out in a timely fashion. Thanks.
    EDIT:
    If I don't import my 3KB css file, the pdf behaves like it
    does in CF7, minus the formatting of course

    There was a background image in the css that was causing the
    issue, but it was only a problem when using @import to get the css,
    and only in CF8.

  • Significant Load Issues (CF8 and Model Glue 2)

    I'm running an enterprise-level application running CF8 and Model Glue 2 that has seen a recent spike in users.  Several hundred users are submitting complex forms at any one time, which then trigger e-mails.
    During our peaks, we're seeing the following error messages pour in:
    Either there are no methods with the specified method name and argument types, or the getUserID method is overloaded with argument types that ColdFusion cannot decipher reliably. ColdFusion found 0 methods that matched the provided arguments. If this is a Java object and you verified that the method exists, you may need to use the javacast function to reduce ambiguity.
    Has anybody run into these types of errors before.  I'd really appreciate your guidance.

    Sounds like you have an issue with the var scope.
    Model Glue controllers are singletons and this means one single instance of
    the controller is shared among all requests. While this is a great way to
    increase performance, it does mean you must be careful to use the ColdFusion
    var keyword properly.
    Since this is showing up under load, I am going to bet this is the issue. *Here
    is what you need to do:*
    Short Version:
       1. Download this: http://varscoper.riaforge.org/
       2. Run it against your application and fix everything it finds.
    Long Version:
       1. Read this:
       http://www.nodans.com/index.cfm/2007/9/27/Is-your-code-Thread-Safe-How-do-you-know
       2. Watch this:
       http://www.schierberl.com/blog/thread-safety-and-the-var-scope-live-example/
       3. Download this: http://varscoper.riaforge.org/
       4. Run it against your application and fix everything it finds.
    Dan Wilson

  • CF8 cfQuery Issue

    In previous versions of CF you could execute a stored
    procedure using the <cfQuery> tag and you would receive a
    query result set containing the returned data. For example:
    <cfquery name="checkLogin" datasource="myDataSource">
    Execute LoginUser
    @Email = '[email protected]',
    @PasswordHash = '5F4DCC31234765D61D8327DEB882CF99'
    </cfquery>
    In CF7 and prior this would return a query result set
    containing several fields that specified the permission level of
    the user, etc. In CF8 the result set contains a single column
    called “COMPUTED_COLUMN_1” and has a single blank row.
    I’ve tested this same code on CF7 and it works fine. We
    need to use <cfQuery> rather than <cfStoredProcedure>
    because we need to be able to pass in the names for parameters
    since they can be in any order and our stored procedures
    don’t always require all parameters. <cfProcParam> does
    not allow you to pass in a parameter name. There is a dbVarName
    attribute but it hasn’t worked since the pre-MX days even
    though it is still referred to in certain places in the docs.
    Anyone else having this problem?

    I get correct results from a similar stored procedure with
    CF8 using either the CF8-supplied SQLServer driver or the Microsoft
    v1.1 JDBC driver from
    http://www.microsoft.com/downloads/details.aspx?familyid=6d483869-816a-44cb-9787-a866235ef c7c
    It works OK with SQLServer 2000 and with SQLServer 2005.
    Since you are not getting any error, it doesn't seem that you
    need to use dbVarName.
    Maybe you should try it with a test procedure which just
    returns the arguments to see what is going on.
    -tom-

  • CF8.01 Cluster creation issues

    I've just recently installed CF8.01 Enterprise edition with
    IIS 6, and I'm trying to wrap my head around creating instances
    from J2EE EAR archives and clustering them on the same machine.
    I followed the official instructions for "Enabling clustering
    for load balancing and failover", but I don't quite understand why
    you'd want to overwrite the IIS website connected to the cfusion
    instance with the clustered instance, as this makes the cfusion
    CFIDE administrator page inaccessible. Should I create a separate
    webserver for the cluster first and connect it to that?
    Also, how can I easily update the clustered instances? We're
    used to editing templates on a test machine and then copying the
    changes directly to the production server, but obviously it won't
    be that simple with multiple instances.

    WV_DEP_GUY wrote:
    > That is Cold Fusion 8 cannot do load balancing and
    failover without a third party product. Is this correct?
    I think it can, on the same machine. I.E. I know you can have
    multiple
    instances of ColdFusion installed on the same machine. I have
    read that
    this *can* be used for fail over and|or load balancing.
    Personally, I
    have only used it for application isolation.
    But I think when you start talking multiple physical servers,
    then you
    are looking outside of ColdFusion for your load
    balancing|fail over tools.
    Just be aware that there maybe more options here, depending
    on what you
    want to do. It is often not thought that a ColdFusion server
    can be
    separated from and configured to connect to one or more
    remote web
    server boxes. You can separate the web server layer from the
    application server layer. Then you can load balance|fail over
    these
    layers independently of each other as needed or desired.

  • CF7, CF8, CF Administrator and JRun Launcher Issue

    I've got 2 cf8 instances and 2 cf7 instances installed. The
    odd thing is that the jrun launcher and cf administrator don't
    recognize that the cf7 instances are running. I can stop and
    restart them just fine using the JRun Launcher, but only after I
    use the Windows Service MMC to stop the services. Any ideas on why
    this is happening?
    Also, is there any way to tell the JRun Launcher to use a
    specific jvm.config file for starting up an instance?
    The command line jrun -config jvm_cfusion7_1.config -start
    cfusion7_1 works just fine, but I really need these to run as a
    windows service so they are automatically started when the box
    boots up.

    Jon,
    As another long time CF Admin/Dev I second everything you've
    said here..
    I've been using the CFMX/JRun mix for years now and love it;
    but I'm always finding myself spending way too much valuable time
    looking through these boards for solutions.
    I particularly like the idea of setting up a 'kit' with a
    full dir structure, etc. - That would be a great idea for newer
    users.. I'd also like to see better commenting or readmes that
    fully explain the configuration options for all files - such as all
    of the xml files under the WEB-INF dir..
    There have been a few too many times that I've looked in the
    documentation only to have it tell me to get a book for 'advanced
    config options' - and I wouldn't consider any of what I'm looking
    to do to be 'advanced'.. thank god for Ben Forta!
    -mw

  • CF8 Installation issue

    Hello All
    I have a CF6.1 MX dev sever running under windows 2003Server
    sp2. The 6.1 instance is installed in a dir c:\CFusionMX. 6.1 is
    connected to IIS 6 from the original install
    I am trying to install CF8 standalone on the same box (not
    linked to IIS6) but the installation keeps returning I error
    associated with ANT.
    the CF8 installer creates c:\JRun4 and does the installation
    in there however the one point where the process fails is a call to
    c:\CFusionMX\servers\etc\etc\etc here is some lines including the
    error
    Install File: C:\JRun4\Readme.htm
    Status: SUCCESSFUL
    Modify Text File - Single File: New File
    C:\JRun4\jrun.license.properties
    Status: SUCCESSFUL
    ANT Script Error:
    Status: ERROR
    Additional Notes: ERROR -
    jrun.xmlC:\CFusionMX\servers\cfusion\cfusion-ear\cfusion-war\WEB-INF\cfusion\lib
    not found.
    Custom Action:
    com.macromedia.ia.action.ExecuteANTScriptAction
    Status: SUCCESSFUL
    Install File:
    C:\JRun4\docs\javadocs\allaire\jrun\install\GetControlPort.html
    Status: SUCCESSFUL
    Install File:
    Well this directory doesn't exist within the CF6.1
    Installation. I am beginning to think that the CF8 installer has a
    hard coded path to c:\CFusionMX\ which is screw up from Adobe ?
    Before you ask i have done all the turning off of DEP, I have
    cleared temp directories, changed temp directories to paths without
    spaces, I am logged in as Administrator and I have set read
    permissions on the installation directory. In short I have done
    everything I can find on various KB articles and fora
    Help me !!!!

    Check out the 2nd comment in the LiveDocs for cfchart:
    http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=Tags_c_05.html#comments

  • CF8.01 Large Files Upload issue

    We are having an issue with posting large files to the server
    through CFFile. Our server is running on Windows 2003 R2 SP2 with
    2GB of RAM. The average upload size is 800MB and we may run into
    multiple simultaneous uploads with the large file size. So, we have
    adjusted the "Maximum size of post data" to 2000 MB and "Request
    Throttle Memory" to 5000 MB in the ColdFusion admin setting to
    hopefully can allow up to 5 simultaneous uploads.
    However, when we tried to launch two 800MB uploads at the
    same time from different machines, only one upload can get through.
    The other one returned "Cannot connect to the server" error after a
    few minutes. No errors can be found in the W3C log and the
    ColdFusion logs (coldfusion-out.log and exception.log) but it is
    reported in the HTTPErr1.log with the following message:
    2008-04-18 08:16:11 204.13.x.x 3057 65.162.x.x 80 HTTP/1.1
    POST /testupload.cfm - 1899633270 Timer_EntityBody DefaultAppPool
    Can anyone shed some light of it? Thanks!

    quote:
    Originally posted by:
    Newsgroup User
    Don't forget that your web server (IIS, Apache, etc.) can
    have upload
    throttles as well.
    We did not throttle our IIS to limit the upload/download
    bandwidth.
    Is there a maximum limit for "Request Throttle Memory"
    setting? Can we set it over the available physical RAM size?

  • CF8 & IIS6 issue

    Really weird issue happening.
    I've setup a site 'abc.com' in IIS and pointed it to a local
    directory 'cfusion-war\abc\'. Site resolves, everything works.
    I setup a second site 'abc2.com' and point it to
    'cfusion-war\abc2\' and it points the domain back to the root
    folder 'cfusion-war'.
    Thinking it was just an IIS issue I tried pointing the
    'abc2.com' site to a directory that only had an 'index.htm' file in
    it to test, 'cfusion-war\abc2-html', and it resovles to the correct
    page.
    So the issue is, for any site in IIS that points to a
    coldfusion site outside of the 'cfusion-war\abc' directory the page
    won't resolve. Point it to that directory though and it will.
    Anyone faced this issue before?
    Thanks in advance!
    Paul.

    Should also mention that we're running Windows Server
    2003.

  • CF8 on 32bit Server 2008 Install Issues

    Brand new Server 2008 with IIS7 install, fresh download of CF8 developer version (not the 64bit version).  The administrator won't show up.  When I go to the administrator, I get a 404 not found error.  When I browse through Explorer (not IE) it's there.  Everything is installed in the default folders.  I added the .cfm MIME Type (application/x-cfm) through IIS Manager and that didn't help.  Our other servers are Server 2003 and installing CF8 was a breeze.  We can view .html pages.
    Anyone have any ideas?

    This might help:
    http://www.jasonholden.com/blog/index.cfm/2008/5/6/Coldfusion-8-on-Windows-Server-2008
    Ken Ford
    Adobe Community Expert - Dreamweaver/ColdFusion
    Adobe Certified Expert - Dreamweaver CS3
    Adobe Certified Expert - ColdFusion 8
    Fordwebs, LLC
    http://www.fordwebs.com
    http://www.cfnoob.com

Maybe you are looking for

  • Stuck at the Gray Apple Startup Screen

    I've got a bit of an issue here I could use some help on. Let me first start by saying that I've already researched this some on these boards, but the folks with similar issue threads didn't seem to cover my issue. I have a PowerPC G4 with 1Ghz/1Gig

  • How to assign changed organizational unit to person

    Hi Experts, we moved some employees from  one organizational unit to newly created one  in tcode  PPOM_OLD. In PPOM_OLD i created new unit ,assign position then assigned employee But when i see in PA30 the organizational unit remains same.Even when i

  • Debugging of Routines in transfer rules

    Hi All, I wrote a routine and trying to debug.I tried to debug using "Simulate update" option when we right click in the monitor screen.I don't know how to proceed from there.Could some one explains the steps to debug the routine in transfer rules? Y

  • Add ALV Button to VKM1 ALV output

    Can you tell me the best way to add a button to the ALV grid output from the VKM1 transaction? I wanted to add it to the GUI Status, but all the function keys for the STANDAKR status are taken, so it wouldn't let me. I then tried to add the Classes a

  • Export to pdf on windows 7

    hi all i dont seem to be able to use the export to pdf option on my documents when i installed sap on windows 7. when i turn UAC off, it works. but i do not want to turn UAC off. do i have any options? is there any other setting that is blocking this