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?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3979619#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...