JPPF, java, parallel computing, distributed computing, grid computing, parallel, distributed, cluster, grid, cloud, open source, android, .net
JPPF

The open source
grid computing
solution

 Home   About   Features   Download   Documentation   On Github   Forums 
March 24, 2023, 08:04:33 PM *
Welcome,
Please login or register.

Login with username, password and session length
Advanced search  
News: New users, please read this message. Thank you!
  Home Help Search Login Register  

Recent Posts

Pages: 1 ... 3 4 [5] 6 7 ... 10
41
Troubleshooting / Re: Building The ExtendedClassLoading Sample-Failed
« Last post by lolo on February 14, 2021, 06:37:41 AM »
Hello,

There are indeed issues in the build ant ascript for this sample. I registered a bug report for it: Issue #21, and it is fixed in this pull request.

To resolve the problem on your side, simply replace the ExtendedClassLoading/build.xml with the fixed version in our repository.

Sorry for the inconvenience.

Sincerely,
-Laurent
42
Troubleshooting / Building The ExtendedClassLoading Sample-Failed
« Last post by hoho23 on February 12, 2021, 09:06:55 AM »
I've tried to test the ExtendedClassLoading sample in the JPPF-6.2-samples-pack to understand how to use the class loading extensions to automate the management of a repository of application libraries at runtime, for all the nodes in the grid.
UNFORTUNATELY when I tried to build the project with the command "ant jar", the BUILD FAILED since the are some missing directories and classing. Here is the ERROR message I get:
##############################################################
~/Downloads/JPPF-6.2-samples-pack/ExtendedClassLoading$ ant
Buildfile: /home/toto/Downloads/JPPF-6.2-samples-pack/ExtendedClassLoading/build.xml

clean:

init:

compile.1:
    [javac] /home/toto/Downloads/JPPF-6.2-samples-pack/ExtendedClassLoading/build.xml:100: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 14 source files to /home/toto/Downloads/JPPF-6.2-samples-pack/ExtendedClassLoading/classes
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 8
    [javac] /home/toto/Downloads/JPPF-6.2-samples-pack/ExtendedClassLoading/src/org/jppf/example/extendedclassloading/client/MyTask1.java:21: error: package org.jppf.example.extendedclassloading.clientlib1 does not exist
    [javac] import org.jppf.example.extendedclassloading.clientlib1.MyClientDynamicClass1;
    [javac]                                                        ^
    [javac] /home/toto/Downloads/JPPF-6.2-samples-pack/ExtendedClassLoading/src/org/jppf/example/extendedclassloading/client/MyTask2.java:21: error: package org.jppf.example.extendedclassloading.clientlib2 does not exist
    [javac] import org.jppf.example.extendedclassloading.clientlib2.MyClientDynamicClass2;
    [javac]                                                        ^
    [javac] /home/toto/Downloads/JPPF-6.2-samples-pack/ExtendedClassLoading/src/org/jppf/example/extendedclassloading/client/MyTask1.java:33: error: cannot find symbol
    [javac]       new MyClientDynamicClass1().printHello();
    [javac]           ^
    [javac]   symbol:   class MyClientDynamicClass1
    [javac]   location: class MyTask1
    [javac] /home/toto/Downloads/JPPF-6.2-samples-pack/ExtendedClassLoading/src/org/jppf/example/extendedclassloading/client/MyTask2.java:33: error: cannot find symbol
    [javac]       new MyClientDynamicClass2().printHello();
    [javac]           ^
    [javac]   symbol:   class MyClientDynamicClass2
    [javac]   location: class MyTask2
    [javac] 4 errors
    [javac] 1 warning

BUILD FAILED
/home/toto/Downloads/JPPF-6.2-samples-pack/ExtendedClassLoading/build.xml:100: Compile failed; see the compiler error output for details.

