Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » JBoss User Help »

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

scott.stark@jboss.org

2007-06-10


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
_______________________________________________
jboss-user mailing list
jboss-user@(protected)
https://lists.jboss.org/mailman/listinfo/jboss-user
©2008 junlu.com - Jax Systems, LLC, U.S.A.