This discussion is archived
14 Replies Latest reply: Mar 21, 2012 7:23 AM by 922641 RSS

two users, two seperate arguments - both receive same jnlp

922641 Newbie
Currently Being Moderated
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!

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points