cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Java Server: machine have exclusive access

imranusman
Super Contributor

I have java server created to connect to mega, It has to have a mega instance connected at all time, but when i try to dispatch from another machine it waits showing a message "Server connected exclusively" until i close the server instance, any suggestions or tips would be greatly apreciated. 

2 Replies

I am using the second option, problem with that once the tranasaction is dispatch, exception is thrown saying Access Already freed. 

gquiniou
Retired

Hi,

 

By java server, do you mean a java program connecting to mega using the APIs ?

 

If so you need to check how it connects to MEGA, there are 2 ways of connecting:

- in administration mode, in this case no one can dispatch until the program disconnects and updates are directly sent to the repository

- or by creating a transaction, in this case other users can dispatch and changes made by the program need to be dispatched when done

 

Regards,

 

Gregory