<?xml version="1.0" encoding="iso-8859-1" ?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:annotate="http://purl.org/rss/1.0/modules/annotate/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
<!--
	This feed generated for Anonymous
	More info at http://naklon.info/rss/about.htm
-->
<channel>
<title>Portico Project Forums</title>
<link>http://forums.porticoproject.org/</link>
<description>Get help on all things Portico</description>
<managingEditor>forums@littlebluefroglabs.com</managingEditor>
<docs>http://blogs.law.harvard.edu/tech/rss</docs>
<generator>RSS Feed 2.2.4</generator>
<language>en</language>
<lastBuildDate>Wed, 10 Mar 2010 06:45:47 GMT</lastBuildDate>
<image>
	<url>http://forums.porticoproject.org/templates/subSilver/images/logo_phpBB_med.gif</url>
	<title>Portico Project Forums</title>
	<link>http://forums.porticoproject.org/</link>
	<width>122</width>
	<height>56</height>
</image>
<item>
<title>Portico Support :: RE: hla.rti.RTIinternalError</title>
<link>http://forums.porticoproject.org/viewtopic.php?p=1148#1148</link>
<pubDate>Mon, 08 Mar 2010 13:12:15 GMT</pubDate>
<guid isPermaLink="true">http://forums.porticoproject.org/viewtopic.php?p=1148#1148</guid>
<description>Author: &lt;a href=&quot;http://forums.porticoproject.org/profile.php?mode=viewprofile&amp;u=58&quot; target=&quot;_blank&quot;&gt;eunsol&lt;/a&gt;&lt;br /&gt;

Posted: Mon Mar 08, 2010 11:12 pm (GMT 10)&lt;br /&gt;
&lt;br /&gt;&lt;span class="postbody"&gt;
Hello Tim,
&lt;br /&gt;

&lt;br /&gt;
Thank you so much for your helping.
&lt;br /&gt;
I cannot wait to see new version.  &lt;img src=&quot;http://forums.porticoproject.org/images/smiles/icon_biggrin.gif&quot; alt=&quot;Very Happy&quot; border=&quot;0&quot; /&gt;&lt;/span&gt;&lt;br /&gt;
</description>
<dc:creator>eunsol</dc:creator>
<dc:subject>Portico Support</dc:subject>
<annotate:reference rdf:resource="http://forums.porticoproject.org/viewtopic.php?p=1146#1146" />
<comments>http://forums.porticoproject.org/posting.php?mode=quote&amp;p=1148</comments>
</item>
<item>
<title>Portico Support :: RE: hla.rti.RTIinternalError</title>
<link>http://forums.porticoproject.org/viewtopic.php?p=1147#1147</link>
<pubDate>Sat, 06 Mar 2010 08:33:38 GMT</pubDate>
<guid isPermaLink="true">http://forums.porticoproject.org/viewtopic.php?p=1147#1147</guid>
<description>Author: &lt;a href=&quot;http://forums.porticoproject.org/profile.php?mode=viewprofile&amp;u=2&quot; target=&quot;_blank&quot;&gt;tim&lt;/a&gt;&lt;br /&gt;

Posted: Sat Mar 06, 2010 6:33 pm (GMT 10)&lt;br /&gt;
&lt;br /&gt;&lt;span class="postbody"&gt;
G'day Sol,
&lt;br /&gt;

&lt;br /&gt;
This is an issue that has been seen many times before unfortunately. The joining process is quite flaky with JGroups and it needs sorting out. However, due to other reasons, JGroups is currently being replaced by a custom networking implementation.
&lt;br /&gt;

&lt;br /&gt;
The new binding should be ready for the next version of Portico (v1.0.2) coming in May/June. Until then, there is sadly nothing that can be done. My suggestion is to spread out the joining of the federates as long as possible. It's not at all idea, but it will have to do for now sadly &lt;img src=&quot;http://forums.porticoproject.org/images/smiles/icon_sad.gif&quot; alt=&quot;Sad&quot; border=&quot;0&quot; /&gt;
&lt;br /&gt;

