Link to home
Start Free TrialLog in
Avatar of james henderson
james hendersonFlag for United States of America

asked on

run java applet on windows server 2008 r2

I have real problem.  I have an old java web application that was written with java 1.3.1.  It is running on a windows 2003 server.  There is an applet that was also written in java 1.3.1, but when it's delivered to the 2008 box, it causes IE to crash (in this case, the 2008 box is acting as a client for this application).

Now the really bad news ... I cannot upgrade the java version.  For many reasons it needs to remain right where it is (1.3.1).  Is there anything I can do to support this applet on the windows 2008 r2 server box?
Avatar of Mick Barry
Mick Barry
Flag of Australia image

you need to find out what is causing IE to crash and fix it. You should still be able to build it with 1.3
Avatar of james henderson

ASKER

I'm running IE8, which is what's crashing.  I have installed the jdk on the 2008 box.  Do I need something else?
jdk should be all you need but it could be a hard one to track down depending on the complexity of the applet
How does it crash? Keep in mind that the applet will need to know to use this older version of Java and not a newer one...

the browser stops with the message that is has a problem, somewhat cryptic, and offers to go out to the web to try and find the solution.  It says that the error type is BEX (?) and that it was the java module that caused the error.  

I've started the java console but it doesn't even react to anything the browser is doing!  Normally I see a lot of messages in the console.

I know that to host java applications that I have to install the windows java engine, since MS no longer supplies it, but since this server is simply acting as a client do I still need to do that?
Have you installed a JRE and enabled it for IE8?

There are a few steps here you can go thru to check
http://helpdesk.objects.com.au/java/applet-failed-to-load
>that is has a problem, somewhat cryptic,

Can you post the cryptic part?

Make sure you really use 1.3 first though.

Here is the error that IE8 reports: Interesting that it shows 0.0.0.0 for the jvm version.  Is this supposed to be the MS jvm?

Problem signature:
  Problem Event Name:      BEX
  Application Name:      iexplore.exe
  Application Version:      8.0.7600.16385
  Application Timestamp:      4a5bc69e
  Fault Module Name:      jvm.dll
  Fault Module Version:      0.0.0.0
  Fault Module Timestamp:      3f2ee1ab
  Exception Offset:      000b9d78
  Exception Code:      c0000005
  Exception Data:      00000008
  OS Version:      6.1.7600.2.0.0.18.10
  Locale ID:      1033
  Additional Information 1:      0a9e
  Additional Information 2:      0a9e372d3b4ad19135b953a78882e789
  Additional Information 3:      0a9e
  Additional Information 4:      0a9e372d3b4ad19135b953a78882e789

It is possible and that would be a problem basically. But it does not come with IE8 anyway... See if that applies:
http://www.techtalkz.com/internet-explorer/512280-how-get-rid-msvm.html

And again - had you verified that IE8 knows to use the Java 1.3 for applets?
>  Is this supposed to be the MS jvm?

no, MS does not make a vm

Did you do the checks I suggested in the link above?
ASKER CERTIFIED SOLUTION
Avatar of Venabili
Venabili
Flag of Bulgaria image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
yes.  since this is server 2008 r2, I know that there is no ms jvm installed but didn't know if I should install it or not.  I installed the 1.4.2 jdk and tested with the java test page, and it worked fine.  I uninstalled that and re-installed the 1.3.1 jdk and the browser fails with the error report I posted above.  

This one's a b*&(h!  Not sure what the next move is.  I noticed that the 2008 box wants to install to the program files (x86) folder ... could this be a problem with trying to run on a 64-bit platform?
btw, yes, the jvm is pointed to use the IE8 browser and the security setting is enabled for scripting java applets.  this is also on an intranet, so no worries about unsafe web sites except for our develpment boxes :)
>  I installed the 1.4.2 jdk and tested with the java test page, and it worked fine.

did you're applet run ok?

> I uninstalled that and re-installed the 1.3.1 jdk and the browser fails with the error report I posted above.  

running the test applet or your applet?
>did you're applet run ok?
no.  my applet is geared to run with a specific java version, namely 1.3.1_09


>running the test applet or your applet?
running the java test appet from their test page.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I found the problem, but not an explanation from Sun/Oracle.  The problem is that 1.3 will not run at all on ie8 or on windows 2008.  The first version of java that will run on windows 2008 is 1.4.2.  So I guess I need to figure out a way to upgrade the application and applet to make the browser and target server happy.

Thanks to all for your help.
>The problem is that 1.3 will not run at all on ie8 or on windows 2008

Oh? OK... I think I have a box somewhere and will try to verify... Because if that is true, MS made a mess again. :)