JRE problem

Associate
Joined
18 Oct 2002
Posts
858
Location
Cheshire
ok, I'm trying to get HP top tools to run on my laptop, yes I know it's been discontinued and replaced by HP sim, but sim is horible....

Anyways, the menu on the left is java (of some sort) and it says it failed to initialise...
console log follows...

java.lang.InterruptedException
at sun.applet.AppletPanel.findAppletJDKLevel(Unknown Source)
at sun.applet.AppletPanel.createApplet(Unknown Source)
at sun.plugin.AppletViewer.createApplet(Unknown Source)
at sun.applet.AppletPanel.runLoader(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
load: class TTMainApplet not found.
java.lang.ClassNotFoundException: TTMainApplet
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadCode(Unknown Source)
at sun.applet.AppletPanel.createApplet(Unknown Source)
at sun.plugin.AppletViewer.createApplet(Unknown Source)
at sun.applet.AppletPanel.runLoader(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: open HTTP connection failed.
at sun.applet.AppletClassLoader.getBytes(Unknown Source)
at sun.applet.AppletClassLoader.access$100(Unknown Source)
at sun.applet.AppletClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
... 10 more
Exception in thread "Thread-12" java.lang.NullPointerException
at sun.plugin.util.GrayBoxPainter.showLoadingError(Unknown Source)
at sun.plugin.AppletViewer.showAppletException(Unknown Source)
at sun.applet.AppletPanel.runLoader(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
java.lang.NullPointerException
at sun.plugin.util.GrayBoxPainter.showLoadingError(Unknown Source)
at sun.plugin.AppletViewer.showAppletStatus(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)


I have sun java2 V 1.5.0 under XP SP2, IE6 SP2

Any ideas?

Thanks
 
Less obvious question :

at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: open HTTP connection failed.
at sun.applet.AppletClassLoader.getBytes(Unknown Source)
at sun.applet.AppletClassLoader.access$100(Unknown Source)
at sun.applet.AppletClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Meth

it looks like a privelidges problem to me. have you got a firewall or something running locally that's blocking the jre's access to native code or the HTTP port in question?

HT
 
Is my what set correctly? :confused:

I didn't write this software.... HP provide it with their HP procurve switches...

I don't know much about java, I can do a little menu with a lot of help from dreamweaver....

all other java 'online games'.... work ok.... :confused:

:edit

The page is running on localhost on my laptop, or atleast it should be....

HP top tools is network management software for IT admins..... :cool: gives me a graphical view of whats going on on the network here at work....

:edit2

no firewall, windows XP SP" firewall has been turned off
 
Last edited:
have you tried calling HP support?

it looks to me like the applet, running inside the JRE, inside the browser's sandbox is failing to open a HTTP port connection to the HP appliance. but it could well be a class not found issue as reported earlier in the stack trace.

Where do you open the applet? from a remote web page, a page hosted locally or a web page on the applicance itself?

HT
 
HP don't support it any more....
but I've just spotted somethin....
At the top of the page it tells me the user....
User: KEVIN-IT\IUSR_KEVIN-IT

hmmm... isn't IUSR_ the guest account.....

:edit

nope, it now runnin as....
Administrator: KEVIN-IT\Administrator
And same thing

:edit2
I just removed the software and now it says....
Administrator: SILVERCROWN\KBarlow
oky, don't ya just love HP sometimes....
 
Last edited:
sorry, I meant I'd removed it and put it back.... lol :rolleyes:

HP sim is crap..., I've got it installed but it not tellin me anything....
it's crap... top tools was lovely (a little buggy at times) but never the less lovely...

I will have a look around for decent software.... :(
 
iirc to deply an applet on a web server you just plonk the jar file containing the classes that you need in the correct place in your htdocs folder tree.

Is the jar file there and are the classes that are not being found in the referenced jar files? you should be able to see the name of the applet main class from the HTML (view source ).

(tip of the day, you can open jar files in winzip)

HT
 
Back
Top Bottom