<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Spring jBPM4 CR1 Demo</title>
	<atom:link href="http://www.inze.be/andries/2009/06/08/spring-jbpm4-cr1-demo/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.inze.be/andries/2009/06/08/spring-jbpm4-cr1-demo/</link>
	<description>Java, Project Management, Life and anything else.</description>
	<lastBuildDate>Wed, 10 Mar 2010 09:54:31 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Juan Carlos Vergara</title>
		<link>http://www.inze.be/andries/2009/06/08/spring-jbpm4-cr1-demo/comment-page-1/#comment-745</link>
		<dc:creator>Juan Carlos Vergara</dc:creator>
		<pubDate>Fri, 31 Jul 2009 17:04:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.inze.be/andries/?p=150#comment-745</guid>
		<description>Hi André, I am using your demo to run the examples included in the JBPM4 Distribution.
Almost all the examples run Ok with your configuration, 

But I have the following exception running the AsyncActivityTest: 

java.lang.NullPointerException at org.jbpm.pvm.internal.jobexecutor.JobExecutorMessageSession.send(JobExecutorMessageSession.java:59) 

The file process.jpdl.xml marks the process as asynchronous: 
&lt;java name=&quot;generate pdf&quot; continue=&quot;async&quot; 

In the class JobExecutorMessageSession.java seems that the transaction managed by Spring is not propagating to the Job Session: 
public void send(Message message) { 
log.debug(&quot;sending message &quot;+ReflectUtil.getUnqualifiedClassName(message.getClass())); 
â¦ 
transaction .registerSynchronization(new JobAddedNotification(jobExecutor)); 
} 
} 
If I remove the continue=&quot;async&quot; attribute the test runs ok. 
Any comment about this issue will be very appreciate,
Thanks</description>
		<content:encoded><![CDATA[<p>Hi André, I am using your demo to run the examples included in the JBPM4 Distribution.<br />
Almost all the examples run Ok with your configuration, </p>
<p>But I have the following exception running the AsyncActivityTest: </p>
<p>java.lang.NullPointerException at org.jbpm.pvm.internal.jobexecutor.JobExecutorMessageSession.send(JobExecutorMessageSession.java:59) </p>
<p>The file process.jpdl.xml marks the process as asynchronous:<br />
&lt;java name=&quot;generate pdf&quot; continue=&quot;async&quot; </p>
<p>In the class JobExecutorMessageSession.java seems that the transaction managed by Spring is not propagating to the Job Session:<br />
public void send(Message message) {<br />
log.debug(&quot;sending message &quot;+ReflectUtil.getUnqualifiedClassName(message.getClass()));<br />
â¦<br />
transaction .registerSynchronization(new JobAddedNotification(jobExecutor));<br />
}<br />
}<br />
If I remove the continue=&quot;async&quot; attribute the test runs ok.<br />
Any comment about this issue will be very appreciate,<br />
Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rescue</title>
		<link>http://www.inze.be/andries/2009/06/08/spring-jbpm4-cr1-demo/comment-page-1/#comment-624</link>
		<dc:creator>rescue</dc:creator>
		<pubDate>Sun, 28 Jun 2009 14:04:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.inze.be/andries/?p=150#comment-624</guid>
		<description>How do you declare an arg which is a class object?</description>
		<content:encoded><![CDATA[<p>How do you declare an arg which is a class object?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sridhar</title>
		<link>http://www.inze.be/andries/2009/06/08/spring-jbpm4-cr1-demo/comment-page-1/#comment-580</link>
		<dc:creator>sridhar</dc:creator>
		<pubDate>Fri, 12 Jun 2009 22:43:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.inze.be/andries/?p=150#comment-580</guid>
		<description>test class rocks..</description>
		<content:encoded><![CDATA[<p>test class rocks..</p>
]]></content:encoded>
	</item>
</channel>
</rss>
