Server Management (Insight Manager 7)
1821590 Members
3346 Online
109633 Solutions
New Discussion юеВ

Disable the Java 1.3.1 download

 
Jeremy Saunders
Advisor

Disable the Java 1.3.1 download

Hi,

Is there anyway to disable the Java 1.3.1 download when browsing to the Insight Manager web page. I already have 1.4.2 deployed throughout the environment, but it doesn't seem to want to use it.

Cheers,
Jeremy.
23 REPLIES 23
Rob Buxton
Honored Contributor

Re: Disable the Java 1.3.1 download

IM 7 needs Java JRE 1.3.1, the different JRE's are not compatible.

You can run multiple JRE's on your Workstation, just ensure the "Use Java 2v..." box is NOT checked in your Advanced Settings on your Browser. This lets the application use the JRE is wants rather than the browser.
FWIW the new HPSIM uses JRE 1.4, but again you have to watch for incompatibilities between versions.
Jeremy Saunders
Advisor

Re: Disable the Java 1.3.1 download

The Sun Java releases are forward compatible, but not backward compatible. I know no other problems with any other apps, many of which now use Sun Java. Even those written for MS Java seem to work okay with Sun Java 1.4.2. I would say that HP/Compaq have not been clever enough in the development of Insight Manager to allow for this. Perhaps they've used proprietory commands that were only available in that release.

This is unpracticle in a Terminal Services environment, where the servers are locked down with Java 1.4.2 preinstalled. The Administrators cannot use Insight Manager from within their Terminal Services session.

There must be a way to disable this so that it can at least be tested with newer releases of Sun Java.

Jeremy.
Rob Buxton
Honored Contributor

Re: Disable the Java 1.3.1 download

There is a list of incompatibilities between 1.3 and 1.4. I don't have reference to the detail now but I have seen links posted. This means that applications wriiten to make use of some features in 1.3 will not work with 1.4.

IM 7 will NOT work with 1.4. You'll get various Java errors if you try.

David Claypool
Honored Contributor

Re: Disable the Java 1.3.1 download

Jeremy:

Unfortunately, "seems to be okay" just doesn't cut it when you have a product that is supported in environments outside of your own. It is not uncommon (in fact it is absolutely enforced) when dealing with a run-time to QA it against a specific version--including languages requiring run-times such as Visual Basic and Visual C++. In order to use the runtimes from Visual Studio .NET, massive and major changes are required for applications created prior to that.

Your charge of "proprietary" is a bit unfair. While it may be a bit of a hassle, it is our responsibility to provide a workable configuration that we know to be able to work 100% of the time, and support it. I suspect few if any of the "locked down" terminal services clients are actually going to be users of IM7.

