Monitoring memory and thread management for Java 1.4.2_04

Hi,
I have an application which is using Java version 1.4.2_04. The application deployed in Customer site is having some memory issues. There are observing java.exe going 100% in Task Manager. The same application (of higher version)
uses Java 1.5 is not seeing any issues.
Now Customer needs the root cause of the issue and i would like to check the code which is causing the issue. I came to know we can monitor threads and memory using JConsole. Since we are using Java 1.4, i installed Java 1.6 on a remote machine and tried connecting to the problematic machine. But it failed to connect.
i have added the option "-Dcom.sun.management.jmxremote.port=8880" when starting JVM (this i have provided inside ServletExec batch file, ServletExec is my web server).
Any idea how to connect to the problematic machine from remote using JConsole. Or any other tools i can use on Java 1.4 to nail down the problem..
Please provide pointers.
I have another doubt on Java version 1.4, since there were many memory issues, am i hitting any defect in Java 1.4

hari.r wrote:
Please provide pointers.You need to tell you sales/marketing/business requirements people that they must come up with an end of life policy for customers on older versions.
Unless your company has a service contract with Sun you right now, can no longer insure that the VM will remain secure nor even really running.
See the following for the java VMs that you are using.
[http://java.sun.com/products/archive/eol.policy.html]

Similar Messages

  • Setup and configuration for system monitoring and IT Reporting for Java sys

    Hi all,
    How to setup and configuration for system monitoring and IT Reporting for Java system ?
    How to connect Java system to Solman system?
    Regards,
    Neni

    HI,
    What is your OS? You can use SAPCCMSR.exe to monitoring  IT Reporting Java system on Solman.
    Go to solman rz21 create a csmreg user. and configuration fil for agent. copy configuration fil on usr/sap/ccms/..
    Go to comman line cd ../user/sap/xxx/sys/exe/.../ wite SAPCCMSR.00 -R pf=< ...../sys/profile/instans profile> .
    You can se agent on rz10 and use this connaction on rz20 to monitoring and IT Reporting Java system on Solman.
    I hope this help

  • Memory and CPU load for one Oracle instance

    I need to design a database server with 5 oracle instances.
    Each instance have only 2 or 3 connected application users and the rate of transactions is about 10 transactions/hour.
    How can I estimate to total memory and CPU needed for my server ?
    The minimum esimation : 2x2Ghz and 2Go of RAM per instance is it pertinent ?
    Dominik

    Dominik wrote:
    I need to design a database server with 5 oracle instances.
    Each instance have only 2 or 3 connected application users and the rate of transactions is about 10 transactions/hour.
    How can I estimate to total memory and CPU needed for my server ?
    The minimum esimation : 2x2Ghz and 2Go of RAM per instance is it pertinent ?
    DominikThough the picked specs look okay but the better answer, as being mentioned already, would be "it depends" . At this moment, almost all the machines are coming with very good specs so 2gb probably would be the least . You can even have a 4gb RAM system with x86_64 architecture , leaving room for future growth if needed. About setting the memory for the SGA, if the release is 11g, setting the Memory_Target would take care of the the memory allocation for both SGA and PGA and you can start by the default that Oracle picks which I guess is about 40% of the total RAM. Afterwards, you can monitor the performance and can bring down the memory settings if you feel its overly allocated.
    That said, I think that this is a question better answered by the capacity planning and management people. I shall see if I can ask my friend, who is in this domain to comment on it.
    Just my 2 cents.
    Aman....

  • Custom thread pool for Java 8 parallel stream

    It seems that it is not possible to specify thread pool for Java 8 parallel stream. If that's so, the whole functionality is useless in most of the situations. The only situation I can safely use it is a small single threaded application written by one person.
    In all other cases, if I can not specify the thread pool, I have to share the default pool with other parts of the application. If someone submits a task that takes a lot of time, my tasks will get stuck. Is that correct or am I overlooking something?
    Imagine that someone submits slow networking operation to the fork-join pool. It's not a good idea, but it's so tempting that it will be happening. In such case, all CPU intensive tasks executed on parallel streams will wait for the networking task to finish. There is nothing you can do to defend your part of the application against such situations. Is that so?

    You are absolutely correct. That isn't the only problem with using the F/J framework as the parallel engine for bulk operations. Have a look http://coopsoft.com/ar/Calamity2Article.html

  • What are the BEST Books and Best websites for java biginners?

    Dear All,
    What are the BEST Books and Best websites for java biginners-Especially for fast learning.
    Thnaks
    KMK

    This is my standard reply:
    [Sun's basic Java tutorial|http://java.sun.com/docs/books/tutorial/]
    [Sun's New To Java Center|http://java.sun.com/learning/new2java/index.html]
    Includes an overview of what Java is, instructions for setting up Java, an intro to programming (that includes links to the above tutorial or to parts of it), quizzes, a list of resources, and info on certification and courses.
    jGuru
    A general Java resource site. Includes FAQs, forums, courses, more.
    JavaRanch
    To quote the tagline on their homepage: "a friendly place for Java greenhorns." FAQs, forums (moderated, I believe), sample code, all kinds of goodies for newbies. From what I've heard, they live up to the "friendly" claim.
    [Yawmarks List|http://forums.devshed.com/java-help-9/resources-for-learning-java-249225.html]
    [The Java Developers Almanac|http://www.amazon.com/exec/obidos/tg/detail/-/0201752808?v=glance]
    [http://javaalmanac.com|http://javaalmanac.com]
    Bruce Eckel's [Thinking in Java(Available online.)|http://mindview.net/Books/DownloadSites]
    Joshua Bloch's [Effective Java|http://www.amazon.co.uk/exec/obidos/Author=Bloch,%20Josh]
    Bert Bates and Kathy Sierra's [Head First Java|http://www.amazon.com/exec/obidos/tg/detail/-/0596004656?v=glance ]
    James Gosling's [The Java Programming Language|http://www.bookpool.com/sm/0321349806]
    Gosling is the creator of Java. It doesn't get much more authoritative than this.
    Joshua Bloch and Neal Gafter [Java Puzzlers.|http://www.javapuzzlers.com/]

  • HP Backup and Recovery Manager for Windows 7

    I installed all the softwares and drivers that came along with the HP upgrade DVD. But, I find that the Backup and Recovery Manager missing on the DVD. Is there a Backup and Recovery Manager for Win 7? I liked the backup and recovery manager that was available on my Vista when I bought this laptop but is now unavailable because of the upgrade!! Any solutions for this? I do not want to use the default Windows Backup as I do not have a separate HDD at the moment to store the backup there and do not wish to populate my local hard disk with backup data!! Thanks.
    This question was solved.
    View Solution.

    Yea, basically. There's no working program for your laptop so it seems that you can use from within Windows 7.
    However, if you have problems, recovery discs will work. As well, if your recovery partition still exists, you can still access it by pressing F11 when you see the HP logo at startup.

  • How to manage memory and threads?

    Let's imagine a scenario like the following:
    public class Test
       Test()
       public void execute()
        for(int i=0; i<100; i++)
             new MyThread().start();
    public class MyThread
      MyThread(){}
      public void run()
        //Do some work which doesn't take a lot of "computing power" but lasts for 1-2s.
    }In this example, using multiple threads should help to work quicker because you haven't to wait for one process to wait until the next can work. This works fine indeed, but it will take more memory than the non-threaded model. This is all perfect, except for one thing:
    Why doesn't the VM free up the memory the threads are allocating. Imagine you call the execute method one time after another (let's say you pass different parameters so it makes sense). This would cause your VM to eventually crash because memory would get used up. (try this with a w2k or wxp task-manager).
    I've read that the threads will belong to a thread-group (which one or how can I access it?) and will therefore still be referenced even though they have run out. What can I do about it?

    Just in case, I forgot something:
    public class Test
       Test()
        public void execute()
        for(int i=0; i<100; i++)
              new MyThread().start();
    public class MyThread extends Thread
      MyThread(){}
      public void run()
        //Do some work which doesn't take a lot of "computing power" but lasts for 1-2s.
    }

  • Transaction for monitoring memory and resources on BW server

    hi experts
    I have the task to determine what occurred from an hour specified on few minutes, because there was a process or program ( we don't know ) which collapse memory and resources on BW server. I check throw SM37 if some Job was executed but no one was. I need a transaction for monitoring / checking memory and resources.
    Please I will appreciate any helpfull information.
    Regards
    mgg

    Hi
    You can use ST03 / ST03 N also check ST04, ST06 . If you have access to the service market palce please check SAP Note - 618868 ( FAQ: Oracle Performance )  and related notes for more help.
    Hope this helps
    Assign points if useful
    Regards

  • Monitoring EWA in solution manager for EP

    Hi
    How to monitor and configure the EP 7.0 on solution manager 7.0 for SP 16
    Can any body give the doc and steps to do.
    Regards

    Hi,
    Follow Guides
    Setting Up your Central Monitoring [original link is broken]
    Notes
    987835 - How to define Solutions in SMSY for Diagnostics
    976054 - Availability of EWA for Non ABAP components
    Prerequisites
    The SAP EarlyWatch Alert is available for:
    SAP systems based on ABAP stack of SAP Netweaver or SAP WebAS
    SAP R/3 (minimum release 3.1H)
    The Java stack of SAP Netweaver components with a J2EE Engine 6.40 or above (requires ST-SER 700 2007 1 or above on the Solution Manager)
    The main prerequisites for using SAP EarlyWatch Alert are:
    A remote connection between your SAP component and your SAP Solution Manager
    On a ABAP stack system implement SAP Note 69455, run report RTCCTOOL and follow instructions.
    For a Java stack system or a CRM system: setup of Solution Manager Diagnostics. For Java SAP Note 976054 describes the prerequisites.
    The EarlyWatch Alert content is shipped on the Solution Manager with software component ST-SER u2018SAP Solution Manager Service Toolsu2019 and on the satelite systems (ABAP) with software components ST-PI u2018SAP Solution Tools Plug-Inu2019 and ST/A-PI u2018Application Servicetoolsu2019.
    Chk Pdf
    https://websmp201.sap-ag.de/~sapidb/011000358700002009362008E.pdf
    /people/federico.babelis2/blog/2006/04/25/system-monitoring-configuration-guide-for-dummies
    Hope it solves ur problem
    Regards
    Prakhar

  • The best H.W and O.S for Java

    Hi
    I am developing a network monitoring program with too many threads and hundreds of GUI components, I am using my personal PC (windows vista, dualcore cpu 2.2, , 2 GHz RAM, netbeans 6.8)
    I know I am using a humble PC but I want to get more advanced/professional H.W and O.S , so my question now is :
    what to you use for java (H.W and O.S) as professional and semi-professional solutions? (and if possible the range of prices)
    and any suggestions for me to increase the performance of my PC with Java (i think Linux will speed it up but I am not sure which distribution)
    Note:
    Best Regards.
    Anderson.

    If you're going to pick Linux, and want to run Sun's/Oracle's Java... Then I'd suggest a distro that is officially supported per:
    http://java.sun.com/javase/6/webnotes/install/system-configurations.html
    Otherwise pick Solaris (X86/Sparc).

  • Activity Monitor, Memory and Freezes

    I've had a few Logic freezes recently so I open Activity Monitor to try and find some info. Firstly if the CPU use and threads next to Logic Pro keep changing is there a chance that Logic will unfreeze if it's been stuck for say over 5 minutes?
    Also I'm trying to see how near I am to the memory ceiling. I've got 32 GB in my MacPro so it's not a shortage of RAM more hitting the single app limit. I don't understand the relationship between "Real Memory" and "Virtual Memory" as regards the single app limit. Logic has just crashed and the associated readings are Logic Real 2.13GB Virtual 3.88GB, VSL Daemon Real 7.02MB Virtual 867MB, VSL Server 2.35GB Real 3.31 GB Virtual. ousiad (is this East West Play plug-in?) 816kb Real 2.57 GB Virtual, Vienna Ensemble 882MB Real 2.5GB Virtual. Total free memory is 20.11GB.
    If someone can help my understanding this would most be welcome!
    Thanks
    Julian

    "Virtual 3.88GB" - That's the one that kills your Logic app.
    You can read a lot on the forums that Logic has this limit of around 3.5GB of memory that it can allocate. I want to point out two things from my experience.
    1) This limit is about the "Virtual Memory" not the "Real Memory".
    2) When you get close to that limit, Logic just crashes. You would figure that it might give you just an alert box with a memory warning, no - poof - Logic is gone.
    A few more things.
    * Keep your Activity Monitor open and be very careful when you go across the 3GB "Virtual Memory" line. Every additional Plugin could push you over the edge.
    * Besides loading additional instruments, there are other factors that you should be aware of. i.e. Apple Loop Browser. If you have a big Apple Loop library and you make a search on all loops, you can see in the Activity Monitor that such a search could require a few hundred MB of additional Virtual Memory. That's enough to cross the line and crash Logic. Believe me, it took me a while (and a lot of frustration and restarts) until I figured that out.
    So why the difference between the "Real Memory" and "Virtual Memory" number. I seems that this leads into hardcore programming voodoo,aka "I have no idea". One observation I made is the impact of the graphic cards. Usually the Virtual Memory number is about 300-500MB bigger thatn the Real Memory number. When I changed my 2 graphic cards to new ones with more VRAM the difference between the Real and Virtual Memory number grew to 1GB . Don't asked me how long it took me to figure out that relation. All I saw was that I couldn't load big Logic Projects that I worked on before with no problem.
    Bottom line:
    The more stuff you load into Logic, the closer you have to monitor Activity Monitor and save more frequently.
    Think about how often you read forum posts that Logic is completely unstable and crashes all the time. I bet that a high percentage is related to user hitting that Virtual Memory limitation.

  • What else SCE couldn't do without Collection manager and Subscriber Manager for SCE?

    Can we still monitor the traffic and control the subscriber even we do not have any Collection manager and Subscriber Manager? with SCE alone couldn't analysis or control the traffic?

    Hi,
    Without CM you can not generate reports based on RDR collection process. For example if you dont have Collection Manager you can not generate reports that are predefined on the SCA Reporter or insight. Only you can do is you can poll SNMP counters/values by a s/w and you can graph them, but it is not suitable and not covers the all data that SCE collects and reports. And for the SM side if you want to communicate with a policy/external server you really need an SM, also you can use its internal Quota manager to count quota.

  • OJC (OracleJavaCompiler) and Microsoft VM for Java 5.0

    I have JDeveloper 10g and I compile the java code with jdev905\jdev\bin\ojc.exe
    I created test applet
    package test;
    import java.applet.Applet;
    public class AppletTest extends Applet
         public AppletTest()
              try
                   jbInit();
              catch(Exception e)
                   e.printStackTrace();
         private void jbInit() throws Exception
              System.out.println("TestApplet init");
    With simple html page
    <HTML>
    <HEAD>
    <TITLE>
    Title
    </TITLE>
    </HEAD>
    <BODY>
    <APPLET CODE="test.AppletTest" HEIGHT="200" WIDTH="200" ALIGN="bottom">This browser does not appear to support Applets.</APPLET>
    </BODY>
    </HTML>
    And i get following error message in IE6 java console.
    Microsoft (R) VM for Java, 5.0 Release 5.0.0.3810
    ==============================================
    o ohje
    t tyhjenn�
    s suorita viimeistelij�t
    r tietoj�tteen ker��minen
    m muistin k�ytt�
    l lopeta
    � s�ieluettelo
    ==============================================
    Error loading class: test.AppletTest
    java.lang.NoClassDefFoundError
    java.lang.ClassNotFoundException: test.AppletTest
         at com/ms/vm/loader/URLClassLoader.loadClass
         at com/ms/vm/loader/URLClassLoader.loadClass
         at com/ms/applet/AppletPanel.securedClassLoad
         at com/ms/applet/AppletPanel.processSentEvent
         at com/ms/applet/AppletPanel.processSentEvent
         at com/ms/applet/AppletPanel.run
         at java/lang/Thread.run
    If i compile the code with previous version of JDeveloper (9.0.3) all works fine. Is there something special with ojc?
    (I just have to use Microsoft VM, so i can't update my browser java runtime)
    Rami

    Thanks Rob!
    I was trying to find that setting. It looks like that "Target:" is somehow involved with "Character Encoding". The comboboxes are so close each other. I did not opened that combobox before. The content of that combobox clearifies the meaning.
    If you read that panel from left to right the settings are:
    1.) "Character Encoding"
    2.) "Target:"
    3.) "Use Default Encoding"
    But anyhow, Thanks a lot of your help!
    Rami

  • Database manager for Java DB/Apache Derby?

    Does anyone know a great and free database manager software with GUI for Java DB/Apache Derby where I can create and open databases? Something like Mysql Administrator and Mysql Query Builder for Mysql.
    Thanks in advance!

    I don't think there is any separation between CCMS and other systems, all use one database. If you use MaxDB use Database Manager, if smth like SQL Server or Oracle use standard tools of this vendors, like Enterprise Manager third party tools also helps you, cause I don't see any difference between

  • To Monitor inbound and outbound messages for ECC 6.0 business system

    Hi Guys,
    I am working on ABAP proxy. I want to monitor the flow of Inbound and Outbound messages for my Business system (ECC 6.0).
    XI server is on a different system.
    I understand that SXMB_MONI is used for tracking XML messages. What kind of tracking can we do by this transaction in our Business system and the XI system?
    And how do I know whether the outbound XML message sent is lying in the Sending Business system or in the XI system?
    When I am testing my interface, there is a fault message generated. How do I know whether the fault message is being sent to XI?
    Thanks,
    James.

    James,
    Go to SXMB_MONI in your sending system.
    Here you will find a message ID fro your Message.
    Go to XI, --> SXMB_MONI -->Monitor For Processed XML messages --> Advanced Selection Crieteria and use the Message ID here to see if the Message has hit XI or not.
    Likeiwse it can be traced in the target system as well.
    The basic point,  The messages will have same Message Id on your R3 and on XI.
    Regards
    Bhavesh

Maybe you are looking for

  • GPS! SOMEONE realize this is an issue!!

    So Iphones so called GPS has issues. I understand that its using a mixture of cell towers and other various tools to triangulate a location BUT! IT DOESNT WORK. I have contacted Apple support on several occasions but ironically, they dont even acknol

  • Maintain Folder Opened

    Hello everyone, I have 3 applications in 3 different IViews, corresponding to 3 pages ("Program1" to "Program3"). All pages are inserted in a folder "Applications". This folder is then linked to a Workset. My problem is that, when i open the portal,

  • Why do I get "an error occurred while signing in" in ExportPDF?

    I use export PDF.  I am trying to convert a PDF to excel and keep getting this...."an error occurred while signing in"  "Try again"   "Cancel"

  • IPhone: Memory Management / Tracking Tools

    I am new to Mac/iPhone programming but have 20+ years in Windows. I am not familiar with the tools but MS Dev Studio will show memory leaks as the app shuts down. Is there a similar switch to turn on for xcode? I am having trouble with the gestalt of

  • How can I set time signature for my song?

    I wanted to compose a song in Garageband in a time signature 3/4. I couldn't see any setting which lets me set it. Also I wanted to know what all time signatures do Garage Band support ?E.g. 2/3/, 4/4, 6/8,7/8 ...Would really appriciate if someone ca