Java Applet Not Working
I have a website with a webcam that is not working. For the record, I do not know anything about programming so go easy on me. Someone wrote a Java applet that I imbedded into my website. When it was first installed, it was working for most people. A few people were not able to get on to the camera. Those people tried reinstalling IE and also upgraded their Java and tried with FireFox, but nothing seemed to work.
While I was away on vacation, my Internet Provider changed my dynamic IP address and the camera went totally down. Not even I could get on. I changed the IP address in the applet and now I am able to get on the camera but no one else is. The camera is live streaming, and and runs directly from my router. (The camera is located in EST and nothing is visible at night except for a house light in the top center and occasional car headlights.)
Would anyone be so kind as to look at the website and see what the problem is? I would be willing to entertain quotes to write a new applet if that's what it takes. Would also appreciate knowing if there were a way to get around the dynamic IP address issue without me paying to upgrade to a static IP address.
The website is Cape Coral Burrowing Owls - Home Page
The Owl Lady:confused:
I think the best option is contact the person who develop your applet. Seems he/she use some hard coded stuff, not configurable. Just looking at your website, it's not possible to fix errors. You have to provide more details.
I tried to contact the person and was unsuccessful. What additional information would be needed to solve this problem?
Mainly the source code that's related to the application. I don't know how far it's possible to give your code, but without looking at what has done, it's really difficult to comment.
Is this the code you need?
<p><APPLET name="cvcs" CODEBASE="http://192.168.1.20:80/" CODE="xplug.class" WIDTH=640 HEIGHT=480> <param name="RemotePort" value=80> <param name="Timeout" value=5000> <param name="RotateAngle" value=0> <param name="PreviewFrameRate" value=2> <param name="DeviceSerialNo" value=""> </APPLET> </p>
Contact the webmaster about the html <APPLET tag's CODEBASE= attribute.
The http://192.168.1.20:80 address there looks like a local LAN address, NOT a valid internet address.
I am unable to contact the person who wrote that applet, but I am the webmaster so I can delete that applet and put in something different. I would think that using an internet address would be better than a local LAN address, but I have no clue how that can be accomplished. I would think that would solve my problem of having to change the applet every time my dynamic IP address is changed by my Internet provider. If I don't check the website every day, I never know if the webcam is working or not.
Where is the xplug.class file located relative to the location of the html file?
Java Applet Not Working
I have no idea. Where would I find that information?
I thought that the webmaster would know where the files for the site were located.
I am the webmaster
There is the index.html file and the file for the applet which is the xplug.class file.
Who coded the index.html file with the <APPLET tag?
I am one of those people who have a little knowledge about something and could be dangerous!. I set up the website using software called XSitePro2. It is a WYSIWYG program that also allows you to put in HTML coding. I was given the applet and just pasted it into the website and put it on the home page using the source function of the software. The guy that wrote it had the IP address of the website when it was written, but I changed it when my IP was changed by my Internet provider. I figured everything was working because I was able to see the website on my computer after the change, but no one else can.
I am not sure what you mean by where does it reside. The website is on it's own domain.
Computers operating systems organize files into folders. On the server the various files for your website are in folders. What folder is the index.html file in and what folder is the xplug.class file in?
If the two files were on your PC in folders, would there be only one folder or would the files be in different folders.
I guess you need local help to look at it and figure out where the .class file is. The problem out here is that the address of the .class file as provided by the html is a local LAN address.
Where is there any copy of the xplug.class file? Can you put it on the server in the same place the index.html file is?
The index.html file is located under public_html. I cannot find any file called xplug,class. I looked in all the directories and sub directories.
How could your html ever work without that file? That is the applet file.
You must have that file somewhere.
Have you solved your problem yet?
I think I would have the same problem using my test server as I'm on a DSL modem and now see my IP address as 192.168.1.10.
I think you have to tell your modem to pass thru its IP address to one of the PCs on your LAN. On the control panel I load in the browse to communicate with my modem there is an Advance tab with a Single static IP button that looks like it would pass an incoming request to your PC's server. The WAN IP address is displayed on that page also.