wood burning stoves 2.0*
The moose likes JNLP and Web Start and the fly likes WinXP, Acronis and Java Web Start issue Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JNLP and Web Start
Bookmark "WinXP, Acronis and Java Web Start issue" Watch "WinXP, Acronis and Java Web Start issue" New topic
Author

WinXP, Acronis and Java Web Start issue

Sergio Marcello
Ranch Hand

Joined: Jun 20, 2008
Posts: 36
Hi Ranchers !

We are experiencing a strange issue with a Java Web Start application, maybe someone of you could help us to find the solution ?

The scenario:

We have a Java Web Start application that ran flawless from within a Firefox browser; the operating system being Win XP, and java JRE 1.6 were installed.

We made also a backup of the pc, using Acronis 2011. So far, so good.

Las time we had an hardware issue, and we have to change the pc with another one. The hardware of the new pc differs a bit from the old one; but we could install all the operative system and data on the new pc using the Acronis backup, and that without problem - well, we had of course to install the right drivers for the 'new' hardware.

The problem arises as we run again the same Java Web Start application; in fact, it works no more, and java complains about a strange Class Cast exception:


So we have unistalled JRE, ran CrapCleaner, and re-installed java JRE - same error. We have also tried to install a newer java JRE, still no joy.

We suppose that the problem could be that the target pc has a different hardware from the source pc; still, apart of un-install and re-install the JRE, we don't know how to solve the issue.

Any suggestion would greatly appreciated.

Regards,
Sergio.


SCJP 6
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18541
    
    8

It sounds rather as if the JRE is handling fonts differently on the new machine than it was on the old machine. (This might come under the heading of "we had of course to install the right drivers for the 'new' hardware".) But that is just a wild guess.

Do you get the same problem if you run your code as a plain old Java application on the new machine, instead of via JNLP?
Sergio Marcello
Ranch Hand

Joined: Jun 20, 2008
Posts: 36
Hi Paul,
unfortunately we don't have the source code of the application, so we could not know if the same problem would arise with a plain old java application..

More ideas ?
Martin Vajsar
Sheriff

Joined: Aug 22, 2010
Posts: 3606
    
  60

Did you try to clear the Java cache using Java Control Panel? I suppose it was restored with other files using Acronis and maybe it lived through both the JRE reinstallation and the CrapCleaner. We sometimes experience errors that get solved by clearing the Java cache, though in a circumstances different from yours.
Sergio Marcello
Ranch Hand

Joined: Jun 20, 2008
Posts: 36
We have solved by changing the 'look an feel', from 'nimbus' to 'metal'.

There's a config file - something like 'portal.ini' - which can be changed, and affects the application.

Thanks all for the kind help,
Sergio.

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: WinXP, Acronis and Java Web Start issue
 
Similar Threads
Exception calling web service over SSL since upgrade to SP4
ClassCastException using Naming.lookup()
ClassCastExceptions using CXS process in iPlanet 6.0 SP3.
ClassCastException using Naming.lookup()
Eclipse 3.1, J2SE1.5, RCP app.., JWS