![]() Please wait while updating issue type...
Could not save your changes
This issue has been changed since you started editing it
Data that has been changed is highlighted in red below. Undo your changes to see the updated information
You have changed this issue, but haven't saved your changes yet. To save it, press the Save changes button to the right
This issue is blocking the next release
![]() There are no comments
There is nothing attached to this issue
This issue has no duplicates
There are no code checkins for this issue |
|||||||||||||||||||||||||||||
Really delete this comment?
Really delete this comment?
Really delete this comment?
Really delete this comment?
Really delete this comment?
This implies that the node must have additional entries in its classpath: server.jar and common.jar, plus eventually any class supporting the execution of the tasks. In addition to this, I would like to allow the jobs to transport additional classpath elements, so that new code can be executed without heavy deployment effort on the node side. This means that the additional classpath has to be specified as:
Really delete this comment?
When a node is in offline mode, it gets a job from the server, then immediately disconnects. It then executes the job and reconnects just before sending the results and getting a new job. With this mechanism, it is now possible to have tens of thousands, or even millions of nodes working with a single server (nodes might have to wait until they can connect). Addtionally an offline node has no classloader connection and no JXM server: it is not manageable, by design. Thus a single TCP connection to the server is needed. I'm thinkng the same mechaism could be applied to clients: with no class loader connection, the client would then only support libraries embedded within the job SLA.
I added a get/setClassPpath() API to the job SLA, to allow libraries to be dynamically added to the classpath (this resets the classloader). Otherwise it is possible to use static libraries in the node's main class loader classpath. Each classpath element specified in the SLA points to a library vie a Location object. This makes it very easy to handle.
See SVN trunk revision 2854
Really delete this comment?
Really delete this comment?
Really delete this comment?