&lt;br /&gt;
Cheers,
&lt;br /&gt;
Tim&lt;/span&gt;&lt;br /&gt;
</description>
<dc:creator>tim</dc:creator>
<dc:subject>Portico Support</dc:subject>
<annotate:reference rdf:resource="http://forums.porticoproject.org/viewtopic.php?p=1146#1146" />
<comments>http://forums.porticoproject.org/posting.php?mode=quote&amp;p=1147</comments>
</item>
<item>
<title>Portico Support :: hla.rti.RTIinternalError</title>
<link>http://forums.porticoproject.org/viewtopic.php?p=1146#1146</link>
<pubDate>Fri, 05 Mar 2010 19:53:43 GMT</pubDate>
<guid isPermaLink="true">http://forums.porticoproject.org/viewtopic.php?p=1146#1146</guid>
<description>Author: &lt;a href=&quot;http://forums.porticoproject.org/profile.php?mode=viewprofile&amp;u=58&quot; target=&quot;_blank&quot;&gt;eunsol&lt;/a&gt;&lt;br /&gt;
Subject: hla.rti.RTIinternalError&lt;br /&gt;
Posted: Sat Mar 06, 2010 5:53 am (GMT 10)&lt;br /&gt;
&lt;br /&gt;&lt;span class="postbody"&gt;
Hello,
&lt;br /&gt;

&lt;br /&gt;
I am using portico ver. 1.0.1, and there is connection error, and it happens randomly.
&lt;br /&gt;

