Solved

Upgrade JVM of my app server to Java1.5 (Java 5) ???

Posted on 2004-10-21
408 Views
Last Modified: 2008-01-09
Is it possible to upgrade the JVM of an app server to the new Java 5?

The reason I'm asking is because I've developed a JVM monitoring application with the new java.lang.management API that's only available in Java 5.  Since our clients run java programs on app servers I need to know if there's any possible way to upgrade the JVM of an app server to Java 5 (J2SE1.5).  That way I'd be able to monitor the memory and thread performance of the servlet container, ejb container, etc...

I have a feeling the answer is probably no, but if you could say why its not possible that would be even more helpful:)

Thanks!
0
Question by:ShannonE
    5 Comments
     
    LVL 13

    Expert Comment

    by:petmagdy
    No u can't do this ur application server is certified and tested on its specified JDK

    Althought with something like JBOSS and Orion u may try
    0
     
    LVL 35

    Expert Comment

    by:TimYates
    I would run a test server locally for a month or two to check there are no problems before deploying it "live"...

    I know it has been released, but as it's a big change, I'd err on the side of caution...
    0
     
    LVL 4

    Author Comment

    by:ShannonE
    What's the difference between starting a java program at the command line (ex. java MyProgramName) and starting an instance of your app server? Doesn't starting an app server instance in your IDE just execute
    'java SomeProgramNames' behind the scenes, using whichever JRE/JVM comes with the appserver?

    The reason I'm asking is because I've already monitored the performance of a client-side app by executing 'java TheClientProgram' at the command line. But now I want to monitor the performance at the backend by connecting to the JVM in my application server.

    I hope my question is now clear...
    0
     
    LVL 35

    Accepted Solution

    by:
    > What's the difference between starting a java program at the command line (ex. java MyProgramName)
    > and starting an instance of your app server? Doesn't starting an app server instance in your IDE just execute
    > 'java SomeProgramNames' behind the scenes, using whichever JRE/JVM comes with the appserver?

    Yes it does
    0
     
    LVL 6

    Expert Comment

    by:mightyone
    aehm i don get the point...

    usually there is a path where you ghave to tell in the config where your jdk lies default would be /usr/lib/java
    istall it and mend the path to new java....

    or if the applivation serevr call rudimentary java try replacing your jdk with the new one or create a link to the new path...

    or am i totally of point?
    0

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Do You Know the 4 Main Threat Actor Types?

    Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

    Suggested Solutions

    Title # Comments Views Activity
    how to disable hibernate query cache 2 40
    countClumps  challenge 10 52
    scoresSpecial  challenge 13 24
    return in catch statement 1 21
    INTRODUCTION Working with files is a moderately common task in Java.  For most projects hard coding the file names, using parameters in configuration files, or using command-line arguments is sufficient.   However, when your application has vi…
    Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
    Viewers learn about the “while” loop and how to utilize it correctly in Java. Additionally, viewers begin exploring how to include conditional statements within a while loop and avoid an endless loop. Define While Loop: Basic Example: Explanatio…
    Video by: Michael
    Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …

    933 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    19 Experts available now in Live!

    Get 1:1 Help Now