Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Bad Magic Number

Status
Not open for further replies.

aimskee

Programmer
Feb 3, 2000
60
US
When I try to use CFGRID or CFTREE I cannot get my pages to work using these tags on some of our servers because apparently these servers are somehow not Java-enabled.&nbsp;&nbsp;<br>What do I do to &quot;java-enable&quot; these servers so I can see my pages using these tags on the server (currently not set up properly to view CFGRID or CFTREE) I want to show them on?<br>The message on the bottom message bar of the browser) down at the bottom shows a &quot;Bad Magic Number&quot; error.
 
I don't think CFGRID or CFTREE needs java on the server, but java is required on the client's browser...<br><br>It's been my experience that the CF java apps (CFGRID, CFTREE, CFSLIDER, etc.) are not very useful since there is so much potential for problems on the client end.&nbsp;&nbsp;You're probably better off doing these things with javascript or tables, where you're MUCH more likely to have less problems on the client side....
 
Thanks for the quick response. What you said makes good sense in terms of using these features at all.&nbsp;&nbsp;&nbsp;But before I give up completely...<br>If it's a client browser issue, why do these tags work on one server I use and not the other? I have Java virtual machine turned on as option. And I can see these pages on this browser when I use another server. Something is not set up properly on my machine for the &quot;Bad Magic Number&quot; server.<br>And if this is not all, there is another message: <br>load: class allaire.controls.cfGridFormApplet not found. (in addition it says other java.lang etc. classes not found depending on whether I am calling grid or tree.<br>Any further wd be appreciated. Thx.
 
I wouldn't know for sure, but it looks to me like maybe you're missing some files on your server.&nbsp;&nbsp;If you have access to two servers, you may want to compare the directories under the C:\CFUSION directory to make sure.<br><br>I haven't done a lot of work with Java, but from what I understand what's embedded in your html calling the different Java classes come from the browser as requests to the server no differently than any other file request, and pretty much (as far as my knowledge goes, anyway) any error message saying &quot;not found&quot; means your file isn't there.&nbsp;&nbsp;I hope this helps...
 
Thanks for your help. This should put me on the track. I'll look at it tomorrow as I'm going home now :cool: - Aimskee
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top