&lt;br /&gt;
Currently, I have one main federate and three federates joined.
&lt;br /&gt;
Two federates always successfully join to the main federate, but the last federate sometimes fails to join.
&lt;br /&gt;
This code is from the failed federate.
&lt;br /&gt;
&lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Code:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;code&quot;&gt;
&lt;br /&gt;
DEBUG &amp;#91;c++&amp;#93; Initialize the JVM
&lt;br /&gt;
DEBUG &amp;#91;c++&amp;#93; Creating a new JVM
&lt;br /&gt;
INFO&amp;nbsp; &amp;#91;c++&amp;#93; New JVM has been created
&lt;br /&gt;
INFO&amp;nbsp; &amp;#91;c++&amp;#93; Attempting to load RID file
&lt;br /&gt;
INFO&amp;nbsp; &amp;#91;c++&amp;#93; RID file processing finished
&lt;br /&gt;
INFO&amp;nbsp; &amp;#91;c++&amp;#93; newRtiAmbassador&amp;#58; creating new JavaRTI
&lt;br /&gt;
DEBUG &amp;#91;rti-1&amp;#93; Attaching to JVM
&lt;br /&gt;
INFO&amp;nbsp; &amp;#91;rti-1&amp;#93; Attached to JVM
&lt;br /&gt;
DEBUG &amp;#91;rti-1&amp;#93; Creating new instance of ProxyRtiAmbassador
&lt;br /&gt;
INFO&amp;nbsp; &amp;#91;rti-1&amp;#93; Initialized new JavaRTI &amp;#40;rti-1&amp;#41;
&lt;br /&gt;
TRACE &amp;#91;rti-1&amp;#93; Caching RTIambassador method ids...
&lt;br /&gt;
TRACE &amp;#91;rti-1&amp;#93; Cached RTIambassador method ids
&lt;br /&gt;
TRACE &amp;#91;rti-1&amp;#93; Caching Region method ids
&lt;br /&gt;
TRACE &amp;#91;rti-1&amp;#93; Cached Region method ids
&lt;br /&gt;
DEBUG &amp;#91;c++&amp;#93; &amp;#91;Starting&amp;#93; joinFederationExecution&amp;#40;&amp;#41;&amp;#58; federationName=Federation, federateName=Federate
&lt;br /&gt;
ERROR &amp;#91;main&amp;#93; portico.lrc&amp;#58; Waited 5 seconds for RoleCall from federate &amp;#91;3&amp;#93;, none received, connection error
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; org.portico.shared.compat.JRTIinternalError&amp;#58; Waited 5 seconds for RoleCall from federate &amp;#91;3&amp;#93;, none received, connection error
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; at org.portico.lrc.handlers.outgoing.JoinFederationHandler.process&amp;#40;JoinFederationHandler.java&amp;#58;133&amp;#41;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; at com.lbf.commons.messaging.MessageSink.process&amp;#40;MessageSink.java&amp;#58;186&amp;#41;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; at org.portico.impl.hla13.Impl13Helper.processMessage&amp;#40;Impl13Helper.java&amp;#58;123&amp;#41;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; at org.portico.impl.hla13.Rti13Ambassador.processMessage&amp;#40;Rti13Ambassador.java&amp;#58;5732&amp;#41;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; at org.portico.impl.hla13.Rti13Ambassador.joinFederationExecution&amp;#40;Rti13Ambassador.java&amp;#58;230&amp;#41;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; at org.portico.impl.cpp13.ProxyRtiAmbassador.joinFederationExecution&amp;#40;ProxyRtiAmbassador.java&amp;#58;222&amp;#41;
&lt;br /&gt;
INFO&amp;nbsp; &amp;#91;rti-1&amp;#93; Exception received&amp;#58; RTIinternalError
&lt;br /&gt;
INFO&amp;nbsp; &amp;#91;rti-1&amp;#93; hla.rti.RTIinternalError&amp;#58; org.portico.shared.compat.JRTIinternalError
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;#58; Waited 5 seconds for RoleCall from federate &amp;#91;3&amp;#93;, none received, connectionerror serial&amp;#58;0
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; at org.portico.impl.hla13.Rti13Ambassador.joinFederationExecution&amp;#40;Rti13Ambassador.java&amp;#58;254&amp;#41;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; at org.portico.impl.cpp13.ProxyRtiAmbassador.joinFederationExecution&amp;#40;ProxyRtiAmbassador.java&amp;#58;222&amp;#41;
&lt;br /&gt;
Caused by&amp;#58; org.portico.shared.compat.JRTIinternalError&amp;#58; Waited 5 seconds for RoleCall from federate &amp;#91;3&amp;#93;, none received, connection error
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; at org.portico.lrc.handlers.outgoing.JoinFederationHandler.process&amp;#40;JoinFederationHandler.java&amp;#58;133&amp;#41;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; at com.lbf.commons.messaging.MessageSink.process&amp;#40;MessageSink.java&amp;#58;186&amp;#41;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; at org.portico.impl.hla13.Impl13Helper.processMessage&amp;#40;Impl13Helper.java&amp;#58;123&amp;#41;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; at org.portico.impl.hla13.Rti13Ambassador.processMessage&amp;#40;Rti13Ambassador.java&amp;#58;5732&amp;#41;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; at org.portico.impl.hla13.Rti13Ambassador.joinFederationExecution&amp;#40;Rti13Ambassador.java&amp;#58;230&amp;#41;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; ... 1 more
&lt;br /&gt;
&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;
&lt;br /&gt;

&lt;br /&gt;
It happens really random, is this federate timing issue?
&lt;br /&gt;

&lt;br /&gt;
Thank you so much
&lt;br /&gt;
Regard,
&lt;br /&gt;
Sol&lt;/span&gt;&lt;br /&gt;
</description>
<dc:creator>eunsol</dc:creator>
<dc:subject>Portico Support</dc:subject>
<annotate:reference rdf:resource="http://forums.porticoproject.org/viewtopic.php?p=1146#1146" />
<comments>http://forums.porticoproject.org/posting.php?mode=quote&amp;p=1146</comments>
</item>
<item>
<title>Portico Support :: RE: org.portico.impl.cpp13.ProxyRTIAmbassador issue</title>
<link>http://forums.porticoproject.org/viewtopic.php?p=1145#1145</link>
<pubDate>Thu, 04 Mar 2010 01:36:20 GMT</pubDate>
<guid isPermaLink="true">http://forums.porticoproject.org/viewtopic.php?p=1145#1145</guid>
<description>Author: &lt;a href=&quot;http://forums.porticoproject.org/profile.php?mode=viewprofile&amp;u=2&quot; target=&quot;_blank&quot;&gt;tim&lt;/a&gt;&lt;br /&gt;