We are not alone in this problem and have observed the same thing in products from many vendors, management software and others. We have been working to minimize and/or eliminate client-side Java as much as possible. A lot of Java applets used in Insight Manager XE were replaced by more portable DHTML when IM7 was created, and now Systems Insight Manager has moved to using JavaScript (which doesn't use the JRE) extensively and about the only Java applet are the table views--and we're trying to eliminate those in the future (there's a tradeoff in performance that we're trying to work around).

We hear your pain (in fact yesterday I was battling a problem myself related to Java) and we want to minimize or eliminate it. The cold hard fact is that despite your experience, in the great QA matrix in the sky, JRE versions are simply not interchangeable.
Jeremy Saunders
Advisor

Re: Disable the Java 1.3.1 download

Well I'd certainly like to try it and make up my own mind whether or not they are errors that we can work with.

So if you know there are errors then you've obviously disabled it before. Please share this information so that I can try it.

Thank you.
Jeremy.
Ernest Brant
New Member

Re: Disable the Java 1.3.1 download

Hello Jeremy

Did you get over your problem?
I have the same issue and boy is it anoying or what. I have JVM 1.4.2, any way HP insight keeps saying cannot find \bin\hotspot\jvm.dll and asks to install. I do this but the same thing comes up ever time. I remove all version of Java, went back to insight manager let it install the version it wanted but again it did not work and keeps coming up the the cannot find \bin\hotstot\jvm.dll I coped the bin and lib off of the root C: as the above seemed to be looking for the files from the root i.e. \bin. It then came up with th differnet error but still did not work. I cannot believe HP could so this i.e. not simply look to see if Java is installed with at least verion 3.x and if so use that.

I am in a circle now I keep excepting the installation of 1.3.1 but it keeps doing the same every time I try to use insight manager and this software is supposed to make your life eaiser!!!!

If you have a solution can you please email me on EBrant@Guildford.ac.uk copy to EBrant@NetworkComputers.co.uk

Thanks very much in advance

Rob Buxton
Honored Contributor

Re: Disable the Java 1.3.1 download

Ernest,
Did you read the thread?
You need 1.3 for IM 7.
You can run multiple JRE's that's the way it's designed.
Just ensure that the "Use Java 2v..." in unchecked in the Advanced Options of your browser (don't know where it is in Netscape). This allows the App to choose the JRE it needs rather than being dictated by the Browser.
If you must exist soley with 1.4 then you're going to have to move to the new HPSIM. But you'll probably hit the same problem when JRE 1.5 comes out!
Jeremy Saunders
Advisor

Re: Disable the Java 1.3.1 download

Ernest,

No...I didn't get any further. I can't understand why they don't give me the ability to disable it and just say this is not supported. They've written this big story above, which doesn't help to resolve my problem. If it works, then it gets around my problem as I can't afford to be running multiple versions of Java on the Terminal/Citrix servers.

Jeremy.
David Claypool
Honored Contributor

Re: Disable the Java 1.3.1 download

There is no user-settable option that will disable the enforcement of JRE 1.3.1_09 for IM7 SP2.3.
David_573
Advisor

Re: Disable the Java 1.3.1 download

That bad because in the server where i instal IM7 sp2.3 I screw up the jre because When i try to use the jre is say "Java Can't load Jvm.dll " I wish does have a new upgarde for IM or fix...
Rob Buxton
Honored Contributor

Re: Disable the Java 1.3.1 download

David,
No, the JRE is bad, it is not Backwards Compatible.
Also, you can have multiple JRE's loaded on your Workstation. I have 1.3 and 1.4 with no problem. I've had up to 4 at different times.

Read the thread, there are ways of running with multiple JRE's.
If you cannot deal with an Application requiring a specific JRE then you have bigger potential problems than just IM.
Jeremy Saunders
Advisor

Re: Disable the Java 1.3.1 download

Rob,

Sure it's okay to run multiple versions of JRE on a workstation, but not in a controlled and locked down Terminal Services environment where we have 40 users per server. ALL Java apps, including the ones written for MS Java, are working well on these servers with Sun JRE 1.4.2.

Jeremy.
Rob Buxton
Honored Contributor

Re: Disable the Java 1.3.1 download

Jeremy,
In your case the only option seems to be to go to HPSIM, which does use 1.4.

I saw your point, my reaction was more to the additional posters who didn't seem to be fully reading the thread.

We have a semi locked down environment, those that would use IM fall outside of that criteria. But I've had JRE issues with some none MS Software. It was resolved with the same option, multiple JRE's. Here it's not just been IM that's exposed JRE discrepancies.

Rob.
Jeremy Saunders
Advisor

Re: Disable the Java 1.3.1 download

So Rob what's it using to determine whether 1.3.1 is installed or not? Is it looking for a DLL, etc, or is it making a call to find the version of Java? Perhaps it's even checking the registry???

Thanks,
Jeremy.
Rob Buxton
Honored Contributor

Re: Disable the Java 1.3.1 download

Jeremy,
Sorry, no idea on that. I've never had to delve.
It may be a separate question you could pose on the HPSIM Forum. As this is the new developing product you may get an answer.

Rob.
Jeremy Saunders
Advisor

Re: Disable the Java 1.3.1 download

Rob,

From your replies I thought you were part of the IM development team. As you speak so passionately about the product and known issues with the JVM, I assumed that you were able to help me.

Jeremy.
Dave G_3
New Member

Re: Disable the Java 1.3.1 download

I've been fighting with this issue today. I'm running IM7SP2 and HPRPM 1.1 both of which have their own Java package (1.3/1.4 respectively), and try as I might, I can't get both to work.

The kicker being that when I first tried to install RPM on another machine, it gave me an error saying IM needs to be installed. So where does HP decide it's a good idea to make an incompatible product required?

Any advice would be appreciated (yes, I've unticked 'require java v2...', cleared JAR cache, etc).

Dave
David Claypool
Honored Contributor

Re: Disable the Java 1.3.1 download

Folks:

In watching this and other discussions and in sharing this information with the Insight Manager development community, I want all of you to know that we share your pain.

Seven years ago when Insight Manager was re-architected for a browser-based UI, there was something new and cool called Java that had just come out. Insight Manager XE, the first product in the series, elected to extensively use Java.

What that means is that not only was code being written in Java by us, but we were choosing components to license, like JDBC for the database and various JAR (Java ARchive) libraries that provide functions we'd rather not write from scratch.

Our experience back then was that Java was a little finicky, and rapid changes in the runtimes were causing incompatibility, particularly on the client side. Java runtimes weren't widely installed then, and so we tried to make it easy and provide a mechanism to supply the JRE to any browser that accessed IMXE without one. The incompatibility issues led us to also strictly enforcing the version that we had qualified the application with.

Insight Manager 7 represented a redesign of the UI and a lot of rewrites for speed and efficiency. A lot of the Java code was replaced with JavaScript and DHTML, but it still was there, causing headaches. When practical, we updated to an incremental version of the JRE to support. (e.g. IM7 SP2 used 1.3.1_02 and the last release, IM7 SP2.3 now uses 1.3.1_09...you have to wonder about the stability of anything that has 4 significant places in the version)

It's important to know what "practical" means. It's not good enough to try it out to see if it seems okay; a new version triggers the re-testing of the entire QA matrix, a very expensive and time consuming job. In some cases, it's worth it. In the change from _02 to _09, we had a reasonable expectation that things wouldn't be that much different. Updating to _09 however was important because of the security patches that Sun had made available.

Not only that, but in many cases, libraries that we have licensed from other vendors to use in our product have either not been updated to work with newer JREs, or in some cases, a newly rewritten JAR is required to work with a given JRE. That has the potential to have even more impact on the code we have written.

The story is now closed on IM7 and no more development work is being done on that product. The last and final release is IM7 SP2.3 and it "enforces" the use of the 1.3.1_09 Java runtime. No change to that practice is being contemplated and there is no user setting to disable it.

More recently, the introduction of HP Systems Insight Manager brings with it many lessons about what has gone before. Namely, the almost complete elimination of client-side Java code. The client portion of the hpSIM application is almost entirely JavaScript (which is interepreted by the browser and does not need a runtime) and Dynamic HTML. The only remaining Java code that requires the JRE are the table views (JavaScript was considered and rejected for this because of performance reasons).

Consequently, the dependency on a specific runtime has gone way down. In addition, we have seen more stability between Java releases in the 1.4.x timeframe, although those still exist. Today, we enforce a minimum runtime of 1.4.1_04 for hpSIM in a Windows browser and 1.4.2 on a Unix/Linux browser. We still would like to eliminate Java entirely if at all possible, and still are working to make that real in a future version.

We're not the only ones to have faced the problem. There are some prominent management products from other vendors that use Java but solved the problem by requiring the use of their own client application in place of a browser. That gave them more proprietary control over their environment.

The last remaining issue to comment on is in regard to multiple versions of the Java runtime being available on the same system to work with various applets. Java's design was specifically coded to allow this, but we, too, have noticed some of the incompatibilities and problems mentioned in this forum. One of my personal observations is that the 1.4 and later JRE uses a slightly different design, visible in the control panel applet. Various 1.4 versions seem to play pretty well together but throw a 1.3 in there and sometimes it gums up the works. Since hpSIM uses 1.4, it "plays nice" a little better with other applications also using some 1.4 variant.

All bets may be off when we get to 1.5. ;)

All that being said, Java does have some benefits to it, and HP will continue to use it for many purposes. As noted here, it is frustrating enough when an HP app requires a different version of a runtime than another app you have in your environment, but especially frustrating when the two incompatible apps are both from HP. (I personally spent a considerable amount of time a couple of weeks ago trying to talk to a ProCurve's HTML/Java interface with a newly installed system...which didn't come with--and now you can't download--the Microsoft JVM. Updating the firmware on the switch was required to allow it to use a 1.4 Sun JRE that was the same as hpSIM was using.) We are proceeding on three lines of inquiry to minimize the impact on customers:

1. Utilizing Java only where it's necessary and minimizing our dependence on 3rd party library JARs
2. Coordinating this aspect of the product technology through the HP CTO's office (which can only have limited success just because individual products have their own schedules and by their nature will be somewhat out of sync)
3. Hoping that the radical changes we have seen in the past between different versions of the JRE will not have as much of an impact.

In the meantime, this thread started out because of a "locked down" environment that only had 1.4.2 runtime available to the terminal services clients. Why not connect to the IM7 server using terminal services? If that server is not one of your normal terminal services hosts, it can be configured for remote administration that allows for 2 sessions. That would mean that only the IM7 server itself would need the 1.3.1_09 runtime. All of the client systems could potentially be used to get to IM7 without having the JRE itself. If in the context of the terminal services session the "lockdown" doesn't have the RDPCLIENT application, you can use the TSWEB terminal services web client ActiveX control.

Finally, I'd like to encourage anyone who would like minimize their Java angst to upgrade as quickly as possible to HP Systems Insight Manager because the pain factor is much less. If you don't already have the transition under way, you may want to wait just a short time for 4.1, a version expected next month. Not only does it smooth over some of the edges every dot-oh product has, it also has a data migration tool that brings your IM7 settings forward.

Thanks for everyone's input.
--David
Jeremy Saunders
Advisor

Re: Disable the Java 1.3.1 download

Hi David,

Thanks for your excellent post.

The locked down Terminal Server environment is actually a Citrix MetaFrame farm that every employee uses, so all Apps are "Published" to the users. The URL for IM7 is published so that the IT team, and external IT contractors, such as myself, have access to it from anywhere.

Sure they can RDP or TSWEB to the IM server itself, but it's not always practical as all the apps should be run from within a Citrix (ICA) session. This is important for Remote access.

I have downloaded HP SIM, but will now wait for the release of version 4.1.

It has been rather frustrating, as this is the only Java app that seems to have a forward compatibility issue with Java 1.4, or so I'm told.

Cheers,
Jeremy.
Jason Sarre
Advisor

Re: Disable the Java 1.3.1 download

The only way around the JAVA version thing with the HP Web Admin for Printers and Compaq Insight Manager is install 1.4.2 into Netscape for HP Web Admin and install 1.3.1 into Internet Explorer for Compaq Insight Manger. I tried the unticking of boxes for the web browsers and found some Java applications just didn't work. I am still wondering if HP and Compaq have come together, being that both of these applications are there's and they have JAVA issue between them. You cannot even use Netscape for Insight Manager, which is a pain, being most people use that as their default browser and having an older version of Java in it can be annoying.
David Claypool
Honored Contributor

Re: Disable the Java 1.3.1 download

Jason:

I would recommend looking at IM7's replacement, HP Systems Insight Manager, and consider upgrading when 4.1 is released next month (which has a data migration tool).

Not only is it able to work with the 1.4.2 JRE you desire but also can be driven through either Netscape/Mozilla or IE.
Jeremy Saunders
Advisor

Re: Disable the Java 1.3.1 download

Hi David,

Couldn't wait for 4.1, so I uninstalled IM and installed SIM 4.0. I hadn't really done much configuration with IM, so it wasn't too bad. The only drawback was that I couldn't install MSDE via a Remote Desktop session. However, it's solved my Java problem.

Thanks for your input on this thread.

Cheers,
Jeremy.
Jason Sarre
Advisor

Re: Disable the Java 1.3.1 download

Cheers David, already done now. Now using HP SIM.