Total time: 1 second
##############################################################
I've tried to add the missing directories and classes But the tutorial didn't work correctly!!!!!
43
Forums / Re: Please post a message when you register
« Last post by hoho23 on February 11, 2021, 04:38:25 PM »
HELLO !
44
Developers help / Re: Logic for execution in the jppf example
« Last post by lolo on July 09, 2020, 07:50:45 AM »
Hello,

Sorry for the late reply.
Yes, JPPF distributes the code of the tasks automatically, using its distributed classloader.
It is not the only way to transport the code along with tasks and jobs, but it is by far the simplest and most seamless for ther users.

Sincerely,
-Laurent
45
Developers help / Re: Logic for execution in the jppf example
« Last post by jotamarios on July 09, 2020, 05:23:47 AM »
No one have an idea? Thanks
46
Developers help / Re: Logic for execution in the jppf example
« Last post by jotamarios on July 01, 2020, 05:26:29 AM »
Hi all,

I was watching the code in the Template and I found that TemplateJPPFTask is called from TemplateApplicationRunner... it means that I just have to install the node in the pc's which will collaborate to proccess the Job and JPPF will distribute the code of the task? Or should I install and run the TemplateJPPFTask in the nodes?

Thanks all.
47
Developers help / Re: Logic for execution in the jppf example
« Last post by jotamarios on July 01, 2020, 05:18:07 AM »
Hi 'Lolo',

I had read the link page you gave me. For me this is clear but what I can't understand is the way that the example program works. In this link https://www.jppf.org/doc/6.2/index.php?title=A_first_taste_of_JPPF I follow the instructions (after the 5 step):

1. Execute the Jppf driver (using the .bat)
2. Execute the jppf client (using the .bat)
3. Execute the jppf template -> But the .bat file saids:

call %JAVA_PATH% -cp config;classes;lib/* -Xmx64m -Dlog4j.configuration=log4j.properties -Djppf.config=jppf.properties -Djava.util.logging.config.file=config/logging.properties org.jppf.application.template.TemplateApplicationRunner

It is calling org.jppf.application.template.TemplateApplicationRunner which is the template for the client genereting a Job. Nobody is calling the TemplateJPPFTask... there is when I can't proccess it!.

Thanks
48
Developers help / Re: Logic for execution in the jppf example
« Last post by jotamarios on June 30, 2020, 03:13:33 PM »
Thank you so much for your help! I'll do it!

Best Regards,
49
Developers help / Re: Logic for execution in the jppf example
« Last post by lolo on June 23, 2020, 06:51:35 AM »
Hello,

If you take a look at the JPPF Overview > Work distribution section of the documentation, this should give you a good idea of the flow of jobs/tasks in a JPPF grid.

TemplateJPPFTask is a task that is part of a job. It is created on the client side (i.e. its constructor is invoked in the template application) and executed on a remote node (i.e. its run() method is invoked by a node). Once executed, a task is sent back, in its executed state, to the client that submitted the job it belongs to.

I hope this clarifiies,
-Laurent
50
Developers help / Logic for execution in the jppf example
« Last post by jotamarios on June 22, 2020, 09:01:58 PM »
Hi all,

I'm new with JPPF and I'm trying to implement my first code using the example of 'A first taste of JPPF' but althought the execution of the .bat's works fine, I can't unterstand how. I executed the .bat for the driver, node and the .bat for the application template. It runs fine and do what the page said it should do but I don't know  how it do that... that .bat runs 'org.jppf.application.template.TemplateApplicationRunner' (As I see in the .bat file)... what I unknow is when the TemplateJPPFTask.java is called to be waiting for orders to run. As I can't understand that, I couldn't implement my first code yet.

Could some one explain me that? Thanks a lot.

Regards,
Pages: 1 ... 3 4 [5] 6 7 ... 10
JPPF Powered by SMF 2.0 RC5 | SMF © 2006–2011, Simple Machines LLC Get JPPF at SourceForge.net. Fast, secure and Free Open Source software downloads