JobManager localSystem = createLocalJobManager(taskProvider);
File baseDir = new File("C:\\GRIDP_EXEC");
SimpleJobFolderFactory jobFolderFactory = new SimpleJobFolderFactory(baseDir);
JobManagerServiceImpl webService = new JobManagerServiceImpl(localSystem, new BasicSerializerSet(), jobFolderFactory);
//webService.setDeleteDirectoriesWhenFreed(true);
//DO NOT FORGET TO CLONE!
TypeMapping typeMapping = (TypeMapping)Types.getDefaultTypeMapping().clone();
typeMapping.putContentType("file", TransferableFile.DATA_TYPE);