Caching problem passing jsessionid to Webstart App

Hi,
I am trying to pass a tomcat sessionId to my Webstart Application which is an Eclipse RCP application. I am using an NTLM-Filter on the server to perform user authentication. The filter is installed on a jnlp.jsp. The idea is to put some information into the session and
pass back the sessionid into the application which could then access the same session on the tomcat server.
This is the jsp I am using:
<%@ page contentType="application/x-java-jnlp-file" info="CRM RCP Client JNLP" %>
<jnlp spec="1.0+" codebase="http://dusu9077.zs.westlb.sko.de:8082/CRM" href="crm.jnlp;jsessionid=<%=session.getId()%>">
     <information>
          <title>CRM</title>
          <description>Customer Relationship Managementsystem version 4.0.1</description>
          <icon kind="splash" href="splash.gif"/>
     </information>
     <security>
          <all-permissions/>
     </security>
     <resources>
          <j2se version="1.5+" initial-heap-size="128m" max-heap-size="512m"/>
         <property name="sun.java2d.noddraw" value="true"/>
        <extension name="CRM RCP Client" href="RcpShared.jnlp"/>
        <jar href="org.eclipse.equinox.launcher_1.0.0.jar"/>
        <jar href="com.hp.wlb.crm.core_0.0.1.jar"/>
        <property name="osgi.configuration.area" value="@user.home/crm_ng/configuration"/>
        <property name="osgi.instance.area" value="@user.home/crm_ng/workspace"/>
        <property name="eclipse.product" value="com.hp.wlb.crm.core.product"/>
        <property name="eclipse.consoleLog" value="true"/>
      <property name="sessionId" value="<%=session.getId()%>"/>
        <property name="osgi.nl" value="<%= session.getAttribute("USER_LOCALE") %>"/>
     </resources>
     <application-desc main-class="org.eclipse.equinox.launcher.WebStartMain">
          <argument>-webservicehttp://duuool9077.:8082/CRM/services/CrmServerWS</argument>
           <argument>-jsessionid<%=session.getId()%></argument>
       </application-desc>
</jnlp>As you see I am passing my sessionId as an argument back into my application. The funny thing is, that I keep getting back my initial sessionId (the one I got when I first downloaded the application). The sessionId persists even a server restart.
In other words: when I look into my debug statements on the server I see an incoming request with sessionId 0815. This request runs through the filter chain. The user is authenticated. After authentication the sessionId (0815) is put into the jnlp file by creating it using a jsp. Unfortunately I always get a different sessionId into my Webstart application which is for example 4711. I found out that 4711 is exactly the sessionId that I retrieved when I first started/downloaded the application.
Could someone explain me what I am doing wrong here? How I can get rid of the sessionId caching?
Thx in advance
Thorsten

Yes, thanks
I had an error in the code before hand that I fixed and it was picking up the old jnlp.
In
Control Panel - java - general - Temporary Internet Files - click view and delet old jnlp files

