Unoffical empeg BBS

Quick Links: Empeg FAQ | RioCar.Org | Hijack | BigDisk Builder | jEmplode | emphatic
Repairs: Repairs

Topic Options
#224347 - 01/01/2004 16:01 TRio Front End problem
possingk
stranger

Registered: 04/08/2003
Posts: 25
Loc: PA
I have set up Trio, and JREC on a SUSE 9.0 professional box. I can connect my three rio's to it and play music without a problem. I love it. However when I try to go to the front end the applet begins to load then stalls with just a grey screen. I have tried to connect to the front end using:
ip address:
http://192.168.0.100:8090/trio-applet.htm
Loop back:
http://127.0.0.1:8090/trio-applet.htm

Additional information in JREC Config I have set Rio Music Host to 192.168.0.100 my server

I have taken out the Hosts to allow acess thinking that might be it, I hope to put this back in when I correct the problem.

The one thing I have noticed in the logs is that it can't find
/usr/local/trio-0.1.4.alpha5/docs/favicon.ico
and in fact that isn't in that directory. I have downloaded the version again and extracted it again and it still doesn't show up in there so I don't know what that means.

Thank you for your help, please see below for the log file. I am using trio1.sh to start the process if that matters.

Keith

Log File:
Bart:/usr/local/trio-0.1.4.alpha5/bin # /usr/local/trio-0.1.4.alpha5/bin/trio1.sh
Start of TRioServer. Version 0.1.4.alpha5
Defaulted http document root to: //usr/local/trio-0.1.4.alpha5
Loading TRioPlayerLayout: universal
Loading TRioPlayerLayout: windows
ImageTranslation: byte-binary
RMI Registry created sucessfully on port 1099
binding rmi: rmi://127.0.0.1:1099/TRioServerRemote
binding rmi: rmi://localhost:1099/TRioServerRemote
Creating sockets
creating udp socket. local port: 19680, timeout: 15000
Http server opening port 8090
Http server listening on port 8090
Got connect from /192.168.0.196
UnitConfig: <unit ip="192.168.0.196" type="receiver" name="Receiver 1" />
Updating config file
TRioUnitControlThread (/192.168.0.196): Starting
TRioUnitControlThread (/192.168.0.196): Waiting for Rio to accept connection. ip: /192.168.0.196, port: 19682
TRioUnitControlThread (/192.168.0.196): Connection refused. sleeping
TRioUnitControlThread (/192.168.0.196): Waiting for Rio to accept connection. ip: /192.168.0.196, port: 19682
Updating config file
Updating config file
TRioUnitControlThread (/192.168.0.196): Rio has accepted connection. Interface: /192.168.0.100
Got connect from /192.168.0.195
UnitConfig: <unit ip="192.168.0.195" type="receiver" name="Receiver 2" />
Updating config file
TRioUnitControlThread (/192.168.0.195): Starting
TRioUnitControlThread (/192.168.0.195): Waiting for Rio to accept connection. ip: /192.168.0.195, port: 19685
TRioUnitControlThread (/192.168.0.195): Connection refused. sleeping
TRioUnitControlThread (/192.168.0.195): Waiting for Rio to accept connection. ip: /192.168.0.195, port: 19685
Updating config file
Updating config file
TRioUnitControlThread (/192.168.0.195): Rio has accepted connection. Interface: /192.168.0.100
Got http request: GET /trio-applet.htm HTTP/1.1
Got http request: GET /trio-applet-0.1.4.jar HTTP/1.1
Got http request: GET /trio-applet.htm HTTP/1.1
Got http request: GET /trio-applet-0.1.4.jar HTTP/1.1
Got http request: GET /trio-applet.htm HTTP/1.1
Got http request: GET /trio-applet.htm HTTP/1.1
Got http request: GET /trio-applet.htm HTTP/1.1
Got http request: GET /trio-applet-0.1.4.jar HTTP/1.1
Got http request: GET /trio-applet.htm HTTP/1.1
Got http request: GET /favicon.ico HTTP/1.1
java.io.FileNotFoundException: /usr/local/trio-0.1.4.alpha5/docs/favicon.ico (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:106)
at java.io.FileInputStream.<init>(FileInputStream.java:66)
at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:69)
at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:156)
at trio.http.TRioHttpClientConnection.getOtherResource(Unknown Source)
at trio.http.TRioHttpClientConnection.processRequest(Unknown Source)
at trio.http.TRioHttpClientConnection.run(Unknown Source)

