[ Index ] [ Individual Project ] [ Placement Presentation ] [ Timetable ]

[ Index ] [ Research ] [ Schedule ]

Distributed Java Version Control System

Last updated: 28th November 2001


Source

So far I've had very little success in getting Shak's project to run. Initial problems existed in the various Test classes didn't seem to observe any package or import rules causing compilation problems. It was fairly easy to fix these minor bugs.

I've successfully run the TestPres class, which brings up a Swing window saying it's using version 1.0 of the code.

Attempts to start the RuleServer have failed and produced the following stacktrace:

RRC construtor called
java.security.AccessControlException: access denied (java.net.SocketPermission 127.0.0.1:1099 connect,resolve)
	at java.lang.Throwable.(Throwable.java:96)
	at java.lang.Exception.(Exception.java:44)
	at java.lang.RuntimeException.(RuntimeException.java:49)
	at java.lang.SecurityException.(SecurityException.java:41)
	at java.security.AccessControlException.(AccessControlException.java:59)
	at java.security.AccessControlContext.checkPermission(AccessControlContext.java:279)
	at java.security.AccessController.checkPermission(AccessController.java:405)
	at java.lang.SecurityManager.checkPermission(SecurityManager.java:551)
	at java.lang.SecurityManager.checkConnect(SecurityManager.java:1050)
	at java.net.Socket.(Socket.java:274)
	at java.net.Socket.(Socket.java:112)
	at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:29)
	at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:124)
	at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:512)
	at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:194)
	at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:178)
	at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:322)
	at sun.rmi.registry.RegistryImpl_Stub.rebind(Unknown Source)
	at java.rmi.Naming.rebind(Naming.java:161)
	at ruleserver.RuleServer.main(RuleServer.java:39)

Grepping through the files in the source directories for '1099' turns up nothing, which is odd. I'm wondering if it only works on Windows due to its poor security model (mentioned in his report). I can either find a Windows PC or forget it since I'm going to reimplement the network bit (at least replace it with what ever JMX provides) and only keep the binary compatibility checker and alter the rule server so it's an mbean.

Modified source


Miles Barr <miles@milesbarr.com>