• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Java Monitor Woes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Java Monitor Woes


  • Subject: Re: Java Monitor Woes
  • From: Sacha Mallais <email@hidden>
  • Date: Tue, 6 Sep 2005 12:33:06 -0700

On Sep 6, 2005, at 12:05 PM, Calven Eggert wrote:

Problem: WO application instances deployed via JavaMonitor (JM) are not
starting up when Start/Stop button is selected. The status icon animates the
ON switch, however none of the instances ever turn on. All instances are
configured to Auto Recover and Scheduling is enabled.


Troubleshooting: Restarting the servers does nothing.

Within JM, deleting the configured application and re-configuring each
instance does nothing. The app instances are still unable to turn ON.

Running the apps via terminal works. Hence, the frameworks and woa files are
not the issue.


Current Solution: The above behaviour indicates that there is a problem with Java
Monitor's configuration file; SiteConfig.xml. This file is located in
/Library/WebObjects/Configuration/SiteConfig.xml. I hesitate to say that the
file is corrupt because it can be opened and the config details appear
correct. However, deleting this file, restarting JM and reconfiguring each
app and their instances solves the problem.


This solution is not ideal since you must manually reconfigure each and
every app - which is painful if you have over 5 apps and 15 instances to
configure.


I don't know why/if SiteConfig.xml is getting corrupted, but it might be worthwhile to do the following:
1) set things up in JavaMon as you'd like it
2) copy SiteConfig.xml to SiteConfig.xml.bak
3) next time you think SiteConfig.xml is corrupted, diff it against this backup copy: diff SiteConfig.xml SiteConfig.xml.bak


That will at least show you the differences.

However, it seems unlikely that it is getting corrupted. Is there anything useful in /var/log/webobjects.log?


sacha


-- Sacha Michel Mallais - Big Kahuna Global Village Consulting Inc.: http://www.global-village.net/ Blessed is the WO-geek, for he shall inherit from NSEarth (Jobs 3:14)


_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: Java Monitor Woes
      • From: "Jerry W. Walker" <email@hidden>
References: 
 >Java Monitor Woes (From: Calven Eggert <email@hidden>)

  • Prev by Date: Java Monitor Woes
  • Next by Date: WOWorx(2): User Login Podcast Posted...
  • Previous by thread: Java Monitor Woes
  • Next by thread: Re: Java Monitor Woes
  • Index(es):
    • Date
    • Thread