Skip to main content
May 18, 2011
Answered

CFApplets seem to not be installed

  • May 18, 2011
  • 2 replies
  • 3050 views

I am currently moving a legacy application from CF7 to CF9. One trouble I'm having is with the cfgrid tag. The applet is failing. To ensure that this is a problem with my server setup and not the applicaiton I created a test case:

<cfquery datasource="user" name="users">

select  *

from    Main_Users

order by lastname, firstname

</cfquery>

<div style="background-color:yellow" >

<h3>cfgrid Example</h3>

<i>Currently available courses</i>

<!--- cfgrid must be inside a cfform tag. --->

<cfform>

    <cfgrid

        query="users"

        name="urupdating">

    </cfgrid>

</cfform>

</div>

The java applet fails and when I click it for more details I get:

load: class coldfusion.applets.CFGridApplet.class not found.
java.lang.ClassNotFoundException: coldfusion.applets.CFGridApplet.class
     at sun.plugin2.applet.Applet2ClassLoader.findClass(Applet2ClassLoader.java:252)
     at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Plugin2ClassLoader.java:250)
     at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Plugin2ClassLoader.java:180)
     at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Plugin2ClassLoader.java:161)
     at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
     at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Plugin2ClassLoader.java:687)
     at sun.plugin2.applet.Plugin2Manager.createApplet(Plugin2Manager.java:3046)
     at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Plugin2Manager.java:1498)
     at java.lang.Thread.run(Thread.java:680)
Exception: java.lang.ClassNotFoundException: coldfusion.applets.CFGridApplet.class

Seems like I don't even have this part of CF installed. I've compared the Extenstions from the working CFAdmin to my own and don't see anything missing. If this is something internal to the installation I haven't been able to find any clues to installing it. Checking the documentation indicates that I don't need to intsall anything further.

    This topic has been closed for replies.
    Correct answer Dave Watts

    Did you create a virtual directory (/CFIDE) pointing to your CFIDE directory?

    Dave Watts, CTO, Fig Leaf Software

    http://www.figleaf.com/

    http://training.figleaf.com/

    2 replies

    August 20, 2013

    I've found another thing that can cause this issue.

    Check to see if you can access

    http://your_server:8307/CFIDE/scripts/cfform.js 

    and http://your_server:8307/CFIDE/scripts/masks.js

    Some of the lockdown scripts lock the scripts folder unneccesarily.

    Dave WattsCommunity ExpertCorrect answer
    Community Expert
    May 18, 2011

    Did you create a virtual directory (/CFIDE) pointing to your CFIDE directory?

    Dave Watts, CTO, Fig Leaf Software

    http://www.figleaf.com/

    http://training.figleaf.com/

    Dave Watts, Eidolon LLC
    May 18, 2011

    Yes, that was configured by the installation. Under Server Settings > Mappings I have the Logical path set as /CFIDE and that points to it's server's CFIDE directory.

    Looking into that directory do have cfapplets.jar at ./CFIDE/classes/cfapplets.jar

    My user has Read & Write (this is a local dev instance) and everyone else has Read.

    Community Expert
    May 18, 2011

    This isn't an issue with CF mappings. CF mappings are only used by CF to resolve paths. Your web server relies upon its own virtual directories.

    If you open a browser and go to this URL:

    http://your_server/CFIDE/classes/cfapplets.jar

    does your browser start downloading that file?

    If not, you need to create a virtual directory in your web server that points to this physical directory.

    Dave Watts, CTO, Fig Leaf Software

    http://www.figleaf.com/

    http://training.figleaf.com/

    Dave Watts, Eidolon LLC