Solved

urgent : cftreeformapplet  : class not found

Posted on 2001-06-12
17
184 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
 

Author Comment

by:poobalanr072299
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
<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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
LVL 4

Expert Comment

by:CF_Spike
Comment Utility
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
Comment Utility
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
Comment Utility
Can you browse to the applet cab file?

Spike
0
 

Author Comment

by:poobalanr072299
Comment Utility
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
Comment Utility
when i run the applet it's not asking for any download..
0
 

Author Comment

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

Expert Comment

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

Spike
0
 

Author Comment

by:poobalanr072299
Comment Utility
yes i have specified it already

0
 

Author Comment

by:poobalanr072299
Comment Utility
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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Introduction In this tutorial, I'll explain how to create an animated progress meter in a wireframe prototype developed using Axure RP 7.0 - a leading prototyping tool for designing web sites and software. (For more information about Axure and gett…
Periodically we have to update or add SSL certificates for customers. Depending upon your hosting plan you may be responsible for the installation and/or key generation. In the wake of Heartbleed many sites were forced to re-key. We will concen…
The purpose of this video is to demonstrate how to insert an Iframe into 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 : Open Page or Post…
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…

763 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now