Hi Jeff,

On Mar 2, 2007, at 11:58 AM, Jeff Schmitz wrote:

Hello,
For the time being, I can't reach my javamonitor process because port 8086 is closed on my server's network. Is there a way to ssh in and restart a webobjects application from the command line?

You can just kill it (kill -9 pid works ;-) and wotaskd will restart it. A tad on the brutal side. Or you can add a direct action that takes a password and calls WOApplication.application().terminate(). Less brutal, but if a hacker finds it and gets the password...


Or, could I possibly start another javamonitor instance that looks at port 80? Or will that hose something up having two javamonitor's running at the same time, or having one of them accepting requests on port 80?

The "problem" is that JavaMonitor by default runs in direct connect mode on port 56789. It is far better to use this to start JavaMonitor, then use JavaMonitor to add itself (!) as a monitored application. Then stop the one running on port 56789 and set the startup scripts so that it starts nevermore. Then you can get to JM just like any other WO app. You do want to put a password on it!

Chuck

--

Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/products/practical_webobjects





_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to