Hello together,

i have changed my YAWL Engine to the version 3.0 (Build 3.0.3833). In YAWL 2.3.5 i have imported some codelets to the directory "...\webapps\resourceService\WEB-INF\classes\org\yawlfoundation\yawl\resourcing\codelets" but in the latest release the directory isn't available. How i can import my old codelets to the new engine?

 

 

Michael Adams

Fri, 10/03/2014 - 02:08

For YAWL 3.0, rather than have many duplicated classes across each individual service, all classes have been consolidated into a single library. As a result, those class package directory structures under each service no longer exist, as you have found. Naturally, though, you can still add codelets and other plugin types as you wish, but you now have a couple of choices.

You can choose to recreate the package directory tree exactly how you have listed it and place your codelets in there same as previously. But, to avoid having to do that every time you install a new YAWL version, you can create a sub-directory structure of 'org/yawlfoundation/yawl/resourcing/codelets' anywhere on your computer, and tell the resource service where to find it by setting the context parameter 'ExternalPluginsPath' in the /webapps/resourceService/WEB-INF/classes/web.xml file (see the file for more details).

To make things even easier, you can now build all of your codelets into a single jar file, and direct the resource service to it via the 'ExternalPluginsPath' context parameter, as above. That way, you’ll have a consolidated set of codelets in a single file that YAWL can load from anywhere on your disk.

For the YAWL Enterprise version, the above also applies, except that the classes still exist within each service’s sub-directory structure, so that different services can executed on different servers if necessary.

riyaz.lakhani

Thu, 06/25/2015 - 13:59

Hello together,

As per Michael, I have setup every thing (provided codelete path and changed web.xml accordingly) but no luck any more.
Getting below error logs in tomcat (black log screen) window, Screenshot attached.
[ERROR] org.yawlfoundation.yawl.util.YPluginLoader.loadIfMatch - C:.yawlplugins.org.yawlfoundation.yawl.resourcing.codelets.RandomIntCodelet

Same codelet classs which is available @"http://yaug.org/node/32" , Title:Creating a codelet.

Can any one help! If i am missing something??

Thanks In Advance.