Ignition Link does not work after upgrade

I have gone through several upgrades lately. -7.2.4-7.3b4-7.3-7.3.1

I noticed that each time the link that is placed by ignition on your desktop when it runs for the first time stops working. I can forsee this becoming a pain since every time I upgrade I will have to send out an email and walk people through the process of deleting the link, navigating to the webpage, scrolling down to click the right project launch button and so on and so forth.

While the gateway upgrade process is pretty painless, it would be awesome if upgrading the clients was just as painless.

To get around this I started placing a link to the gateway webpage on the desktop as well.

I was wondering if a ticket could be created so that the link placed by ignition will still work even if the version changes (perhaps through a version detection and redownload on mismatch mechanism?)

Ahh, the Java link right? You can disable the creation of that entirely and send out proper shortcuts that don’t have to be updated.

Dravik is right, that’s your best bet. The shourtcut is simple to create and should follow this formula: "{path to javaws.exe on client}" -localfile "{path to jnlp}" ie: "C:\Program Files\Java\jre6\bin\javaws.exe" -localfile "http://IP:PORT/main/system/launch/client/PROJECT_NAME.jnlp"
And here are the links for the various modes:Windowed JNLP: http://IP:PORT/main/system/launch/client/PROJECT_NAME.jnlp Full-Screen JNLP: http://IP:PORT/main/system/launchfs/client/PROJECT_NAME.jnlp Applet URL: http://IP:PORT/main/web/applet/client/PROJECT_NAME Designer: http://IP:PORT/main/system/launch/designer/designer.jnlp

To add to Robert, you can find the full listing of links if you go to the gateway configuration and ‘View’ the project.

ok so why not have ignition create those links rather than the java link on the desktop?

Seems logical rather than having to use a manually implemented link such as that described above.

This way the ignition would be super simple to update and deploy on new machines… no tricks of the trade needed :thumb_left:

I believe if you go into your gateway configuration>redundancy and then uncheck autodetect http address, and then type in your gateway’s ip address and ports in the box below, it will correct this issue. someone correct me if I am wrong.

I don’t think that setting will have any effect on the shortcuts that OP is asking about.

That setting allows you to manually enter the IP address or hostname to connect to the Ignition gateway. This is most often relevant if you have multiple network adapters or IP addresses or are doing tricky things with name resolution (DNS).

To the best of my understanding, the Ignition gateway dynamically generates the launch file (JNLP). It will always reside at those listed URLs. You can safely create Windows shortcuts, web hyperlinks, or whatever to point to those locations. The links will always work and you will always get an updated instance of your project. Java web start prompts you to put links on your desktop of Java Web Start launched projects that point to your local cache. These links work ok, but often break as you upgrade your gateway, update projects, or whatnot.

It’s safest to use the gateway directly, or links/shortcuts to the appropriate JNLP project. BTW Robert’s shortcut path will allow you to specify the JRE instance that you want to launch. It usually works fine to just do a shortcut to the URL.

Don’t get me wrong, I appreciate all the work arounds and technical details of the problem that have been described

This still doesn’t address what I originally asked for:

While the technique of creating a link on the desktop is nice. Its still going to be a pain to administer when I get to 20-30 users.

How do you envision it working for Ignition to create links?

I’m a little late to this party, but maybe I can get it back on track.

  1. The shortcuts that Java Web Start (JWS) creates automatically are different than a straight shortcut to the JNLP. We have no control over the shortcuts that JWS creates. In some ways, the JWS shortcuts are better b/c they’ll allow a client to launch in a redundant setup even if the master is down, which a straight JNLP link will not do.

  2. The shortcuts that JWS creates shouldn’t (and more importantly, don’t in my experience) break after an upgrade.

Given this, let’s start over following this idea: why are your shortcuts “breaking”? Can you describe in more detail the nature of the failure?

Thanks Carl,

I’m not sure why the shortcuts are failing. As I mentioned originally, we went through a series of upgrades, and the ignition launch links that are placed on the desktop automatically after running a client for the first time ceased to work.

@nathan: the way I envisaged it working was for ignition to deploy one of the html shortcuts as described by the previous posters. Either that or some sort of re-download-on-version-change mechanism. It now seems that neither of these options appear possible

I wanted to post about this since I thought this might become an issue we would start fighting once we started increasing the number of clients on site.

I had the same issue btw Carl, The desktop shortcuts created by Java would break between upgrades of the host Ignition system.

Same problem here.
What i did as a workaround was to save the file onto the desktop rather then execute it.
By this i mean when you click on the Project link to launch it Firefox will ask you to save or run it.
Simply select save, and save the file to the desktop.
Instead of clicking on the Jave created shortcut we use the saved JNLP file.

Hope this helps.

As a note for the developers.
When the link brakes and one tries to use the short cut from the JWS the Loading window apears but it doesn’t contiune.

Regards
Sascha

Alright,

Try as we might, we can’t reproduce this issue. For those of you having this problem, please report: What OS, version of Java, and user permissions are you working with when this problem happens?

WinXp, 6-17, Power User

Win XP, Java 6 build 18, user privileges

Hey guys, I’ve tried upgrading from 7.2.8 to 7.3.2 in Java 6u17 and 6u24 and both work for me. What error are you getting? Can you take a screenshot?

I’m at 7.2.9 atm, once we get our Total Care renewed and I go to 7.3.x i’ll try to capture this error(if it happens again)

I just went from 7.2.9 to 7.3.2, The error is “Cannot Find Msg File” from the Java Webstart program.

just upgraded to 7.2.11 and doesnt look like I have had any problem yet.