Help with Java? Problem

Graueradler

Pattern Altitude
Joined
Apr 11, 2005
Messages
2,021
Location
Russellville, AR
Display Name

Display name:
Graueradler
We have 4 cameras installed at the airport that are on the internet. The URL is http://63.97.52.214/ . The user ID is "manager" and the password is "airport" (we didn't intend them to require log in but it happened that way and we haven't gotten it changed yet).

I've been using them for many months but, as of yesterday, I can no longer access them on my laptop. I can get them on my desk top at home.

I have uninstalled and re-installed Java with no change. I get an "Application failed to run" error message with the following details.

Java Plug-in 1.6.0_18
Using JRE version 1.6.0_18-b07 Java HotSpot(TM) Client VM
User home directory = C:\Users\Bobby
----------------------------------------------------
c: clear console window
f: finalize objects on finalization queue
g: garbage collect
h: display this help message
l: dump classloader list
m: print memory usage
o: trigger logging
q: hide console
r: reload policy configuration
s: dump system and deployment properties
t: dump thread list
v: dump thread stack
x: clear classloader cache
0-5: set trace level to <n>
----------------------------------------------------


load: class EdsrComm.class not found.
java.lang.ClassNotFoundException: EdsrComm.class
at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.net.SocketException: Permission denied: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at sun.net.NetworkClient.doConnect(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.<init>(Unknown Source)
at sun.net.www.http.HttpClient.New(Unknown Source)
at sun.net.www.http.HttpClient.New(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at java.net.HttpURLConnection.getResponseCode(Unknown Source)
at sun.plugin2.applet.Applet2ClassLoader.getBytes(Unknown Source)
at sun.plugin2.applet.Applet2ClassLoader.access$000(Unknown Source)
at sun.plugin2.applet.Applet2ClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
... 7 more
Exception: java.lang.ClassNotFoundException: EdsrComm.class


EDSR is the digital video recorder at the airport

The Firefox Tab label is "Everfocus EDSR 400 Applet(1.3)"

The laptop is running Windows Vista and is on a personal wireless LAN in my house. Signal strength shows 99%.

What should I try next??
 
FWIW, I see it fine running Java 1.6.0_16, a little older than yours. You may have a corrupted file in cache, or may need to move to an older version (unlikely, since it appears that the problem is a missing class, or perhaps a corrupted JAR file). I'd start by clearing out the Java cache. See http://www.java.com/en/download/help/plugin_cache.xml for instructions.
 
I get the same error with Chrome, but not with IE.

Interestingly, I get similar errors (different class name, though) when trying to use the Java tools on aviationweather.gov from Chrome or Firefox, but not from IE.

Haven't figured out why, yet.
 
Do you get a screen like this? If you do, click the Details button and copy the text from it and post it here.

attachment.php
 

Attachments

  • ScreenShot037.jpg
    ScreenShot037.jpg
    27.8 KB · Views: 32
Works fine for me Firefox 3.5.7, java 1.6.0_17

I go along with the idea of a cache problem, perhaps a version mismatch of the applet. So besides the info on the java cache, I'd suggest clearing the browser cache also.

Not much going on right now at the airport.
Joe
 
I got it to work for me in Chrome, and the ADDS site as well.

Turned out Java was trying to use the proxy config file that's in effect when I'm at the office. I'm not at the office, I'm at home on my network. I went into Control Panel, Java, Network Settings and told it to use a direct connection rather than the proxy file. Had to shut down and restart Chrome, but now both your camera and the AviationWeather.gov site applets work correctly.

The clue for me was in the output of that "Details" error; it showed trying to connect to http://63.97.52.214 (your camera's IP) via "http proxy" and a named proxy file.
 
Works for me in firefox 3.5. I did a google search on edsrcomm to see if others had similar problems. One person indicating a problem with a router setting. Another mentioned a firefox extension. Might want to look at some other hits for edsrcomm for additional ideas.
 
Do you get a screen like this? If you do, click the Details button and copy the text from it and post it here.

attachment.php

Yes, I get that screen. That is what I included in the initial post.

I just tried IE and got the same error there. I have cleared the caches in both browsers but still have the same results.

I had the cameras on yesterday morning. At some time, I noticed that it had stopped updating as the clock no longer showed current time. After that, I could not connect again.

Yeah, there isn't much going on at the airport. We are open 7 days a week but it isn't the kind of weather that makes for fun flying and not much business travel on Sunday. Damp cold and overcast. The sky finally cleared this afternoon. January has been pretty slow anyway. Not counting auto-gyro operations (many close in pattern operations but never going anywhere), we've probably not averaged more than 20 operations per day. Jet fuel sales (business flying) has exceeded 100LL by a pretty good margin (~30%) so far. Avgas sales volume for the year though was up 25% over the previous year while jet was down about 7%.
 
After you click the "Details" button, which opens the Java Console, click back on the browser window and click that "Error. Click for details" label. You'll get even more verbose details. Post them back here.
 
I went back to look for a restore point prior to the lock up yesterday morning. I noticed that there was an AVG update the time that it locked up. I turned off the AVG firewall and was able to access the camera. Now I just have ot figure out what to change in the firewall settings.
 
Back
Top