Web Applet Failing with 0.1.6

Posted by: possingk

Web Applet Failing with 0.1.6 - 15/05/2005 14:19

I have installed 0.1.6 using Jrec SuSE 9.1 and j2sdk1.4.2_08 everything works fine except the web applet front end, here is what comes up when I run it with the counsel:

May 14, 2005 5:18:26 AM trio.applet.TRioApplet init
INFO: TRioApplet.init(): null
May 14, 2005 5:18:26 AM trio.applet.TRioApplet init
INFO: Parameters. trio-server: 192.168.2.188, rmi-port: 1099
May 14, 2005 5:18:26 AM trio.applet.TRioAppletConnectionThread run
INFO: Start of TRioAppletConnectionThread
May 14, 2005 5:18:26 AM trio.applet.TRioApplet setServer
INFO: Exporting Remote
java.security.AccessControlException: access denied (java.net.SocketPermission 127.0.0.1:50338 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.tcp.TCPChannel.checkConnectPermission(TCPChannel.java:119)
at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:148)
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.setServer(Unknown Source)
at trio.applet.TRioAppletConnectionThread.establishConnection(Unknown Source)
at trio.applet.TRioAppletConnectionThread.run(Unknown Source)


Let me know if anyone has seen this before. Thanks,

Keith
Posted by: pauln

Re: Web Applet Failing with 0.1.6 - 16/05/2005 06:42

Try editing trio.xml and change:

<rmi create-registry="true"/>

to:

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

Where xxxx is the ip address of the box that tRio is running on.

Cheers
Paul
Posted by: possingk

Re: Web Applet Failing with 0.1.6 - 16/05/2005 18:22

That did the trick, many thanks Paul, great software and always a helping hand when needed.