Posted: Thu Mar 04, 2010 11:36 am (GMT 10)&lt;br /&gt;
&lt;br /&gt;&lt;span class="postbody"&gt;
Hmmm, I'm not sure about that particular issue. I haven't seen it before. However, with regard to Portico v0.9, I would skip it and only 1.0.x+
&lt;br /&gt;

&lt;br /&gt;
The v0.9 releases were a bit buggy for a number of reasons, so my advice would be to steer clear of them!&lt;/span&gt;&lt;br /&gt;
</description>
<dc:creator>tim</dc:creator>
<dc:subject>Portico Support</dc:subject>
<annotate:reference rdf:resource="http://forums.porticoproject.org/viewtopic.php?p=1142#1142" />
<comments>http://forums.porticoproject.org/posting.php?mode=quote&amp;p=1145</comments>
</item>
<item>
<title>Portico Support :: RE: org.portico.impl.cpp13.ProxyRTIAmbassador issue</title>
<link>http://forums.porticoproject.org/viewtopic.php?p=1144#1144</link>
<pubDate>Wed, 03 Mar 2010 20:57:06 GMT</pubDate>
<guid isPermaLink="true">http://forums.porticoproject.org/viewtopic.php?p=1144#1144</guid>
<description>Author: &lt;a href=&quot;http://forums.porticoproject.org/profile.php?mode=viewprofile&amp;u=58&quot; target=&quot;_blank&quot;&gt;eunsol&lt;/a&gt;&lt;br /&gt;

Posted: Thu Mar 04, 2010 6:57 am (GMT 10)&lt;br /&gt;
&lt;br /&gt;&lt;span class="postbody"&gt;
Hello Tim,
&lt;br /&gt;

&lt;br /&gt;
Thank you for helping me to figure out what's going on.
&lt;br /&gt;
I retried to set RTII_HOME and PORTICO_DEBUG, and it worked fine.
&lt;br /&gt;

&lt;br /&gt;
However, I got another problem, which is running a federate in debug mode is failed in portico version 0.9.
&lt;br /&gt;

&lt;br /&gt;
&lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Code:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;code&quot;&gt;
&lt;br /&gt;
This application has failed to start because MSVCR80.dll was not found.
&lt;br /&gt;
&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;
&lt;br /&gt;
In release mode, it works perfectly, but not in debug mode.
&lt;br /&gt;
Anything that I need to do to run federates in debug mode?
&lt;br /&gt;
running federates in 0.8 and 1.0.1 versions are working fine.
&lt;br /&gt;
(both version were got released ones, not from src trunk.)
&lt;br /&gt;

&lt;br /&gt;
Moreover, to build portico 0.9, I used &lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Code:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;code&quot;&gt;ant sandbox&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt; and &lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Code:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;code&quot;&gt;ant release -Dbuild.devel=true&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;
&lt;br /&gt;

&lt;br /&gt;
Thank you for helping me a lot
&lt;br /&gt;
Regard,
&lt;br /&gt;
Sol&lt;/span&gt;&lt;br /&gt;
</description>
<dc:creator>eunsol</dc:creator>
<dc:subject>Portico Support</dc:subject>
<annotate:reference rdf:resource="http://forums.porticoproject.org/viewtopic.php?p=1142#1142" />
<comments>http://forums.porticoproject.org/posting.php?mode=quote&amp;p=1144</comments>
</item>
<item>
<title>Portico Support :: RE: org.portico.impl.cpp13.ProxyRTIAmbassador issue</title>
<link>http://forums.porticoproject.org/viewtopic.php?p=1143#1143</link>
<pubDate>Wed, 03 Mar 2010 05:19:39 GMT</pubDate>
<guid isPermaLink="true">http://forums.porticoproject.org/viewtopic.php?p=1143#1143</guid>
<description>Author: &lt;a href=&quot;http://forums.porticoproject.org/profile.php?mode=viewprofile&amp;u=2&quot; target=&quot;_blank&quot;&gt;tim&lt;/a&gt;&lt;br /&gt;

