<?xml version="1.0" encoding="ISO-8859-1"?>

<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
	<channel>
		<title>ZeroC Forums</title>
		<link>http://www.zeroc.com/forums</link>
		<description>This is a discussion forum powered by vBulletin. To find out about vBulletin, go to http://www.vbulletin.com/ .</description>
		<language>en</language>
		<lastBuildDate>Wed, 08 Sep 2010 06:01:09 GMT</lastBuildDate>
		<generator>vBulletin</generator>
		<ttl>60</ttl>
		<image>
			<url>http://www.zeroc.com/forums/images/misc/rss.jpg</url>
			<title>ZeroC Forums</title>
			<link>http://www.zeroc.com/forums</link>
		</image>
		<item>
			<title>seprate thread pool</title>
			<link>http://www.zeroc.com/forums/help-center/5075-seprate-thread-pool.html</link>
			<pubDate>Mon, 06 Sep 2010 12:42:46 GMT</pubDate>
			<description>Hi.
I have two questions:

1.Is new ice (3.4) slower than 3.3?
I migrate to Ice 3.4.1 and it seems this version has lower performance .
(i use windows server 2008 r2 and vs 2008 sp1)

2.My Service has seven cores (process) that they serves public requests . two cores of them using inter-process communication with ICE . 
if we have large amount of public requests , inter-process calls work so slowly. 
Is there any way to make special Adapter with separate thread pool for this issue? 