Top
#224348 - 01/01/2004 18:14 Re: TRio Front End problem [Re: possingk]
pauln
enthusiast

Registered: 03/12/2001
Posts: 332
Loc: UK
Try editing trio.xml and changing:

<rmi create-registry="true"/>

to:

<rmi create-registry="true" host-name="192.168.0.100"/>

This should work with "http://192.168.0.100:8090/trio-applet.htm". Also, make sure you don't have a Strio-0.1.4.jar in your lib directory (delete it if it's there).

Cheers
Paul
_________________________
Paul (the tRio guy)

Top
#224349 - 01/01/2004 19:49 Re: TRio Front End problem [Re: pauln]
possingk
stranger

Registered: 04/08/2003
Posts: 25
Loc: PA
First thank you for the quick response.

However, I changed the trio.xml file, and removed Strio-applet-0.1.4.jar from my lib directory and have the same problem. Do you have any more reccomendations?

One last thing, when I type in the site instead of going through favorites, I read a previous post that this was an issue. It seems to stop loading on:

Loading Class:trio.applet.TRioApplet_Stub...

my log at that point simply shows:

Got http request: GET /trio-applet.htm HTTP/1.1

Thank you again for any help you might have,
Keith



Edited by possingk (01/01/2004 20:01)

Top
#224350 - 02/01/2004 01:30 Re: TRio Front End problem [Re: possingk]
pauln
enthusiast

Registered: 03/12/2001
Posts: 332
Loc: UK
The next step is to see what's coming up on the java console. On windows you see this via the coffee mug in the system tray - I don't know what you'd do in linux.
_________________________
Paul (the tRio guy)

Top
#224351 - 02/01/2004 14:06 Re: TRio Front End problem [Re: pauln]
possingk
stranger

Registered: 04/08/2003
Posts: 25
Loc: PA
I set my Java Console to show instead of hide so now I can look at anything I need to I think, can you let me know what to look for?
I changed the console to show errors and used Mozilla web browser instead of Konquer and here is what the error came back as. Boy do I wish I thought of trying another browser first. Sorry about that.

java.security.AccessControlException: access denied (java.net.SocketPermission 192.168.0.112:32826 connect,resolve)
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:269)
at java.security.AccessController.checkPermission(AccessController.java:401)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:524)
at java.lang.SecurityManager.checkConnect(SecurityManager.java:1026)
at sun.rmi.transport.proxy.RMIMasterSocketFactory$AsyncConnector.<init>(RMIMasterSocketFactory.java:377)
at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:153)
at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:562)
at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:185)
at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:171)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:101)
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(AppletPanel.java:353)
at java.lang.Thread.run(Thread.java:534)


Top
#224352 - 03/01/2004 10:38 Re: TRio Front End problem [Re: possingk]
pauln
enthusiast

Registered: 03/12/2001
Posts: 332
Loc: UK
By default, java applets are allowed to create network connections with the server they were loaded from, but nothing else. This is to stop rogue applets doing bad things. And so it's getting "access denied" because it was loaded fro 192.168.0.100 and is trying to connect to 192.168.0.112.

What is 192.168.0.112 on your network?

Also, near the top of the java plug-in console there should be a line some thing like "Parameters. trio-server: ?, rmi-port: ?" - what does this read?

Lastly, please confirm what the "binding rmi:" lines say near the top of the tRio Server output.

Cheers
Paul
_________________________
Paul (the tRio guy)

Top
#224353 - 03/01/2004 22:58 Re: TRio Front End problem [Re: pauln]
possingk
stranger

Registered: 04/08/2003
Posts: 25
Loc: PA
I can't find anything on my network that is at 192.168.0.112 so I don't know where this number is coming from is there a way I can hard code the correct number in java?

Here are the parameters at the top of my console:

TRioApplet.init(): null
Parameters. trio-server: 192.168.0.100, rmi-port: 1099
Exporting Remote
Finding remote server

Here is my binding lines from trio1.sh

RMI Registry created sucessfully on port 1099
binding rmi: rmi://192.168.0.100:1099/TRioServerRemote
Creating sockets
creating udp socket. local port: 19680, timeout: 15000

Thanks again for all your help.

Keith

Top
#224354 - 04/01/2004 13:51 Re: TRio Front End problem [Re: possingk]
possingk
stranger

Registered: 04/08/2003
Posts: 25
Loc: PA
I found the problem, in my Hosts file the computer where everything was loaded was set to 192.168.0.112. I changed it to the correcte ip address and everything is working great. Thanks for the help.

Keith

Top