-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
more than one user can't run groovyserv in the same Unix env. #20
Comments
We have two potential solutions we are working on...
Notes
|
Hi,Berngp |
Hi Uehaj |
I'm considering an automatic mechanism of decision of available port number for each user. |
No worries, haven't worked with the FIFOs (btw JDK 1.7 supports binary sockets.. problem is.. not sure when 1.7 will arrive) |
Is there currently a workaround to this issue that would allow groovyserv to be used by multiple users in a shared UNIX environment? |
You can specify the port number when invoking groovyserver and groovyclient. please use the different port number for each user. |
Given user
userA
and useruserB
and both users are logged to the same Nix system (Ubuntu, *Fedora, Centos, RedHat)
When they try to run
groovyclient -v
at different times, then the call will fail for the second one with the following message.or just fail silently.
Logs:
Server started with port: 1961
Unexpected error: GroovyServer
----> java.lang.NullPointerException: Cannot invoke method getAt() on null object
... (ClientProtocols.groovy:100)
The text was updated successfully, but these errors were encountered: