25-02-2015 06:24 PM
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.
26-02-2015 05:01 AM
I am using the second option, problem with that once the tranasaction is dispatch, exception is thrown saying Access Already freed.
26-02-2015 01:25 AM
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