Two users, two seperate arguments - both receive same jnlp

Hello, we have an app that users download a jnlp package but pass specific arguments within the jnlp request:
<application-desc main-class="com.cbi.tellertools.digitalcapture.DigitalCapture">
<argument><%= codebaseBuffer.toString() %>/SaveDigitalImageServlet</argument>
<argument><%= request.getRemoteHost() %></argument>
<argument><%= FIRST %></argument>
<argument><%= MIDDLE %></argument>
<argument><%= INITIAL %></argument>
</application-desc>
When the jnlp gets requested at the same time, both users receive the jnlp package with the arguments from whomever was the last to request it. This happens only with near simultaneous requests, otherwise it works fine. Is there a way to force threading or are we blatantly missing something? I inherited this jnlp application and am new to jnlp (but not new to Java) so if there's a simple explanation and fix please say so. Thanks!

Interesting thought. A race condition and threading issue have been the symptoms. I've been thinking JNLP was not handling the arguments. Here's what the code had (and please bear in mind this was inherited):
<%!
static String FIRST= null;
%>
<%
FIRST= request.getParameter("first");
%>
<?xml version="1.0" encoding="UTF-8"?>
<jnlp ...
<application-desc>
<argument><%= FIRST %></argument>
</application-desc>
</jnlp>
So even if the preceding page had the variables correct, once passed to this page they're not thread safe. Barring a whole rewrite, is just modifying the declarations enough?
<%
String FIRST= null;
%>
I certainly appreciate your input.

