How long is a thread in use when modem user hits servlet? (repost from misc group)

I'm developing an application that will go out to many users on the
internet. Most will be using modems and so my data center will have to
trickle packets to them because of their low modem bandwidth. Each
transaction is short lived, under 100ms, but I'm concerned that the
execution thread in weblogic will be tied up for several seconds while the
data served is tricked down over the modem.
- Is the weblogic execution thread returned when a servlet call returns, or
only when the stream back through the web server has been emptyied?
- Will in fact calls to write to the output stream (or flushes at least) of
the servlet block until the TCPIP stack returns with data sent OK - ie block
until all the data is sent over the modem?
- If I use buffered output streams with large enough buffers to hold all
served data, and don't flush them before returning with the servlet call,
what does weblogic do? Will weblogic hold the execution thread until it can
empty the buffer, hence be delayed by the modem?
- Does putting netscape enterprise server between weblogic and the client
fix this - will enterprise server buffer the data?
- Does setting keep alive in weblogic or enterprise server have any effect
on this problem?
Thanks.
Mark Johnson
Markj
Mark Johnson.
Encirq Corporation, San Francisco CA, (415)284-9800x116
http://www.encirq.com/ [email protected]
The information contained in this message is CONFIDENTIAL. It is intended
only to be read by the individual or entity named above or their designee.
If the reader of this message is not the intended recipient, you are on
notice that any distribution of this message, in any form, is strictly
prohibited. If you have received this message in error, please immediately
notify the sender and/or Encirq Corporation by telephone at 415-284-9800 and
delete or destroy any copy of this message.

Thanks for your reply!!!
jwenting wrote:
no, your code is NOT correct.
It doesn't "upload" anything, as I stated before.It is working perfectly fine if the destination folder is connected to the server machine (which is not the case now).
>
Look into multipart MIME requests, Jakarta Commons File Upload, and things like that to actually upload files to a server instead of insisting on reading them directly from the client's filesystem in your servlet and wondering why that doesn't work if the servlet container is running on a different computer from the client.I AM using Jakarta Commons File Upload. The problem is when I try to access the destination folder(which is in client machine), it can't find as it is searching for the corresponding folder in the server.
>
Unless and until you do that, you're wasting our time and your own.I thought someone could help me i giving me some pointers which I missed. Thanks again!!
Edited by: AnishThomas on Mar 14, 2008 8:13 AM

