# Anil here with RMI-Security problems

anthos@IBC.SPRINTSMX.ems.vsnl.net.in
31 Oct 97 21:54 GMT+0530

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: Chan, Anthony: "Problem downloading sun.security package"
- Previous message: Karlheinz Barth: "Re: identitydb.obj"

    From: anthos@IBC.SPRINTSMX.ems.vsnl.net.in

    Date: 31 Oct 97 21:54 GMT+0530

    To: kalinovshy@hotmail.com, anil@divya.com, java-security@web2.javasoft.com,

    Subject: Anil here with RMI-Security problems

Hi Guys

Given below between /** & **/ is the error I get when I run the applet with
appletviewer

1. as "appletviewer http://Dev1/../TSEntry.html" where Dev1 is the Server.
2. FrontPage Personal Web Server running at port 80.
3. Java Serverlistening to RMI at port 1099.
4. but this apparently doesnot happen if I run the applet sameway on Dev1; only
when I run it from anyother machines on network.
5. what I dont understand is 'why the error at
TSEntry.actionPerformed(C:\Program
Files\MSDEV\projects\TimeSheet\ver2\TSEntry.java:150)
instead of http://Dev1/.../TSEntry.java since I am running it on http
connection.
6. JDK version is 1.1.4.

/******
Trying to bind to the service on URL: rmi://Dev1/TSService
sun.applet.AppletSecurityException: checkconnect.networkhost1
at sun.applet.AppletSecurity.checkConnect(AppletSecurity.java:559)
at sun.applet.AppletSecurity.checkConnect(AppletSecurity.java:601)
at sun.applet.AppletSecurity.checkConnect(AppletSecurity.java:501)
at java.net.InetAddress.getAllByName0(InetAddress.java:445)
at java.net.InetAddress.getAllByName(InetAddress.java:429)
at java.net.InetAddress.getLocalHost(InetAddress.java:515)
at sun.rmi.transport.tcp.TCPEndpoint.<clinit>(TCPEndpoint.java:82)
at
sun.rmi.registry.RegistryHandler.registryStub(RegistryHandler.java:57)
at java.rmi.registry.LocateRegistry.getRegistry(LocateRegistry.java:114)

at java.rmi.Naming.getRegistry(Naming.java:156)
at java.rmi.Naming.lookup(Naming.java:55)
at TSEntry.actionPerformed(C:\Program
Files\MSDEV\projects\TimeSheet\ver2\TSEntry.java:150)
at java.awt.Button.processActionEvent(Button.java:172)
at java.awt.Button.processEvent(Button.java:153)
at java.awt.Component.dispatchEventImpl(Component.java:1456)
at java.awt.Component.dispatchEvent(Component.java:1393)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:63)
sun.applet.AppletSecurityException: checkconnect.networkhost1
at sun.applet.AppletSecurity.checkConnect(AppletSecurity.java:559)
at sun.applet.AppletSecurity.checkConnect(AppletSecurity.java:601)
at sun.applet.AppletSecurity.checkConnect(AppletSecurity.java:501)
at java.net.InetAddress.getAllByName0(InetAddress.java:445)
at java.net.InetAddress.getAllByName(InetAddress.java:429)
at java.net.InetAddress.getLocalHost(InetAddress.java:515)
at sun.rmi.transport.tcp.TCPEndpoint.<clinit>(TCPEndpoint.java:82)
at
sun.rmi.registry.RegistryHandler.registryStub(RegistryHandler.java:57)
at java.rmi.registry.LocateRegistry.getRegistry(LocateRegistry.java:114)

at java.rmi.Naming.getRegistry(Naming.java:156)
at java.rmi.Naming.lookup(Naming.java:55)
at TSEntry.actionPerformed(C:\Program
Files\MSDEV\projects\TimeSheet\ver2\TSEntry.java:150)
at java.awt.Button.processActionEvent(Button.java:172)
at java.awt.Button.processEvent(Button.java:153)
at java.awt.Component.dispatchEventImpl(Component.java:1456)
at java.awt.Component.dispatchEvent(Component.java:1393)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:63)
sun.applet.AppletSecurityException: checkconnect.networkhost1
at sun.applet.AppletSecurity.checkConnect(AppletSecurity.java:559)
at sun.applet.AppletSecurity.checkConnect(AppletSecurity.java:601)
at sun.applet.AppletSecurity.checkConnect(AppletSecurity.java:501)
at java.net.InetAddress.getAllByName0(InetAddress.java:445)
at java.net.InetAddress.getAllByName(InetAddress.java:429)
at java.net.InetAddress.getLocalHost(InetAddress.java:515)
at java.rmi.dgc.VMID.<clinit>(VMID.java:45)
at sun.rmi.transport.DGCClient.<clinit>(DGCClient.java:72)
at
sun.rmi.transport.ConnectionInputStream.registerRefs(ConnectionInputStream.java:
82)
at
sun.rmi.transport.StreamRemoteCall.releaseInputStream(StreamRemoteCall.java:142)
at sun.rmi.transport.StreamRemoteCall.done(StreamRemoteCall.java:241)
at sun.rmi.server.UnicastRef.done(UnicastRef.java:144)
at sun.rmi.registry.RegistryImpl_Stub.lookup(RegistryImpl_Stub.java:113)

at java.rmi.Naming.lookup(Naming.java:60)
at TSEntry.actionPerformed(C:\Program
Files\MSDEV\projects\TimeSheet\ver2\TSEntry.java:150)
at java.awt.Button.processActionEvent(Button.java:172)
at java.awt.Button.processEvent(Button.java:153)
at java.awt.Component.dispatchEventImpl(Component.java:1456)
at java.awt.Component.dispatchEvent(Component.java:1393)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:63)
sun.applet.AppletSecurityException: checkconnect.networkhost1
at sun.applet.AppletSecurity.checkConnect(AppletSecurity.java:559)
at sun.applet.AppletSecurity.checkConnect(AppletSecurity.java:601)
at sun.applet.AppletSecurity.checkConnect(AppletSecurity.java:501)
at java.net.InetAddress.getAllByName0(InetAddress.java:445)
at java.net.InetAddress.getAllByName(InetAddress.java:429)
at java.net.InetAddress.getLocalHost(InetAddress.java:515)
at java.rmi.dgc.VMID.<clinit>(VMID.java:45)
at sun.rmi.transport.DGCClient.<clinit>(DGCClient.java:72)
at
sun.rmi.transport.ConnectionInputStream.registerRefs(ConnectionInputStream.java:
82)
at
sun.rmi.transport.StreamRemoteCall.releaseInputStream(StreamRemoteCall.java:142)
at sun.rmi.transport.StreamRemoteCall.done(StreamRemoteCall.java:241)
at sun.rmi.server.UnicastRef.done(UnicastRef.java:144)
at sun.rmi.registry.RegistryImpl_Stub.lookup(RegistryImpl_Stub.java:113)

at java.rmi.Naming.lookup(Naming.java:60)
at TSEntry.actionPerformed(C:\Program
Files\MSDEV\projects\TimeSheet\ver2\TSEntry.java:150)
at java.awt.Button.processActionEvent(Button.java:172)
at java.awt.Button.processEvent(Button.java:153)
at java.awt.Component.dispatchEventImpl(Component.java:1456)
at java.awt.Component.dispatchEvent(Component.java:1393)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:63)
Connected to Time Sheet Services of IBC
Logged into Time Sheet Services of IBC
Exception occurred during event dispatching:
java.lang.VerifyError: TSPanel
at java.lang.ClassLoader.resolveClass(ClassLoader.java:246)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:323)
at myPanelManager.panelAdd(C:\Program
Files\MSDEV\projects\TimeSheet\ver2\myPanelManager.java:67)
at myPanelManager.actionPerformed(C:\Program
Files\MSDEV\projects\TimeSheet\ver2\myPanelManager.java:42)
at TSPeriod.actionPerformed(C:\Program
Files\MSDEV\projects\TimeSheet\ver2\TSPeriod.java:200)
at java.awt.Button.processActionEvent(Button.java:172)
at java.awt.Button.processEvent(Button.java:153)
at java.awt.Component.dispatchEventImpl(Component.java:1456)
at java.awt.Component.dispatchEvent(Component.java:1393)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:63)
*****/

Please throw some light into this.

Anthos with regards

- Next message: Chan, Anthony: "Problem downloading sun.security package"
- Previous message: Karlheinz Barth: "Re: identitydb.obj"