Similar Messages

  • Problems After Win 8.1 Upgrade - Two Additional Partitions Both With Same Volume Serial Number?

    An update from Win 8 Pro to Win 8.1 Pro has occurred automatically on one of my machines.
    Prior to the upgrade (from memory) the machine had an OEM Partition (40MB), EFI System Partition (500MB), Recovery Partition (8.17GB) and OS (C:) partition. Only the latter was visible in Computer.
    After the 8.1 upgrade there are two additional partitions, Recovery (500MB) and Recovery (450MB). All the partitions are now displayed in This PC as drives except the 40MB OEM Partition.
    When viewed in This PC both the two new drives (that appear to equate to the new partitions) show as 499MB each with the same amount of free space. In Disk Management the first new partition is shown as 500MB and the second as 450MB.
    I have SugarSync installed on this machine and since the upgrade it is displaying an error telling me it won't work because the two new drives have the same Volume Serial Numbers.
    Clearly something has gone wrong with the upgrade:
    Is there any way to resolve the Volume Serial Number conflict? 
    Is there any way to stop all these drives appearing in This PC?
    Do I need the two new partitions and if not how can I get rid of them?

    There is a fourth path to upgrading to Windows 8.1 provided by Microsoft. Microsoft have been displaying automated reminders from time to time on Windows 8 computers that Windows 8.1 update is available to download - from these reminders it is possible to
    choose either Install or Not Now.  Just recently these reminders have changed, they are instead notifying the user that the Windows 8.1 Update will be installed automatically or the user has options to postpone the installation for 1hr, 2hrs, etc. The
    user of this computer tells me she went away from the machine and Windows 8.1 update installed automatically from one of these prompts.
    I have seen these installation prompts on several of my customer's computers and they are not malware related (I deal with malware removal every day and would recognise this). However, I have scanned this computer with Bit Defender and MalwareBytes and there
    are no infections present.
    The only difference between this Windows 8.1 Update and the others that I have carried out is that it wasn't controlled and therefore I wasn't able to disable the security software (Bit Defender Internet Security 2015). This may be the cause of the problem.
    I've uploaded the two screenshots you asked for - the two new drives are W: and Z: and SugarSync is reporting that they have the same Volume Serial Numbers. Note: X: and Y: were not visible prior to the upgrade.
    There are two Windows Update logs at C:\Windows\ so I will upload both.

  • In MIGO two seperate entry for the same Material in Accounting Document

    Dear Expert,
    Hi
    Business is doing stock transfer transaction. Here with reference to stock transfer PO when business is doing Goods Issue.
    here there is two stock transfer PO.  in one PO there is two line items for the same material. in the second PO again same material with two line items.
    but at the tme of Goods issue it is showing two seperate line for same material stock account credit in accounting document. but in the other Goods issue with reference to second PO it is showing only one line for inventory account credit in the accounting dcoument.
    so pl. guide me on this.
    thanks
    H shah

    Hi,
    Step 1 : First we create the Stock transfer PO.
    Step 2 : Goods issue with ref to above stock transfer PO ( Movement type 351) - MIGO
    Step 3 : Goods Receipt with ref to above stock transfer PO ( Movement Type 101 )- MIGO
    Thanks
    H shah

  • HT1451 Can you have two seperate libraries on the same computer? How can you do that?

    My family uses the same computer but I like different music. How can I create a seperate library for me to sync to?

    Launch iTunes with the Shift key(Windows) or Option key(Mac OS X) held down, or use a different user account.
    (66145)

  • How to have two seperate Itunes on the same computer for two Ipods?

    Is there a way to have two separate Itunes downloaded on the same computer for two different Ipods? My sister got a new Ipod and she wants to hook it up to the computer but when ever she does it just pulls up my Itunes and has all of my songs on there. How can we each have our own Itunes?

    There's many ways to accomplish this. You could create two accounts in Windows. That way everything is completely separate. Or, you could manually manage your music in iTunes -- this way it won't automatically sync your music onto her iPod. More info here:
    http://docs.info.apple.com/article.html?artnum=61148
    http://docs.info.apple.com/article.html?artnum=93779

  • Recording more than two seperate tracks into Garage, same time

    Hi there,
    What I want to do is run four inputs simultaneously into Garage onto four seperate tracks (no spillage). What is best? What should I do? I have an iMac (10.4.1).
    I am aware that a Presonus Firebox might work but I am also aware that there might be a sound card that would also work.
    Cheers,
    Harry

    Here's a set of interfaces:
    http://www.bulletsandbones.com/GB/Interfaces.html

  • 2 iphones both receive same messages and sometimes phone calls. What causes this?

    My wife and I both have iphones but we are receiving each others messages and sometimes phone calls even though different phones. What is causing this? Both phones registered under the same user. Means she is seeing my texts messages and vice versa.

    If you are receiving imessages intended for other devices you can fix this by going to Settings>Messages>Send & Receive and do one of the following:
    Uncheck the email address shown under "You can be reached by iMessage at" on both devices if they are iPhones; or
    On one of the devices go to Settings>Messages>Send & Receive, tap the Apple ID, sign out, then sign in with a different Apple ID.  Note: you can continue to share an Apple ID for the iTunes & App store for purchasing if you wish; it does not need to be the same as the ID you use for iMessage, FaceTime, iCloud and other services.

  • VC model fails for one user but not another - both have same auths

    We have a VC model that we created and moved to Prod (portal NW04s connecting to BW 3.5 query).  It works fine for user A, but user B gets error:
    #1.5#0003BADBD644002D000000030000053D0004282F58AC16AC#1170083723088#com.sap.port
    al.visualComposer_NWBIKit_logger#sap.com/irj#com.sap.portal.visualComposer_NWBIK
    it_logger#DOBREGON#11523#####SAPEngine_Application_Thread[impl:3]_5##0#0#Error#1
    #/System/Server#Java###Cannot execute BW query::Nested Exception. Failure to exe
    cute native function. Nested Exception. INVALID_VARIABLE_VALUES
    Both user have same authorizations in Portal and BW backend.
    There is no trace info on the BW back end, so it seems like the hangup is occuring on the portal side.

    It turns out it was the backend authorizations.  The user was able to view the BW query via the BEX Explorer.  But when she tried to access it via a VC Flex IView, we got that error.  Initially I wasn't seeing any auth traces in the BW system, but then we expaneded the trace and determined the user was missing an activity.   It's a strange error.  Would be nicer to see a 'user not authorized' or something along those lines to better pinpoint the cause.  But we're good now.

  • How do i sync two different ipads to the same computer, but maintain two seperate list of apps?

    How can I sync two seperate ipads to the same computer without the apps from one ipad being loaded on the other?

    Do this for each device. You can do this with all iTunes content as well. Apps, music, photos, books, movies - everything. You can have unique content on all of your devices.
    You may also want to turn off auto sync so that you do not have to wait for the iPad to sync and then go back and make these changes.
    Launch iTunes and go to Edit>Preferences>Devices - check the box at the bottom.... Prevent iPods, iPhones ....
    Then set up your sync preferences like this using Apps as the example.
    Connect the iPad to the computer and launch iTunes.
    Click on the iPad name on the left side under devices.
    Click on the Apps Tab on the right.
    Click on all of the apps that you want to sync to that iPad
    Click on the Sync Apps Heading.
    Click on Apply in the lower right corner of iTunes
    You may want to uncheck Automatically Sync New Apps under the Sync Apps list

  • TMS Setup - One package to two seperate landscapes

    My customer has one development instance that services two test and production landscapes for seperate geographical regions. This is a new installation and they are developing using packages. They currently belive that they can transport the objects from those packages to each landscape via the same package, transport layer and transport route. I'm contending that that is not possible due to each package having only one transport layer and that they will have to create a seperate package with the same objects for each landscape if they want to transport to both. I'm a bit inexperienced at this and could use any advice available to confirm that either I am right or that it is possible to transport to two seperate landscapes.. Is it possible to setup STMS transport routes to transport to two seperate environments from the same transport layer?
    Regards.

    Hi Joe,
    Your contention is correct. A package/development class can be assigned to only one transport layer at a time.
    My solution may not really match your business requirements. However if it possible to identify objects that will be needed in both  the systems then you can assign them a single package which will have a common transport layer which will serve both the test systems and subsequently production systems. A bit of manual work but should solve this for you.
    Regards.
    Ruchit.

  • Can iCloud serve two iPhone users, or do both users have to login with the same Apple ID?

    My wife and I want to use iCloud to sync our calendars.  Do we both need to use the same Apple id tp accomplish this, or can iCluod support two users with seperate Apple ID's?  I can't find a way to do it seperately.

    Each iCloud account is tied to the AppleID used to create it.  So if you each use distinct AppleIDs to create your iCloud accounts then you can each sync your devices independently of eachother (you will also not be sharing the same email account).  If you then wish to share calendars, you can set that up:
    http://support.apple.com/kb/PH2690

  • If my wife and I have two seperate itunes accounts can we both have home sharing on the same computers at the same time or is it one or the other

    If my wife and I have two seperate itunes accounts can we both use home sharing at the same time on different computers to view each others librarys or is it one or the other only

    You can share your libraries within the same household:
    http://support.apple.com/kb/PH1455?viewlocale=en_US
    And here:
    http://support.apple.com/kb/PH1453?viewlocale=en_US

  • I have two Macbooks at home that are connected to a Comcast Wi-Fi network modem. One of the computers has sporadic in receiving the WI-FI signal while the other is unaffected. Both have same operating system. Does anyone know a solution to this problem?

    I have two Macbooks that are connected to the same Comcast Wi-Fi network modem. One of the computers has become very sporadic in receiving the WI-FI signal while the other is unaffected. Both have same operating system (10.5.8). I have restarted computer, and unplugged and retarted modem on several occassions to no avail--one still works the other inconsistent. Have spent a great deal of phone time with Comcast and they suggest acquiring latest OS. Does anyone know a solution to this problem?

    This does not sound to be a router problem...You should try to uninstall and re-install the ethernet adapter/card installed in your computer...Do you have 2 Ethernet Adapter's by any chance...Check the Device Manager, Click on the Start button >>> Settings >>> Control Panel >>> Double click System, go to Hardware >>> Device manager, click on the plus'+' sign next to Network Adapters and see how many Ethernet Adapters are listed...
    Also connect that computer straight to your modem and see check if you get the same message,that 'YOU ARE CONNECTED TO MORE THAN ONE NETWORK'...

  • I have two iMac's on the same desk. Once iMac pairs with both keyboards and mice.  The other pairs with the mouse, but I cannot get the keyboard to connect.  How do I get a keyboard and mouse to connect to each iMac independently?

    I have two iMac's on the same desk (about a foot apart). One iMac pairs with both keyboards and mice.  The other pairs with the mouse only; I cannot get the keyboard to connect.  How do I get a keyboard and mouse to connect to each iMac independently?

    Antaeus00 wrote:
    I tried sending a request for help,
    But did you succeeed in sending a request for help?
    Did you receive a response? How long has it been since you sent a request?
    but I need someone with more authority to talk to.
    There is no one with more authority than iTunes store support. We herem are only users.

  • I am in the process of expanding a database of chemistry journal articles.  These materials are ideally acquired in two formats when both are available-- PDF and HTML.  To oversimplify, PDFs are for the user to read, and derivatives of the HTML versions a

    I am in the process of expanding a database of chemistry journal articles.  These materials are ideally acquired in two formats when both are available-- PDF and HTML.  To oversimplify, PDFs are for the user to read, and derivatives of the HTML versions are for the computer to read.  Both formats are, of course, readily recognized and indexed by Spotlight.  Journal articles have two essential components with regards to a database:  the topical content of the article itself, and the cited references to other scientific literature.  While a PDF merely lists these references, the HTML version has, in addition, links to the cited items.  Each link URL contains the digital object identifier (doi) for the item it points to. A doi is a unique string that points to one and only one object, and can be quite useful if rendered in a manner that enables indexing by Spotlight.  Embedded URL's are, of course, ignored by Spotlight.  As a result, HTML-formatted articles must be processed so that URL's are openly displayed as readable text before Spotlight will recognize them.  Conversion to DOC format using MS Word, followed by conversion to RTF using Text Edit accomplishes this, but is quite labor intensive.
      In the last few months, I have added about 3,500 articles to this collection, which means that any procedure for rendering URL's must be automated and able to process large batches of documents with minimal user oversight.  This procedure needs to generate a separate file for each HTML document processed. Trials using Automator's "Get Specified Finder Items" and "Get Selected Finder Items", as well as "Ask For Finder Items"  (along with "Get URLs From Web Pages") give unsatisfactory results.  When provided with multiple input documents, these three commands generate output in which the URLs from multiple input items are merged into a single block, which yields a single file using "Create New Word Document" as the subsequent step.  A one-to-one, input file to output file result can be obtained by processing one file at a time, but this requires manual selection of each item and one-at-a-time processing. What I need is a command that accepts multiple input documents, but processes them one at a time, generating a separate output for each file processed.  Is there a way for Automator to do this?

    Hi,
    With the project all done, i'm preparing for the presentation. Managed to get my hands on a HD beamer for the night (Epason TW2000) and planning to do the presentation in HD.
    That of course managed to bring up some problems. I posted a thread which i'll repost here . Sorry for the repost, i normally do not intend to do this, but since this thread is actually about the same thing, i'd like to ask the same question to you. The end version is in AfterEffects, but that actually doesn't alter the question. It's about export:
    "I want to export my AE project of approx 30 min containing several HD files to a Blu Ray disc. The end goal is to project the video in HD quality using the Epson  EMP-TW2000 projector. This projector is HD compatible.
    To project the video I need to connect the beamer to a computer capable of playing a heavy HD file (1), OR burn the project to a BRD (2) and play it using a BRplayer.
    I prefer option 2, so my question is: which would be the preferred export preset?
    Project specs:
                        - 1920x1080 sq pix  (16:9)
                        - 25 fps
                        - my imported video files (Prem.Pro sequences) are also 25 fps and are Progressive (!)
    To export to a BRD compatible format, do i not encounter a big problem: my projectfiles are 25 fps and progressive, and I believe that the only Bluray preset dispaying 1920x1080 with 25 fps requests an INTERLACED video  (I viewed the presets found on this forum, this thread)... There is also a Progr. format, BUT then you need 30 fps (29,...).
    So, is there one dimension that can be changed without changing the content of the video, and if yes which one (either the interlacing or the fps).
    I'm not very familiar with the whole Blu-ray thing, I hope that someone can help me out."
    Please give it a look.
    Thanks,
    Jef

Maybe you are looking for