Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

urgent : cftreeformapplet  : class not found

Posted on 2001-06-12
17
Medium Priority
?
201 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
Manage your data center from practically anywhere

The KN8164V features HD resolution of 1920 x 1200, FIPS 140-2 with level 1 security standards and virtual media transmissions at twice the speed. Built for reliability, the KN series provides local console and remote over IP access, ensuring 24/7 availability to all servers.

 

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 80 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

Fill in the form and get your FREE NFR key NOW!

Veeam® is happy to provide a FREE NFR server license to certified engineers, trainers, and bloggers.  It allows for the non‑production use of Veeam Agent for Microsoft Windows. This license is valid for five workstations and two servers.

Question has a verified solution.

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

Article by: kevp75
Hey folks, 'bout time for me to come around with a little tip. Thanks to IIS 7.5 Extensions and Microsoft (well... really Windows 8, and IIS 8 I guess...), we can now prime our Application Pools, when IIS starts. Now, though it would be nice t…
Objective of This Article In 1990’s, when I was a budding software professional, I had a lot of confusion about which stream or technology, I had to choose to build my career. In those days, I had lot of confusion like whether to choose System so…
The purpose of this video is to demonstrate how to exclude a particular blog category from the main blog page. This is can be used when a category already has its own tab, or you simply want certain types of posts not to show up on the main blog. …
The purpose of this video is to demonstrate how to set up basic WordPress SEO. This will be demonstrated using a Windows 8 PC. The plugin used will be WordPress SEO by Yoast. Go to your WordPress login page. This will look like the following: myw…

705 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