Posted: Wed Mar 03, 2010 3:19 pm (GMT 10)&lt;br /&gt;
&lt;br /&gt;&lt;span class="postbody"&gt;
G'day Sol,
&lt;br /&gt;

&lt;br /&gt;
I've seen this crop up before. What it means is that the C++ side of the Portico bindings can't talk to the Java side. The usual cause for this is that the RTI_HOME environment variable isn't set correctly and so the C++ bindings have no reference to use to track down the portico.jar file.
&lt;br /&gt;

&lt;br /&gt;
If you have got RTI_HOME set properly, to find out more about what is happening, you can use the special debug environment variable to turn up C++ side logging. Just set the environment variable PORTICO_DEBUG to TRACE and then run again. Perhaps post that output here.
&lt;br /&gt;

&lt;br /&gt;
Hope that helps,
&lt;br /&gt;
Tim&lt;/span&gt;&lt;br /&gt;
</description>
<dc:creator>tim</dc:creator>
<dc:subject>Portico Support</dc:subject>
<annotate:reference rdf:resource="http://forums.porticoproject.org/viewtopic.php?p=1142#1142" />
<comments>http://forums.porticoproject.org/posting.php?mode=quote&amp;p=1143</comments>
</item>
<item>
<title>Portico Support :: org.portico.impl.cpp13.ProxyRTIAmbassador issue</title>
<link>http://forums.porticoproject.org/viewtopic.php?p=1142#1142</link>
<pubDate>Tue, 02 Mar 2010 18:59:23 GMT</pubDate>
<guid isPermaLink="true">http://forums.porticoproject.org/viewtopic.php?p=1142#1142</guid>
<description>Author: &lt;a href=&quot;http://forums.porticoproject.org/profile.php?mode=viewprofile&amp;u=58&quot; target=&quot;_blank&quot;&gt;eunsol&lt;/a&gt;&lt;br /&gt;
Subject: org.portico.impl.cpp13.ProxyRTIAmbassador issue&lt;br /&gt;
Posted: Wed Mar 03, 2010 4:59 am (GMT 10)&lt;br /&gt;
&lt;br /&gt;&lt;span class="postbody"&gt;
Hello,
&lt;br /&gt;

&lt;br /&gt;
Currently, I have three different portico versions, 0.8, 0.9 and 1.0.1.
&lt;br /&gt;
I was using version 0.8, and it worked perfectly fine.
&lt;br /&gt;
version 0.9 was built successfully, so I changed RTI_HOME, and the test federate in example folder was worked.
&lt;br /&gt;
Then, I tried to run two federates, and the following fatal error message shown up on the console.
&lt;br /&gt;

&lt;br /&gt;
&lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Code:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;code&quot;&gt;
&lt;br /&gt;
RTI connection attempt&amp;#58; 1/50
&lt;br /&gt;
FATAL &amp;#91;c++&amp;#93; Can't locate the org.portico.impl.cpp13.ProxyRTIAmbassador class
&lt;br /&gt;
RTI connection failed&amp;#58; Failed to initialize the RTI ambassador&amp;#58; Can't locate org.portico.impl.cpp13.ProxyRTIAmbassador class
&lt;br /&gt;
RTI connection retry wait.
&lt;br /&gt;
&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;
&lt;br /&gt;

&lt;br /&gt;
Exact same thing happens in version 1.0.1.
&lt;br /&gt;
Can you tell me anything wrong?
&lt;br /&gt;

