WINDOWS2K JDK1.3 NOT STABLE

Hi, my platform:
win2k server, tomcat 1.3.2 , jdk1.3.1. My application runs fast but sometimes, one time a day, java virtual machine crash.
I had'nt problem with jre 1.2.2, everything is stable. I thought that the problem resides in my web application or tomcat but i discovered this problem in another machine, with the identical platform. I installed jre 1.2.2 and now it's ok.
I think that jdk1.3.x under Windows2000 Server is not stable. I wrote a simple program, TomcatGuardian, that check if tomcat service is up, else restart it.
This program, with jdk1.3.1 after 20 -24 hours crash!!!!
Anyone have similar problem ?
Ivan.
package com.ips.TomcatGuardian;
import com.ips.Utility.*;
import java.lang.*;
import java.net.*;
import java.io.*;
/*Title: TomcatGuardian
//Version: 1.0
//Copyright: Copyright (c) 2000
//Author: dott. Ivan Pasquale
//Company: xx
//Description: Tomcat launcher under WINDOWS 2000
//FeedBack: [email protected]
public class TomcatGuardian extends Thread
     private Socket GuardianSocket = null;
     private String TomcatAddress;
     private int TomcatPort;
     private String ServiceName;     
     private com.ips.Utility.MailManager Mailer;
     private com.ips.Utility.PropertiesManager myPropertiesManager;
     private int CheckTimeRange;
     public TomcatGuardian(String ServiceNameParam)
          ServiceName = ServiceNameParam;          
          /* Creo un istanza della classe di gestione delle Mail */
          Mailer = new com.ips.Utility.MailManager();
          /* Creo un istanza della classe di configurazione */
          myPropertiesManager = new PropertiesManager("TomcatGuardian.properties");               
          TomcatAddress = myPropertiesManager.getProperty("TomcatAddress");
          TomcatPort = new Integer(myPropertiesManager.getProperty("TomcatPort")).intValue();
          CheckTimeRange = (new Integer(myPropertiesManager.getProperty("CheckTimeRange")).intValue())*1000;
     /** verify if tomcat is alive */
     public boolean isTomcatAlive()
          try
               //System.out.print("Checking Tomcat status .....");
               GuardianSocket = new Socket(TomcatAddress,TomcatPort);                              
               GuardianSocket.close();
               //System.out.println("Ok[X]");
          catch(IOException ioe)
               com.ips.Utility.LogBook.record(ioe.getMessage());
               String MessageToWebMaster = new String();
               MessageToWebMaster+="Signore, ho riavviato Tomcat alle "+ (new java.util.Date()).toString();
               MessageToWebMaster+=" dalla macchina "+TomcatAddress;
               Mailer.sendErrorToWebMaster("TomcatGuardian",MessageToWebMaster);
               // TOMCAT IS DOWN
               return false;
          return true;
     /** start tomcat */
     public void startTomcat()
          try
               Runtime myRuntimeProcess = Runtime.getRuntime();
               Process TomcatStartProcess = myRuntimeProcess.exec("net start "+ServiceName);
               TomcatStartProcess.waitFor();
          catch(InterruptedException ie)
               com.ips.Utility.LogBook.record(ie.getMessage());
          catch(IOException ioe)
               com.ips.Utility.LogBook.record(ioe.getMessage());
     public void run()
          System.out.println("TomcatGuardian v1.0 View LogBook.log for detail..");
          try
               while(true)
                    //com.ips.Utility.LogBook.record("Checking Tomcat ....");
                    if(isTomcatAlive())
                         //com.ips.Utility.LogBook.record("Ok check passed");
                    else
                         com.ips.Utility.LogBook.record("Tomcat is down!!!!!!!");
                         com.ips.Utility.LogBook.record("Starting the server .....");
                         startTomcat();
                         com.ips.Utility.LogBook.record("done!");
                         /* controllo ogni trenta secondi*/                         
                    this.sleep(CheckTimeRange);
          catch (NullPointerException npe)
               com.ips.Utility.LogBook.record(npe.getMessage());
               npe.printStackTrace();
          catch (Exception e)
               com.ips.Utility.LogBook.record(e.getMessage());
     public static void main(String args[])      
          new TomcatGuardian("Tomcat").start();          

