Skip to content
This repository has been archived by the owner on Apr 24, 2019. It is now read-only.

Workaround needed for doing chmod in the server on Windows #320

Open
mfiume opened this issue Apr 10, 2014 · 1 comment
Open

Workaround needed for doing chmod in the server on Windows #320

mfiume opened this issue Apr 10, 2014 · 1 comment
Milestone

Comments

@mfiume
Copy link
Member

mfiume commented Apr 10, 2014

The server does a chmod, which doesn't work on Windows. Either come up with a workaround, or don't allow the server to be started on Windows (exiting gracefully).

Here's a stack trace of the error:

java.rmi.ServerException: RemoteException occurred in server thread; nested exception is: java.rmi.RemoteException: Couldn't publish variant table; nested exception is: java.io.IOException: Cannot run program "/bin/chmod": CreateProcess error=2, The system cannot find the file specified at sun.rmi.server.UnicastServerRef.dispatch(Unknown Source) at sun.rmi.transport.Transport$1.run(Unknown Source) at sun.rmi.transport.Transport$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at sun.rmi.transport.Transport.serviceCall(Unknown Source) at sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown Source) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(Unknown Source) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Unknown Source) at sun.rmi.transport.StreamRemoteCall.executeCall(Unknown Source) at sun.rmi.server.UnicastRef.invoke(Unknown Source) at java.rmi.server.RemoteObjectInvocationHandler.invokeRemoteMethod(Unknown Source) at java.rmi.server.RemoteObjectInvocationHandler.invoke(Unknown Source) at com.sun.proxy.$Proxy6.createVariantTable(Unknown Source) at org.ut.biolab.medsavant.client.project.ProjectWizard.createNewProject(ProjectWizard.java:736) at org.ut.biolab.medsavant.client.project.ProjectWizard.access$1500(ProjectWizard.java:72) at org.ut.biolab.medsavant.client.project.ProjectWizard$18$1.doInBackground(ProjectWizard.java:588) at javax.swing.SwingWorker$1.call(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at javax.swing.SwingWorker.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: java.rmi.RemoteException: Couldn't publish variant table; nested exception is: java.io.IOException: Cannot run program "/bin/chmod": CreateProcess error=2, The system cannot find the file specified at org.ut.biolab.medsavant.server.serverapi.ProjectManager.createVariantTable(ProjectManager.java:257) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at sun.rmi.server.UnicastServerRef.dispatch(Unknown Source) at sun.rmi.transport.Transport$1.run(Unknown Source) at sun.rmi.transport.Transport$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at

@mfiume mfiume added this to the 1.2-final milestone Apr 10, 2014
@jvlasblom jvlasblom modified the milestones: Future, 1.2-final May 12, 2014
@jvlasblom
Copy link

this isn't necessary for 1.2.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants