This content has been marked as final.
Show 3 replies
-
1. Re: jbpm as external sar seam configuration
jabberwocky Oct 20, 2006 7:02 AM (in response to jabberwocky)I've added new property named 'jndiConfiguration' for org.jboss.seam.core.Jbpm component and fixed method for creation jbpmConfiguration
private void initJbpmConfiguration(){ if (jndiConfiguration != null && !"".equals(jndiConfiguration.trim())) { try { jbpmConfiguration= (JbpmConfiguration) new InitialContext().lookup(jndiConfiguration); } catch (NamingException e) { throw new RuntimeException("Can not create jbpmConfiguration from jndi. jndiName='"+jndiConfiguration+"'",e); } }else { jbpmConfiguration = JbpmConfiguration.getInstance(); } .... }
components.xml<component class="org.jboss.seam.core.Jbpm"> <property name="jndiConfiguration">java:/jbpm/JbpmConfiguration</property> </component>
Now everythig looks fine.
Is that enough for jira feature request? -
2. Re: jbpm as external sar seam configuration
gavin.king Oct 20, 2006 1:30 PM (in response to jabberwocky)Sure :)