Actually, I have THREE versions of java.exe running! Some applications have their own VMs.
I'm running the JigSaw server from W3C (which is good for web pages, but a poor servlet platform), TomCat (which doesn't do web pages, but is a good servlet platform), and the TSpaces server (a good tuple-space implementation from IBM, which is my database). All are written in Java. Then my own desktop application runs on the JRE, accessing those three servers. If I then run some of my latest applets, they use the 1.3 plug-in, and getting into the Sun web site starts the Java found in Netscape.
So I could potentially be running 6 copies of the JVM, not just 3, which strikes me as pretty silly. I want Java on silicon.
Something's wrong; in my experience there shouldn't be two java.exe processes. I only have one for Tomcat.

Similar Messages

  • The newest version of firefox is NOT STABLE. I have gone back to Firefox 3.0.5, and that works fine. FIX IT

    I have a Macbook- I'm running OSX version 10.5.8. Previous versions of firefox have always worked fine. I downloaded the newest version of firefox, and have had all sorts of problems with it. After about 6 weeks of struggling with it, I have gone back to version 3.0.5. I know it's an earlier version, but the performance is way better. Windows and tabs open quickly, there are no loading problems on any sites, and other browsers work fine now, too. I run safari and google chrome also. I was almost at the point where I was going to pass on firefox altogether. In my opinion, the newest version is NOT STABLE and unless you fix the problems, I will not use it. This was a terrible experience and I will not try a new version right now. I'm just happy that I have a stable version of firefox again. And by the way, the older version is way faster loading pages, too.

    Going all the way back to Firefox 3.0.5 is shear foolishness, it is 14 security versions behind the last 3.0.19 release. And that version is missing at least a dozen security updates that were applied to the 3.5 and 3.6 versions after support for 3.0.x ended.
    If you are not happy with Firefox 4, you should have installed Firefox 3.6.17. That is very similar to the 3.0 and has all the security fixes that have been released since support for Firefox 3.0.x ended last year.

  • The signal is not stable after the updates 7.1 ver

    Dear friends,
    i have a problem with my BB 9380 curve, after i update from 7.0 to 7.1 my signal is not stable. if u have any suggestions to solve this case. the reason why i update this mobile because my social servces is to slow. instead of solving the problem, its getting bigger the problem.
    thx!!

    Hey Bugoysky,
    Welcome to the BlackBerry® Support Community Forums.
    Network related issues are best handled by your network service provider, we would suggest contacting you them for further investigation into this to help further diagnose the cause. 
    Thanks.
    -HB
    Come follow your BlackBerry Technical Team on twitter! @BlackBerryHelp
    Be sure to click Kudos! for those who have helped you.Click Solution? for posts that have solved your issue(s)!

  • Power button on my iphone 5s is not stable

    Hi
    I've purchased recently the new iphone 5s by friend in usa,
    Since opening the box I noticed that is the power button on my iphone 5s is not stable ! It moves up and down and I've comparing it with several friends iphone 5s and it was the only one in this case, i am from jeddah saudi arabia and There is no an authorized dealer in my country for repair within the international warranty Please help me and Thank you And I wish you a happy day
    # sorry for may bad english

    Thank You
    but My friend returned back to Saudi Arabia

  • I upgraded my 3gs to ios5 and the sound of the messages is not working well, it's slow and my bluetooth definitions are not stable how can i get back to the ios4

    I upgraded my 3gs to ios5 and the sound of the messages is not working well, it's slow and my bluetooth definitions are not stable how can i get back to the ios4

    App Store->Purchased
    iTunes->Purchased->Download All

  • K7 GTX receive ok but not stable (pattern sensitive)

    Hi,
    I made a sensor with 8b10b TX fit Xilinx K7 GTX,
    The data transfer is ok now, but not stable,
    some special code (pattern) have higher error possibility.
    Is there any part can be tuned to decrease the error rate?
    or any document can be refer to? Thanks !!
     

    Dear Austin,
    Thanks for the reply,
    I use same speed, cable, connnectors, and protocol, for both my TX IC & Xilinx K7 TX,
    Xilinx K7 is ok, signal swing 800mV diff p-p,  my TX IC can only 400mV diff p-p, (in spec)
    my TX IC eye diagram jitter is larger than K7, but should be in spec (0.35UI, if I understand correctly).
    improve my TX refernce clock source quality, TXPLL loop bandwidth, and K7 GTX RXEQ (from DFE-->LPM) can help,
    but still has annoying specific symbol error,
    the AC couple cap is 0.1uF, for 1.25Gbps & 2.5Gbps 8b10b,
    Is there any spec for comma usage ? comma-to-comma maximum spacing or better comma type ?
    since DFE-->LPM RXEQ improve a lot, how can I tune RXEQ parameters ?
    Thanks and Best Regards,
     

  • Airplay not stable (stutters)

    I get radio and Spotify via Airplay not stable running. I have Time Capsule with Serial: C86H21DWDM74 and 7.6.4 software and an Airport Express to Serial: C86LG8WGDV2R and software version 7.6.4 and a Fritzbox 7340 modem / router. The following setups I've tried but not working properly:
    Fritzbox, LAN cable to the TC and linked via wireless network Extend the AE
    Fritzbox, LAN cable to the switch and that the TC and the AE linked.
    Fritzbox, LAN cable to AE and TC omitted
    Fritzbox, LAN cable to AE and with a LAN cable to the TC
    Fritzbox, LAN cable to TC and with a LAN cable to the AE
    Tried to extend wireless network, join network and create new network and created two separate networks. Different channels selected and tried automatic channel, but without any positive result.
    Via IStumbler the Wifi checked and looks good. I have an iPhone and iPad 2.4 GHz to 5 GHz tried and the distance between idevice and AE is max. 4 meters.
    [IMG]http://i.imgur.com/E8CG8Y1.png[/IMG]
    The network start with 0 are mine
    Does anybody has an idee how I can get Airplay working properly?
    Thanks in advance.

    If You are trying to watch content when you are downloading, it let it download then watch it this works for me as i had the same problem.

  • Universe Connection not stable

    Hi,
    I have been using Universe Designer(BOXI 3.1) and connect to an Oracle 11g DB. The issue is that the connection I have created is not stable. When I test the connection, it would show me "Server is responding!" and suddenly within a matter of few minutes it would again lose connection.
    I have never seen any particular pattern in which is happens, but have done the following checks when the connection goes down:
    - Connect and run a query from SQL developer - Runs fine and its quick as well!
    - Monitor connection between the 2 servers - No packet drops!
    - Monitor TNSPING to the DB server directly - that works fine too!
    I have around 7-8 active universe's and they all contain the same Connection String as parameter. I have also tried creating different connection for different universe's but I think it hardly made a difference.
    Any help would be really great.....thanks in advance.

    Hi,
    Keep it simple if you can reproduce from Universe layer :  You want to trace the Universe Designer Client Tool
    See Note 1200800 - How to enable tracing for Universe Designer and Desktop Intelligence
    also, are you dealing with Webi or DeskI reports downstream?
    Consider things like the user used in the universe connection
    Check the windows domain account
    Check that the Windows environment is seeing the DNS first in the network connections.
    Make sure the Windwos environment is part of the same domain.
    Regards,
    H

  • Why BIA is not stable after all these years? (old)

    Hi all,
    We purchased BIA (16GB blades) in 2006, implemented to our production in 2007 with Version 34.
    It was a success; the first month BIA was hit 18K times. Today we are seeing about 300K hit a month (we're using 32GB blades with version 49. ). I can assure you that it was(and is)not a plug and play appliance, we have experienced every single BIA error existed on earth. Don't get me wrong; when it works it's an awesome product, I believe in BIA and support it 150%, this is why i am here spending my time.
    3 weeks back, we upgraded BIA from Ver 48 to 49. After a week of quiet time, one of my blades went down for no appearent reason, that not only caused an outage for thousands of internal and external customers but wiped out the confidence that I have with the new version 49.
    Today, I am "once again" sending apology emails to my users, customers, my boss, CIO etc about the BIA outage. Forget about preventing this to happen in the first place, but I don't understand why it is so hard for you SAP guys to identify the query that crushed the blade(s). I assume your priority is making BIA fancier - such as working on back-up and recovery - instead of making it stable, or at least more monitorable
    It is very, very, very frustrating that after all these years that this tool is still not stable, in other words after all the feedback we gave to SAP, after all the times we spent together, we are back to the square one. Think about , would you be keep investigating to a car that keep stopping in the middle of rush hour traffic? So why should you pay hundreds of thousands of dollars for a product that goes down every day? 
    Anyways, let me know if you know a way to find out what particular query brings down BIA without leaving the trace on 24x7 for days.
    Cheers
    Tansu
    Edited by: tansuaksu on Apr 30, 2009 1:46 PM
    Edited by: tansuaksu on Apr 30, 2009 2:01 PM

    Tansu,
    if you go to Usage -> Acess Statistics in TREXAdmin (Python), not all the columns are populated by default (at least in our case)
    Like #unloads, #reads, waittime, #merges, # writes, #plans, input/output, # FEMS among others.
    To collect this data, you have to activate additional level of stats.
    Go to indexserver.ini for your masterblade. default is set to No. Change it to yes.
    [indexusagecollector]                                                                               
    #active = no                                                                               
    active = yes  
    Unfortunately, there is no documentation available on what each of these values truly represent. So you are left on your own to interpret them as you like.
    A discussion in this forum on how you read these numbers would be helpful though.
    BIA Stability:
    To sum up: BIA has the notion "It rocks when it works" in our company.
    Some of biggest issues:
    1. There are queries failing that BI team doesn't know about unless users report to us. But users have stopped reporting BIA related failures to us because same query completes successfully after 5 mins (when the temporary memory goes down again). so our users just rerun the quey after sometime rather than reporting it to us. Bottomline -  BIA is NOT up 100%. we only know if a query has failed if we go thru the trace files.
    2. As Arun mentioned, we too have some queries that dont work at all with BIA due to huge dataset sent back to OLAP. Eventually we had to turn off BIA for those queries.
    3. It takes too long for back up to take over. In our case it took 75 mins before back up took over.
    we would rather prefer to set a threshold ourselves on when back up should kick in rather than waiting for active blade to go completely down. Unless its a hardware failure (chances of which are pretty slim), back up would always wait for active blade to go completely down. what if an acitve blade is in hung state?
    [Re: Automated Failover - can we force backup blade to take over?] discussed here
    4. We dont know which query brings BIA down. (that what we are tyring to figure out using the stats mentioned above.)
    4. Inverted Data model - we have some cubes which have master data tables bigger than fact tables.
    For some, BIA works. For others, aggregates are more effecient. we are still not able to figure out, whats the difference?
    [How to relate STEPUID/DMUID in RSDDSTAT_DM to STATUID in RSDDSTATTREXSERV; discussed here
    Lets see how Rev 50 addresses our issues.
    Thanks,
    Saurabh Bansal

  • APPLETS jdk1.4 not Working?

    I recently installed the new JDK1.4. I make applets constantly for my websites but I found that when I compile them now they don't work when I try to view them through a web browser. They work fine in the appletviewer though...What has changed?
    When I try to view them in say Internet Explorer I get a blank square the size my applet should be filled with gray, and a little message in my status bar at the bottom saying "load: class whateverClass Not Found". What's going on?

    I have IE5 and JDK1.2beta4. I just got a new computer and installed JDK1.2beta4 into it. Everytime I try to compile a program I get an "illegal operation" error message. That's why I tried upgrading to JDK1.4, not knowing that IE supports only the older version. I would rather have the older one but I keep getting that error message...any comments on why this happens?

  • Wifi is always not stable even the sign is on after updated to IOS6

    After updated to IOS6, Wifi is not stable and always off line even the wifi sign is on.  Aslo, the battery is running so fast.
    Any advise.

    spooky thing this WIFI problem. Coming home yesterday , everything worked OK for a while.
    Really hope that APPLE , will respond to this issue, there is a lot of treads and suggestions for repair, but none working for me :-(

  • Dialer Outbound not stable

    Outbound dialer is not stable and
    sometime we have to restart the BaImport (process) in Logger to make it working
    We have applied  below SR and ES for the Agent /MR PG
    ICM 7.0_SR4;CTIOS7.0(0)SR2& ES13/ES25
    We have applied  below SR and ES for the Agent /MR PG
    ICM 7.0_SR4;CTIOS7.0(0)SR2& ES13/ES25
    Appreciate to comment and advice regarding any patch we can apply if any one comes across the same

    The below error is coming and  after i restart the Baimport process, it just work fine with the new records..
    Failed to rename or delete the import file for Import Rule Id: 5017; FilePath: d:\tos\CUSTSAT.txt. This Import Rule has been temporarily disabled. To correct this condition: manually remove the import file and disable and re-enable the import rule using Import Configuration Component.
    Kindly suggest what to do ?

  • TS1398 hi, my iphone is not connecting to wifi. there is no problem with the connection of wifi. i tried so much but the connection is not stable. some times it connect and sometimes not connecting at all. if connected also its disconnecting again.pls hel

    hi, my iphone is not connecting to wifi. there is no problem with the connection of wifi. i tried so much but the connection is not stable. some times it connect and sometimes not connecting at all. if connected also its disconnecting again.pls help

    At the very least, I recommend you restart your router, (your internet box).
    More detail on your problem is needed - are you in a submarine? On the moon? On a tropical island?
    You can help yourself by providing as much info as you can about your present situation - what kind of router do you have? Have you moved it? DId you update it?  Did you do anything to change your setup, and if you did, what?

  • When I open Firefox, the display is not stable, can't use the scroll bar or mouse properly.

    Power Mac (non-intel) using OS 10.5.8. Changed batteries in mouse, problem is the display when opening Firefox is not stable on vertical axis. Can't use the scroll bar or mouse control in vertical axis.

    Hello tikimonboo, [https://support.mozilla.org/en-US/kb/troubleshoot-extensions-themes-to-fix-problems#w_turn-off-hardware-acceleration Turn off hardware acceleration], and check it again.
    thank you

  • IPhone 5s signal bar not stable

    Hi... not sure how write... recently purchase iphone5s.Previously using Samsung note3.
    Problem Descriptions:
    Network Operator : DIGI telecomunication
    Location                : Pusat Perubatan University Malaya, Lembah Pantai Kuala Lumpur
    Signal Bar Comparison
    Using Same DIGI simcard
                                                     Iphone 5s             Samsung Note 3              Alcatel magic
    1. Signal Detected                    1-bar detected      4-bar detected                 Full bar detected   
    2. Signal Ranging                     Inconsistent          Ranging 4-5 bar               4-5 bar     
                                                     Always moving
                                                     and most of the
                                                      time 1-Bar.
    Not sure what is the problem but, irratating when convervation is breaking off ..
    Need help...urgently

    installing iOS 7.1, signal in my iphone 5 is not stable, moves from E(edge) to 3G

Maybe you are looking for

  • DV6500 Physical Memory Limitation to 3gb

    Hi All, My DV6500 Entertainment PC came with Windows Vista 32-bit preinstalled which limited my usable memory from 4gb to 3gb. I recently upgraded to Windows Home Premium 32-bit which I believe has a physical memory limitation of 4gb (http://msdn.mic

  • Anyone else tired of useless, lazy programmers?

    OK, so I'm trying to get through some issues with Data Guard. I'm getting there. But it seems as though every time I turn around, I get an error message like this: " ORA-16737: the redo transport service for standby database "ONBDG" has an error" Wel

  • Radius servers unavailable

    Hello fellow Cisco forum members.  I have an odd problem. First our environment: 2 WLC5508 + 2 Cisco ISE 1.2 Since we are an university we offer eduroam. The principe of eduroam is that you send the requests to the partner universities. When someone

  • WRT160N - Help Needed

    Earlier tonight I was trying to find out my IP address on my computer. I typed in ipconfig in the Run command window cause I thought that's what I had to do. Turns out it wasn't and now my wifi is messed up. I have wifi avaiable on my iPod Touch, but

  • Satellite Pro A300 PSAGDA: Problems installing webcam on Win 7

    Hi there guys, its been a few weeks since installing Windows 7, only for the last few days have i actually bothered to install toshiba software (dont stone me!). Right now I've been scratching my head when installing the webcam drivers. When the inst