I solved this problem, I must initialize
private Map<String, GridServiceDescription> coreServicesMap;
I am having another error whe i execute:
kbuilder.add(ResourceFactory.newClassPathResource( "D:/lincoln/WsJbpm51/PrjJSFBpm5/resources/bpm/RequerimientoPermiso.bpmn"), ResourceType.BPMN2);
17:44:57,182 ERROR [STDERR] java.lang.RuntimeException: Timeout : unable to retr
ieve Object Id
17:44:57,183 ERROR [STDERR] at org.drools.grid.internal.responsehandlers.Blo
ckingMessageResponseHandler.getMessage(BlockingMessageResponseHandler.java:29)
17:44:57,184 ERROR [STDERR] at org.drools.grid.internal.responsehandlers.Blo
ckingMessageResponseHandler.getMessage(BlockingMessageResponseHandler.java:22)
17:44:57,185 ERROR [STDERR] at org.drools.grid.remote.ConversationUtil.sendM
essage(ConversationUtil.java:82)
17:44:57,185 ERROR [STDERR] at org.drools.grid.remote.ConversationUtil.sendM
essage(ConversationUtil.java:34)
17:44:57,186 ERROR [STDERR] at org.drools.grid.remote.KnowledgeBuilderRemote
Client.add(KnowledgeBuilderRemoteClient.java:79)
17:44:57,186 ERROR [STDERR] at org.drools.grid.remote.KnowledgeBuilderRemote
Client.add(KnowledgeBuilderRemoteClient.java:58)
17:44:57,187 ERROR [STDERR] at com.lincoln.jbpm.web.SolicitudPermisoService.
createPermissionRequestServiceSession(SolicitudPermisoService.java:127)
17:44:57,188 ERROR [STDERR] at com.lincoln.jbpm.web.SolicitudPermisoService.
init(SolicitudPermisoService.java:62)