- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- JAVA on OpenVMS V7.2-1
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-10-2004 07:28 PM
тАО06-10-2004 07:28 PM
JAVA on OpenVMS V7.2-1
We have an alpha 800 running OVMS V7.2-1. I am trying to install a UPS shutdown agent that runs on JAVA.
I have installed JAVA 1.1.8-5 from hp/Compaq's website and installed all the patches listed on the same pages.
I copied the .jar file supplied with the UPS, changed its format to STMLF and executed the commands illustrated in the attached file.
The server is in fact loading all the class files required and a window opens saying that the server actually connected to the UPS (over the network). However, when I remove the input power to the UPS, it gives a sequence of warnings (pop-up windows) and then the whole process is terminated as shown in the last part of the file.
Does anyone have a clue of what could be the cause? I do not have any experience with JAVA, so I'm not in a position to state whether it is a JAVA configuration issue or else the application's compatibility with OVMS.
10x,
JaMeS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-10-2004 07:49 PM
тАО06-10-2004 07:49 PM
Re: JAVA on OpenVMS V7.2-1
What version of JAVA is required to run the UPS's software? Check the requirements of this software.
It may well be that 1.1.8 is too old, and that you'll need a higher version. For your VMS version, that would be 1.2.2-3 (according the download page). If the software requires a higher JAVA version, you're out of luck for this VMS release.
Willem
OpenVMS Developer & System Manager
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-10-2004 08:00 PM
тАО06-10-2004 08:00 PM
Re: JAVA on OpenVMS V7.2-1
Is there a way to check the source of the problem; i.e. JAVA or VMS or Application?
JaMeS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-10-2004 09:05 PM
тАО06-10-2004 09:05 PM
Re: JAVA on OpenVMS V7.2-1
[Loaded java/awt/Canvas.class from
/dka0/sys0/syscommon/java/lib/JDK118_CLASSES.
ZIP]
jGuard error executing the warning command.
[Loaded java/awt/Event.class from
/dka0/sys0/syscommon/java/lib/JDK118_CLASSES.Z
IP]
jGuard error executing the warning command.
jGuard error executing the warning command.
jGuard error executing the warning command.
Now, Java finds something is referenced but not yet initialized, wronly initialized or even missing in some thread:
[Loaded java/lang/NullPointerException.class from
/dka0/sys0/syscommon/java/lib/
JDK118_CLASSES.ZIP]
but others simply continue:
jGuard error executing the warning command.
jGuard error executing the warning command.
jGuard error executing the warning command.
jGuard error executing the warning command.
jGuard error executing the warning command.
jGuard error executing the warning command.
jGuard error executing the warning command.
Suddenly, there IS a sever problem (I think)
SIGBUS 10* bus error
and from there, Java runs into severe trouble, ending in some ACCESS VIOLATION.
I don't know where this message comes from, jGuardGUI is a obvious suspect but I woulkdn't be tvery surprised if it came from the JAVA RTE.
My guess, given this output, is that something is broken in jGuardGUI, causing severe problems in JAVA. You should contact your UPS-manufacturer (if he supplied the software).
On the other hand: there has been an issue on p(osix)threads for which a patch exists. I don't know if this patch applies to VMS 7.2-1, but you should check and if it DOES apply, you should install it.
Willem
OpenVMS Developer & System Manager
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-10-2004 09:21 PM
тАО06-10-2004 09:21 PM
Re: JAVA on OpenVMS V7.2-1
I searched google on this SIGBUS signal - as I expected it's some Unix exception which is hardly explained - as seems to be quite usual in that environment. It's a quite severe problem, it seems....
So I tend to suspect the JAVA runtime to be in error soemwhere, but that may well be caused by the Java application or a problem with pthread handling within VMS.
Willem
OpenVMS Developer & System Manager
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-10-2004 09:30 PM
тАО06-10-2004 09:30 PM
Re: JAVA on OpenVMS V7.2-1
Another detail that could be important is that I've installed the SDK only. Does it help to install the JRE as well?
Also, should I try upgrading JAVA to 1.2.2 ?!
JaMeS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-11-2004 12:10 AM
тАО06-11-2004 12:10 AM
Re: JAVA on OpenVMS V7.2-1
An update to 1.2.2 is just one of the options. But be sure to have ALL required ECO's installed (and active - you may need a reboot...) _before_attempting to run a program requireing them. See the relasenotes (which are _included_ in the package, so you'll need to download it anyway).
Willem
OpenVMS Developer & System Manager
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-11-2004 02:45 AM
тАО06-11-2004 02:45 AM
Re: JAVA on OpenVMS V7.2-1
Could it be that the application (or JAVA) has some problems to interact with the VMS command interpreter?!
JaMeS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-15-2004 07:44 PM
тАО06-15-2004 07:44 PM
Re: JAVA on OpenVMS V7.2-1
I've installed another patch (VMS721_LIBRTL-V0400) ...
As I stated before, there are some issues with threads. The patch that addresses these is vms721_pthread_0400. are you sure that one is installed?
Willem
OpenVMS Developer & System Manager
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-15-2004 08:02 PM
тАО06-15-2004 08:02 PM
Re: JAVA on OpenVMS V7.2-1
VMS721_UPDATE-V0300
VMS721_ACRTL-V0400
VMS721_PTHREAD-V0400
I've installed the one below afterwards:
VMS721_LIBRTL-V0400
As I said above, the application is running and it communicates with the UPS and starts the shutdown process when power to the UPS is removed. It also starts the countdown I gave it to start shutting down the server. Then when it comes to EXECUTE the shutdown command, it gives an error and stops there.
I tried to give it other dummy commands such as type a file or write something to screen but still it does not execute it. I even removed the command and left the shutdown field blank. It still gives an error!
Then I thought it could be related to priviliges. I execute the command from the system account and it is not identified by VMS as a subprocess!
$ show process _fta7: /subprocess