Bad JWS installation

I have a problem and I am hoping someone out there can help me. JWS does not work. I know the reason for this (I manually hosed my JWS installation), but I don't know how to get it back. I am hoping someone here can help me resolve this.

I have the 1.4.2_08 of the JDK loaded and 1.5.0_06 of the JRE loaded. I have this now and I had this earlier (when JWS worked). Before, things worked as expected, but now when I access the URL, all I get is the "Java Loading..." image then nothing. I have uninstalled/re-installed the JRE twice and that doesn't help. I have deleted the deployment cache and that doesn't help. Oh yes, no JAR files get downloaded. I have turned tracing up to 5 and nothing. In the Java via Control Panel, if I try "View Applications..." I get no screen at all. If I try and delete files (via "Delete Files...") I get an error from JWS saying there was a problem calling execv for the javaw exe (however I know the exe is there).

I also tried un-installing both the JDK and JREs then re-installing them but that didn't work. Next I tried just un-installing the 1.5.0_06 JRE (and going with the 1.4.2_08 JRE from the JDK) but that didn't work either.

I am almost positive that JWS is not starting. I would be happy to do an un-install/re-install but what to un-install? I thought that un-installing the JRE would do it, but I guess not.

I am running XP on an Intranet and have a fairly new PC. Nothing has changed in my environment since JWS worked fine.

Any ideas?

Thanks in advance.

[1551 byte] By [michael999a] at [2007-10-3 5:05:58]
# 1
Hope this link helps http://forum.java.sun.com/thread.jspa?threadID=162245&messageID=484496
stevehaggaipersonala at 2007-7-14 23:11:54 > top of Java-index,Desktop,Deploying...
# 2

I read this post (thank you), and while it didn't solve my problem outright, it did bring something to light:

<in the other post...

>> The symptoms are always the same: the JWS splash

>> screen appears (small when starting an URL from the

>> navigator or as a javaws.exe parameter, large when

>> starting javaws.exe with no parameters),

>If you get to a splash screen, the association is correct, of course.

>

I looked in the Registry (HKEY_CLASSES_ROOT) and found that.jnlp is mapped to the right MIME (application/x-java-jnlp-file). It appears that the MIME is set up properly. Also, I can see that the file type JNLP is mapped to Java Web Start. So, things look OK. However, I still get the same result ("Java Loading" graphic for about 20 seconds then nothing). I don't know if it matters, but I can't get to the Application Manager. If I try and get into it, execute "javaws myjnlp.jnlp", execute "javaws myhttpjnlp" or execute "javaws", I get only the graphic.

When I try and run Java Web Start from the Start button, I get the Java Web Start graphic but nothing else.

It is like the native app that is javaws (I am pretty sure) doesn't properly call java or javaw after it does the graphics thing.

I am running Windows XP and using IE. I have two other people who have the same issue (but I am sure it wasn't caused by them hosing their JWS installation).

What other information does anyone require? I am at a brick wall with this and am hoping someone can help me.

michael999a at 2007-7-14 23:11:54 > top of Java-index,Desktop,Deploying...
# 3
Update:I hit the URL yesterday and things worked fine. I have no idea why. Another guy (who's Web Start didn't work) tried it yesterday and it still didn't work.Hmmm...
michael999a at 2007-7-14 23:11:54 > top of Java-index,Desktop,Deploying...
# 4
Does anyone have any suggestions for me to look at? I have put this application out to the users for acceptance testing and for about 25% of them the app doesn't work via JWS. I end up giving them a shortcut that points to a place on a network share. This is a short-term solution (I
michael999a at 2007-7-14 23:11:54 > top of Java-index,Desktop,Deploying...
# 5

The javaws process will show the "java loading" splash for at most 20 seconds after invoking java.

There are several things that may cause the java invocation to crash silently when using old versions of javaws, so the first suggesting is to upgrade to javaws from latest update release of 1.5.0 or later.

you can see more info by setting env variable "JAVAWS_TRACE_NATIVE=true" or in 6.0 just by running "javaws -verbose <jnlp-file>".

Also turning on trace output and looking at output file may help.

There are a lot of troubleshoting hints in the faq at:

http://java.sun.com/j2se/1.5.0/docs/guide/javaws/developersguide/troubleshooting.03.06.html

/Andy

dietz333a at 2007-7-14 23:11:54 > top of Java-index,Desktop,Deploying...
# 6
UPDATE:Thank you Dietz.I don't know exactly what causes the problem but we have found an approach that "kick starts" JWS. We delete the cache directory and JWS downloads the app fine. BTW - this worked for us on machines with 1.4.2_08 and 1.5.Larry
larrymma at 2007-7-14 23:11:54 > top of Java-index,Desktop,Deploying...