With a lot of thanks for your ICE</description>
			<content:encoded><![CDATA[<!-- BEGIN TEMPLATE: postbit_external -->
<div>Hi.<br />
I have two questions:<br />
<br />
1.Is new ice (3.4) slower than 3.3?<br />
I migrate to Ice 3.4.1 and it seems this version has lower performance .<br />
(i use windows server 2008 r2 and vs 2008 sp1)<br />
<br />
2.My Service has seven cores (process) that they serves public requests . two cores of them using inter-process communication with ICE . <br />
if we have large amount of public requests , inter-process calls work so slowly. <br />
Is there any way to make special Adapter with separate thread pool for this issue? <br />
<br />
With a lot of thanks for your ICE</div>


<!-- END TEMPLATE: postbit_external -->]]></content:encoded>
			<category domain="http://www.zeroc.com/forums/help-center/">Help Center</category>
			<dc:creator>omid</dc:creator>
			<guid isPermaLink="true">http://www.zeroc.com/forums/help-center/5075-seprate-thread-pool.html</guid>
		</item>
		<item>
			<title>Cannot allocate memory</title>
			<link>http://www.zeroc.com/forums/help-center/5074-cannot-allocate-memory.html</link>
			<pubDate>Sun, 05 Sep 2010 11:50:39 GMT</pubDate>
			<description><![CDATA[I just upgraded to Ice 3.4.1 and using Mumpi v2.2.1 for Mumble 1.2.3 on Linux Centos 5 x86_64

Getting the following error message

---Quote---
Fatal error: Uncaught exception ::Ice::UnknownException { unknown = Thread.cpp:521: IceUtil::ThreadSyscallException: syscall exception: Cannot allocate memory } thrown in /home/xxxx/public_html/mumble/classes/ServerInterface.php on line 64
---End Quote---
I tried changing the memory_limit in my php.ini from 48M to 64M and now to 256M with no effect.

The related lines are

Code:
---------
                                $initData = new Ice_InitializationData;
                                $initData->properties = Ice_createProperties();
                                $initData->properties->setProperty('Ice.ImplicitContext', 'Shared');
                                $ICE = Ice_initialize($initData);
---------
Ideas/Suggestions?  I'll ask Kissaki to post any other related information.


Thank you,


Xavier]]></description>
			<content:encoded><![CDATA[<!-- BEGIN TEMPLATE: postbit_external -->
<div>I just upgraded to Ice 3.4.1 and using Mumpi v2.2.1 for Mumble 1.2.3 on Linux Centos 5 x86_64<br />
<br />
Getting the following error message<br />
<!-- BEGIN TEMPLATE: bbcode_quote_printable -->
<div style="margin:20px; margin-top:5px; ">
	<div class="smallfont" style="margin-bottom:2px">Quote:</div>
	<table cellpadding="6" cellspacing="0" border="0" width="100%">
	<tr>
		<td class="alt2">
			<hr />
			
				Fatal error: Uncaught exception ::Ice::UnknownException { unknown = Thread.cpp:521: IceUtil::ThreadSyscallException: syscall exception: Cannot allocate memory } thrown in /home/xxxx/public_html/mumble/classes/ServerInterface.php on line 64
			
			<hr />
		</td>
	</tr>
	</table>
</div>
<!-- END TEMPLATE: bbcode_quote_printable -->I tried changing the memory_limit in my php.ini from 48M to 64M and now to 256M with no effect.<br />
<br />
The related lines are<br />
<!-- BEGIN TEMPLATE: bbcode_code_printable -->
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $initData = new Ice_InitializationData;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $initData-&gt;properties = Ice_createProperties();<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $initData-&gt;properties-&gt;setProperty('Ice.ImplicitContext', 'Shared');<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $ICE = Ice_initialize($initData);</code><hr />
</div>
<!-- END TEMPLATE: bbcode_code_printable -->Ideas/Suggestions?  I'll ask Kissaki to post any other related information.<br />
<br />
<br />
Thank you,<br />
<br />
<br />
Xavier</div>


<!-- END TEMPLATE: postbit_external -->]]></content:encoded>
			<category domain="http://www.zeroc.com/forums/help-center/">Help Center</category>
			<dc:creator>xavierk</dc:creator>
			<guid isPermaLink="true">http://www.zeroc.com/forums/help-center/5074-cannot-allocate-memory.html</guid>
		</item>
		<item>
			<title>Orca Dependencies</title>
			<link>http://www.zeroc.com/forums/help-center/5073-orca-dependencies.html</link>
			<pubDate>Sat, 04 Sep 2010 19:55:38 GMT</pubDate>
			<description><![CDATA[I'm actually looking for help with Orca. I haven't been able to find an Orca forum. 
I'm trying to install Orca 9.11 and have a problem with Gearbox depending upon Ice 3.2 while Orca wants Ice > 3.3.1 and I'm using 3.4.1. 

/usr/bin/ld: warning: libIceUtil.so.32, needed by /usr/local/lib/gearbox/libGbxIceUtilAcfr.so.1.0.0, may conflict with libIceUtil.so.34

I've got two versions of Ice installed, so I get this conflict , otherwise if I use 3.4.1 I get missing libIceUtil.so.32 for gbx..]]></description>
			<content:encoded><![CDATA[<!-- BEGIN TEMPLATE: postbit_external -->
<div>I'm actually looking for help with Orca. I haven't been able to find an Orca forum. <br />
I'm trying to install Orca 9.11 and have a problem with Gearbox depending upon Ice 3.2 while Orca wants Ice &gt; 3.3.1 and I'm using 3.4.1. <br />
<br />
/usr/bin/ld: warning: libIceUtil.so.32, needed by /usr/local/lib/gearbox/libGbxIceUtilAcfr.so.1.0.0, may conflict with libIceUtil.so.34<br />
<br />
I've got two versions of Ice installed, so I get this conflict , otherwise if I use 3.4.1 I get missing libIceUtil.so.32 for gbx..</div>


<!-- END TEMPLATE: postbit_external -->]]></content:encoded>
			<category domain="http://www.zeroc.com/forums/help-center/">Help Center</category>
			<dc:creator>yoko</dc:creator>
			<guid isPermaLink="true">http://www.zeroc.com/forums/help-center/5073-orca-dependencies.html</guid>
		</item>
		<item>
			<title>Unity3D</title>
			<link>http://www.zeroc.com/forums/help-center/5072-unity3d.html</link>
			<pubDate>Sat, 04 Sep 2010 12:56:18 GMT</pubDate>
			<description><![CDATA[I am trying to get ICE working with Unity3D however I keep getting the following error:


---Quote---
BCE0106: Failed to access the types defined in assembly 'Ice, Version=3.4.1.0, Culture=neutral, PublicKeyToken=cdd571ade22f2f16' - (C:\Users\Empire Games\Desktop\3rdPersonShooter\SFSIslandDemo\Assets/Plugins/Ice.dll):The classes in the module cannot be loaded.
Could not load type 'IceInternal.RouterInfo' from assembly 'Ice, Version=3.4.1.0, Culture=neutral, PublicKeyToken=cdd571ade22f2f16'.
Could not load type 'IceInternal.OutgoingConnectionFactory' from assembly 'Ice, Version=3.4.1.0, Culture=neutral, PublicKeyToken=cdd571ade22f2f16'.
Could not load type 'IceInternal.IncomingConnectionFactory' from assembly 'Ice, Version=3.4.1.0, Culture=neutral, PublicKeyToken=cdd571ade22f2f16'.
Could not load type 'IceInternal.ConnectionMonitor' from assembly 'Ice, Version=3.4.1.0, Culture=neutral, PublicKeyToken=cdd571ade22f2f16'.
Could not load type 'IceInternal.Instance' from assembly 'Ice, Version=3.4.1.0, Culture=neutral, PublicKeyToken=cdd571ade22f2f16'.
Could not load type 'IceInternal.ObjectAdapterFactory' from assembly 'Ice, Version=3.4.1.0, Culture=neutral, PublicKeyToken=cdd571ade22f2f16'.
Could not load type 'IceInternal.TraceUtil' from assembly 'Ice, Version=3.4.1.0, Culture=neutral, PublicKeyToken=cdd571ade22f2f16'.
Could not load type 'IceInternal.ThreadPool+<>c__DisplayClassc' from assembly 'Ice, Version=3.4.1.0, Culture=neutral, PublicKeyToken=cdd571ade22f2f16'.
---End Quote---
I built some of the C# demos and added the Ice.dll from the demos into my Unity3D project. 

specs:
Ice version 3.4.1
Microsoft VC# 2009
Windows Vista]]></description>
			<content:encoded><![CDATA[<!-- BEGIN TEMPLATE: postbit_external -->
<div>I am trying to get ICE working with Unity3D however I keep getting the following error:<br />
<br />
<!-- BEGIN TEMPLATE: bbcode_quote_printable -->
<div style="margin:20px; margin-top:5px; ">
	<div class="smallfont" style="margin-bottom:2px">Quote:</div>
	<table cellpadding="6" cellspacing="0" border="0" width="100%">
	<tr>
		<td class="alt2">
			<hr />
			
				BCE0106: Failed to access the types defined in assembly 'Ice, Version=3.4.1.0, Culture=neutral, PublicKeyToken=cdd571ade22f2f16' - (C:\Users\Empire Games\Desktop\3rdPersonShooter\SFSIslandDemo\Asset  s/Plugins/Ice.dll):The classes in the module cannot be loaded.<br />
Could not load type 'IceInternal.RouterInfo' from assembly 'Ice, Version=3.4.1.0, Culture=neutral, PublicKeyToken=cdd571ade22f2f16'.<br />
Could not load type 'IceInternal.OutgoingConnectionFactory' from assembly 'Ice, Version=3.4.1.0, Culture=neutral, PublicKeyToken=cdd571ade22f2f16'.<br />
Could not load type 'IceInternal.IncomingConnectionFactory' from assembly 'Ice, Version=3.4.1.0, Culture=neutral, PublicKeyToken=cdd571ade22f2f16'.<br />
Could not load type 'IceInternal.ConnectionMonitor' from assembly 'Ice, Version=3.4.1.0, Culture=neutral, PublicKeyToken=cdd571ade22f2f16'.<br />
Could not load type 'IceInternal.Instance' from assembly 'Ice, Version=3.4.1.0, Culture=neutral, PublicKeyToken=cdd571ade22f2f16'.<br />
Could not load type 'IceInternal.ObjectAdapterFactory' from assembly 'Ice, Version=3.4.1.0, Culture=neutral, PublicKeyToken=cdd571ade22f2f16'.<br />
Could not load type 'IceInternal.TraceUtil' from assembly 'Ice, Version=3.4.1.0, Culture=neutral, PublicKeyToken=cdd571ade22f2f16'.<br />
Could not load type 'IceInternal.ThreadPool+&lt;&gt;c__DisplayClassc' from assembly 'Ice, Version=3.4.1.0, Culture=neutral, PublicKeyToken=cdd571ade22f2f16'.
			
			<hr />
		</td>
	</tr>
	</table>
</div>
<!-- END TEMPLATE: bbcode_quote_printable -->I built some of the C# demos and added the Ice.dll from the demos into my Unity3D project. <br />
<br />
specs:<br />
Ice version 3.4.1<br />
Microsoft VC# 2009<br />
Windows Vista</div>


<!-- END TEMPLATE: postbit_external -->]]></content:encoded>
			<category domain="http://www.zeroc.com/forums/help-center/">Help Center</category>
			<dc:creator>MMOInteractive</dc:creator>
			<guid isPermaLink="true">http://www.zeroc.com/forums/help-center/5072-unity3d.html</guid>
		</item>
		<item>
			<title><![CDATA[Ice 3.4.1 Install Problem "Path too long"]]></title>
			<link>http://www.zeroc.com/forums/help-center/5071-ice-3-4-1-install-problem-path-too-long.html</link>
			<pubDate>Fri, 03 Sep 2010 14:09:32 GMT</pubDate>
			<description><![CDATA[Hi,

I wanted to install Ice 3.4.1 on my Windows XP SP3 computer. However, during installation an error occur : "The specified path is too long : C:\Program Files". It occurs regardless of the installation path length or name... And regardless of the drive letter (C, D, E...) !
I already did this installation on another computer without any problem.
There is one particularity on my system, Windows is installed on drive E.
Also without the command "subst c: e:\" the install wizard refuses to start.

I searched on these forums and the Internet but without success.
Note : this problem seems to occur only with 3.4.x versions.

Have you any idea to solve this problem ?]]></description>
			<content:encoded><![CDATA[<!-- BEGIN TEMPLATE: postbit_external -->
<div>Hi,<br />
<br />
I wanted to install Ice 3.4.1 on my Windows XP SP3 computer. However, during installation an error occur : &quot;The specified path is too long : C:\Program Files&quot;. It occurs regardless of the installation path length or name... And regardless of the drive letter (C, D, E...) !<br />
I already did this installation on another computer without any problem.<br />
There is one particularity on my system, Windows is installed on drive E.<br />
Also without the command &quot;subst c: e:\&quot; the install wizard refuses to start.<br />
<br />
I searched on these forums and the Internet but without success.<br />
Note : this problem seems to occur only with 3.4.x versions.<br />
<br />
Have you any idea to solve this problem ?</div>


<!-- END TEMPLATE: postbit_external -->]]></content:encoded>
			<category domain="http://www.zeroc.com/forums/help-center/">Help Center</category>
			<dc:creator>Dany2901</dc:creator>
			<guid isPermaLink="true">http://www.zeroc.com/forums/help-center/5071-ice-3-4-1-install-problem-path-too-long.html</guid>
		</item>
		<item>
			<title>Connection through Glacier not working</title>
			<link>http://www.zeroc.com/forums/help-center/5070-connection-through-glacier-not-working.html</link>
			<pubDate>Wed, 01 Sep 2010 23:44:16 GMT</pubDate>
			<description><![CDATA[Hello dear Community and Developers,
Im working on a Mumble administrative Interface, as Mumble uses Ice I need to set up a Connection between the Web-Server and the Root Mumble runs at.
To do this Im using php. 
I have made a glacier2 setup on the root, and it runs fine as far as i can judge (Thanks to all the Forum posts here :D ). 
Ice is running on my Web-Server as a php Module. Both Servers run Ice 3.4.1 on Debian Lenny. Murmur is listening for Ice on Port 9098 @ Localhost (127.0.0.1:9098)
Here are my Configs:

Glacier2 Config (Root)

Code:
---------
Glacier2.Client.Endpoints=tcp -h *.*.*.* -p 4063
Glacier2.SessionTimeout=60
Glacier2.CryptPasswords=/etc/glacier2/passwords
Ice.Trace.Network=2
Ice.Warn.Connections=1
---------
Ice Config (Web)

Code:
---------
Ice.Default.Router=Glacier2/router:tcp -h *.*.*.* -p 4063
---------
The experimental php Code that is used to establish the connection (not very successful though):

Code:
---------
try{
	$router1 = $ICE->stringToProxy($ICE->propertyToProxy("Ice.Default.Router"));
	}
catch (Ice_LocalException $ex){
	echo "<pre>1";
	print_r($ex);
	echo "</pre>";
}
	try{

	$router2 = $router1->ice_uncheckedCast("::Glacier2::Router");
	}
catch (Ice_LocalException $ex){
	echo "<pre>2";
	print_r($ex);
	echo "</pre>";
}
	try{

	$session = $router2->createSession("test", "test");
	}
catch (Ice_LocalException $ex){
	echo "<pre>3";
	print_r($ex);
	echo "</pre>";
}
	try{

	$meta = Murmur_MetaPrxHelper::checkedCast($ICE->stringToProxy('Meta:tcp -h 127.0.0.1 -p 9098'));
}
catch (Ice_LocalException $ex){
	echo "<pre>4";
	print_r($ex);
	echo "</pre>";
}
---------
This is what i got on the Root Servers Console

Code:
---------
-- 09/02/10 01:32:44.958 /opt/Ice-3.4.1/bin/glacier2router: Network: accepted tcp connection
   local address = *.*.*.*:4063
   remote address = *.*.*.*:45445
-- 09/02/10 01:32:44.965 /opt/Ice-3.4.1/bin/glacier2router: Network: closing tcp connection
   local address = *.*.*.*:4063
   remote address = *.*.*.*:45445
---------
So what I know is that the connection is closed all the time. BUT i dont know why. I searched all your forums and MAN-Pages but didnt find a clue. Tried also turning IPTABLES of for a little test. 
Needless to say that am new to Ice. Maybe Im just missing some stuff. I hope sombody is able to help with this.

Thanks

DLow

edit forgot to post the error itself :D

Here it is

Code:
---------
3Ice_ConnectionLostException Object
(
    [error] => 0
    [message:protected] => 
    [string:private] => 
    [code:protected] => 0
    [file:protected] => /var/customers/webs/cthun/kservicephp/mumble/mumblevieweralt/mumbleviewer.php
    [line:protected] => 281
    [trace:private] => Array
        (
            [0] => Array
                (
                    [file] => /var/customers/webs/cthun/kservicephp/mumble/mumblevieweralt/mumbleviewer.php
                    [line] => 281
                    [function] => createSession
                    [class] => Ice_ObjectPrx
                    [type] => ->
                    [args] => Array
                        (
                            [0] => test
                            [1] => test
                        )

                )

        )

)

4Ice_ConnectionLostException Object
(
    [error] => 0
    [message:protected] => 
    [string:private] => 
    [code:protected] => 0
    [file:protected] => /var/customers/webs/cthun/kservicephp/mumble/mumblevieweralt/Murmur.php
    [line:protected] => 1111
    [trace:private] => Array
        (
            [0] => Array
                (
                    [file] => /var/customers/webs/cthun/kservicephp/mumble/mumblevieweralt/Murmur.php
                    [line] => 1111
                    [function] => ice_checkedCast
                    [class] => Ice_ObjectPrx
                    [type] => ->
                    [args] => Array
                        (
                            [0] => ::Murmur::Meta
                            [1] => 
                            [2] => 
                        )

                )

            [1] => Array
                (
                    [file] => /var/customers/webs/cthun/kservicephp/mumble/mumblevieweralt/mumbleviewer.php
                    [line] => 290
                    [function] => checkedCast
                    [class] => Murmur_MetaPrxHelper
                    [type] => ::
                    [args] => Array
                        (
                            [0] => Ice_ObjectPrx Object
                                (
                                )

                        )

                )

        )

)
---------
]]></description>
			<content:encoded><![CDATA[<!-- BEGIN TEMPLATE: postbit_external -->
<div>Hello dear Community and Developers,<br />
Im working on a Mumble administrative Interface, as Mumble uses Ice I need to set up a Connection between the Web-Server and the Root Mumble runs at.<br />
To do this Im using php. <br />
I have made a glacier2 setup on the root, and it runs fine as far as i can judge (Thanks to all the Forum posts here :D ). <br />
Ice is running on my Web-Server as a php Module. Both Servers run Ice 3.4.1 on Debian Lenny. Murmur is listening for Ice on Port 9098 @ Localhost (127.0.0.1:9098)<br />
Here are my Configs:<br />
<br />
Glacier2 Config (Root)<br />
<!-- BEGIN TEMPLATE: bbcode_code_printable -->
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">Glacier2.Client.Endpoints=tcp -h *.*.*.* -p 4063<br />
Glacier2.SessionTimeout=60<br />
Glacier2.CryptPasswords=/etc/glacier2/passwords<br />
Ice.Trace.Network=2<br />
Ice.Warn.Connections=1</code><hr />
</div>
<!-- END TEMPLATE: bbcode_code_printable -->Ice Config (Web)<br />
<!-- BEGIN TEMPLATE: bbcode_code_printable -->
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">Ice.Default.Router=Glacier2/router:tcp -h *.*.*.* -p 4063</code><hr />
</div>
<!-- END TEMPLATE: bbcode_code_printable -->The experimental php Code that is used to establish the connection (not very successful though):<br />
<!-- BEGIN TEMPLATE: bbcode_code_printable -->
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">try{<br />
&nbsp; &nbsp; &nbsp; &nbsp; $router1 = $ICE-&gt;stringToProxy($ICE-&gt;propertyToProxy(&quot;Ice.Default.Router&quot;));<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
catch (Ice_LocalException $ex){<br />
&nbsp; &nbsp; &nbsp; &nbsp; echo &quot;&lt;pre&gt;1&quot;;<br />
&nbsp; &nbsp; &nbsp; &nbsp; print_r($ex);<br />
&nbsp; &nbsp; &nbsp; &nbsp; echo &quot;&lt;/pre&gt;&quot;;<br />
}<br />
&nbsp; &nbsp; &nbsp; &nbsp; try{<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; $router2 = $router1-&gt;ice_uncheckedCast(&quot;::Glacier2::Router&quot;);<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
catch (Ice_LocalException $ex){<br />
&nbsp; &nbsp; &nbsp; &nbsp; echo &quot;&lt;pre&gt;2&quot;;<br />
&nbsp; &nbsp; &nbsp; &nbsp; print_r($ex);<br />
&nbsp; &nbsp; &nbsp; &nbsp; echo &quot;&lt;/pre&gt;&quot;;<br />
}<br />
&nbsp; &nbsp; &nbsp; &nbsp; try{<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; $session = $router2-&gt;createSession(&quot;test&quot;, &quot;test&quot;);<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
catch (Ice_LocalException $ex){<br />
&nbsp; &nbsp; &nbsp; &nbsp; echo &quot;&lt;pre&gt;3&quot;;<br />
&nbsp; &nbsp; &nbsp; &nbsp; print_r($ex);<br />
&nbsp; &nbsp; &nbsp; &nbsp; echo &quot;&lt;/pre&gt;&quot;;<br />
}<br />
&nbsp; &nbsp; &nbsp; &nbsp; try{<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; $meta = Murmur_MetaPrxHelper::checkedCast($ICE-&gt;stringToProxy('Meta:tcp -h 127.0.0.1 -p 9098'));<br />
}<br />
catch (Ice_LocalException $ex){<br />
&nbsp; &nbsp; &nbsp; &nbsp; echo &quot;&lt;pre&gt;4&quot;;<br />
&nbsp; &nbsp; &nbsp; &nbsp; print_r($ex);<br />
&nbsp; &nbsp; &nbsp; &nbsp; echo &quot;&lt;/pre&gt;&quot;;<br />
}</code><hr />
</div>
<!-- END TEMPLATE: bbcode_code_printable -->This is what i got on the Root Servers Console<br />
<!-- BEGIN TEMPLATE: bbcode_code_printable -->
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">-- 09/02/10 01:32:44.958 /opt/Ice-3.4.1/bin/glacier2router: Network: accepted tcp connection<br />
&nbsp;  local address = *.*.*.*:4063<br />
&nbsp;  remote address = *.*.*.*:45445<br />
-- 09/02/10 01:32:44.965 /opt/Ice-3.4.1/bin/glacier2router: Network: closing tcp connection<br />
&nbsp;  local address = *.*.*.*:4063<br />
&nbsp;  remote address = *.*.*.*:45445</code><hr />
</div>
<!-- END TEMPLATE: bbcode_code_printable -->So what I know is that the connection is closed all the time. BUT i dont know why. I searched all your forums and MAN-Pages but didnt find a clue. Tried also turning IPTABLES of for a little test. <br />
Needless to say that am new to Ice. Maybe Im just missing some stuff. I hope sombody is able to help with this.<br />
<br />
Thanks<br />
<br />
DLow<br />
<br />
edit forgot to post the error itself :D<br />
<br />
Here it is<br />
<!-- BEGIN TEMPLATE: bbcode_code_printable -->
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">3Ice_ConnectionLostException Object<br />
(<br />
&nbsp; &nbsp; [error] =&gt; 0<br />
&nbsp; &nbsp; [message:protected] =&gt; <br />
&nbsp; &nbsp; [string:private] =&gt; <br />
&nbsp; &nbsp; [code:protected] =&gt; 0<br />
&nbsp; &nbsp; [file:protected] =&gt; /var/customers/webs/cthun/kservicephp/mumble/mumblevieweralt/mumbleviewer.php<br />
&nbsp; &nbsp; [line:protected] =&gt; 281<br />
&nbsp; &nbsp; [trace:private] =&gt; Array<br />
&nbsp; &nbsp; &nbsp; &nbsp; (<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; [0] =&gt; Array<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; (<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; [file] =&gt; /var/customers/webs/cthun/kservicephp/mumble/mumblevieweralt/mumbleviewer.php<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; [line] =&gt; 281<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; [function] =&gt; createSession<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; [class] =&gt; Ice_ObjectPrx<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; [type] =&gt; -&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; [args] =&gt; Array<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; (<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; [0] =&gt; test<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; [1] =&gt; test<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; )<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; )<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; )<br />
<br />
)<br />
<br />
4Ice_ConnectionLostException Object<br />
(<br />
&nbsp; &nbsp; [error] =&gt; 0<br />
&nbsp; &nbsp; [message:protected] =&gt; <br />
&nbsp; &nbsp; [string:private] =&gt; <br />
&nbsp; &nbsp; [code:protected] =&gt; 0<br />
&nbsp; &nbsp; [file:protected] =&gt; /var/customers/webs/cthun/kservicephp/mumble/mumblevieweralt/Murmur.php<br />
&nbsp; &nbsp; [line:protected] =&gt; 1111<br />
&nbsp; &nbsp; [trace:private] =&gt; Array<br />
&nbsp; &nbsp; &nbsp; &nbsp; (<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; [0] =&gt; Array<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; (<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; [file] =&gt; /var/customers/webs/cthun/kservicephp/mumble/mumblevieweralt/Murmur.php<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; [line] =&gt; 1111<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; [function] =&gt; ice_checkedCast<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; [class] =&gt; Ice_ObjectPrx<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; [type] =&gt; -&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; [args] =&gt; Array<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; (<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; [0] =&gt; ::Murmur::Meta<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; [1] =&gt; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; [2] =&gt; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; )<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; )<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; [1] =&gt; Array<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; (<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; [file] =&gt; /var/customers/webs/cthun/kservicephp/mumble/mumblevieweralt/mumbleviewer.php<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; [line] =&gt; 290<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; [function] =&gt; checkedCast<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; [class] =&gt; Murmur_MetaPrxHelper<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; [type] =&gt; ::<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; [args] =&gt; Array<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; (<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; [0] =&gt; Ice_ObjectPrx Object<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; (<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; )<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; )<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; )<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; )<br />
<br />
)</code><hr />
</div>
<!-- END TEMPLATE: bbcode_code_printable --></div>


<!-- END TEMPLATE: postbit_external -->]]></content:encoded>
			<category domain="http://www.zeroc.com/forums/help-center/">Help Center</category>
			<dc:creator>DLow</dc:creator>
			<guid isPermaLink="true">http://www.zeroc.com/forums/help-center/5070-connection-through-glacier-not-working.html</guid>
		</item>
		<item>
			<title>Make error</title>
			<link>http://www.zeroc.com/forums/help-center/5069-make-error.html</link>
			<pubDate>Wed, 01 Sep 2010 19:13:18 GMT</pubDate>
			<description>I am trying to install ice-py on my mac, i have successfully installed ice-cpp but when i try to make ice-py i receive this nasty error. Can anyone help me try to resolve this issue.

Thanks
-Brandon</description>
			<content:encoded><![CDATA[<!-- BEGIN TEMPLATE: postbit_external -->
<div>I am trying to install ice-py on my mac, i have successfully installed ice-cpp but when i try to make ice-py i receive this nasty error. Can anyone help me try to resolve this issue.<br />
<br />
Thanks<br />
-Brandon</div>


	<br />
	<div style="padding:6px">
	
	

	
	
	
	
	
		<fieldset class="fieldset">
			<legend>Attached Files</legend>
			<table cellpadding="0" cellspacing="3" border="0">
			<!-- BEGIN TEMPLATE: postbit_attachment -->
<tr>
	<td><img class="inlineimg" src="http://www.zeroc.com/forums/images/attach/txt.gif" alt="File Type: txt" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
	<td><a href="http://www.zeroc.com/forums/attachments/help-center/789d1283368391-make-error-error-message.txt">Error message.txt</a> (13.5 KB)</td>
</tr>
<!-- END TEMPLATE: postbit_attachment -->
			</table>
		</fieldset>
	
	
	</div>

<!-- END TEMPLATE: postbit_external -->]]></content:encoded>
			<category domain="http://www.zeroc.com/forums/help-center/">Help Center</category>
			<dc:creator>brandon.scott</dc:creator>
			<guid isPermaLink="true">http://www.zeroc.com/forums/help-center/5069-make-error.html</guid>
		</item>
		<item>
			<title><![CDATA[Freeze doesn't release TLS index on Freeze::SharedDbEnv::~SharedDbEnv]]></title>
			<link>http://www.zeroc.com/forums/bug-reports/5068-freeze-doesnt-release-tls-index-freeze-shareddbenv-shareddbenv.html</link>
			<pubDate>Wed, 01 Sep 2010 11:47:38 GMT</pubDate>
			<description><![CDATA[Hi,

It looks like a bug in SharedDbEnv class - please confirm: 
allocated by constructor (_tsdKey = TlsAlloc();),
TLS index is not released by TlsFree on destructor.

Result: A simple loop like 

Code:
---------
for (int j=0; j<2000; ++j) {
   ConnectionPtr connection = createConnection(communicator(), "db");
}
---------
will give us 

---Quote---
SharedDbEnv.cpp:440: IceUtil::ThreadSyscallException:
syscall exception: Not enough storage is available to process this command.
---End Quote---
If thread local storage is used for application needs it may lead to hardly reproducible bugs.
Possible workaround: Connection pool created on application startup - please confirm.

Environment:
ICE: 3.3.1 - according to source code, will happen on 3.4.1 as well
Compiler: VS2008
OS: Vista

Thanks in advance,]]></description>
			<content:encoded><![CDATA[<!-- BEGIN TEMPLATE: postbit_external -->
<div>Hi,<br />
<br />
It looks like a bug in SharedDbEnv class - please confirm: <br />
allocated by constructor (_tsdKey = TlsAlloc();),<br />
TLS index is not released by TlsFree on destructor.<br />
<br />
Result: A simple loop like <br />
<!-- BEGIN TEMPLATE: bbcode_code_printable -->
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">for (int j=0; j&lt;2000; ++j) {<br />
&nbsp;  ConnectionPtr connection = createConnection(communicator(), &quot;db&quot;);<br />
}</code><hr />
</div>
<!-- END TEMPLATE: bbcode_code_printable -->will give us <br />
<!-- BEGIN TEMPLATE: bbcode_quote_printable -->
<div style="margin:20px; margin-top:5px; ">
	<div class="smallfont" style="margin-bottom:2px">Quote:</div>
	<table cellpadding="6" cellspacing="0" border="0" width="100%">
	<tr>
		<td class="alt2">
			<hr />
			
				SharedDbEnv.cpp:440: IceUtil::ThreadSyscallException:<br />
syscall exception: Not enough storage is available to process this command.
			
			<hr />
		</td>
	</tr>
	</table>
</div>
<!-- END TEMPLATE: bbcode_quote_printable -->If thread local storage is used for application needs it may lead to hardly reproducible bugs.<br />
Possible workaround: Connection pool created on application startup - please confirm.<br />
<br />
Environment:<br />
ICE: 3.3.1 - according to source code, will happen on 3.4.1 as well<br />
Compiler: VS2008<br />
OS: Vista<br />
<br />
Thanks in advance,</div>


<!-- END TEMPLATE: postbit_external -->]]></content:encoded>
			<category domain="http://www.zeroc.com/forums/bug-reports/">Bug Reports</category>
			<dc:creator>allro</dc:creator>
			<guid isPermaLink="true">http://www.zeroc.com/forums/bug-reports/5068-freeze-doesnt-release-tls-index-freeze-shareddbenv-shareddbenv.html</guid>
		</item>
		<item>
			<title>How to imporve ICE Server performance?</title>
			<link>http://www.zeroc.com/forums/help-center/5067-how-imporve-ice-server-performance.html</link>
			<pubDate>Tue, 31 Aug 2010 02:32:08 GMT</pubDate>
			<description><![CDATA[ICE 3.3
VC2005
Windows Server 2003

--------------------------------
I write an ICE server program,which use oracle server.
The server code like this:

Code:
---------
Ice::ObjectAdapterPtr adapter = communicator()->createObjectAdapter("CallbackServer");
		//init db env...
		DbOracleServicePtr pOra(new DbOracleService(oraUserName, oraPassword, oraOracleSerice, maxConn, minConn, incrConn));
		ServerDbPtr pSvrDb(new ServerDbOcci(pOra));

		CmnServicePtr cbs(new CmnServiceI(serverId, pSvrDb)); 
		adapter->add(cbs, communicator()->stringToIdentity("cmnservice"));
		adapter->activate();
		communicator()->waitForShutdown();
---------
The servant CmnServiceI will use  only one  oracle connection pool, it's work OK.

But ,if I want to use servant per connection(may be the db server has no client pool.), would I create many servants and add them into adapter?(the servant will be host one connection.)

or I must create multi adapter ?]]></description>
			<content:encoded><![CDATA[<!-- BEGIN TEMPLATE: postbit_external -->
<div>ICE 3.3<br />
VC2005<br />
Windows Server 2003<br />
<br />
--------------------------------<br />
I write an ICE server program,which use oracle server.<br />
The server code like this:<br />
<!-- BEGIN TEMPLATE: bbcode_code_printable -->
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">Ice::ObjectAdapterPtr adapter = communicator()-&gt;createObjectAdapter(&quot;CallbackServer&quot;);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //init db env...<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; DbOracleServicePtr pOra(new DbOracleService(oraUserName, oraPassword, oraOracleSerice, maxConn, minConn, incrConn));<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ServerDbPtr pSvrDb(new ServerDbOcci(pOra));<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; CmnServicePtr cbs(new CmnServiceI(serverId, pSvrDb)); <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; adapter-&gt;add(cbs, communicator()-&gt;stringToIdentity(&quot;cmnservice&quot;));<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; adapter-&gt;activate();<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; communicator()-&gt;waitForShutdown();</code><hr />
</div>
<!-- END TEMPLATE: bbcode_code_printable -->The servant CmnServiceI will use  only one  oracle connection pool, it's work OK.<br />
<br />
But ,if I want to use servant per connection(may be the db server has no client pool.), would I create many servants and add them into adapter?(the servant will be host one connection.)<br />
<br />
or I must create multi adapter ?</div>


<!-- END TEMPLATE: postbit_external -->]]></content:encoded>
			<category domain="http://www.zeroc.com/forums/help-center/">Help Center</category>
			<dc:creator>sgsoft</dc:creator>
			<guid isPermaLink="true">http://www.zeroc.com/forums/help-center/5067-how-imporve-ice-server-performance.html</guid>
		</item>
		<item>
			<title>memory leak on WinCE 6.0?</title>
			<link>http://www.zeroc.com/forums/help-center/5066-memory-leak-wince-6-0-a.html</link>
			<pubDate>Fri, 27 Aug 2010 17:07:59 GMT</pubDate>
			<description><![CDATA[Hi,
I've ported IceE 1.3 to WinCE 6.0(x86 SDK, VS2005), and wrote an application passing object array through callback, then memory leak was found.
If I compile and run the app on Windows XP (ICE 3.3.1, VS 2005), everything is well. 
If the client(callback 'server') program runs on WinCE and server runs on XP, mem leak could still be found.
Anyone could give me some hint? Thank you.

Kevin]]></description>
			<content:encoded><![CDATA[<!-- BEGIN TEMPLATE: postbit_external -->
<div>Hi,<br />
I've ported IceE 1.3 to WinCE 6.0(x86 SDK, VS2005), and wrote an application passing object array through callback, then memory leak was found.<br />
If I compile and run the app on Windows XP (ICE 3.3.1, VS 2005), everything is well. <br />
If the client(callback 'server') program runs on WinCE and server runs on XP, mem leak could still be found.<br />
Anyone could give me some hint? Thank you.<br />
<br />
Kevin</div>


<!-- END TEMPLATE: postbit_external -->]]></content:encoded>
			<category domain="http://www.zeroc.com/forums/help-center/">Help Center</category>
			<dc:creator>kevinkang</dc:creator>
			<guid isPermaLink="true">http://www.zeroc.com/forums/help-center/5066-memory-leak-wince-6-0-a.html</guid>
		</item>
		<item>
			<title>Problem with routed callbacks</title>
			<link>http://www.zeroc.com/forums/help-center/5065-problem-routed-callbacks.html</link>
			<pubDate>Fri, 27 Aug 2010 16:33:50 GMT</pubDate>
			<description><![CDATA[I am trying to use callbacks through Glacier2 using Ice 3.4.1.

My setup is the following:
I have a network divided into two sites. Between the two sites there is a firewall.

The registry has access to the two networks and carries an IceStorm.

What I want to do:
1) Using IceStorm broadcast a query from side A of the network to side B. This is straightforward since the host running IceStorm has access to the two sides of the network.
2) Servers on the side B are subscribers and receive queries. Subscribers that can handle the request send an answer to the query issuer through a proxy that has been sent as part of the request.
3) Since servers on side B are unable to open connections on host on side A, I decided to use the Glacier2 callback mechanism. 

The solution I tried to implement:
- on host A, open a session with a glacier2 router located on the registry node
- on host A, I created a routed adapter obtained using  createObjectAdapterWithRouter. It is used to plug the callback servant that should be invoked through Glacier2.

What I get:
1) The query sent by A goes through IceStorm and is received by B. I does not flow through Glacier
2) B then calls A's routed proxy. Sniffing the network confirmed that the answer sent by B is actually sent to Glacier2 server endpoints
3) So far so good. From what I have understood the Glacier2 session opened by A is used to carry back the answer to A. Sniffing the network I could not see this answer.
4) The answer is not received by the client.

