[jboss-user] [JBoss jBPM] - Re: loading resource from process class

gogoasa do-not-reply at jboss.com
Sun Jun 10 15:35:25 EDT 2007


I have just tried to include the .properties file inside the .par again, same  result :


  | org.jbpm.JbpmException: couldn't get value for file 'jndi-services.properties'
  |         at org.jbpm.file.def.FileDefinition.getBytes(FileDefinition.java:196)
  |         at org.jbpm.instantiation.ProcessClassLoader.getResourceAsStream(ProcessClassLoader.java:43)
  |         at fr.bnf.entrychain.jbpm.actions.ServiceClusterJndiProperties.<init>(ServiceClusterJndiProperties.java:31)
  |         at fr.bnf.entrychain.jbpm.actions.OnStartAction.execute(OnStartAction.java:24)
  |         at org.jbpm.graph.def.Action.execute(Action.java:122)
  | 
  | ...
  | 
  | Caused by: java.lang.NullPointerException
  |         at org.jbpm.file.def.FileDefinition.getBytesFromDb(FileDefinition.java:213)
  |         at org.jbpm.file.def.FileDefinition.getBytes(FileDefinition.java:193)
  |         ... 74 more
  | 

Has anyone succeeded in doing this ? To me, as BPM typically orchestrates distant clusters, it looks like a very common thing to do.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4052945#4052945

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4052945



More information about the jboss-user mailing list