Oops, sorry Charles - I miss read your query... here's app.config from
an IBM supplied Connection Pooling code. It seems to work fine for me.

--- Set pooling programmatically (VB.NET):
[snip]
Private m_IsPooling As Boolean = False
[snip]
UniObjects.UOPooling = m_IsPooling
[snip]

--- set pooling via app.config or via <yourapp>.exe.config file:


<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<!--
        <UO.NET>
                <General>
                        <add    key="SocketTimeOut" value="300000" />
                </General>
                <ConnectionPooling>
                        <add    key="ConnectionPoolingOn" value="1" />
                        <add    key="MinimumPoolSize" value="1" />
                        <add    key="MaximumPoolSize" value="16" />

                        <add    key="IdleRemoveThreshold" value="10000"
/>
                        <add    key="IdleRemoveExecInterval"
value="60000" />
                </ConnectionPooling>
                <PerformanceMonitor>
                        <add    key="BusyConnectionCounter" value="0"/>
                </PerformanceMonitor>
    </UO.NET>
    -->
    
    <system.diagnostics>
        <switches>
            <!-- Set value property of the TraceMethods switch to one of
the following:
                0 (false) or 1 (true) -->
            <add name="UniBooleanSwitch" value="1" />

            <!-- Set value property of the Arithmetic switch to one of
the following:
                1(error), 2(warning), 3(info), 4(verbose) -->
            <add name="UniTraceSwitch" value="3" />
        </switches>
        <trace autoflush="true" indentsize="4">
                        <listeners>
                                <!-- <add name="UniListener"
type="System.Diagnostics.TextWriterTraceListener, UODOTNET version=1.0.*
Culture=neutral" initializeData="c:\myListener.log" /> -->
                                <!-- <add name="myListener" 
        
type="System.Diagnostics.TextWriterTraceListener"
        
initializeData="c:\temp\myListener.log" /> -->
                                     <add name="myListener" 
        
type="System.Diagnostics.TextWriterTraceListener"
        
initializeData="c:\temp\myListener.log" /> 
                                     
                                     
                                
                        </listeners>
         </trace>

    </system.diagnostics>
</configuration>

If connection pooling is working, on your host you should be able to
uvlictool and see it in use:

$ uvlictool
Device licensing is in effect.
No. Pid, Package  Device name             IP address      Device sub-key
0 license seats are in use.
4 license seats are available.

        Packages in use:
        CONNPL has 2 processes.
        PIDs of Connection Pooling daemons holding CONNPL package
licenses:
        23427   23429


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of charles
ferguson
Sent: Thursday, 18 September 2008 2:11 PM
To: [email protected]
Subject: RE: [U2] [Uv 10.2] Connection Pooling Working?

Hi David,

Yep, I have the license activated on Universe. But I don't think pooling
is
actually being invoked from .NET.
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to