Results 1 to 15 of 15
Thread: Java Applet Not Working
- 10-07-2010, 03:41 AM #1
Member
- Join Date
- Oct 2010
- Posts
- 7
- Rep Power
- 0
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
Thanks,
The Owl Lady:confused:
- 10-07-2010, 06:09 AM #2
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
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.
- 10-07-2010, 11:30 AM #3
Member
- Join Date
- Oct 2010
- Posts
- 7
- Rep Power
- 0
I tried to contact the person and was unsuccessful. What additional information would be needed to solve this problem?
- 10-07-2010, 11:42 AM #4
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
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.
- 10-07-2010, 02:02 PM #5
Member
- Join Date
- Oct 2010
- Posts
- 7
- Rep Power
- 0
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>
- 10-07-2010, 02:29 PM #6
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.
- 10-07-2010, 03:00 PM #7
Member
- Join Date
- Oct 2010
- Posts
- 7
- Rep Power
- 0
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.
- 10-07-2010, 03:41 PM #8
Where is the xplug.class file located relative to the location of the html file?
- 10-07-2010, 08:36 PM #9
Member
- Join Date
- Oct 2010
- Posts
- 7
- Rep Power
- 0
Java Applet Not Working
I have no idea. Where would I find that information?
- 10-07-2010, 08:39 PM #10
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?
- 10-07-2010, 09:45 PM #11
Member
- Join Date
- Oct 2010
- Posts
- 7
- Rep Power
- 0
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.Last edited by OwlLady; 10-07-2010 at 09:49 PM.
- 10-07-2010, 10:15 PM #12
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?
- 10-08-2010, 01:11 AM #13
Member
- Join Date
- Oct 2010
- Posts
- 7
- Rep Power
- 0
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.
- 10-08-2010, 02:04 AM #14
How could your html ever work without that file? That is the applet file.
You must have that file somewhere.
- 10-10-2010, 08:55 PM #15
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.
Similar Threads
-
DnD within applet no longer working on Java 6 update 20
By drez in forum Java AppletsReplies: 9Last Post: 05-21-2010, 10:46 AM -
Applet not working in browser
By gkr1989 in forum Java AppletsReplies: 3Last Post: 07-03-2009, 09:43 AM -
Applet not working
By jyothi.priyanka in forum New To JavaReplies: 5Last Post: 04-16-2009, 08:18 AM -
Java mail problem(working in intranet,but not working in iternet)
By sundarjothi in forum Advanced JavaReplies: 8Last Post: 05-28-2008, 07:00 AM -
Applet button not working
By letmeoutofhere in forum Java AppletsReplies: 9Last Post: 11-14-2007, 12:15 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks