Hi All,
In my application everytime JWS is first check for the latest version present or not.
It is taking lot of time to verify the latest version.
Can we control the same either with jnlp or any other flag is there where we can put whether new version is there is or not.
I have go throungh the link that you have provided to me. In that I have found few things that fulfill my problem. I applied them but still not get any result that my users want.
It still asking every time" checking for latest version....".. And many time system hang out and nothing happen then.
Can there is any solution for the problem.
Means to check for the updates in the jar files if having then download them in background. And don't prompt user everytime to chek for the version on the screen.
1) Clear your application cache. On windows settings->control panel->java->Temporary Internet Files->Settings->Delete Files
2) Clear your browser cache.
3) Try launching the application.
You can use the Java console to see if you got any exceptions.
Post the stack trace here so we can try and help you.
Actually I have clear all the cache anf\d temp file. But still I takes lot of time.
Also I have checked for the exception too.
But there is no such type of exception there.
Also on the same time I ma moving in the following direction
I have two way out.
1. While launching the JWS from the javascript it will set a variable which will tell the JWS not to check for the updates in front of the users and check it in background.
2. Set a variable in jnlp file which will chek for the update in the background and download automatically if present and not pompt user for the same.
Please suggest me if there is any other way and also if there is any solution regarding the above two way.
What's your goal here? Do you want the background check to come back after 2 minutes, when the user has already started using the old version, and tell them to get off so the new version can be started? Seems to me you have identified a problem (it takes a long time to find whether there's a new version) and instead of finding out why the problem exists or trying to solve it directly, you're trying to implement a workaround without considering its implications.
I have to find out the solution of the problem.
But still of the same stop and not finding how to make it faster or can we check the version. Means is it possible to handle a flag which contains the version of the updated jar files which JWS download if it finds. And then firstly we will check the version of the flag and find if there is any change in the version of the files then download them from the server.
If is there a way to do this. Then please let me know the way.
Is there a solution regarding the same. As I am really stuck with the same problem.
Also one more thing some time what happen my JWS will show "Java Loading..." and after some time it become disappear and then nothing happen with the JWS and then I have to reopen the same by click on the same button again and this is also happening to me for a lot of time.