Similar Messages

  • How can I control the windows behavior when the user hits "Windows key +d"?

    Hi,
    I have an application with 2 top-level windows. Both windows may be open at the same time. One window is a win32 window, and the other is a wpf window. When both windows are open, the wpf window should always be before the win32 window. When the user hits
    "Windows key +d" twice (show desktop and restore all windows), the windows are occasionally restored in a different order.
    How can I force the wpf window to always be before the win32 window?
    Which Windows messages/events are sent when the desktop is restored?
    Yoel

    Hi,
    I tried set the Topmost property on the Wpf window. It didn't help - for some reason, the win32 window still get in front of the Wpf window.
    I was able to get some win32 messages that change the win32 window position. I tried then to bring the Wpf window to the front (using SetActiveWindow, SetForegroundWindow, SetWindowPos) but i does not work as expected.
    Yoel
    Hi Yoelp,
    >> tried set the Topmost property on the Wpf window. It didn't help - for some reason, the win32 window still get in front of the Wpf window.
    It worked well on my side, could you please tell us more details about these two window? What have you done on the WIn32 Window? We need to know the reason
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How do I create a email notification when a user hits the submit?

    I have created a form that inserts a record in the
    database using ASP.  Now I would like to be notified when some
    one fills out the form and submits it.

    Forms to Go from Bebosoft (script generating software)
    http://www.bebosoft.com/products/formstogo/overview/
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb

  • Using the warp tool I'm stabilizing  my video and getting rid of the edge artifacts. Analyizing is clear on how long the process will take, but when it stabilizes I only get three moving dots. I there a way to know when the process will stop? Thanks.

    I am using the warp tool to stabilize my video and get rid of the edge artifacts.  The program is very clear about how long it will take to analyze, but there is nothing about how long the stabilization will take nor when I know when it is complete.   Thanks ahead of time.

    Warp Stabilising is a two part process.
    Analysis and Stabilising.
    Both have a banner across the Program Monitor during the process ( unless you have turned that off.
    Analysis start automatically on forst application...but you can rock in there and start adjusting the parameters.
    You may need to hit "Analyse" Button again.
    You should see the number of frames and the estimated duration during this process.

  • How to choose which one to use when using handoff if one has more than one phone with different network

    I am using 2 iPhone with 2 different network. How to choose which phone to use when making a call.

    Are you confirming your POP account is selected as the sending email account before the message is sent?
    And regardless if the email is a new email or is replying to or forwarding an email received by the POP account and cofirming the POP acconut is selected as the sending email account, the message is sent by the Gmail account?
    All message sent by the POP account are sent by the Gmail account?
    If so, delete the Gmail account from your iPad and test if a message sent with your POP account which will be the only email account available with the iPad's Mail app is recieved from your POP account/address.
    If not, something else is wrong or on play that has nothing to do with the iPad.

  • HT2736 How long until a redemption code appears when you choose now to send the gift?

    How long does a gift code appear when you choose now to send it?

    In a real time.

  • HT1430 how long does the configure setup take when u first turn on the IPAD?  mine seems stuck at the language choice.  HELP

    How long does the configure setup take when u first turn on the IPAD?  Mine seems to be stuck in the language choice.  Help!

    It should not be stuck at the language choice. Is there a "Next" button in the upper right corner? Or a blue arrow pointing to the right?

  • How to preven JButton of generated actions when the user keep pressing down

    How to preven JButton of generated actions when the user keep pressing down the key or the short cut
    The code below to show the issue when the user keep pressing Alt+ O
    We want to prevent the JButton from generating multi actions just one action only
    A sample of code shows the behaviour which has to be prevented. Continue pressing "Alt +O" and you will see the standard ouptput will print time stamps
    Please notice, I am NOT interested in Mouse press which has a solution by adding a threshold ( setMultiClickThreshhold(long threshhold) on the JButton  as an attribute.
    public class TestPanel extends JPanel
       private JButton btn;
       public TestPanel()
          btn = new JButton("Open");
          this.add(btn);
          registerCommand(new MyAction(), InputEvent.ALT_MASK,
                KeyEvent.VK_O, btn, btn.getText(), 0);
       public static void registerCommand(AbstractAction action,
             int mask,
             int shortCommand,
             JComponent component,
             String actionName,
             int mnemonicIndex)
          InputMap inputMap = component.getInputMap(JComponent.WHEN_IN_FOCUSED_WINDOW);
          KeyStroke knappKombination = KeyStroke.getKeyStroke(shortCommand, mask);
          if ((component instanceof AbstractButton)
                && mnemonicIndex >= 0
                && mnemonicIndex < actionName.length()
                && (shortCommand >= KeyEvent.VK_A && shortCommand <= KeyEvent.VK_Z))
             ((AbstractButton) component).setDisplayedMnemonicIndex(mnemonicIndex);
          if (inputMap != null)
             ActionMap actionMap = component.getActionMap();
             inputMap.put(knappKombination, actionName);
             if (actionMap != null)
                actionMap.put(actionName, action);
       public static class MyAction extends AbstractAction
          private static final long serialVersionUID = 1L;
          @Override
          public void actionPerformed(ActionEvent e)
             System.out.println(System.currentTimeMillis());
       public static void main(String... args)
          SwingUtilities.invokeLater(new Runnable()
             public void run()
                JFrame frame = new JFrame("Testing");
                JPanel panel = new TestPanel();
                frame.getContentPane().add(panel);
                frame.setPreferredSize(new Dimension(500, 500));
                frame.setMinimumSize(new Dimension(500, 500));
                frame.pack();
                frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
                frame.setVisible(true);
    }Edited by: user12130673 on 2013-feb-13 03:01

    Use KeyStroke getKeyStroke(int keyCode, int modifiers, boolean onKeyRelease) with onKeyRelease=true instead?

  • HT1414 how can i open my iphone because when i try to restore it from my back up all the files it didn't open anymore & always my iphone have a problem that it automatically shut down then the itunes logo appear then i need it to connect to itunes then re

    how can i open my iphone because when i try to restore it from my back up all the files it didn't open anymore & always my iphone have a problem that it automatically shut down then the itunes logo appear then i need it to connect to itunes then restore to enable to open it..what should i do?i cannot bring it to the smart center because i lost my receipt..is there any chance to recover it?thank you so much..i already update my operating system to ios 6.1.3 but when i recover my  back up the operating system was ios 6.1.2..

    Your phone is in recovery mode. Did you plug it to the computer running itunes? What happend?

  • How can I turn off my computer when I push de STOP button from de program?

    How can I turn off my computer when I push de STOP button from de program?

    You might also want to have a look at the old winutil>Windows API Function Utilities (32-bit) for LabVIEW. While they are written in LabVIEW 4.0 (!), they still seem to work fine under W2000 and LabVIEW 7.0. In particular, have a look at "exit windows.vi" inside "winevent.llb" of the above link. It calls the function "ExitWindowsEx" of user32.dll. Since this is part of the OS, you don't need to include extra DLLs.
    (All the above assumes Windows OS. I don't know how to shutdown the OS on e.g. MAC or linux.)
    LabVIEW Champion . Do more with less code and in less time .

  • Problems to restrict access to a page when the user belong to more than 1 group

    I have realized that Dreamweaver on a coldfusion document only works fine when the user only belongs to a single group, this is because the code supplied by dreamweave when you use the option "Restrict access to a page" at "Server behaviors" it assumes that the user only have one group as you can see on this line created automaticly by dreamweaver:
    <cfif MM_Username EQ "" OR MM_UserAuthorization EQ "" OR ListFind("admin",MM_UserAuthorization) EQ 0>
    MM_UserAutorization has the value of the field assigned for the list of groups or levels, as you can see it could work if we reverse the parameters of the listfind function but the problem would be if we grant the access to more than one group because the sentence would be like this:
    <cfif MM_Username EQ "" OR MM_UserAuthorization EQ "" OR ListFind("Admin,Manager",MM_UserAuthorization) EQ 0>
    so both paramethers are lists therefore no user will get access to the page.
    I am trying to make a work around to fix this problem but I don't know how to get the name of the page since the Application.cfc so I can validate the access to this page against tables on my database.
    Does someone have a work around or a tip how to fix this problem?
    Thanks in advance.
    AG

    Seems like you have a problem with your group names.ctxLdap.modifyAttributes(groupName,member);Ensure that the value of your variable groupName is a a valid distinguished name.
    Note that an OU (organizationalUnit) is not a group. You do not add users to OU's, you create users in OU's.

  • Wmi script to find out the time when the user was added to local administration group

    Hi Friends,
    i need a script/query based on wmi/wql that find out the time when the user was added to local administration group on this computer
    Regards
    Tanoj
    OSLM ENGINEER - SCCM 2007 & 2012

    WMI does not keep security information.
    Unless you have enabled auditing, this information is not retained in any way.
    If auditing is enabled, you can write a powershell script to look for the specific event in the eventlog. More specifically, you should look for all security events with id 4732 containing the group.
    this one command does the trick
    get-eventlog -logname security -instanceid 4732 -message *administrators*
    https://technet.microsoft.com/en-us/library/dd772663(v=ws.10).aspx
    MCP/MCSA/MCTS/MCITP

  • TS4009 How long to restore e-mail use?

    Does anyone know how long it takes to restore the usage of my e-mail address, (being able to send and receive e-mail) now that I've figured out how to change the settings of my storage? My account has been down for approximately 7 or so hours?  And will I receive any of the e-mails anyone attempted to send to me today during the outage window?  Also, does anyone know if the user attempting to send me e-mails during this outage window received a "rejected" notice from my e-mail address or if there was any sort of grace period?  Any insight is greatly appreciated! (Very frustrating that you cannot manager your storage & backup by logging into a standard laptop...what happens if you are no longer the owner of the device you've associated your iTunes and e-mail address with for the last 10 years, but you didn't want to use that e-mail address on a new company-issues iPhone? )
    Thank you for your assistance.

    ''lostallemail [[#answer-701183|said]]''
    <blockquote>
    "Update server not found". "Check your internet connection." However I can get on the internet.
    </blockquote>
    Type '''about:preferences#advanced'''<Enter> in the address bar.
    Under '''Advanced,''' Select '''Network.'''
    Look for '''Configure How Firefox Connects''' and press the '''Settings''' button.
    If you are using a proxy, make sure those settings are correct. If there is no
    proxy, first use '''No Proxy.''' If there is a problem, then try '''System Proxy.'''
    Some problems occurs when your Internet security program was set
    to trust the previous version of Firefox, but no longer recognizes your
    updated version as trusted. Now how to fix the problem: To allow
    Firefox to connect to the Internet again;
    * Make sure your Internet security software is up-to-date (i.e. you are running the latest version).
    * Remove Firefox from your program's list of trusted or recognized programs. For detailed instructions, see
    '''[https://support.mozilla.org/en-US/kb/configure-firewalls-so-firefox-can-access-internet Configure firewalls so that Firefox can access the Internet.]''' {web link}
    ''jscher2000 [[#answer-701201|said]]''
    <blockquote>
    Are you using the stand-alone Outlook program, or the online version at mail.live.com?
    </blockquote>
    Windows Live Mail is part of '''[http://windows.microsoft.com/en-us/windows-live/essentials Windows Live Essentials]'''
    and runs separately from the browsers.

  • I Did Not Upgrade to iOS 7 (Thank Goodness).  How Long Can I Continue to Use iOS 6?

    I've only been an iPhone user for a couple of years.  Up until this "upgrade" things have been fairly acceptable.  After reading all of the push-back on iOS 7 and seeing a couple of friends' phones that were upgraded, there is no way I'm upgrading.  I'm eligible for a new phone with Verizon now and before making a decision, I'm going to take some time looking at options.  My question is, how long can I use my 4s with iOS 6 installed before things stop working?  I use a couple of very serious apps on my iPhone that I need for work (weather-related) and I'd like to make sure that they are still functional while I look for options.  Any idea how long before things just stop working?  Can one go indefinitely, as long as one doesn't upgrade the apps too?    Thanks for any insight.

    You can use it as long as your apps are supported and you dont need to restore your phone. I have an iPod 4 that I cant update on and my apps are slowly becoming out of date. As apps are updated for ios 7 some updates may not be compadible with ios 6 so if you really need an app to update good luck. If you phone is broke or something and has to be restored when you restore it it will be automatically updated to ios 7.
    MACOSX24

  • How long alias name keep as used after delete?

    I need to create new account with my old alias name, i deleted this alias from my account long time ago, but i can't create new account with this name ("This email address is already taken")... how long?

    but i can't create new account with this name
    Once the account has expired it can no longer be used.
    "Changing the active or inactive status of an alias"
    From  here >  MobileMe: Email aliases can no longer be added, changed, or deleted

Maybe you are looking for