&lt;br /&gt;
Thank you so much for your help
&lt;br /&gt;
Regard,
&lt;br /&gt;
Sol&lt;/span&gt;&lt;br /&gt;
</description>
<dc:creator>eunsol</dc:creator>
<dc:subject>Portico Support</dc:subject>
<annotate:reference rdf:resource="http://forums.porticoproject.org/viewtopic.php?p=1142#1142" />
<comments>http://forums.porticoproject.org/posting.php?mode=quote&amp;p=1142</comments>
</item>
<item>
<title>Portico Support :: RE: 1516 evokeMultipleCallbacks(min,max) returns too soon</title>
<link>http://forums.porticoproject.org/viewtopic.php?p=1141#1141</link>
<pubDate>Wed, 24 Feb 2010 17:51:51 GMT</pubDate>
<guid isPermaLink="true">http://forums.porticoproject.org/viewtopic.php?p=1141#1141</guid>
<description>Author: &lt;a href=&quot;http://forums.porticoproject.org/profile.php?mode=viewprofile&amp;u=147&quot; target=&quot;_blank&quot;&gt;Lirgo&lt;/a&gt;&lt;br /&gt;

Posted: Thu Feb 25, 2010 3:51 am (GMT 10)&lt;br /&gt;
&lt;br /&gt;&lt;span class="postbody"&gt;
Hi Tim!
&lt;br /&gt;

&lt;br /&gt;
It's probably as you describe it, because I send an interaction from one federate each time it advances the time and an object reflection from another federate also each time it advances the time.
&lt;br /&gt;

&lt;br /&gt;
I have done a handler that wraps it all up so that I don't need to copy-paste code on each federate. Both for version 1.3 and 1516. It's quite alot of code (~800 x 2 exluding foms) and it doesn't seem to be a way to attach files here on the forum. I have changed the code so that it handles delays by itself now instead, so it isn't any good test-case anymore, but I can try out an eventual fix by changing it back.
&lt;br /&gt;

&lt;br /&gt;
Really appreciate your help.
&lt;br /&gt;

&lt;br /&gt;
Cheers,
&lt;br /&gt;

&lt;br /&gt;
Johan&lt;/span&gt;&lt;br /&gt;
</description>
<dc:creator>Lirgo</dc:creator>
<dc:subject>Portico Support</dc:subject>
<annotate:reference rdf:resource="http://forums.porticoproject.org/viewtopic.php?p=1139#1139" />
<comments>http://forums.porticoproject.org/posting.php?mode=quote&amp;p=1141</comments>
</item>
<item>
<title>Portico Support :: RE: 1516 evokeMultipleCallbacks(min,max) returns too soon</title>
<link>http://forums.porticoproject.org/viewtopic.php?p=1140#1140</link>
<pubDate>Wed, 24 Feb 2010 11:14:31 GMT</pubDate>
<guid isPermaLink="true">http://forums.porticoproject.org/viewtopic.php?p=1140#1140</guid>
<description>Author: &lt;a href=&quot;http://forums.porticoproject.org/profile.php?mode=viewprofile&amp;u=2&quot; target=&quot;_blank&quot;&gt;tim&lt;/a&gt;&lt;br /&gt;

Posted: Wed Feb 24, 2010 9:14 pm (GMT 10)&lt;br /&gt;
&lt;br /&gt;&lt;span class="postbody"&gt;
&lt;span style=&quot;font-weight: bold&quot;&gt;&lt;span style=&quot;font-style: italic&quot;&gt;Note&lt;/span&gt;&lt;/span&gt;: I've split this off into a separate topic
&lt;br /&gt;

&lt;br /&gt;
G'day Johan,
&lt;br /&gt;

&lt;br /&gt;
As far as I can tell from the code, evokeMultipleCallbacks(min,max) should wait at least as long as min. Have you got a bit of test code you can post that demonstrates it not waiting long enough?
&lt;br /&gt;

&lt;br /&gt;
Wandering through the code, the 1516 RtiAmbassador calls into the 1516 ImplHelper, which itself calls into the LRC. The LRC method looks like so:
&lt;br /&gt;

&lt;br /&gt;
&lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Code:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;code&quot;&gt;
&lt;br /&gt;
public boolean tick&amp;#40; double minSeconds, double maxSeconds &amp;#41;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; throws JRTIinternalError, JConcurrentAccessAttempted
&lt;br /&gt;
&amp;#123;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; // check for a concurrent access issue
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; state.checkAccess&amp;#40;&amp;#41;;
&lt;br /&gt;

