Solved

urgent : cftreeformapplet  : class not found

Posted on 2001-06-12
17
195 Views
Last Modified: 2013-12-24
hi,
i'm working with cftree tag. it works fine in systems which have coldfusion installed.
while working with systems which dont have coldfusion, i get a error cftreeformapplet class not found exception.
what would be the problem.
My CFserver is under linux and its under root.

poobalanr
0
Comment
Question by:poobalanr072299
  • 10
  • 7
17 Comments
 
LVL 4

Expert Comment

by:CF_Spike
ID: 6180961
Where exactly do you get this error?

If the system is correctly set-up people who have never used the cftreeformapplet should be prompted to download the applet from http://yourserver/CFIDE/classes/CFJava.cab or something similar depending on which release of CF you are using. The path will be the same for all releases, but the cab file may be different. If this path isn't accessible or the cab file doesn't exist you will get the errors you are seeing.

Also make sure that the attribute enablecab in the cfform tag is set to yes to ensure that the download is attempted for users without the applet.

Spike
0
 

Author Comment

by:poobalanr072299
ID: 6181089
i have been using linux server and cfserver 4.5, the classes are present in the /home/httpd/htdocs/cfide/allaire/controls/classes

but when i browse from my system i have locally installed cfserver4.5 in my system and the tree is displayed,
but in a system with out coldfusion the tree is not displayed and cftreeformapplet class is not found ,

and of the tag using applet are not displayed
such as cfslider,cftree etc.,


is there any classpath to be set in cfserver

please reply
poobalan
0
 
LVL 4

Expert Comment

by:CF_Spike
ID: 6181176
Have a look at the source in a page which uses the cftree control. You should see a javascript block which refers to the path to the class file. Check if the path is valid. If not then that is what would be causing the problem.

There is a setting in CF Administrator for Classes in CF5, but I can't remember if it is there on CF 4.5. Also, I can't remember if it needs to be set to something specific, or if it has a defalut value.

Spike
0
Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

 

Author Comment

by:poobalanr072299
ID: 6181222
spike,
i saw the source code, there the applet tags shows the code as allaire.controls.cftreeformapplet.
and the codebase is "/CFIDE/classes/".

All the class files are there in /cfide/classes directory in the server.

but this works in the local system  where CF is installed.

poobalanr
0
 
LVL 4

Expert Comment

by:CF_Spike
ID: 6181239
If you are on a Linux server maybe there is a problem with case sensitivity on the directory path. You say that the source code says /CFIDE/, but the class files are in /cfide/, maybe that is just a typo, but it's probably worth checking.

Spike
0
 

Author Comment

by:poobalanr072299
ID: 6181274
no spike,

that's by mistake i typed cfide. that's CFIDE only...
is there a'thing to do with the .cab file or get me some other solutions

poobalanr
0
 
LVL 4

Expert Comment

by:CF_Spike
ID: 6181309
Have you tried to browse to the url where the cab file is stored?

If so, did you find the file?

If you did, then I'm kinda stumped. There should be no reason why the url provided in the Javascript block wouldn't work.

One other thing...

Did the javscript block only show a path, or was there a .cab file on the end of the path?

Spike
0
 

Author Comment

by:poobalanr072299
ID: 6181471
<APPLET NAME="scnew" CODE="allaire.controls.CFTreeFormApplet" CODEBASE="/CFIDE/classes/" HEIGHT=320 WIDTH=200> <param NAME="ApplicationClass" VALUE="allaire.controls.cftreeform">

this is the code which was there..

if i browse the file in another system in local LAN

it downloads an applet in path
http://server/cfide/classes/CFJava.cab

but cab file does not exists in our linux server.

whether this is the problem

how to correct this
0
 
LVL 4

Expert Comment

by:CF_Spike
ID: 6181500
I would suggest that you put the CFJava.cab on the Linux server. I'm a bit mystified why it isn't there, but that would certainly cause the problem.

Also, you should probably copy all the cab files from the other server on the LAN to the Linux server as some other controls will use them. Again, I can't remember how many of them there are on CF 4.5, but there are 2 plus a bunch of sub-directories on CF 5.0. Just to be safe I would copy the whole /classes/ directory structure to the Linux machine.

Spike
0
 

Author Comment

by:poobalanr072299
ID: 6181595
i've uploaded the CFJava.cab files on to the server.
still, shows the same error.

poobalanr
0
 
LVL 4

Accepted Solution

by:
CF_Spike earned 20 total points
ID: 6181611
Can you browse to the applet cab file?

Spike
0
 

Author Comment

by:poobalanr072299
ID: 6181689
when i type the exact as
http://ip/CFIDE/classes/CFJava.cab, it asks to download the zip file.
but when we run using the applet it it's not working

poobalanr
0
 

Author Comment

by:poobalanr072299
ID: 6181698
when i run the applet it's not asking for any download..
0
 

Author Comment

by:poobalanr072299
ID: 6181719
when i run the applet it's not asking for any download..
0
 
LVL 4

Expert Comment

by:CF_Spike
ID: 6181729
Did you specify enablecab="Yes" as an attribute of the CFFORM tag?

Spike
0
 

Author Comment

by:poobalanr072299
ID: 6181757
yes i have specified it already

0
 

Author Comment

by:poobalanr072299
ID: 6181812
ok i will try to reinstall the server in linux ,
there must be some problem in installation i think ,

after that i will reply u.

thanks

0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Now that Expression Web 4.0 (http://www.microsoft.com/expression/products/Upgrade.aspx) is free if you buy or have the full version of Expression Web 3.0, now is the best time to  migrate from FrontPage to Expression Web (http://www.frontpage-to-exp…
If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
The purpose of this video is to demonstrate how to Import and export files in WordPress. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php : Click on Too…
The purpose of this video is to demonstrate how to prevent comment spam on a WordPress Website. This will be demonstrated using a Windows 8 PC. Plugin Akismet will be used. Go to your WordPress login page. This will look like the following: myw…

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question