I am stuck in this situation: the Glacier2 router does not actually forwards the callback.

My questions:
- Could you confirm that what I am trying to implement is a viable scenario ?
- How to debug the whole stuff? Glacier2 logs don't output messages when I add Glacier2.Trace.Client=1 and Glacier2.Trace.Server=1 to the glacier configuration file.

Furthermore, I noticed a *very* strange behaviour that is related. Another part of my process is to publish data from hosts of side B to hosts of side A. Sniffing the network, I noticed that the data published by B is sent through Glacier2 (using the server endpoints) once the routed callback has been received by B. Could it be that on a routed proxy invocation, B stores the router endpoints and use them as the default router ?]]></description>
			<content:encoded><![CDATA[<!-- BEGIN TEMPLATE: postbit_external -->
<div>I am trying to use callbacks through Glacier2 using Ice 3.4.1.<br />
<br />
My setup is the following:<br />
I have a network divided into two sites. Between the two sites there is a firewall.<br />
<br />
The registry has access to the two networks and carries an IceStorm.<br />
<br />
What I want to do:<br />
1) Using IceStorm broadcast a query from side A of the network to side B. This is straightforward since the host running IceStorm has access to the two sides of the network.<br />
2) Servers on the side B are subscribers and receive queries. Subscribers that can handle the request send an answer to the query issuer through a proxy that has been sent as part of the request.<br />
3) Since servers on side B are unable to open connections on host on side A, I decided to use the Glacier2 callback mechanism. <br />
<br />
The solution I tried to implement:<br />
- on host A, open a session with a glacier2 router located on the registry node<br />
- on host A, I created a routed adapter obtained using  createObjectAdapterWithRouter. It is used to plug the callback servant that should be invoked through Glacier2.<br />
<br />
What I get:<br />
1) The query sent by A goes through IceStorm and is received by B. I does not flow through Glacier<br />
2) B then calls A's routed proxy. Sniffing the network confirmed that the answer sent by B is actually sent to Glacier2 server endpoints<br />
3) So far so good. From what I have understood the Glacier2 session opened by A is used to carry back the answer to A. Sniffing the network I could not see this answer.<br />
4) The answer is not received by the client.<br />
<br />
I am stuck in this situation: the Glacier2 router does not actually forwards the callback.<br />
<br />
My questions:<br />
- Could you confirm that what I am trying to implement is a viable scenario ?<br />
- How to debug the whole stuff? Glacier2 logs don't output messages when I add Glacier2.Trace.Client=1 and Glacier2.Trace.Server=1 to the glacier configuration file.<br />
<br />
Furthermore, I noticed a *very* strange behaviour that is related. Another part of my process is to publish data from hosts of side B to hosts of side A. Sniffing the network, I noticed that the data published by B is sent through Glacier2 (using the server endpoints) once the routed callback has been received by B. Could it be that on a routed proxy invocation, B stores the router endpoints and use them as the default router ?</div>


