/** Partner link declared in process deployment descriptor could not be found in process definition: {0} */ String msgDDPartnerLinkNotFound(String partnerLinkName) { return format("Partner link declared in process deployment descriptor could not be found in process " + "definition: {0}", partnerLinkName); }
__log.info(__msgs.msgDeployStarting(deploymentUnitDirectory)); du.compile(); } catch (CompilationException ce) { String errmsg = __msgs.msgDeployFailCompileErrors(ce); __log.error(errmsg, ce); throw new ContextException(errmsg, ce); String errmsg = __msgs.msgDeployFailDuplicateDU(du.getName()); __log.error(errmsg); throw new ContextException(errmsg); String errmsg = __msgs.msgDeployFailDuplicatePID(processDD.getName(), du.getName()); __log.error(errmsg); throw new ContextException(errmsg); String errmsg = __msgs.msgDeployFailedProcessNotFound(processDD.getName(), du.getName()); __log.error(errmsg); throw new ContextException(errmsg); __log.info(__msgs.msgProcessDeployed(du.getDeployDir(), process.getProcessId())); _processes.put(process.getProcessId(), process);
public ProcessState call(ConfStoreDAOConnection conn) { DeploymentUnitDAO dudao = conn.getDeploymentUnit(dudir.getName()); if (dudao == null) { String errmsg = __msgs.msgProcessNotFound(pid); __log.error(errmsg); throw new ContextException(errmsg); } ProcessConfDAO dao = dudao.getProcess(pid); if (dao == null) { String errmsg = __msgs.msgProcessNotFound(pid); __log.error(errmsg); throw new ContextException(errmsg); } ProcessState old = dao.getState(); dao.setState(state); pconf.setState(state); return old; } });
__log.info(__msgs.msgProcessUndeployed(pn));
properties.put(Environment.DIALECT, guessDialect(_ds)); } catch (Exception ex) { String errmsg = __msgs.msgOdeInitHibernateDialectDetectFailed(); __log.error(errmsg, ex); throw new BpelEngineException(errmsg, ex);
__log.info(__msgs.msgDeployStarting(deploymentUnitDirectory)); du.compile(); } catch (CompilationException ce) { String errmsg = __msgs.msgDeployFailCompileErrors(ce); __log.error(errmsg, ce); throw new ContextException(errmsg, ce); String errmsg = __msgs.msgDeployFailDuplicateDU(du.getName()); __log.error(errmsg); throw new ContextException(errmsg); String errmsg = __msgs.msgDeployFailDuplicatePID(processDD.getName(), du.getName()); __log.error(errmsg); throw new ContextException(errmsg); String errmsg = __msgs.msgDeployFailedProcessNotFound(processDD.getName(), du.getName()); __log.error(errmsg); throw new ContextException(errmsg); __log.info(__msgs.msgProcessDeployed(du.getDeployDir(), process.getProcessId())); _processes.put(process.getProcessId(), process);
public void setProperty(final QName pid, final QName propName, final String value) { if (__log.isDebugEnabled()) __log.debug("Setting property " + propName + " on process " + pid); ProcessConfImpl pconf = _processes.get(pid); if (pconf == null) { String msg = __msgs.msgProcessNotFound(pid); __log.info(msg); throw new ContextException(msg); } final DeploymentUnitDir dudir = pconf.getDeploymentUnit(); exec(new ProcessStoreImpl.Callable<Object>() { public Object call(ConfStoreDAOConnection conn) { DeploymentUnitDAO dudao = conn.getDeploymentUnit(dudir.getName()); if (dudao == null) return null; ProcessConfDAO proc = dudao.getProcess(pid); if (proc == null) return null; proc.setProperty(propName, value); return null; } }); fireEvent(new ProcessStoreEvent(ProcessStoreEvent.Type.PROPERTY_CHANGED, pid, dudir.getName())); }
__log.info(__msgs.msgProcessUndeployed(pn));
String msgReschedulingJobForInactiveProcess(QName processId, String jobId, Date rescheduled) { return format("Received a scheduled job event for inactive process {0}; " + "rescheduling job {1} for {2}", processId, jobId, rescheduled); }
public ProcessState call(ConfStoreConnection conn) { DeploymentUnitDAO dudao = conn.getDeploymentUnit(dudir.getName()); if (dudao == null) { String errmsg = __msgs.msgProcessNotFound(pid); __log.error(errmsg); throw new ContextException(errmsg); } ProcessConfDAO dao = dudao.getProcess(pid); if (dao == null) { String errmsg = __msgs.msgProcessNotFound(pid); __log.error(errmsg); throw new ContextException(errmsg); } ProcessState old = dao.getState(); dao.setState(state); pconf.setState(state); return old; } });
public String msgOdeInitHibernateErrorReadingHibernateProperties( File hibernatePropFile) { return format("Error reading Hibernate properties file \"{0}\".", hibernatePropFile); }
public void setProperty(final QName pid, final QName propName, final String value) { if (__log.isDebugEnabled()) __log.debug("Setting property " + propName + " on process " + pid); ProcessConfImpl pconf = _processes.get(pid); if (pconf == null) { String msg = __msgs.msgProcessNotFound(pid); __log.info(msg); throw new ContextException(msg); } final DeploymentUnitDir dudir = pconf.getDeploymentUnit(); exec(new ProcessStoreImpl.Callable<Object>() { public Object call(ConfStoreConnection conn) { DeploymentUnitDAO dudao = conn.getDeploymentUnit(dudir.getName()); if (dudao == null) return null; ProcessConfDAO proc = dudao.getProcess(pid); if (proc == null) return null; proc.setProperty(propName, value); return null; } }); fireEvent(new ProcessStoreEvent(ProcessStoreEvent.Type.PROPERTY_CHANGED, pid, dudir.getName())); }
String msgDDMyRoleNotFound(String partnerLinkName) { return format("Role 'myRole' declared in process deployment descriptor isn't defined in process definition for " + "partner link : {0}", partnerLinkName); }
pconf = _processes.get(pid); if (pconf == null) { String msg = __msgs.msgProcessNotFound(pid); __log.info(msg); throw new ContextException(msg);
public String msgOdeInitHibernateErrorReadingHibernateProperties( File hibernatePropFile) { return format("Error reading Hibernate properties file \"{0}\".", hibernatePropFile); }
pconf = _processes.get(pid); if (pconf == null) { String msg = __msgs.msgProcessNotFound(pid); __log.info(msg); throw new ContextException(msg);
/** A database error prevented the operation from succeeding. */ String msgDbError() { return format("A database error prevented the operation from succeeding."); }
String msgReschedulingJobForInactiveProcess(QName processId, String jobId, Date rescheduled) { return format("Received a scheduled job event for inactive process {0}; " + "rescheduling job {1} for {2}", processId, jobId, rescheduled); }
String msgMyRoleRoutingFailure(String messageExchangeId) { return format("Unable to route message exchange {0}, EPR was not specified " + "and the target my-role could not be inferred.",messageExchangeId); }
/** Partner link declared in process deployment descriptor could not be found in process definition: {0} */ String msgDDPartnerLinkNotFound(String partnerLinkName) { return format("Partner link declared in process deployment descriptor could not be found in process " + "definition: {0}", partnerLinkName); }