&lt;br /&gt;
&amp;nbsp; &amp;nbsp; // signal that we are not ticking
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; state.setTicking&amp;#40; true &amp;#41;;
&lt;br /&gt;

&lt;br /&gt;
&amp;nbsp; &amp;nbsp; try
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;#123;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // figure out how long we can tick for under min/max settings
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; long startTime = System.currentTimeMillis&amp;#40;&amp;#41;;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; long minTime = startTime + &amp;#40;long&amp;#41;&amp;#40;minSeconds*1000&amp;#41;;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; long maxTime = startTime + &amp;#40;long&amp;#41;&amp;#40;maxSeconds*1000&amp;#41;;
&lt;br /&gt;

&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // poll until AT LEAST the minimum time
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Timestamp minimumTimestamp = new Timestamp&amp;#40; minTime &amp;#41;;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; PorticoMessage message = state.messageQueue.pollUntil&amp;#40; minimumTimestamp &amp;#41;;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if&amp;#40; message == null &amp;#41;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return false;
&lt;br /&gt;

&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // process the message we got
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; tickProcess&amp;#40; message &amp;#41;;
&lt;br /&gt;

&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // keep processing messages while they are there and we have not exceeded the max time
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; while&amp;#40; System.currentTimeMillis&amp;#40;&amp;#41; &amp;lt;= maxTime &amp;#41;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;#123;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; message = state.messageQueue.poll&amp;#40;&amp;#41;;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if&amp;#40; message == null &amp;#41;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return false;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; else
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; tickProcess&amp;#40; message &amp;#41;;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;#125;
&lt;br /&gt;

&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // return that there are more messaegs, this could technically be a lie if the message
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // we processed before time ran out was the last message available, but it is likely
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // that there is more work and that if there had been none we'd have gotten back null
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // from poll&amp;#40;&amp;#41; and returned false from within the above while&amp;#40;&amp;#41;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return true;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;#125;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; finally
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;#123;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; state.setTicking&amp;#40; false &amp;#41;;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;#125;
&lt;br /&gt;
&amp;#125;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br /&gt;
&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;
&lt;br /&gt;

&lt;br /&gt;
What *could* be happening is as follows:
&lt;br /&gt;

&lt;br /&gt;
1. It polls the message queue for a message, of which there is one
&lt;br /&gt;
2. It processes that message
&lt;br /&gt;
3. It still have time, so it goes back to see if there are more
&lt;br /&gt;
4. There are not, but in this case, it doesn't wait (as it has already processed a message)
&lt;br /&gt;
5. It returns, having processed at least one message, even though min might not have been reached yet.
&lt;br /&gt;

&lt;br /&gt;
This appears to be wrong according to 1516, but I think it is also being called by 1.3 for some other use. I suspect I'll need to write a separate implementation for 1516 (which shouldn't take too long). 
&lt;br /&gt;

&lt;br /&gt;
I've filed a Jira issue for this problem here: &lt;a href=&quot;http://jira.porticoproject.org/browse/PORT-913&quot; target=&quot;_blank&quot;&gt;http://jira.porticoproject.org/browse/PORT-913&lt;/a&gt;
&lt;br /&gt;

&lt;br /&gt;
Once I've fixed it, I'll get you to verify that it is working as expected for you as well.
&lt;br /&gt;

&lt;br /&gt;
Thanks for the bug report!
&lt;br /&gt;

&lt;br /&gt;
Cheers,
&lt;br /&gt;
Tim&lt;/span&gt;&lt;br /&gt;
</description>
<dc:creator>tim</dc:creator>
<dc:subject>Portico Support</dc:subject>
<annotate:reference rdf:resource="http://forums.porticoproject.org/viewtopic.php?p=1139#1139" />
<comments>http://forums.porticoproject.org/posting.php?mode=quote&amp;p=1140</comments>
</item>
</channel>
</rss>

<!-- Page generation time: 0.247s  - Memory Usage: 1.071 Mb  - GZIP enabled -->