Results 1 to 15 of 15
  1. #1
    OwlLady is offline Member
    Join Date
    Oct 2010
    Posts
    7
    Rep Power
    0

    Default 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:

  2. #2
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    20

    Default

    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.

  3. #3
    OwlLady is offline Member
    Join Date
    Oct 2010
    Posts
    7
    Rep Power
    0

    Default

    I tried to contact the person and was unsuccessful. What additional information would be needed to solve this problem?

  4. #4
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    20

    Default

    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.

  5. #5
    OwlLady is offline Member
    Join Date
    Oct 2010
    Posts
    7
    Rep Power
    0

    Default

    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> &nbsp;</p>

  6. #6
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    SW Missouri
    Posts
    17,306
    Rep Power
    25

    Default

    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.

  7. #7
    OwlLady is offline Member
    Join Date
    Oct 2010
    Posts
    7
    Rep Power
    0

    Default

    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.

  8. #8
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    SW Missouri
    Posts
    17,306
    Rep Power
    25

    Default

    Where is the xplug.class file located relative to the location of the html file?

  9. #9
    OwlLady is offline Member
    Join Date
    Oct 2010
    Posts
    7
    Rep Power
    0

    Default Java Applet Not Working

    I have no idea. Where would I find that information?

  10. #10
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    SW Missouri
    Posts
    17,306
    Rep Power
    25

    Default

    I am the webmaster
    I thought that the webmaster would know where the files for the site were located.
    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?

  11. #11
    OwlLady is offline Member
    Join Date
    Oct 2010
    Posts
    7
    Rep Power
    0

    Default

    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.

  12. #12
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    SW Missouri
    Posts
    17,306
    Rep Power
    25

    Default

    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?

  13. #13
    OwlLady is offline Member
    Join Date
    Oct 2010
    Posts
    7
    Rep Power
    0

    Default

    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.

  14. #14
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    SW Missouri
    Posts
    17,306
    Rep Power
    25

    Default

    How could your html ever work without that file? That is the applet file.
    You must have that file somewhere.

  15. #15
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    SW Missouri
    Posts
    17,306
    Rep Power
    25

    Default

    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

  1. Replies: 9
    Last Post: 05-21-2010, 10:46 AM
  2. Applet not working in browser
    By gkr1989 in forum Java Applets
    Replies: 3
    Last Post: 07-03-2009, 09:43 AM
  3. Applet not working
    By jyothi.priyanka in forum New To Java
    Replies: 5
    Last Post: 04-16-2009, 08:18 AM
  4. Replies: 8
    Last Post: 05-28-2008, 07:00 AM
  5. Applet button not working
    By letmeoutofhere in forum Java Applets
    Replies: 9
    Last Post: 11-14-2007, 12:15 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •