Solved

urgent : cftreeformapplet  : class not found

Posted on 2001-06-12
17
199 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Are You Using the Best Web Development Editor?

The worlds of web hosting and web development are constantly evolving. Every year we see design trends change, coding standards adapt and new frameworks/CMS created. With such a quick pace of change it’s easy to get lost trying to keep up.

See if your editor made the list.

 

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

10 Questions to Ask when Buying Backup Software

Choosing the right backup solution for your organization can be a daunting task. To make the selection process easier, ask solution providers these 10 key questions.

Question has a verified solution.

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

Most ColdFusion developers get confused between the CFSet, Duplicate, and Structcopy methods of copying a Structure, especially which one to use when. This Article will explain the differences in the approaches with examples; therefore, after readin…
What You Need to Know when Searching for a Webhost Provider
The purpose of this video is to demonstrate how to manually back up a WordPress Database. This will be demonstrated using a Windows 8 PC. The Host used will be IPage.com Log into your Hosting account. IPage will be used for demonstration : Locat…
The purpose of this video is to demonstrate how to set up an RSS Feed on a WordPress Website. This will be demonstrated using a Windows 8 PC. Feedburner will be used for this demonstration. Go to your WordPress login page. This will look like the…

622 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