Trouble with trio web front end

Posted by: mdknapp

Trouble with trio web front end - 08/11/2003 13:02

I'm running jreceiver and trio on a Windows machine.. Everything works perfectly except that I can't get the trio web front end to work. Here is the error:

java.security.AccessControlException: access denied (java.net.SocketPermission 10.0.0.21:2310 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)

Any ideas?
Thanks,
Mike
Posted by: pauln

Re: Trouble with trio web front end - 09/11/2003 13:31

Mike,

What address are you typing into your browser's address bar? Also in the trio console there sound be some "binding rmi:" messages. What do these read?

Cheers
Paul
Posted by: mdknapp

Re: Trouble with trio web front end - 09/11/2003 14:14

Paul,

Using http://localhost:8090/trio-applet.htm

Console reads (on trio launch)
RMI Registry created sucessfully on port 1099
binding rmi: rmi://10.0.0.21:1099/TRioServerRemote
binding rmi: rmi://rp-1:1099/TRioServerRemote
Creating sockets
Http server opening port 8090
Http server listening on port 8090

You just answered my question, I think. If I use 10.0.0.21 instead of localhost, it works! Bizarre... Thanks very much.

-Mike