DataInputStream with slow client side connection

I need to stream some data to client. server pushes all messages once connection is established over internet.
but when internet connection is slow (like wireless). i see lot more messages in receive Queue on client side. then for a brief period of time, server stops sending messages (may be due to socket channel is full or something)
so it looks like application is stealth mode. then all of sudden application starts consuming messages (may be when that channel gets empty)
any idea how to fix this slow connection issue? i don't care if client drops certain messages. how can i flush or empty out that socket channel ?
below is the code snippet that i am using...
try {
       InputStream is = new URL(streamerUrl).openStream();
       ds = new DataInputStream(new BufferedInputStream(is));
       parseBody(ds);
    } catch (IOException ex) {
                    logger.error(ex.getMessage());
    }

My decision was to send acknowledge and if server side can't get to acknowledge it will skip all new messages.If the server can't get an acknowledgment it can only mean that the connection has failed, which will manifest itself to the server as an IOException: 'connection reset' on a write. The acknowledgement adds nothing except latency and more bandwidth usage.
So why not skip message while network lacking.I agree, but why not use what the network is already telling you, rather than adding more messages and more failure modes? Now it's the client that has to look out for connection resets. You've just moved the problem.

Similar Messages

  • Java Stored Procedure / Server Side / Client Side / connection

    Hi,
    I would like to know if we can know at the runtime with a JDBC api if the stored procedure is running in client side or in server side ?
    THANKS

    You wrote
    "Java stored procedures -- by definition - are stored in the 8i rdbms. !!"
    From the Oracle8i Java Stored Procedures Developer's Guide
    Release 8.1.5
    A64686-01
    "If you create Java class files on the client side, you can use loadjava to upload them into the RDBMS. Alternatively, you can upload Java source files and let the Aurora JVM compile them. In most cases, it is best to compile and debug programs on the client side, then upload the class files for final testing within the RDBMS"
    This means that you can create shared classes that are used on both the client and server side. The source does not need to reside within the server (according to their documentation). Please also note the following from the Oracle8i JDBC Developer's Guide and Reference Release 8.1.5 A64685-01 for using the getConnection() method on the server:
    "If you connect to the database with the DriverManager.getConnection() method, then use the connect string jdbc:oracle:kprb:. For example:
    DriverManager.getConnection("jdbc:oracle:kprb:");
    Note that you could include a user name and password in the string, but because you are connecting from the server, they would be ignored."
    So if you're coding a shared class that is to run on both the client and server side, you might do something like this:
    Connection conn =
    DriverManager.getConnection(
    System.getProperty("oracle.server.version") == null
    ? "jdbc:oracle:thin:@hostname:1521:ORCL"
    : "jdbc:oracle:kprb:"),
    "youruserid","yourpassword");
    As stated earlier, the userid and password are supposedly ignored for server connections retrieved in this manner. I haven't tried this yet, but it is documented by Oracle.
    Regards,
    Steve
    null

  • Cannot work with two client side applications at the same time!!

    Hi guys,
    I developed two client side applications(applets). Locate the on Apache/Tomcat. There is also a Index.html file with two links, so when user clicks on each link the associated application will downloaded on his PC and ready to work. (In index.html I used window.open(�) to load the applications)
    Now please see this scenario:
    1-I ran/loaded both application in two separate browsers(IE5.5). And tried to work with them(minimized one and work with another). Soon I faced unexpected frizzing/locking or very slow running on both applications.
    2-Then closed/killed one of them(killed IE). Then re-executed same application again. The application loaded with the last activated screen . Seems it never killed and it was still alive.
    3- The only way to successfully working is one by one.
    means execute & work with one, then kill that, and then execute and work with another.
    To Debug:
    When both applications were running(each on it�s own IE), I opened the Task Manager and saw there was only one IEXPLORER.EXE was running, also there was only one Java VM (a small bird icon) on right-bottom of the screen.
    I believe this causes the problem. seems they both running in the same session. Since I opened two applications in two IE I was expected to see two IEXPLORER.EXE with two JVM. Am I right? Do you think so?
    Any way, Now I am seeking to find the solution. My primary mind says probably I should not use window.open(..) in index.html to load the applications.
    Would appreciate any command on this.

    Cross post
    http://forum.java.sun.com/thread.jsp?thread=184829&forum=31&message=589933

  • I need user management system in PHP recommendations to work with Flex client side

    Hi All,
    I have a very big project that involves PHP server side (That i have to develop) and Flex client side. I was wondering it there is a ready made PHP user management system that i can use to provide me:
    - user login/logout
    - forgot my password functionality
    - register (better with captcha)
    Does someone can recommend this kind of php system?

    Hi, guys
    Free and open source PHP User Management Scripts. These scripts  provide a solution of creating a membership system of a website.
    Some PHP user management scripts listed on PHPKode.com. which you can choose the right php user management to meet your demands!
    Hopefully can help you!
    Best regards!
    Anny

  • Could not create client side connection for PDBORCL

    Dear all,
    we are using oracle database 12c enterprise edition on widows server 2012 standard edition 64bits.
    we cannot make a connection from client to the PDBORCL using Net Configuration Assistant.
    TNSNAMES.ORA
    # tnsnames.ora Network Configuration File: C:\app\Administrator\product\12.1.0\dbhome_1\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    LISTENER_ORCL =
      (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    ORACLR_CONNECTION_DATA =
      (DESCRIPTION =
      (ADDRESS_LIST =
      (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
      (CONNECT_DATA =
      (SID = CLRExtProc)
      (PRESENTATION = RO)
    ORCL =
      (DESCRIPTION =
      (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
      (CONNECT_DATA =
      (SERVER = DEDICATED)
      (SERVICE_NAME = orcl.hct.org)
    PDBORCL =
      (DESCRIPTION =
      (ADDRESS = (PROTOCOL = TCP)(HOST = HP426-ORATEST)(PORT = 1521))
      (CONNECT_DATA =
      (SERVER = DEDICATED)
      (SERVICE_NAME = PDBORCL.hct.org)
    LISTNER.ORA
    # listener.ora Network Configuration File: C:\app\Administrator\product\12.1.0\dbhome_1\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
      (SID_LIST =
      (SID_DESC =
      (SID_NAME = CLRExtProc)
      (ORACLE_HOME = C:\app\Administrator\product\12.1.0\dbhome_1)
      (PROGRAM = extproc)
      (ENVS = "EXTPROC_DLLS=ONLY:C:\app\Administrator\product\12.1.0\dbhome_1\bin\oraclr12.dll")
    LISTENER =
      (DESCRIPTION_LIST =
      (DESCRIPTION =
      (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
      (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    On my client side, i open NET CONFIGURATION ASSISTAN,
    click on LOCAL NET SERVICE NAME CONFIGURATION,
    select ADD and click next
    on the service name type PDBORCL
    select TCP and click next
    on the hostname, put the name of the server which is HP426-ORATEST and click next
    when i click on YES PERFORM TEST, it give the following error
    Connecting...ORA-12170: TNS:Connect timeout occurred
    The test did not succeed.
    Some of the information you provided may be incorrect.
    Click Back to review the information provided for net service name, or Change Login to change username.
    we could ping the HP426-ORATEST using cmd on my client.
    kindly guide us.
    Thank you.

    LSNRCTL SERVICES
    C:\Users\Administrator>LSNRCTL SERVICES
    LSNRCTL for 64-bit Windows: Version 12.1.0.1.0 - Production on 23-APR-2014 23:23
    :39
    Copyright (c) 1991, 2013, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=10.153.103.202)(PORT=152
    1)))
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
      Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
      Handler(s):
      "DEDICATED" established:0 refused:0
      LOCAL SERVER
    Service "orcl.hct.org" has 1 instance(s).
      Instance "orcl", status READY, has 1 handler(s) for this service...
      Handler(s):
      "DEDICATED" established:0 refused:0 state:ready
      LOCAL SERVER
    Service "orclXDB.hct.org" has 1 instance(s).
      Instance "orcl", status READY, has 1 handler(s) for this service...
      Handler(s):
      "D000" established:0 refused:0 current:0 max:1022 state:ready
      DISPATCHER <machine: HP426-ORATEST, pid: 3088>
      (ADDRESS=(PROTOCOL=tcp)(HOST=HP426-ORATEST.hct.org)(PORT=59070))
    Service "pdborcl.hct.org" has 1 instance(s).
      Instance "orcl", status READY, has 1 handler(s) for this service...
      Handler(s):
      "DEDICATED" established:0 refused:0 state:ready
      LOCAL SERVER
    The command completed successfully
    LSNRCTL STATUS
    C:\Users\Administrator>LSNRCTL STATUS
    LSNRCTL for 64-bit Windows: Version 12.1.0.1.0 - Production on 23-APR-2014 23:24
    :38
    Copyright (c) 1991, 2013, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=10.153.103.202)(PORT=152
    1)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for 64-bit Windows: Version 12.1.0.1.0 - Produ
    ction
    Start Date 23-APR-2014 03:44:26
    Uptime 0 days 19 hr. 40 min. 16 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File C:\app\Administrator\product\12.1.0\dbhome_1\network\a
    dmin\listener.ora
    Listener Log File C:\app\Administrator\diag\tnslsnr\HP426-ORATEST\listen
    er\alert\log.xml
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=HP426-ORATEST.hct.org)(PORT=1521)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcps)(HOST=HP426-ORATEST.hct.org)(PORT=5500))(
    Security=(my_wallet_directory=C:\APP\ADMINISTRATOR\admin\orcl\xdb_wallet))(Prese
    ntation=HTTP)(Session=RAW))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
      Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "orcl.hct.org" has 1 instance(s).
      Instance "orcl", status READY, has 1 handler(s) for this service...
    Service "orclXDB.hct.org" has 1 instance(s).
      Instance "orcl", status READY, has 1 handler(s) for this service...
    Service "pdborcl.hct.org" has 1 instance(s).
      Instance "orcl", status READY, has 1 handler(s) for this service...
    The command completed successfully

  • Client side connection problems with Oracle

    Hello,
    I'm using JUnit to test my code and am having client connection problems.
    Weblogic server 6.1sp2, oracle 8.1.7, win 2000
    I create an oracle user on the fly (with a dynamic name) and then need to connect
    so I'm getting a direct connection, rather than using a connection pool.
    it works fine when run through the container, but when run through JUnit I get the
    following error:
    java.sql.SQLException: The pool driver only works within the WebLogic server, it
    cannot be called directly in a client. Use the t3 driver.
    So i changed the code to:
    driver = (Driver)Class.
         forName("weblogic.jdbc.t3.Driver").newInstance();
    from:
    driver = (Driver)Class.
         forName("weblogic.jdbc.oci.Driver").newInstance();
    and now i get this error:
    java.sql.SQLException: No suitable driver
    Any ideas??
    Thanks!
    Sara

    Hi Sara,
    You may want to look at Cactus framework. This is a JUnit extension
    for serverside tests. You won't need to care about server/client
    configuration:
    http://jakarta.apache.org/cactus/index.html
    Regards,
    Slava Imeshev
    "Sara Chieco" <[email protected]> wrote in message
    news:3cf7b9ad$[email protected]..
    >
    Hi Sree,
    Actually, I also have a connection pool, so I am getting connections tothe database
    both using the pool (for the static user) and directly for the dynamicusers.
    >
    Here's the code in the config.xml:
    <JDBCConnectionPool CapacityIncrement="2"
    DriverName="weblogic.jdbc.oci.Driver" InitialCapacity="6"LoginDelaySeconds="1" MaxCapacity="60"
    Name="pics"
    Properties="weblogic.oci.cacheRows=500;user=**;password=**;defaultRowPrefetc
    h=500;server=nmctest"
    RefreshMinutes="10" ShrinkPeriodMinutes="15"
    ShrinkingEnabled="true" Targets="nmc2Server"
    TestTableName="dual" URL="jdbc:weblogic:oracle"/>
    <JDBCTxDataSource EnableTwoPhaseCommit="false"
    JNDIName="weblogic.jdbc.jts.pics" Name="pics" PoolName="pics"Targets="nmc2Server"/>
    >
    And if I change the above DriverName to weblogic.jdbc.pool.Driver the poolno longer
    works, and the direct connection (attempted with weblogic.jdbc.oci.Driver)does not
    work either.
    Thanks for your help!
    Sara

  • Oracle Client Side connectivity issues from a Windows XP Machine

    I am sure most of you guys may have addressed this issue of the time delay the client application takes to retrieve the data from the Oracle database. However, here's my problem.
    We have installed a VB application running on Windows Xp along with an Oracle 8i client. Now when the application tries to connect to the database at times the data fetching speed is quick and at times its really slow... takes almost 15-20 minutes.. We're not sure if this is an application issue/oracle client configuration issue or a network issue..
    We've wasted alot of time blaming the network/connectivity.. However, is there anything that we would need to check at the clients pc.. oracle config etc.etc.. ???
    Please help..

    Might want to try out a couple of things:
    When it's running slow:
    1. ping the server to see the response time of the server.
    2. check the CPU usage on the server. There could be a resource crunch taking place due to other large and/or multiple transactions going on.
    3. kill the VB connection and run the SQL from the command prompt and see how long it takes. Sometimes executing an SQL from the application may take longer, while from the command prompt, it's quicker. In this case, application tuning is required.
    4. check to see the CPU and memory usage on the client PC itself. If there are multiple applications in use chewing up these resources, it can and will slow things down on the client PC itself.
    Oracle client does not require configuration as such.

  • Slow Wi-Fi connection with both Extreme and Express

    Hi all,
    I have problems with slow Wi-Fi connection at home. With my 100/100 Mbit/s fiber I have an Airport Extreme 802.11ac connected by Ethernet cable directly into the cable modem.
    With only the Extreme as a router I was not satisfied with the Wi-Fi range and therefore also bought an Airport Express 802.11n (2nd generation ) to extend the network with.
    The range got better but I'm facing real slow Wi-Fi connection both on the Extreme and the Express.
    Example - When connected to the Extreme less than 1 meter from it I normally get a down speed on 30 Mbit/s and on the Express (placed 8 meters from the Extreme) I normally get between 2 to 8 Mbit/s down speed.
    I have a couple of questions about this issue below that I hope someone can answer.
    1. The Extreme and the Express are connected wireless. If I connect them together with cable instead, will I then get the same speed from the Express that I have on the Extreme?
    2. I've read in several forums that the latest versions on the Extreme and Express causes bad Wi-Fi connections and an downgrade to earlier version is recommended. My problem is that Airport Utility only can find the latest versions when trying to downgrade (bought both of them recently).
    How can I downgrade to earlier versions when Airport Utility can't find them? If possible, is this still recommended to do?
    Current versions:
    Extreme - 7.7.3
    Express - 7.6.4
    3. Could it cause problems if the Extreme and Express doesn't have the same versions, or is this normal?
    4. Any suggestions to improve the down speed on my Wi-Fi connection?
    Thanks in advance!

    1. Cable connections are always better.
    But test first.. turn off the express.. reboot or even factory reset the extreme and have another go with it.
    On a computer plugged in by ethernet test the speed.. wireless should be off..
    So the most important thing is .. do you get full speed by ethernet.. if not you will never get it by wireless.. always less.. and sometimes much less.
    2. You cannot downgrade either of those models. So you are stuck with them as is..
    3. I think wireless links are always problematic.. by the very nature of the beast you will drop your speed by half.. so if the links were perfect.. and the Extreme wireless gives you 30Mbit then the best the express could ever give you is 15Mbit.. it is the nature of wireless.
    4. Yes.. we can make suggestions.
    But give me the pure wired network speed first. If that is low then tell me what modem you are using, which you mentioned.. normally a fibre system has no modem just a fibre converter to ethernet called ONT. Optical Network Terminal

  • XSL Fragment into HTML via Client-Side Transform

    I am designing a site for a school. I searched and found the
    post here from July 25, and I have also read the Dreamweaver
    help file till I'm blue in the face. They talk all around the
    answer but never definitively say if it's possible to do this.
    Dreamweaver help mentions:
    -- Workflow for performting client-side xsl transformations
    Do one of the following:
    In your Dreamweaver site, create an entire XSLT page. See
    Creating entire XSLT pages.
    Convert an existing HTML page to an entire XSLT page. See
    Converting HTML pages to XSLT pages.
    All the online tutorials show server-side transforms but I'm
    not skilled in that...nor do I know if the hosting entity will
    provide that level of access to their .NET server.
    ---- ok. that's the background of the situation. Now to my
    problem. ---
    We plan to have two mutually exclusive areas on the home
    page, such as news & events, that will be updated by a single
    school employee. The plan is to create two XML text files that one
    teacher can update.
    The XMLfiles will be manually uploaded to the web site and
    the home page will read that data into properly formatted
    information on the home page. I would greatly prefer to keep the
    entire process as a client-side procedure.
    I have created and linked XSL fragments to the XML data.
    If I try to copy and paste code from the XSL fragment into
    the index HTML page, I get nothing.
    Success comes only after converting the home page into an
    XSLT 1.0 file using Dreamweaver and copying and pasting the code
    fromt he XSL file into the newly created XSLT file.
    Hence my questions:
    1 Can I bring these XSL fragments into an HTML home page or
    do I have to convert it to XSLT?
    2. If I must convert the HTML file to an XSLT file, can
    people still type the website address in as www dot site dot com
    and the XSLT file will open without anyone knowing the difference?
    3. Can I even do this with a client-side transform?
    4. Is it possible for one page to reference two separate XSL
    fragments pointing to the two separate respective XML files?
    Thank you very much for your help.

    Hi Eric,
    these are the cache control headers of the request that serves the XSLT:
    GET http://www.carsten-leue.de/test/iframe_xslt/xslt.php HTTP/1.1
    Accept: */*
    Referer: http://www.carsten-leue.de/test/iframe_xslt/xslt.php
    Accept-Encoding: gzip, deflate
    User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko
    Host: www.carsten-leue.de
    DNT: 1
    Connection: Keep-Alive
    There does not seem to be a header involved that prevents caching.
    You mention the "legacy ActiveX" control. In which sense is this control involved in the usecase? In my scenario I am pointing the browser to the XML document that has an associated stylesheet and the browser automatically executes the transform.
    I am not explicitly triggering the transform via some script in the page.
    Does the ActiveX control still play a role in this scenario?
    Carsten

  • Client side "Buffering..." issues

    I am having issues with the client side on different devices once they click on play.  I've tried a single bit-rate, multi bit-rate and they seem to get "buffering..." and it sits there or goes to a black screen.  When I check the performance of the stream, I'm getting very good readings (20% CPU, 10% memory and 2 Mbps total bandwidth consumtion).  I have fiber at my office running 20/20 which is plenty of bandwidth to support 3 streams.  I've tried various frame rates and bitrates using H.264 and AAC. Ran accross a grat article/calculator for optimal frame dimensions and bitrates for Flash video (http://www.adobe.com/devnet/flash/apps/flv_bitrate_calculator.html). In FLME, my last configuration was as follows:
    As you can see, I'm using 3 streams and total bandwidth consumption is 2019 which using Robert Reinhardt's calculator is more like 2400-2500.  Still plenty at 12% of bandwidth consumption.  I've tried knocking it down to a single stream (lowest footprint) and still get the "Buffering..." issues.  Any ideas here?

    SE_0208,
    I know your probably in a different time zone (other than PST), so I'm going to try to catch you before you start your day.  Anyway, I've made a lot of progress yesterday.  This is what I have so far
    1. FLME SETTINGS
    Take a look at my screen shots. When I start with 29.97 fps, the Encode Log -> Statistics show 16/15 fps.  Why is that?  It's not a bad thing, but then when I play with some of the camera settings and restart, it sometimes jumps to 29.97, but then I suffer dropped frames and that's not a good thing. Does those bitrates look okay to you?  Also, is there a tool that would allow me to see what client is connecting to what stream? That sure would be very helpful since I'm having "Buffering..." issues on an Android phone running 3G.  I'm always trying to test on my slowest link and can't tell whether birrate switching is occurring or better yet, what stream the device is using.
    2. FMS - APPLICATION.XML
    Made a lot of headway here.  This is my application.xml file that I put in the /applications/livepkgr directory. What do you think of the settings, specifically the Client Bandwidth section?  Is there any type of formula I should use when setting this value. What I bascially did was take my "Overall bandwidth required to stream" from FMLE (3233 kbps) and add some headroom. Keep in mind I have 30/30 where the FMS server lives:
    <Application>
    <StreamManager>
            <Live>
                <!-- When enabled, the server will assume that incoming live streams have -->
                <!-- timestamps that are based on an absolute clock, such as a SMPTE time -->
                <!-- signal contained within the encoder's input source.                  -->
                <!-- Default is false.                                                    -->
                <AssumeAbsoluteTime>true</AssumeAbsoluteTime>
                <!-- Allow take over so that encoders that go down (for some reason) and  -->
                <!-- and come back up can immediately republish.                          -->
                <PublishTimeout>0</PublishTimeout>
            </Live>
        </StreamManager>
        <!-- Settings specific to runtime script engine memory -->
        <ScriptEngine>
            <!-- This specifies the max size (Kb.) the runtime can grow to before -->
            <!-- garbage collection is performed.                                 -->
            <RuntimeSize>20480</RuntimeSize>
        </ScriptEngine>
        <Client>
            <Bandwidth>
                <!-- Specified in bytes/sec -->
                <ServerToClient>4500000</ServerToClient>
                <!-- Specified in bytes/sec -->
                <ClientToServer>4500000</ClientToServer>
            </Bandwidth>
            <MsgQueue>
                <Live>
                    <!-- Drop live audio if audio q exceeds time specified. time in milliseconds -->
                    <MaxAudioLatency>2000</MaxAudioLatency>
                    <!-- Default buffer length in millisecond for live audio and video queue. -->
                    <MinBufferTime>2000</MinBufferTime>
                </Live>
                <Recorded>
                    <!-- Default buffer length in millisecond for live audio and video, value cannot be set below this by Flash player. -->
                    <MinBufferTime>2000</MinBufferTime>
                </Recorded>
                <Server>
                    <!-- Ratio of the buffer length used by server side stream -->
                    <!-- to live buffer.  The value is between 0 and 1.  To    -->
                    <!-- avoid break up of audio, the ratio should not be more -->
                    <!-- than 0.5 of the live buffer.                          -->
                    <BufferRatio>0.5</BufferRatio>
                </Server>
            </MsgQueue>
        </Client>
    </Application>
    3. M4V, LIVEEVENT.HTML and MANIFEST.XML FILES
    First off, I renamed the manifest.xml file in the \applications\livepkgr\events\_definst_\liveevent folder. Didn't seem to affect anything.  I used the F4M generator to create two files (liveevent.f4m and liveevent.m3u8) and put them in webroot.  I created an HTML file called liveevent.html from the Sample Video Player and put that in the webroot as well.  Should I be changing both manifest files (liveevent.f4m and liveevent.m3u8) when I change the bitrates in FLME so that they match?  Here are the files:
    LIVEEVENT.F4M
    <manifest xmlns="http://ns.adobe.com/f4m/2.0">
      <baseURL>http://live.stefanientertainment.com/hds-live/livepkgr/_definst_/liveevent/</baseURL>
    <dvrInfo windowDuration="-1"/>
      <media href="http://live.stefanientertainment.com/hds-live/livepkgr/_definst_/liveevent/livestream1.f4m" bitrate="502"/>
      <media href="http://live.stefanientertainment.com/hds-live/livepkgr/_definst_/liveevent/livestream2.f4m" bitrate="984"/>
      <media href="http://live.stefanientertainment.com/hds-live/livepkgr/_definst_/liveevent/livestream3.f4m" bitrate="1627"/>
    </manifest>
    LIVEEVENT.M3U8
    #EXTM3U
    #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=502000
    http://live.stefanientertainment.com/hls-live/livepkgr/_definst_/liveevent/livestream1.m3u 8
    #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=984000
    http://live.stefanientertainment.com/hls-live/livepkgr/_definst_/liveevent/livestream2.m3u 8
    #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=1627000
    http://live.stefanientertainment.com/hls-live/livepkgr/_definst_/liveevent/livestream3.m3u 8
    LIVEEVENT.HTML
    <object width='640' height='377' id='StrobeMediaPlayback' name='StrobeMediaPlayback' type='application/x-shockwave-flash' classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' ><param name='movie' value='swfs/StrobeMediaPlayback.swf' /> <param name='quality' value='high' /> <param name='bgcolor' value='#000000' /> <param name='allowfullscreen' value='true' /> <param name='flashvars' value= '&src=http://live.stefanientertainment.com/liveevent.f4m&autoHideControlBar=true&streamType=vod& autoPlay=true&verbose=true'/><embed src='swfs/StrobeMediaPlayback.swf' width='640' height='377' id='StrobeMediaPlayback' quality='high' bgcolor='#000000' name='StrobeMediaPlayback' allowfullscreen='true' pluginspage='http://www.adobe.com/go/getflashplayer' flashvars='&src=http://live.stefanientertainment.com/liveevent.f4m&autoHideControlBar=true&streamType=live &autoPlay=true&verbose=true' type='application/x-shockwave-flash'> </embed></object>
    One last question (if there isn't enough already ), I notice a 30-60 second delay between the stream and the client (end-user). I noticed that it varies from user to user and is probably due to their bandwidth. Since I want it as close to "Real Time" as possible, is there any tweaks that can shorten that up?
    Thanks for all your help, You've definitely steered me in the right direction!
    Ciao,
    Gio

  • Client-side handler: static config?

    I would like to provide a client-side JAX-RPC handler that would
    be invoked without any modification to existing client code.
    The idea is that user's would only need to modify a config file
    (something like the web-services.xml file, but on the client-
    side) to use our handler.
    We are already doing this in axis (uses a client-side deployment
    descriptor: client_deploy.wsdd), but based on another thread
    ("Client Handler Chain - help ??"), it looks like there is
    currently no equivalent in WLS?
    Are there plans to add the ability to statically configure
    client-side handlers in WLS via some sort of client-side config
    file/descriptor, or is the programmatic method of modifying
    the HandlerRegistry in the client code the only way?
    Any help/ideas would be greatly appreciated!
    --Terry

    In 7.0, you can do this in a handler:
    import weblogic.webservice.binding.soap.HttpClientBinding;
    String url = http://my/new/address/;
    sslAdapter = null; //only needed for ssl
    Binding binding = new HttpClientBinding( url, sslAdapter );
    context.setProperty( WLMessageContext.BINDING_PROP,
    binding );
    HTHs
    -manoj
    http://manojc.com
    "William Cassidy" <[email protected]> wrote in message
    news:[email protected]...
    >
    Is there a similar way to set the endPointAddress.
    "manoj cheenath" <[email protected]> wrote:
    Ok, I will add this as a feature request.
    If you are ok with using WLS internal APIs (This APIs may change in
    the future), try this:
    weblogic.webservice.Operation operation
    =
    ((weblogic.webservice.WLMessageContext)messageContext).getOperation();
    >>
    weblogic.webservice.Port port = operation.getPort();
    String endPointAddress = port.getAddress();
    regards,
    -manoj
    "Terry Martin" <[email protected]> wrote in message
    news:[email protected]...
    Manoj, thanks for the response.
    We'd definitely like to see a client side dd at some point, but
    can work with the API's for now. Thanks much for adding this as
    a feature request.
    On another subject:
    I need to determine the target/endpoint URL from my client-side
    request handler. Again, this was something we were able to do in
    axis, but is currently not part of the JAX-RPC standard (JSR101).
    I could be missing something, but haven't seen any way of
    determining the target URL given only the SOAPMessageContext.
    The only way seems to be if it were passed as a "standard"
    property in the SOAPMessageContext (this is one way it is done
    in axis).
    I imagine this will someday be standardized in JAX-RPC (I can
    think of many uses for this feature, other than our own). In the
    meantime, could you also add this as a feature request for WLS?
    Thanks again,
    -Terry
    "manoj cheenath" <[email protected]> wrote:
    True. In WLS 7.0 there are no client side dd in which you can specify
    the handler chain. We did not comeup with ourown client side dd,
    hopeing that JSR109 will define the dd.
    It is quite easy to register the handlers through APIs. Let us know
    if
    that will not help you.
    I will add client side dd as a feature requst for the next release.
    regards,
    -manoj
    "Terry Martin" <[email protected]> wrote in message
    news:[email protected]...
    I would like to provide a client-side JAX-RPC handler that would
    be invoked without any modification to existing client code.
    The idea is that user's would only need to modify a config file
    (something like the web-services.xml file, but on the client-
    side) to use our handler.
    We are already doing this in axis (uses a client-side deployment
    descriptor: client_deploy.wsdd), but based on another thread
    ("Client Handler Chain - help ??"), it looks like there is
    currently no equivalent in WLS?
    Are there plans to add the ability to statically configure
    client-side handlers in WLS via some sort of client-side config
    file/descriptor, or is the programmatic method of modifying
    the HandlerRegistry in the client code the only way?
    Any help/ideas would be greatly appreciated!
    --Terry

  • Corba Client-side Servant inheritance

    hi there,
    I'm a student computer science and while running a project we encountered the following problem we couldn't solve(neither could our teachers an neither could the internet come up with anything usefull)
    we tried to make a distributed program using Corba and Idl. in our design the servant class on the client side inherits functions of another servant on the client side. this way we couldn't use the "extends _implbase" way. the idea behind it was to use polymorhism with the client-side servant objects. the search for the holy grail had begun.
    All over the net there were sollutions for making a Tie construction and thus being able to do create a similar design. it needed adjustement in the Server-class and the Server's servant.
    And that was the problem. how to do it on the Client-side.
    does anyone have an idea or example what changes I should make in the Client-class to be able to let the servant implement the operations class of the used interface?

    I'm not sure I really understand your question, but let me try to restate it:
    The client side is also a CORBA remote object (servant), perhaps for callbacks. How do you provide different implementations without subclassing an implBase?
    You kind of answered it yourself. Use the tie approach.
    idlj -fallTIE your.idlWon't that do it? Your client servant is really just a proxy which passes the calls to the local object which implements the operations interface, and can therefore inherit from whatever class.
    Am I missing something?

  • How can an client-applet connect to server-DB?

    as the subject.
    I want the applet@client-side connect to DataBase@server-side,
    I am using Tomcat as engine & JDBC-mysql as tools
    where should the jdbc class placed in? WEB-INF/classes ? WEB-INF/lib ?? or others?
    now i am facing the problem that the applet seems cannot access WEB-INF and cannot locate the jdbc driver.
    could anybody give me some hints?
    thank you very much

    Hello
    I don't know the answer, sorry. This is the jdb (java debugger) tool forum.
    You might want to post your question over on the JDBC forum.
    Try this link:
    http://forum.java.sun.com/forum.jsp?forum=48

  • Client-side form validation fails

    Hi guys,
    Below is a very simple form with some client side validation.
    on submission it takes me to the results page with out popping an
    error. I checked it in both IE and Firefox. I checked the source
    after displaying the page and there are javascript elements built.
    I am testing this on my local box, with coldfusion mx 7 on
    apache.
    Is there anything special I have to do with the server
    settings, or browser settings or there something else.
    Thanks,
    Frank
    <cfform action="save.cfm">
    <p>
    <cfinput type="text" name="first_name" required="yes"
    message="enter your first name" validateat="onsubmit">
    : First Name<br />
    <cfinput type="text" name="last_name" required="yes"
    message="enter your last name" validateat="onsubmit">
    : Last Name<br />
    <br />
    Do you love me?<br /><br />
    <cfinput type="radio" name="love" value="yes">
    Yes<br />
    <cfinput type="radio" name="love" value="no">
    No<br />
    <cfinput type="radio" name="love" value="Maybe">
    Maybe<br />
    <br />
    How should we contact you?<br /><br />
    <cfinput type="checkbox" name="contact" value="email">
    Email?<br />
    <cfinput type="checkbox" name="contact" value="paper
    airplane">
    Paper Airplane?<br />
    <cfinput type="checkbox" name="contact" value="can
    phone">
    Can Phone?<br />
    <br />
    <cfquery name="temp" datasource="hrp">
    SELECT distinct department.department_name
    FROM department
    </cfquery>
    What department do you work for?<br /><br />
    <cfselect name="dept" size="1" query="temp"
    value="department_name" display="department_name">
    </cfselect>
    <br /><br />
    <cfinput type="submit" name="submit" value="submit">
    </p>
    </cfform>

    Odd, indeed. The validation Javascript works on my PC,
    showing an alert. I only replaced your query with mine. There might
    be something wrong with your installation of the Coldfusion system
    folder, /CFIDE/scripts/.

  • Server-side connection pooling for clients in different VM's

    We have a need to centeralize our connection pool manger.
    Is there a server-side connection pooling manger product to allow multiple clients running in different VM's to connect to and share connection objects to the same Database?
    e.g. An applet, and a swing and a servlet/web app application all running in different VM's will connect to this central connection pool manager and share connection objects to the same DB.
    We are using connection pooling for all of our applications but each application is maintaining its own connection pool and it is becomming a nightmare to manage and configure each one.
    Also, we have to have at a miniumum one connection open per application to access the database regardless of wether we are using connection pool or not. This means that 100 apps(running in different VM's) will use at minimum 100 connections... where all of these 100 apps will do just fine with just 10-15 connections.
    while back we used T3 server but can't find this product on BEA web site any more.
    does jdbc 2.2 or 3.0 have any server side pool management specs outlined?
    Please HELP as we can't afford anymore licensing fees for our company.
    oh.. We can't open and close connections on each query as they will be slow.
    any suggestions greatly appreciated.

    if i understand you question, i don't think this is possible, since the Connection interface (and basically all of the related jdbc interfaces) aren't Serializable.. so they can't be sent over the wire to your client(s).
    However, you could feasibly write some server side connection pool, and some server side facade which will allow clients to submit queries (either SQL String's or however you want to do it - obviously a more elegant solution involves a series of classes which dynamically create sql based on query criteria), then the server can grab a connection, execute the query, cycle through the results and populate some result object of your creation and send that back over the wire to your client(s).
    .

Maybe you are looking for