Solved

Java Applet not workin on web server

Posted on 2007-11-18
11
196 Views
Last Modified: 2010-04-01
Hi,
I have tried to use a java applet on a website.  A small word game.  I have downloaded it and unzipped it and it works fine on my own computer under localhost.
But when I upload it to my web server it won't work.  

Is there anything obvious that I am missing?
0
Comment
Question by:harris9999
  • 6
  • 4
11 Comments
 
LVL 92

Accepted Solution

by:
objects earned 500 total points
Comment Utility
hard to say, check the java console and post any errors here
0
 
LVL 3

Author Comment

by:harris9999
Comment Utility
mmmm
Exception in thread "Thread-7" java.lang.ArrayIndexOutOfBoundsException: 0
      at KaablitzEv.Lthtl(Unknown Source)
      at KaablitzEv.zzzj(Unknown Source)
      at KaablitzEv.zzzi(Unknown Source)
      at KaablitzEv.run(Unknown Source)
      at java.lang.Thread.run(Unknown Source)

Not sure what that is.
It's located at: http://antrim.gaa.ie/saffron-og/issue-10/crossword/index.htm
0
 
LVL 92

Expert Comment

by:objects
Comment Utility
hard to say without having the code which I assume u don't have
0
 
LVL 3

Author Comment

by:harris9999
Comment Utility
No I only have the .class files
But it works fine on http://localhost
0
 
LVL 5

Expert Comment

by:ebertk
Comment Utility
I tried the link above and saw a different error that seems to point to an image that might be missing.  Are there any files that were on the lcoalhost that didn't get transferred to the server.  The class files seem to be ok (applet loaded for me and started to run) but failed with a null pointer exception when trying to render an image.
0
Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

 
LVL 3

Author Comment

by:harris9999
Comment Utility
There was no image in the downloaded applet when unzipped.
0
 
LVL 92

Expert Comment

by:objects
Comment Utility
the image is probably on the web server.
0
 
LVL 3

Author Comment

by:harris9999
Comment Utility
On my web server?
0
 
LVL 92

Expert Comment

by:objects
Comment Utility
no, the web server you grabbed it from
0
 
LVL 3

Author Comment

by:harris9999
Comment Utility
But it was downloaded as a zipped file, everything should have been in there should it not?
0
 
LVL 3

Author Comment

by:harris9999
Comment Utility
Got it figured out.  I'd never used that java console before and when i run it with different setting displaying everything.  There was an error when loading a .dat file.
So i was thinking maybe that is restricted on my web server.
So I logged into my hosting control panel and under MIME Types I added the .dat extension and it now works.
Thanks for pointing out the Java console for me.
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Suggested Solutions

I made this because I wanted to get e-mail with a attached csv file so I'd would be able to import user input into a MS Excel template, but I also wanted to register/save all inputs from each day in a file on the server. 1st - It creates a temp C…
This demonstration started out as a follow up to some recently posted questions on the subject of logging in: http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/Q_28634665.html and http://www.experts-exchange.com/Programming/…
The purpose of this video is to demonstrate how to set up the WordPress backend so that each page automatically generates a Mailchimp signup form in the sidebar. This will be demonstrated using a Windows 8 PC. Tools Used are Photoshop, Awesome…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

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

12 Experts available now in Live!

Get 1:1 Help Now