Similar Messages

  • Passing arguements to webstart app using jnlp arguement tag

    Hi,
    I have in jnlp file
    </resources>
        <application-desc main-class="com.Frame">
            <argument>x</argument>
            <argument>y</argument>
        </application-desc>then in application I have
    public static void main(String args[]){
            String x = args[0];
            String y = args[1];The value of x gets passed but the value of y is null
    Anyone have any ideas of the problem ?
    Thanks

    Yes, thanks
    I had an error in the code before hand that I fixed and it was picking up the old jnlp.
    In
    Control Panel - java - general - Temporary Internet Files - click view and delet old jnlp files

  • Webstart app does not launch with 6u2

    Anyone has problem with launching a webstart app with 6u2?
    Message was edited by:
    roger@_@

    Hi,
    yes, I have the following problem that when I launch a JWS application, either from the browser, or command line, or by 2-clicking on the JNLP file, nothing happens. The javaws process has been created but nothing happens...
    It was working perfectly well with 6u1, but yesterday I installed 6u2 and I have now this problem... I have cleared the cache but to no avail.
    That is really blocking when you are developing JWS applications !
    Regards,
    Damien.

  • App-cache problems

    App-cache - I am unable to get app-cache working on my iPad 4 on iOS7 , worked fine in iOS 6 all iPads and iPhones and also working fine in iOS7 on iPad3, iPhone 5  as well as android devices - Galaxy S3 etc. and all desktop browsers. (it is multiplatform and works on Android, Mac, Win etc. )
    It is not a cache size limit - cache was 11.2mB (1226 files) but on test reduced it to 12k and 3 files - same problem.
    Even reducing the manifest file to 3 lines and stripping the HTML 5 files to basics still gives an error message - unable to load .....
    I have had this working for over 6 months without issue and now I am stumped - I have verified settings against an iPad 3 and all are identical. Both on iOS 7.0.2
    Help Please - it even fails with this manifest.appcache file  (but works on all other devices as above and using the same server):-
    CACHE MANIFEST
    CACHE:
    index.html
    This does not appear to be a Safari issue - it also fails on Chrome and Puffin, nor an iOS issue - it works on all other iOS devices. It is seems either specific to iPad 4 or my iPad4 - I have stripped it out and reset it to no avail.

    I had the same problem; worked around it by abandoning the manifest file and copying and pasting the content of all of my javascript files within a script tag at the top of index.html. Yes that's a horrible solution, but with all of my code in a single index.html file my offline app works again. I still get a message telling me to turn off airplane mode when I load my offline app, but it works fine after that.

  • Touchscreen TV app slows down - caching problem?

    We have created an interactive Touchscreen using flash CS4 - http://www.cadstudio.co.nz/client_hlc/home.swf
    The Touchscreen is already in the showroom.
    Every morning it is restarted.
    By midday the whole application slows down to the point were it becomes very slow.
    I presume this is a caching problem.
    In order to resolve this we close down IE and restart it (playing the SWF file through Internet Explore on full screen mode).
    Once it has restarted it plays at the correct speed.
    Does any one know of a solution to this problem?
    I have thought about setting up windows 7 to reboot IE and have the flash file restart every few hours however a client may be navigating through the
    display when it reboots it self. I would prefer to avoid this if possible.
    Thanks.

    The Touchscreen TV is offsite however i will try and monitor it with that application you sent through.
    I have just read that using event listeners may cause the problem.

  • Caching problem of servlet

    Hi guys
    We are facing this problem of caching within our project. The project aims to generate a html code to pick up some rich media ads details at random and displaying on the html file where the generated code is expected to be pasted. We developed two servlets, one which extracts the ads from the database randomly and then depanding on the ad type it calls the other servlet as src of an iframe, which in turn puts all code for displaying the rich media ads. The script which we are generating for the user to paste onto their pages is:
    <script LANGUAGE="JAVASCRIPT" src="http://192.168.1.6:8080/advert_java/servlet/GetAdServlet?region=1&zone=1&type=nossi&cachevar=yes">
    </script>First servlet (GetAdServlet) returns the javascript statements and thus is called using this generated code. Now cotents of the iframe are supplied by the second servlet ie richMediaServlet. This servlet is called like
    iframeURL = fullHttpDir+"/servlet/RichMediaServlet?";
    iframeURL += "bannerCode="+ RNBanner (BannerCode to be called);
    out.println("document.write(\"<iframe  src='"  + iframeURL +  "' height=" + hheight +" width="+ wwidth + " SCROLLING=no FRAMEBORDER=0 MARGINWIDTH=2 MARGINHEIGHT=2 onfocus='window.focus(); return iframeFocus()'>\");");
    out.println("document.write(\"</iframe>\");");This richmediaServlet returns HTML into <iframe>. when richmediaservlet is called, a parameter 'bannerCode' is passed. then richmediaServlet fatches the banner from the database and displays the banner into the <iframe>.
    Now the problem comes when we run the html file containing the script tag mentioned above, and refresh our page, ideally it should pick the ads randomly and pass it on to RichMediaServlet.
    I also try debugging both servlets. I called the getadservlet from javascript mentioned above and put debugging info in both the servlets, now for every refresh we do on the html side, we are getting a different random bannercode in adservlet but in richmedia when we print the bannercode received in querystring it is taking an older value which was displayed some time back and keeps on doing this for quiet a long time, making it look like some caching problem of RichMediaServlet.
    Instead when we tried to put the same html <script> code into another servlet's doGet, everything seems to be working fine.
    i have also used the following code to prevent the caching on both the setvlets
    long currentTime = System.currentTimeMillis();
    response.setHeader("Cache-Control", "no-cache, must-revalidate");
    response.setHeader("Pragma", "no-cache");
    response.setDateHeader("Last-modified", currentTime);
    response.setHeader("Expires", "Sat, 6 May 1995 12:00:00 GMT");     and following in the iframe's head tag before the iframe tag in the getAdServlet.
    out.println("document.write('<head>');");
    out.println("document.write('<meta http-equiv=\"Cache-Control\" content=\"no-cache,must-revalidate\">');");
    out.println("document.write('<meta http-equiv=\"Pragma\" content=\"no-cache\">');");
    out.println("document.write('<meta http-equiv=\"Last-modified\" content=\""+ currentTime + "\">');");
    out.println("document.write('<meta http-equiv=\"expires\" content=\"Sat, 6 May 1995 12:00:00 GMT\">');");
    out.println("document.write('</head>');");I request you all geeks to try and help me to your best. The project is at its final stages and in high urgency now.

    i think the caching is being in the browser, with the iframe.
    You should try passing a random param to the servlet in the iframe URL, something like:
    var a = Math.random() * 10000000; //for example
    out.println("document.write(\"<iframe  src='"  + iframeURL +"&rand="+a+"' height=" + hheight +" width="+ wwidth + " SCROLLING=no FRAMEBORDER=0 MARGINWIDTH=2 MARGINHEIGHT=2 onfocus='window.focus(); return iframeFocus()'>\");");
    out.println("document.write(\"</iframe>\");");
    ...It should force the browser to ask for the servlet again
    hope this helps...

  • How to pass parameter in webstart/browser mode

    Hello -
    I'm trying to understand how to pass a parameter to my FX2 application with in browser mode or webstart mode.
    So I imported ColorfulCircles project from the Ensemble into Netbeans. Then I modified the code and put in a small snippet to pull a parameter after init method, like so. I just get the parameter and set it as title for the stage.
    @Override public void start(Stage primaryStage) throws Exception {
    init(primaryStage);
    Parameters params = getParameters();
    String myTitle = params.getNamed().get("myTitle");
    primaryStage.setTitle(myTitle);
    primaryStage.show();
    play();
    I then did a clean and build in netbeans...all html, jar, jnlp etc was generated.
    I then manually modified the HTML as shown below. But the title for the stage doesnt update/show, for either modes.
    What is missing here?
    +<html><head>+
    +<SCRIPT src="./web-files/dtjava.js"></SCRIPT>+
    +<script>+
    +function launchApplication(jnlpfile) {+
    +dtjava.launch(            {+
    url : 'ColorfulCircles.jnlp',
    jnlp_content : 'PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjxqbmxwIHNwZWM9IjEuMCIgeG1sbnM6amZ4PSJodHRwOi8vamF2YWZ4LmNvbSIgaHJlZj0iQ29sb3JmdWxDaXJjbGVzLmpubHAiPg0KICA8aW5mb3JtYXRpb24DQogICAgPHRpdGxlPkNvbG9yZnVsQ2lyY2xlczwvdGl0bGU+DQogICAgPHZlbmRvcj5kZW1vPC92ZW5kb3I+DQogICAgPGRlc2NyaXB0aW9uPlNhbXBsZSBKYXZhRlggMi4wIGFwcGxpY2F0aW9uLjwvZGVzY3JpcHRpb24+DQogICAgPG9mZmxpbmUtYWxsb3dlZC8+DQogIDwvaW5mb3JtYXRpb24+DQogIDxyZXNvdXJjZXM+DQogICAgPGpmeDpqYXZhZngtcnVudGltZSB2ZXJzaW9uPSIyLjArIiBocmVmPSJodHRwOi8vamF2YWRsLnN1bi5jb20vd2ViYXBwcy9kb3dubG9hZC9HZXRGaWxlL2phdmFmeC1sYXRlc3Qvd2luZG93cy1pNTg2L2phdmFmeDIuam5scCIvPg0KICA8L3Jlc291cmNlcz4NCiAgPHJlc291cmNlcz4NCiAgICA8ajJzZSB2ZXJzaW9uPSIxLjYrIiBocmVmPSJodHRwOi8vamF2YS5zdW4uY29tL3Byb2R1Y3RzL2F1dG9kbC9qMnNlIi8+DQogICAgPGphciBocmVmPSJDb2xvcmZ1bENpcmNsZXMuamFyIiBzaXplPSIxNzg3NSIgZG93bmxvYWQ9ImVhZ2VyIiAvPg0KICA8L3Jlc291cmNlcz4NCiAgPGFwcGxldC1kZXNjICB3aWR0aD0iODAwIiBoZWlnaHQ9IjYwMCIgbWFpbi1jbGFzcz0iY29tLmphdmFmeC5tYWluLk5vSmF2YUZYRmFsbGJhY2siICBuYW1lPSJDb2xvcmZ1bENpcmNsZXMiID4NCiAgICA8cGFyYW0gbmFtZT0icmVxdWlyZWRGWFZlcnNpb24iIHZhbHVlPSIyLjArIi8+DQogIDwvYXBwbGV0Pg0KICA8amZ4OmphdmFmeC1kZXNjICB3aWR0aD0iODAwIiBoZWlnaHQ9IjYwMCIgbWFpbi1jbGFzcz0iQ29sb3JmdWxDaXJjbGVzU2FtcGxlIiAgbmFtZT0iQ29sb3JmdWxDaXJjbGVzIiAvPg0KICA8dXBkYXRlIGNoZWNrPSJiYWNrZ3JvdW5kIi8+DQo8L2pubHA+DQo='+
    +,+
    +params: {myTitle: "MyColorfulCircles"}+
    +},+
    +{+
    javafx : '2.0'+
    +},+
    +{}+
    +);+
    return false;
    +}+
    +</script>+
    +<script>+
    +function javafxEmbed() {+
    dtjava.embed(
    +{+
    url : 'ColorfulCircles.jnlp',
    placeholder : 'javafx-app-placeholder',
    width : 800,
    height : 600,
    jnlp_content : 'PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjxqbmxwIHNwZWM9IjEuMCIgeG1sbnM6amZ4PSJodHRwOi8vamF2YWZ4LmNvbSIgaHJlZj0iQ29sb3JmdWxDaXJjbGVzLmpubHAiPg0KICA8aW5mb3JtYXRpb24DQogICAgPHRpdGxlPkNvbG9yZnVsQ2lyY2xlczwvdGl0bGU+DQogICAgPHZlbmRvcj5kZW1vPC92ZW5kb3I+DQogICAgPGRlc2NyaXB0aW9uPlNhbXBsZSBKYXZhRlggMi4wIGFwcGxpY2F0aW9uLjwvZGVzY3JpcHRpb24+DQogICAgPG9mZmxpbmUtYWxsb3dlZC8+DQogIDwvaW5mb3JtYXRpb24+DQogIDxyZXNvdXJjZXM+DQogICAgPGpmeDpqYXZhZngtcnVudGltZSB2ZXJzaW9uPSIyLjArIiBocmVmPSJodHRwOi8vamF2YWRsLnN1bi5jb20vd2ViYXBwcy9kb3dubG9hZC9HZXRGaWxlL2phdmFmeC1sYXRlc3Qvd2luZG93cy1pNTg2L2phdmFmeDIuam5scCIvPg0KICA8L3Jlc291cmNlcz4NCiAgPHJlc291cmNlcz4NCiAgICA8ajJzZSB2ZXJzaW9uPSIxLjYrIiBocmVmPSJodHRwOi8vamF2YS5zdW4uY29tL3Byb2R1Y3RzL2F1dG9kbC9qMnNlIi8+DQogICAgPGphciBocmVmPSJDb2xvcmZ1bENpcmNsZXMuamFyIiBzaXplPSIxNzg3NSIgZG93bmxvYWQ9ImVhZ2VyIiAvPg0KICA8L3Jlc291cmNlcz4NCiAgPGFwcGxldC1kZXNjICB3aWR0aD0iODAwIiBoZWlnaHQ9IjYwMCIgbWFpbi1jbGFzcz0iY29tLmphdmFmeC5tYWluLk5vSmF2YUZYRmFsbGJhY2siICBuYW1lPSJDb2xvcmZ1bENpcmNsZXMiID4NCiAgICA8cGFyYW0gbmFtZT0icmVxdWlyZWRGWFZlcnNpb24iIHZhbHVlPSIyLjArIi8+DQogIDwvYXBwbGV0Pg0KICA8amZ4OmphdmFmeC1kZXNjICB3aWR0aD0iODAwIiBoZWlnaHQ9IjYwMCIgbWFpbi1jbGFzcz0iQ29sb3JmdWxDaXJjbGVzU2FtcGxlIiAgbmFtZT0iQ29sb3JmdWxDaXJjbGVzIiAvPg0KICA8dXBkYXRlIGNoZWNrPSJiYWNrZ3JvdW5kIi8+DQo8L2pubHA+DQo='+
    +,+
    +params: {myTitle: "MyColorfulCircles"}+
    +},+
    +{+
    javafx : '2.0'+
    +},+
    +{}+
    +);+
    +}+
    +<!-- Embed FX application into web page once page is loaded -->+
    dtjava.addOnloadCallback(javafxEmbed);
    +</script>+
    +</head><body>+
    +<h2>Test page for <b>ColorfulCircles</b></h2>+
    +<b>Webstart:</b> click to launch this app as webstart<br><hr><br>+
    +<!-- Applet will be inserted here -->+
    +<div id='javafx-app-placeholder'></div>+
    +</body></html>+

    Thank you Igor.
    "Released version of JavaFX do not provide support for this scenario."
    --> So current release wont support for both webstart and embedded?
    "Note that doc you are referring to only mention it for embedded applications."
    -->But the code I've shown, doesnt work for embedded app either. That html I pasted, has both embedded and webstart - doesnt work for both.
    "This is improved in JavaFX 2.2 though. "
    -->So does that mean, if I try 2.2, it'll still only work for embedded? Or will it work for both webstart and embedded?
    If only for embedded..then in that case, what's the best way to dynamically pass a parameter (named or unnamed) to a WebStart app?
    Thanks.
    A

  • Qaaws not refreshing query triggered from Xcelsius, maybe a cache problem

    Hi,
    I'm having a problem with QAAWS and Xcelsius
    I'm using a List Builder component to select multiple values in this case STATES from the efashion universe
    I use the selected states as values to feed a prompt in a QAAWS query, the qwaas query has  the SALES REVENUE as the resultset and in the conditions it has a multi prompt for STATES
    When I preview my dashboard, I select the States, then UPDATE the values and then refresh the query with a CONNECTION REFRESH button, The first time I do this it works fine and returns the Sales revenue.
    If I add a new State to my selection and then run update and run run again the query with the refresh button, it doesn't work any more and it shows again the value retrieved from the first query
    First I thought that the query wasn't triggered by Xcelsius, but by doing some more tests I found that actually the query runs but it returns the value from the first query
    I think this is a cache problem , so is there a way to tell QAAWS to always run the query and not use the cache?
    thanks,
    Alejandro

    Hello Alejandro,
    QaaWS indeed uses a cache mechanism to speed up some Xcelsius interactions (from XI 3.0 onwards), but your issue should not be induced by this, as cache sessions are discriminated according to session user id & prompt values, so if you are correctly passing prompt values, QaaWS should not serve you with the previous values by error.
    Could you specify how you are passing several prompt values to the QaaWS? There might be an issue there, so make sure that:
    1. QaaWS query prompt is set using In List operator, otherwise only first value will actually be taken into account,
    2. In Xcelsius Designer Data Manager, web service input paremeters are duplicated to accept several input values (you cannot submit you list of prompt values as a list to a single input parameter).
    If this still does not work, I'd suggest you debug your dashboard runtime using an HTTP sniffer like Fiddler (available from http://www.fiddler2.com/) which enable you to inspect the sent & recieved HTTP messages with the server, where you should verify which prompt values are sent to the QaaWS servlet.
    FYI, you can set the QaaWS cache lifetime for each query, by going into QaaWS edition first wizard screen, click Advanced... button and change value for timeout parameter (default is 60 seconds)
    Hope that helps,
    David.

  • WebStart App for creating WebStart apps :-)

    Hello programmers around,
    A little tool allowing Jar creation, code signing
    and some other features is avaiable as WebStart
    app at
    http://62.65.146.182/java/JarCreator.jnlp
    (source code is in the Jar, you can extract it,
    just locate the jar in the cache of WebStart)

    Looks nice.
    One note:
    You should prevent to let drive letters to sneak into URLs:
    <?xml version="1.0" encoding="utf-8"?>
    <!-- JNLP File Created with JarCreator 0.9, 5 oct 2001, [email protected]  -->
    <jnlp spec="1.0+"
    codebase="http://150.205.100.31/applications"
    href="c:/myJar.jnlp">
    <information>
      <title>Application 1.0</title>
      <vendor></vendor>
      <homepage href="index.html"/>
      <description>A good application</description>
      <description kind="short">A waouuuuh good application</description>
      <icon href="pics/JarCreator.gif"/>
      <offline-allowed/>
    </information>
    <security>
      <all-permissions/>
    </security>
    <resources>
      <j2se version="1.3"/>
        <jar href="c:/myJar.jar"/>
    </resources>
    <application-desc main-class="d:/main"/>[/b]
    </jnlp>

  • Problem passing arguments with air.swf

    I'm attempting to launch my AIR application using
    launchApplication() in air.swf. I'm having problems passing
    arguments to my application due to what appears to be some
    restriction in allowed characters. To get around this, I've even
    tried URL encoding and Base-64 encoding my arguments to make them
    more friendly, but it's still failing:
    Error: Invalid argument: PG5vIGlkZW50aWZpZXI+
    at AIR$/escapeArguments()
    at AIR/launchApplication()
    at
    adlm_launcher/onDownloadClick()[E:\adlm\launcher\src\adlm_launcher.mxml:181]
    It seems that any kind of punctuation is not allowed in
    arguments. URL encoding them doesn't work either because the % is
    rejected. Is there any other way around this?

    Yes; it's a security restriction. Browser invocation require
    process creation, and many process creation APIs giving special
    meanings to certain characters. Letting those characters through
    has in the past been a source of security vulnerabilities. While we
    also try to avoid using APIs with this behavior, extra layers of
    defense are also good.
    I think + and / may actually be safe choices; you make a good
    point that they're useful for Base64. If you could submit a feature
    request at www.adobe.com/go/wish, we'll definitely consider it.
    Another option, btw, is to use the LocalConnection API to
    pass data between the web page and your application once your app
    is launched. LocalConnection has fewer restrictions on the data
    passed.

  • Access denied reading "http.proxyHost" withing webstart app

    Hi,
    some of our users have issues using our webstart app when they have a proxy server. So we want to set the proxy setting manually.
    First of all, I try to read out the proxyHost with the following command:
    System.getProperty("http.proxyHost");
    Running the app in webstart (unsigned), I get this error message:
    "access denied (java.util.PropertyPermission http.proxyHost read)"
    What do I do incorrectly? Is that a general problem with unsigned webstart apps that I do not get access to this information?
    Thanks in advance.
    Sebastian

    We finally decided to use a signed application since this proxy issue is hardly to be solved without the possibility to read system properties.
    Now I want to read out the proxy setting via
    System.out.println(System.getProperty("proxySet"));
    System.out.println(System.getProperty("proxyHost"));
    System.out.println(System.getProperty("proxyPort"));
    The problem is that I only get "null" for all of these properties. How can that happen? Someone else told me that the System-Property proxySet, proxyHost, proxyPort do not exist at all.
    Thanks in advance.
    Sebastian

  • Possible to associate file extension with webstarted app?

    A common property of microsoft apps is to associate file extensions with specifiec apps.
    For example, when you double click on a .xl file, Excel is launched.
    Can the same kind of thing be done for Webstarted apps? If so how?

    I have an idea on how to do this, but I have not tried it.
    1. On first launch, the application does an "install" before starting the main screen.
    2. The install checks the OS, and writes a .sh or .bat file to disk. That batch file runs the command-line to start the application. Hmm, but how does it pass along $*?
    3. The install associates the proper file extension with the .bat file, and/or with the unix file manager software, and/or with IE, Netscape, and Mozilla.
    Then, when a user clicks on a link to a document, or a file in the windows explorer, then the JWS application should lanch and load the file(s).

  • WebStart app doesn't run after JRE auto-update

    Our JNLP-deployed app doesn't start if the JRE is auto-updated as part of the WebStart download. The JRE update completes successfully but the app doesn't start and the desktop shortcuts created by WebStart don't work (the path to the webstart app in the shortcuts appears to be invalid). The user has to go back to the webpage and click the link to the app's JNLP file again, then the shortcuts will have the correct path and the app will start.
    Currently, our app requires JRE 1.5.0, so typically the update is going from 1.4.2 to 1.5.0. As a test, I tried starting with 1.5.0 installed and having the app require 1.6.0 and everything works perfectly, the JRE gets auto-updated, desktop shortcuts are valid and our app starts immediately afterwards.
    This problem occurs whether the new JRE is auto-updated directly from Sun or from our own server (we're using the JREInstaller from the 1.5.0 JDK samples).
    Any idea what the problem is and how to correct it?

    Currently, our app requires JRE 1.5.0, so typically the update
    is going from 1.4.2 to 1.5.0. As a test, I tried starting with 1.5.0
    installed and having the app require 1.6.0 and everything works
    perfectly,..
    Any idea what the problem is ..No.
    .. and how to correct it? Does it work when the user upgrades direcly from
    1.4.2 to 1.6? If so, you might specify 1.6 is the
    minimum requirement. This is obviously not an
    ideal solution, but may get your users out of a bind,
    and they are probably better off using 1.6, in any case.

  • OD Master and MCXD Cache Problem

    Hi,
    has someone an idea how to solve a mcxd Cache Problem?
    Always when I sate up the OD Master after a new installation of Mac OSX 10.4.11 Server, I get the mcxd problem after the reboot. After the reboot I have always this massage, see system.log in our system.
    SYSTEM.LOG
    Mar 5 21:45:23 mainserver /System/Library/CoreServices/mcxd.app/Contents/MacOS/mcxd: DSGetLocallyHostedNodeNames(): dsFindDirNode() == -14008
    Mar 5 21:45:23 mainserver /System/Library/CoreServices/mcxd.app/Contents/MacOS/mcxd: DSGetSearchPath(): DSGetLocallyHostedNodeNames() == -14956
    Mar 5 21:45:23 mainserver /System/Library/CoreServices/mcxd.app/Contents/MacOS/mcxd: DSGetCurrentConfigInfo(): DSGetSearchPath() == -14956
    Mar 5 21:45:23 mainserver /System/Library/CoreServices/mcxd.app/Contents/MacOS/mcxd: DSGetCacheInfo(): DSGetCurrentConfigInfo() == -14956
    Mar 5 21:45:23 mainserver /System/Library/CoreServices/mcxd.app/Contents/MacOS/mcxd: * MCXD.getComputerInfo: Couldn't get cache info -14956
    How can I solve this problem?
    This problem makes my crazy since 3 weeks.
    And is this problem known under Mac OSX Server 10.5?
    To our server system:
    One XServer G5 is the DNS Server and
    A second XServer G5 is the OD Master.
    Thanks for your help!

    Hi
    +"Is the replica truly read only?"+
    It should be. However I've come across a similar situation. At a site I support the local admin was creating users and editing passwords on the Replica rather than the Master. He kept getting the usual "dsDirectoryetc" errors but he persisted and eventually got the settings to 'take'. Querying the databases on both Master and Replica produced similar results to yours. It was difficult then to go back to the Master and 'redo' properly what he'd done as he'd not kept track of the changes he made. To 'fix' I simply demoted/repromoted the Replica which worked for me. Although time will tell if it turns out to be a permanent fix?
    Tony

  • Starting webstart app at os startup

    I have a webstart app.
    I would like to start it automatically when Windows starts.
    Any one have a good method for doing this?
    Ideally I would like to programatically generate a short cut to the jar that webstart puts in its cache. (this is the method webstart uses when
    it generates a short cut for you to the app)
    This short cut could then be placed into the users "Start Up" folder.

    By default if you run an application 2 times it will prompt you to create a shortcut on the desktop/start menu.. You could then easily move that icon to the startup folder and attain your goal. As far as programatically making this happen, you have moved beyond my knowledge of webstart :)

Maybe you are looking for

  • Creating View Objects for complex query

    Hi All, I am trying to create a VO for inner query, but i am not able understand what type of bind variable to select. PFB the scenario: I have 2 tables, say orders, products I am supposed to execute the following query: Select * from Orders o, Produ

  • Indesign and Ripping ?

    I'm fairly sure you cannot do this but i was wondering if you could use indesign to rip files for plates?  Right now we are using Indesign saving the PDF then going to Preps (From kodak) making our template and then double checking the templates in F

  • How to use Querry Rn lov

    I am creating a simple search page .When i am creatingtaht page i am using lov in querry RN,but when get the result in the result RN(ie> searech results)i am getting the column as lov even i set its property to message text styletext also please any

  • Lenovo T420 fan not working

    I've had my T420 (4177-CTO) for around 2 months, and the fan has already stopped working. Yesterday, the fan was continuosly running all day even when it was sitting idly. Today, the fan won't run at all, and my CPU temperature is going up to ~80C  (

  • Case within case in join

    I am trying to set up a join where what fields are matched depend on the value of another field but cannot seem to get the syntax right. I have only posted part of the query as it is quite long and the rest has no relevance to the join. The error is