java.io.FileNotFoundException - trio web interface

Posted by: adamcb

java.io.FileNotFoundException - trio web interface - 16/12/2003 12:02

I'm getting this error when I try to use the web interface...

Got http request: GET /trio-applet.htm HTTP/1.1
Got http request: GET /favicon.ico HTTP/1.1
java.io.FileNotFoundException: C:\Program Files\trio-0.1.4.alpha5\docs\favicon.i
co (The system cannot find the file specified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(Unknown Source)
at java.io.FileInputStream.<init>(Unknown Source)
at sun.net.www.protocol.file.FileURLConnection.connect(Unknown Source)
at sun.net.www.protocol.file.FileURLConnection.getInputStream(Unknown So
urce)
at trio.http.TRioHttpClientConnection.getOtherResource(Unknown Source)
at trio.http.TRioHttpClientConnection.processRequest(Unknown Source)
at trio.http.TRioHttpClientConnection.run(Unknown Source)
Updating config file

I searched my system for the favicon.ico without success... any suggestions?

Thanks,

Adam
Posted by: adamcb

Re: java.io.FileNotFoundException - trio web interface - 16/12/2003 12:04

A little more info...

I am trying to edit my selections under the player tab but nothing comes up.

Thanks,

Adam
Posted by: pauln

Re: java.io.FileNotFoundException - trio web interface - 16/12/2003 15:57

This had me puzzled for a while. It turns out that Internet Explorer asks for an icon called favicon.ico when you add a sight to your Favourites. This will have failed and so it shouldn't ask again.

I'm attaching a favicon.ico to this message which can be placed into the TRIO_HOME directory (C:\Program Files\trio-0.1.4.alpha5 for you) if you want this to work. If you then remove and re-add the trio applet from/to your favourites, it should show this icon.

Cheers
Paul
Posted by: adamcb

Re: java.io.FileNotFoundException - trio web interface - 17/12/2003 13:10

Thanks!!!

I got it up and running yesterday and everything was working great... however... today I can't get the web interface to load... it looks like it is starting/loading then I get a red X on the screen where the java mug was. Any ideas. Nothing has changed since last time I ran it, other than 1 day went by and I shutdown my computer and started it back up.

Thanks,

Adam
Posted by: pauln

Re: java.io.FileNotFoundException - trio web interface - 18/12/2003 01:49

What's the java plug-in console saying (coffe mug in your system tray)?
Posted by: adamcb

Re: java.io.FileNotFoundException - trio web interface - 18/12/2003 07:12

I've looked through the INI file to try to find where it was getting the 169.254.122.95:2668 address with no luck.

Thanks for helping!


TRioApplet.init(): null

Parameters. trio-server: 10.135.20.108, rmi-port: 1099

Exporting Remote

Finding remote server

java.security.AccessControlException: access denied (java.net.SocketPermission 169.254.122.95:2668 connect,resolve)

at java.security.AccessControlContext.checkPermission(Unknown Source)

at java.security.AccessController.checkPermission(Unknown Source)

at java.lang.SecurityManager.checkPermission(Unknown Source)

at java.lang.SecurityManager.checkConnect(Unknown Source)

at java.net.Socket.connect(Unknown Source)

at java.net.Socket.connect(Unknown Source)

at java.net.Socket.<init>(Unknown Source)

at java.net.Socket.<init>(Unknown Source)

at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(Unknown Source)

at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(Unknown Source)

at sun.rmi.transport.tcp.TCPEndpoint.newSocket(Unknown Source)

at sun.rmi.transport.tcp.TCPChannel.createConnection(Unknown Source)

at sun.rmi.transport.tcp.TCPChannel.newConnection(Unknown Source)

at sun.rmi.server.UnicastRef.invoke(Unknown Source)

at trio.TRioServer_Stub.listApplications(Unknown Source)

at trio.applet.TRioApplet.getApplications(Unknown Source)

at trio.applet.TRioApplet.init(Unknown Source)

at sun.applet.AppletPanel.run(Unknown Source)

at java.lang.Thread.run(Unknown Source)

Posted by: pauln

Re: java.io.FileNotFoundException - trio web interface - 19/12/2003 07:41

My guess is that your machine has 2 network cards. Is this right?

What address are you typing? Try specifying http://169.254.122.95:8090/trio-applet.htm

Cheers
Paul
Posted by: adamcb

Re: java.io.FileNotFoundException - trio web interface - 22/12/2003 12:50

That was it! Thanks for the help!