<!-- END TEMPLATE: postbit_external -->]]></content:encoded>
			<category domain="http://www.zeroc.com/forums/help-center/">Help Center</category>
			<dc:creator>lafayej</dc:creator>
			<guid isPermaLink="true">http://www.zeroc.com/forums/help-center/5065-problem-routed-callbacks.html</guid>
		</item>
		<item>
			<title>connection timeout</title>
			<link>http://www.zeroc.com/forums/help-center/5064-connection-timeout.html</link>
			<pubDate>Fri, 27 Aug 2010 09:22:00 GMT</pubDate>
			<description><![CDATA[Hi, 
    My Ice version is 3.3.1 and Compiler version is Visual Studio 2005, Operating system is Windows server 2003 SP2. There always exists a problem like " Connection timeout while establishing a connection" when I Pub an event uising IceStorm. So, I confuse that whether Win server 2003 SP2 does not suppout Ice 3.3.1 well. Please do let me konw whether it is exactly the reason what I have said. If not, please tell me what may other reasons will cuase this problem. Thank you very much! 
Best wishes!:)]]></description>
			<content:encoded><![CDATA[<!-- BEGIN TEMPLATE: postbit_external -->
<div>Hi, <br />
    My Ice version is 3.3.1 and Compiler version is Visual Studio 2005, Operating system is Windows server 2003 SP2. There always exists a problem like &quot; Connection timeout while establishing a connection&quot; when I Pub an event uising IceStorm. So, I confuse that whether Win server 2003 SP2 does not suppout Ice 3.3.1 well. Please do let me konw whether it is exactly the reason what I have said. If not, please tell me what may other reasons will cuase this problem. Thank you very much! <br />
Best wishes!:)</div>


<!-- END TEMPLATE: postbit_external -->]]></content:encoded>
			<category domain="http://www.zeroc.com/forums/help-center/">Help Center</category>
			<dc:creator>laoong</dc:creator>
			<guid isPermaLink="true">http://www.zeroc.com/forums/help-center/5064-connection-timeout.html</guid>
		</item>
		<item>
			<title>Java socket buffer size / gigabit network</title>
			<link>http://www.zeroc.com/forums/help-center/5063-java-socket-buffer-size-gigabit-network.html</link>
			<pubDate>Mon, 23 Aug 2010 23:26:52 GMT</pubDate>
			<description><![CDATA[Hi -

In debugging the time it takes to transfer large objects, we enabled network tracing and see this when running a Java ICE client against a local Java ICE server:

-- 8/23/10 19:21:47:141 Server: Network: received 65536 of 65536 bytes via tcp
   local address = 127.0.0.1:25100
   remote address = 127.0.0.1:54445

This repeats for dozens of messages.

We suspect this has something to do with the send and receive buffer sizes not being set on the socket connections.  (see: Socket (Java Platform SE 6) (http://download.oracle.com/javase/6/docs/api/java/net/Socket.html#setReceiveBufferSize%28int%29))

Is this possible?

Is there some workaround to override the values used?  

We're on a gigabit network, so it makes sense that we'd have to size these values differently.

Thanks in advance!

(Environment:  ICE 3.4.1 using JDK 1.6u21 tried on Windows 7 and CentOS 5)]]></description>
			<content:encoded><![CDATA[<!-- BEGIN TEMPLATE: postbit_external -->
<div>Hi -<br />
<br />
In debugging the time it takes to transfer large objects, we enabled network tracing and see this when running a Java ICE client against a local Java ICE server:<br />
<br />
-- 8/23/10 19:21:47:141 Server: Network: received 65536 of 65536 bytes via tcp<br />
   local address = 127.0.0.1:25100<br />
   remote address = 127.0.0.1:54445<br />
<br />
This repeats for dozens of messages.<br />
<br />
We suspect this has something to do with the send and receive buffer sizes not being set on the socket connections.  (see: <a href="http://download.oracle.com/javase/6/docs/api/java/net/Socket.html#setReceiveBufferSize%28int%29" target="_blank">Socket (Java Platform SE 6)</a>)<br />
<br />
Is this possible?<br />
<br />
Is there some workaround to override the values used?  <br />
<br />
We're on a gigabit network, so it makes sense that we'd have to size these values differently.<br />
<br />
Thanks in advance!<br />
<br />
(Environment:  ICE 3.4.1 using JDK 1.6u21 tried on Windows 7 and CentOS 5)</div>


<!-- END TEMPLATE: postbit_external -->]]></content:encoded>
			<category domain="http://www.zeroc.com/forums/help-center/">Help Center</category>
			<dc:creator>rbakhru</dc:creator>
			<guid isPermaLink="true">http://www.zeroc.com/forums/help-center/5063-java-socket-buffer-size-gigabit-network.html</guid>
		</item>
		<item>
			<title>User exceptions for AMI?</title>
			<link>http://www.zeroc.com/forums/help-center/5062-user-exceptions-ami.html</link>
			<pubDate>Fri, 20 Aug 2010 07:30:35 GMT</pubDate>
			<description><![CDATA[Hi,

Configuration: Ice=3.3.1, VS2009, WinXP, Language C#

I have created a user exception in the Ice file.

exception TickError;
["ami"] void Tick() throws TickError;

The server side code throws a TickError exception and the argument for TickError is a custom .net exception


void Tick(Ice.Current current__)
{
   try
   {
   ... blah

   throw new CustomException("My message");

   ... blah
   }
   catch (CustomException ex)
   {
      throw new TickError(ex);
   }
}

The client side implements the ice_exception(Ice.Exception ex) method. However I cannot obtain the message that was used to create CustomException. The Message field of the exception received by ice_exception() contains the type of message, eg ex.Message = SDS.Slice.TickError.]]></description>
			<content:encoded><![CDATA[<!-- BEGIN TEMPLATE: postbit_external -->
<div>Hi,<br />
<br />
Configuration: Ice=3.3.1, VS2009, WinXP, Language C#<br />
<br />
I have created a user exception in the Ice file.<br />
<br />
<font color="Blue">exception TickError;<br />
[&quot;ami&quot;] void Tick() throws TickError;</font><br />
<br />
The server side code throws a TickError exception and the argument for TickError is a custom .net exception<br />
<br />
<font color="blue"><br />
void Tick(Ice.Current current__)<br />
{<br />
   try<br />
   {<br />
   ... blah<br />
<br />
   throw new CustomException(&quot;My message&quot;);<br />
<br />
   ... blah<br />
   }<br />
   catch (CustomException ex)<br />
   {<br />
      throw new TickError(ex);<br />
   }<br />
}</font><br />
<br />
The client side implements the ice_exception(Ice.Exception ex) method. However I cannot obtain the message that was used to create CustomException. The Message field of the exception received by ice_exception() contains the type of message, eg ex.Message = SDS.Slice.TickError.</div>


<!-- END TEMPLATE: postbit_external -->]]></content:encoded>
			<category domain="http://www.zeroc.com/forums/help-center/">Help Center</category>
			<dc:creator>jharriot</dc:creator>
			<guid isPermaLink="true">http://www.zeroc.com/forums/help-center/5062-user-exceptions-ami.html</guid>
		</item>
		<item>
			<title>Howto modify connection timeout for AdminPrx?</title>
			<link>http://www.zeroc.com/forums/help-center/5061-howto-modify-connection-timeout-adminprx.html</link>
			<pubDate>Thu, 19 Aug 2010 12:35:13 GMT</pubDate>
			<description><![CDATA[Hi,

Setup: Ice version 3.3.1, VS 2009, Windows XP, Language C#.

I'm manually starting servers using IceGrid Admin and I notice the server must startup before the Ice connection timeout is exceeded.

I currently use Ice.Override.Timeout and I want to keep it small to keep the system responsive. However, I would like a larger value when starting servers.

Is it possible to modify the timeout value for an AdminPrx object?

I tried the following (see code snippet below) without success, i.e. an ObjectNotExistException is thrown when I invoke admin.

IceGrid.AdminPrx admin;
IceGrid.AdminSessionPrx session;

... setup session code here

admin = session.getAdmin();
ObjectPrx prx = this.admin.ice_timeout(10000);
this.admin = AdminPrxHelper.checkedCast(prx);

Regards John]]></description>
			<content:encoded><![CDATA[<!-- BEGIN TEMPLATE: postbit_external -->
<div>Hi,<br />
<br />
Setup: Ice version 3.3.1, VS 2009, Windows XP, Language C#.<br />
<br />
I'm manually starting servers using IceGrid Admin and I notice the server must startup before the Ice connection timeout is exceeded.<br />
<br />
I currently use Ice.Override.Timeout and I want to keep it small to keep the system responsive. However, I would like a larger value when starting servers.<br />
<br />
Is it possible to modify the timeout value for an AdminPrx object?<br />
<br />
I tried the following (see code snippet below) without success, i.e. an ObjectNotExistException is thrown when I invoke admin.<br />
<br />
<font color="blue">IceGrid.AdminPrx admin;<br />
IceGrid.AdminSessionPrx session;<br />
<br />
... setup session code here<br />
<br />
admin = session.getAdmin();<br />
ObjectPrx prx = this.admin.ice_timeout(10000);<br />
this.admin = AdminPrxHelper.checkedCast(prx);</font><br />
<br />
Regards John</div>


<!-- END TEMPLATE: postbit_external -->]]></content:encoded>
			<category domain="http://www.zeroc.com/forums/help-center/">Help Center</category>
			<dc:creator>jharriot</dc:creator>
			<guid isPermaLink="true">http://www.zeroc.com/forums/help-center/5061-howto-modify-connection-timeout-adminprx.html</guid>
		</item>
	</channel>
</rss>
