Re: strange JavaMonitor behavior — Failed to contact 127.0.0.1-1085
> On May 5, 2021, at 8:43 PM, Paul Hoadley via Webobjects-dev > wrote: > >> I notice I seem to have JavaMonitor running inside JavaMonitor which I guess >> is how we ensure it is available — so, that’s a normal config everyone does? >> I’m not even sure… > > No, that sounds quite unusual. > HA! Good, well then something good comes of it! Monitor should not be in itself but should be run and left running, mine is only available via IP:port and not via domains. I’d remove it from itself because that’s not needed and I guess if it ever goes down for some reason, I’d log into the instance and spark it up which is all I did for wotaskd I noticed a startup script with basically two lines, one to start wotaskd and the other to start monitor, so I can always look there if it is not running. Thanks! ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: strange JavaMonitor behavior — Failed to contact 127.0.0.1-1085
Hi Jesse, On 6 May 2021, at 02:33, Jesse Tayler via Webobjects-dev wrote: > One of my servers is running ok, but JavaMonitor isn’t getting any contact > with what I guess must be wotaskd? > > Any suggestions or seeing what might be down or how to get that back up most > properly? I see some notes in the wiki but nothing seemed like a ringer and I > can’t recall ever having this happen before? wotaskd can certainly crash or die. Fixing the issue is a matter of killing it if required, and restarting it. > I notice I seem to have JavaMonitor running inside JavaMonitor which I guess > is how we ensure it is available — so, that’s a normal config everyone does? > I’m not even sure… No, that sounds quite unusual. -- Paul Hoadley https://logicsquad.net/ https://www.linkedin.com/company/logic-squad/ ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: strange JavaMonitor behavior — Failed to contact 127.0.0.1-1085
Ya, I just restarted the wotaskd by hand and I did have to synchronize the server to wake things up again > On May 5, 2021, at 1:03 PM, Jesse Tayler wrote: > > > One of my servers is running ok, but JavaMonitor isn’t getting any contact > with what I guess must be wotaskd? > > Any suggestions or seeing what might be down or how to get that back up most > properly? I see some notes in the wiki but nothing seemed like a ringer and I > can’t recall ever having this happen before? > > Maybe it’s no worry. > > I notice I seem to have JavaMonitor running inside JavaMonitor which I guess > is how we ensure it is available — so, that’s a normal config everyone does? > I’m not even sure… > > ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
strange JavaMonitor behavior — Failed to contact 127.0.0.1-1085
One of my servers is running ok, but JavaMonitor isn’t getting any contact with what I guess must be wotaskd? Any suggestions or seeing what might be down or how to get that back up most properly? I see some notes in the wiki but nothing seemed like a ringer and I can’t recall ever having this happen before? Maybe it’s no worry. I notice I seem to have JavaMonitor running inside JavaMonitor which I guess is how we ensure it is available — so, that’s a normal config everyone does? I’m not even sure… ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Additional arguments within JavaMonitor with whitespace
Hi, I try to define additional JVM arguments within the JavaMonitor like this: -Dthis.is.a.key=value But I have problems to define a "value" with whitespace: -Dthis.is.a.key=this is my value! I have set enclosing quotes, but the application won't start: -Dthis.is.a.key="this is my value!" -Dthis.is.a.key='this is my value!' I have added escape characters: -Dthis.is.a.key=\"this\ is\ my\ value!\" It works, but should I also escape "!" and use single quotes because \! could be a shell command: -Dthis.is.a.key=\'this\ is\ my\ value\!\' What is the preferred way? Thank you André ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: JavaMonitor to start a blocking application?
+1 I’ve been using Quartz for some time - outside of Wonder. So, I have yet to even check the Wonder integrations. I’ve had no problems using Quartz with WOMonitor though. In my generalized Application class I have a method: _checkQuartzJobStatusAndShutdown which is called whenever Application.refuseNewSessions or Application.terminate are called. So, actions you take from WOMonitor can be integrated in to safely stop any current job triggers/schedules that might be running. Tim UCLA GSE > On Oct 9, 2018, at 7:26 AM, Klaus Berkling wrote: > > Yes. Wonder has Quartz. Works nicely handling monthly billing and user > reminder emails. > > Sent from my phone. > >> On Oct 9, 2018, at 06:35, Paul Yu wrote: >> >> John >> >> Have you looked are Quartz? I don’t remember if Wonder has that framework >> or not. >> >> Paul >> >>> On Oct 9, 2018, at 6:41 AM, John Pollard wrote: >>> >>> Hello WOers, >>> I use JavaMonitor for a number of web apps just fine. >>> I have another app that is a WO app but it isn’t an event driven web app; >>> when it runs is just gets on with a never ending task. >>> Is there an easy way to use JavaMonitor to just start this when the machine >>> first boots up, but not try to check it is still alive (no heartbeats)? >>> This would be a bit easier than using cron for me. >>> I suppose ideally I would like the app to be responsive to JavaMonitor so >>> it can be shown to be alive / be killed & restarted, whilst also doing its >>> never ending task. Is it possible to do this with a background thread in my >>> ERXApplication class or will that now work nicely with EOF etc. >>> Thanks >>> John >>> ___ >>> Do not post admin requests to the list. They will be ignored. >>> Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) >>> Help/Unsubscribe/Update your Subscription: >>> https://lists.apple.com/mailman/options/webobjects-dev/pyu%40mac.com >>> >>> This email sent to p...@mac.com >> >> ___ >> Do not post admin requests to the list. They will be ignored. >> Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) >> Help/Unsubscribe/Update your Subscription: >> https://lists.apple.com/mailman/options/webobjects-dev/webobjects%40berkling.us >> >> This email sent to webobje...@berkling.us > ___ > Do not post admin requests to the list. They will be ignored. > Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) > Help/Unsubscribe/Update your Subscription: > https://lists.apple.com/mailman/options/webobjects-dev/lists%40thetimmy.com > > This email sent to li...@thetimmy.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: JavaMonitor to start a blocking application?
Thanks all for replies. Giles Palmer also recommended ScheduledExecutorService directly so I have good options to look at. I realise I don’t need to use JavaMonitor, but it keeps things managed in one place. Thanks John > On 9 Oct 2018, at 15:26, Klaus Berkling wrote: > > Yes. Wonder has Quartz. Works nicely handling monthly billing and user > reminder emails. > > Sent from my phone. > >> On Oct 9, 2018, at 06:35, Paul Yu wrote: >> >> John >> >> Have you looked are Quartz? I don’t remember if Wonder has that framework >> or not. >> >> Paul >> >>> On Oct 9, 2018, at 6:41 AM, John Pollard wrote: >>> >>> Hello WOers, >>> I use JavaMonitor for a number of web apps just fine. >>> I have another app that is a WO app but it isn’t an event driven web app; >>> when it runs is just gets on with a never ending task. >>> Is there an easy way to use JavaMonitor to just start this when the machine >>> first boots up, but not try to check it is still alive (no heartbeats)? >>> This would be a bit easier than using cron for me. >>> I suppose ideally I would like the app to be responsive to JavaMonitor so >>> it can be shown to be alive / be killed & restarted, whilst also doing its >>> never ending task. Is it possible to do this with a background thread in my >>> ERXApplication class or will that now work nicely with EOF etc. >>> Thanks >>> John >>> ___ >>> Do not post admin requests to the list. They will be ignored. >>> Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) >>> Help/Unsubscribe/Update your Subscription: >>> https://lists.apple.com/mailman/options/webobjects-dev/pyu%40mac.com >>> >>> This email sent to p...@mac.com >> >> ___ >> Do not post admin requests to the list. They will be ignored. >> Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) >> Help/Unsubscribe/Update your Subscription: >> https://lists.apple.com/mailman/options/webobjects-dev/webobjects%40berkling.us >> >> This email sent to webobje...@berkling.us ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: JavaMonitor to start a blocking application?
Yes. Wonder has Quartz. Works nicely handling monthly billing and user reminder emails. Sent from my phone. > On Oct 9, 2018, at 06:35, Paul Yu wrote: > > John > > Have you looked are Quartz? I don’t remember if Wonder has that framework or > not. > > Paul > >> On Oct 9, 2018, at 6:41 AM, John Pollard wrote: >> >> Hello WOers, >> I use JavaMonitor for a number of web apps just fine. >> I have another app that is a WO app but it isn’t an event driven web app; >> when it runs is just gets on with a never ending task. >> Is there an easy way to use JavaMonitor to just start this when the machine >> first boots up, but not try to check it is still alive (no heartbeats)? >> This would be a bit easier than using cron for me. >> I suppose ideally I would like the app to be responsive to JavaMonitor so it >> can be shown to be alive / be killed & restarted, whilst also doing its >> never ending task. Is it possible to do this with a background thread in my >> ERXApplication class or will that now work nicely with EOF etc. >> Thanks >> John >> ___ >> Do not post admin requests to the list. They will be ignored. >> Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) >> Help/Unsubscribe/Update your Subscription: >> https://lists.apple.com/mailman/options/webobjects-dev/pyu%40mac.com >> >> This email sent to p...@mac.com > > ___ > Do not post admin requests to the list. They will be ignored. > Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) > Help/Unsubscribe/Update your Subscription: > https://lists.apple.com/mailman/options/webobjects-dev/webobjects%40berkling.us > > This email sent to webobje...@berkling.us smime.p7s Description: S/MIME cryptographic signature ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: JavaMonitor to start a blocking application?
John Have you looked are Quartz? I don’t remember if Wonder has that framework or not. Paul > On Oct 9, 2018, at 6:41 AM, John Pollard wrote: > > Hello WOers, > I use JavaMonitor for a number of web apps just fine. > I have another app that is a WO app but it isn’t an event driven web app; > when it runs is just gets on with a never ending task. > Is there an easy way to use JavaMonitor to just start this when the machine > first boots up, but not try to check it is still alive (no heartbeats)? > This would be a bit easier than using cron for me. > I suppose ideally I would like the app to be responsive to JavaMonitor so it > can be shown to be alive / be killed & restarted, whilst also doing its never > ending task. Is it possible to do this with a background thread in my > ERXApplication class or will that now work nicely with EOF etc. > Thanks > John > ___ > Do not post admin requests to the list. They will be ignored. > Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) > Help/Unsubscribe/Update your Subscription: > https://lists.apple.com/mailman/options/webobjects-dev/pyu%40mac.com > > This email sent to p...@mac.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: JavaMonitor to start a blocking application?
Why not just start the instance in your startup script and blow WO off — I suspect long tasks may prevent the heartbeat and that might be hard to run, otherwise, there’s no trouble with monitor starting and app and leaving it alone… I’m not sure about backgrounding tasks, but I’m sure it would not be that hard to get working if it really doesn’t throw heartbeats in the first place which I don’t know if it does or not. > On Oct 9, 2018, at 6:41 AM, John Pollard wrote: > > Hello WOers, > I use JavaMonitor for a number of web apps just fine. > I have another app that is a WO app but it isn’t an event driven web app; > when it runs is just gets on with a never ending task. > Is there an easy way to use JavaMonitor to just start this when the machine > first boots up, but not try to check it is still alive (no heartbeats)? > This would be a bit easier than using cron for me. > I suppose ideally I would like the app to be responsive to JavaMonitor so it > can be shown to be alive / be killed & restarted, whilst also doing its never > ending task. Is it possible to do this with a background thread in my > ERXApplication class or will that now work nicely with EOF etc. > Thanks > John > ___ > Do not post admin requests to the list. They will be ignored. > Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) > Help/Unsubscribe/Update your Subscription: > https://lists.apple.com/mailman/options/webobjects-dev/jtayler%40oeinc.com > > This email sent to jtay...@oeinc.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
JavaMonitor to start a blocking application?
Hello WOers, I use JavaMonitor for a number of web apps just fine. I have another app that is a WO app but it isn’t an event driven web app; when it runs is just gets on with a never ending task. Is there an easy way to use JavaMonitor to just start this when the machine first boots up, but not try to check it is still alive (no heartbeats)? This would be a bit easier than using cron for me. I suppose ideally I would like the app to be responsive to JavaMonitor so it can be shown to be alive / be killed & restarted, whilst also doing its never ending task. Is it possible to do this with a background thread in my ERXApplication class or will that now work nicely with EOF etc. Thanks John ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: GracefulApplication, gracefulTerminate() and JavaMonitor
For the archives… On 17 Jun 2016, at 3:49 PM, Paul Hoadley <pa...@logicsquad.net> wrote: > On 15 Jun 2016, at 2:56 PM, Paul Hoadley <pa...@logicsquad.net> wrote: > >> 1. I assume that setting "refuse new sessions” on an instance in JavaMonitor >> will eventually send a SIGTERM to the app which will be caught by the >> graceful shutdown mechanism. (Hitting the stop button in Eclipse, for >> example, doesn’t do that and so gracefulTerminate() isn’t called. You have >> to simulate it by sending SIGTERM to the Java process from a terminal.) That >> is, will this even work in production? (I can’t imagine the answer here is >> no, but would be good to know if anyone’s doing/done it.) > > As far as I can tell, this assumption was wrong, so we’re not off to a good > start. Hitting “refuse new sessions” for an instance (when it has no > sessions—haven’t completed testing on an instance that’s also waiting for > sessions to expire) eventually calls ERXApplication.refuseNewSessions(), > which calls terminate(), regardless of whether > er.extensions.ERXGracefulShutdown.Enabled is set true. The instance does do a > graceful shutdown if I send it a TERM signal from the console, but that’s not > really much help—I need this integrated with JavaMonitor. > > Does anyone know what’s going on here? Was this feature just never hooked up > with JavaMonitor properly, or am I doing something wrong? Anyone using > GracefulApplication in any context? You can certainly work around this by overriding both terminate() and gracefulTerminate(): @Override public void gracefulTerminate() { // ... super.terminate(); } @Override public void terminate() { gracefulTerminate(); } At that point, though, there doesn’t seem to be a point to implementing GracefulApplication and setting er.extensions.ERXGracefulShutdown.Enabled=true, as you may as well just override terminate(). The only thing GracefulApplication buys you is signal interception, which would seem to be pointless in the context of deploying with JavaMonitor. This feature seems to be half-cooked, then, or else I’m missing its intention. Unfortunately the original author is long gone. -- Paul Hoadley http://logicsquad.net/ ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: GracefulApplication, gracefulTerminate() and JavaMonitor
On 15 Jun 2016, at 2:56 PM, Paul Hoadley <pa...@logicsquad.net> wrote: > 1. I assume that setting "refuse new sessions” on an instance in JavaMonitor > will eventually send a SIGTERM to the app which will be caught by the > graceful shutdown mechanism. (Hitting the stop button in Eclipse, for > example, doesn’t do that and so gracefulTerminate() isn’t called. You have to > simulate it by sending SIGTERM to the Java process from a terminal.) That is, > will this even work in production? (I can’t imagine the answer here is no, > but would be good to know if anyone’s doing/done it.) As far as I can tell, this assumption was wrong, so we’re not off to a good start. Hitting “refuse new sessions” for an instance (when it has no sessions—haven’t completed testing on an instance that’s also waiting for sessions to expire) eventually calls ERXApplication.refuseNewSessions(), which calls terminate(), regardless of whether er.extensions.ERXGracefulShutdown.Enabled is set true. The instance does do a graceful shutdown if I send it a TERM signal from the console, but that’s not really much help—I need this integrated with JavaMonitor. Does anyone know what’s going on here? Was this feature just never hooked up with JavaMonitor properly, or am I doing something wrong? Anyone using GracefulApplication in any context? -- Paul Hoadley http://logicsquad.net/ ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: GracefulApplication, gracefulTerminate() and JavaMonitor
Hi Bogdan, On 15 Jun 2016, at 3:04 PM, Bogdan Zlatanovwrote: > Just a quick suggestion regarding your comment: "we check for outstanding > scheduled Runnables and then sleep for 5 seconds". ExecutorService exposes > shutdown and awaitTermination methods to basically do exactly what you need - > graceful shutdown of the thread pool. > Oh, thanks for that. Works perfectly. -- Paul Hoadley http://logicsquad.net/ ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: GracefulApplication, gracefulTerminate() and JavaMonitor
Hi Paul, Just a quick suggestion regarding your comment: "/we check for outstanding scheduled Runnables and then sleep for 5 seconds/". ExecutorService exposes /shutdown/ and /awaitTermination/ methods to basically do exactly what you need - graceful shutdown of the thread pool. Cheers On 15/06/2016 07:26, Paul Hoadley wrote: Hello, We have an app that uses a ScheduledExecutorService to delay some interactions with another web service. The basic use case here is that a user logs in, performs some action that results in a Runnable being sent to the ScheduledExecutorService with a delay so that it’s executed later, and then the user logs out. This all works fine, except where it doesn’t. One place where it doesn’t work fine is if we want to update the running app and terminate an instance—any app instance might be holding Runnables that are scheduled to execute later, and yet have no active sessions and would thus be candidates for a shutdown via “refuse new sessions”. Until now, we’ve been keeping track of the scheduled Runnables somewhat indirectly (the details don’t matter), and it’s been reasonably successful. However, it occurred to me that I might be able to use gracefulTerminate() to wait until there are no more outstanding Runnables in the queue. In development, this works just fine: using a while loop we check for outstanding scheduled Runnables and then sleep for 5 seconds. When there are none, we call super.gracefulTerminate() and the app shuts down. My questions: 1. I assume that setting "refuse new sessions” on an instance in JavaMonitor will eventually send a SIGTERM to the app which will be caught by the graceful shutdown mechanism. (Hitting the stop button in Eclipse, for example, doesn’t do that and so gracefulTerminate() isn’t called. You have to simulate it by sending SIGTERM to the Java process from a terminal.) That is, will this even work in production? (I can’t imagine the answer here is no, but would be good to know if anyone’s doing/done it.) 2. The Javadocs for gracefulTerminate() talk about "last minute cleanup”, but I assume we can wait an arbitrary amount of time here. We could conceivably have delays of _hours_ on some of the Runnables in the queue—is this going to bother JavaMonitor (or anything else)? (I assume JavaMonitor will continue to honour “refuse new sessions”, for example.) Obviously we will test this out, but if someone is doing anything like this, it would be great to hear about it. Finally, yes, there are probably much better ways to achieve the outcome here (database-backed Quartz Scheduler, for example), but this was the solution that fit into the budget constraints. ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
GracefulApplication, gracefulTerminate() and JavaMonitor
Hello, We have an app that uses a ScheduledExecutorService to delay some interactions with another web service. The basic use case here is that a user logs in, performs some action that results in a Runnable being sent to the ScheduledExecutorService with a delay so that it’s executed later, and then the user logs out. This all works fine, except where it doesn’t. One place where it doesn’t work fine is if we want to update the running app and terminate an instance—any app instance might be holding Runnables that are scheduled to execute later, and yet have no active sessions and would thus be candidates for a shutdown via “refuse new sessions”. Until now, we’ve been keeping track of the scheduled Runnables somewhat indirectly (the details don’t matter), and it’s been reasonably successful. However, it occurred to me that I might be able to use gracefulTerminate() to wait until there are no more outstanding Runnables in the queue. In development, this works just fine: using a while loop we check for outstanding scheduled Runnables and then sleep for 5 seconds. When there are none, we call super.gracefulTerminate() and the app shuts down. My questions: 1. I assume that setting "refuse new sessions” on an instance in JavaMonitor will eventually send a SIGTERM to the app which will be caught by the graceful shutdown mechanism. (Hitting the stop button in Eclipse, for example, doesn’t do that and so gracefulTerminate() isn’t called. You have to simulate it by sending SIGTERM to the Java process from a terminal.) That is, will this even work in production? (I can’t imagine the answer here is no, but would be good to know if anyone’s doing/done it.) 2. The Javadocs for gracefulTerminate() talk about "last minute cleanup”, but I assume we can wait an arbitrary amount of time here. We could conceivably have delays of _hours_ on some of the Runnables in the queue—is this going to bother JavaMonitor (or anything else)? (I assume JavaMonitor will continue to honour “refuse new sessions”, for example.) Obviously we will test this out, but if someone is doing anything like this, it would be great to hear about it. Finally, yes, there are probably much better ways to achieve the outcome here (database-backed Quartz Scheduler, for example), but this was the solution that fit into the budget constraints. -- Paul Hoadley http://logicsquad.net/ ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
RE: Building JavaMonitor on Windows
Markus, thanks again. I downloaded the latest JavaMonitor build from wonder6 and this is working great. It turns out I had an older JavaMonitor build from wonder 6.1.4 snapshot. thanks, -- marius From: Markus Stoll, junidas GmbH [mailto:markus.st...@junidas.de] Sent: Tuesday, January 19, 2016 2:06 AM To: Strumyla, Marius Cc: webobjects-dev@lists.apple.com Subject: Re: Building JavaMonitor on Windows Hi, the mentioned change had been merged into wonder lately. So a current prebuild JavaMonitor should do it Markus Am 15.01.2016 um 16:00 schrieb Strumyla, Marius <mstrum...@accordant.net<mailto:mstrum...@accordant.net>>: Hi, I’m trying to build JavaMonitor from Wonder source on Windows. I have Eclipse 4.4 and Java 7. I want to create a custom JavaMonitor build with these changes mentioned by Markus Stoll. add this override in your Application class: private static String[] myAppExtensions = {}; public String[] adaptorExtensions() { return myAppExtensions; } My goal is to run JavaMonitor deployed as an app thru IIS adaptor. I don’t want to run it in direct connect mode on port 56789. Running it in direct mode, Qualys web scan finds it vulnerable to XSS. GET /index.html">alert(123) HTTP/1.0 I would like to build JavaMonitor from Eclipse using Java 7. I downloaded two wonder source branches - master and wonder_6 to try. It looks like to build on Windows I need to do it from the top level Build/build/build.xml Can somebody give me some guidance on this? Thanks, -- marius ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com<mailto:Webobjects-dev@lists.apple.com>) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/markus.stoll%40junidas.de This email sent to markus.st...@junidas.de<mailto:markus.st...@junidas.de> ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Building JavaMonitor on Windows
Hi, the mentioned change had been merged into wonder lately. So a current prebuild JavaMonitor should do it Markus > Am 15.01.2016 um 16:00 schrieb Strumyla, Marius <mstrum...@accordant.net>: > > Hi, > > I’m trying to build JavaMonitor from Wonder source on Windows. I have Eclipse > 4.4 and Java 7. > I want to create a custom JavaMonitor build with these changes mentioned by > Markus Stoll. > > add this override in your Application class: > > private static String[] myAppExtensions = {}; > public String[] adaptorExtensions() { > return myAppExtensions; > } > > My goal is to run JavaMonitor deployed as an app thru IIS adaptor. I don’t > want to run it in direct connect mode on port 56789. Running it in direct > mode, Qualys web scan finds it vulnerable to XSS. > GET /index.html">alert(123) HTTP/1.0 > > I would like to build JavaMonitor from Eclipse using Java 7. > I downloaded two wonder source branches - master and wonder_6 to try. > It looks like to build on Windows I need to do it from the top level > Build/build/build.xml > > Can somebody give me some guidance on this? > > Thanks, > -- > marius > ___ > Do not post admin requests to the list. They will be ignored. > Webobjects-dev mailing list (Webobjects-dev@lists.apple.com > <mailto:Webobjects-dev@lists.apple.com>) > Help/Unsubscribe/Update your Subscription: > https://lists.apple.com/mailman/options/webobjects-dev/markus.stoll%40junidas.de > > <https://lists.apple.com/mailman/options/webobjects-dev/markus.stoll%40junidas.de> > > This email sent to markus.st...@junidas.de <mailto:markus.st...@junidas.de> smime.p7s Description: S/MIME cryptographic signature ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Building JavaMonitor on Windows
Hi, I'm trying to build JavaMonitor from Wonder source on Windows. I have Eclipse 4.4 and Java 7. I want to create a custom JavaMonitor build with these changes mentioned by Markus Stoll. add this override in your Application class: private static String[] myAppExtensions = {}; public String[] adaptorExtensions() { return myAppExtensions; } My goal is to run JavaMonitor deployed as an app thru IIS adaptor. I don't want to run it in direct connect mode on port 56789. Running it in direct mode, Qualys web scan finds it vulnerable to XSS. GET /index.html">alert(123) HTTP/1.0 I would like to build JavaMonitor from Eclipse using Java 7. I downloaded two wonder source branches - master and wonder_6 to try. It looks like to build on Windows I need to do it from the top level Build/build/build.xml Can somebody give me some guidance on this? Thanks, -- marius ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Apps launch fine from the command line but not from JavaMonitor - CentOS 6.5
Have you looked at the file „wotaskd.woa/Contents/Resources/SpawnOfWotaskd.sh“? It is used to start the apps and may be configured to log the process. I don’t know, if the default paths used for the logs are correct on CentOS. Ralf > Am 25.10.2015 um 20:50 schrieb Ricardo Parada <rpar...@mac.com>: > > > Is anybody familiary deploying on CentOS 6.5. I just want to get the basic > stuff working. I have a simple WOnder app (TestApp.woa) with all frameworks > embedded. I have the apache, the WebObjects http adaptor, JavaMonitor and > wotaskd running. > > In a nutshell, the app runs just fine from the command line but it won’t > start from JavaMonitor. The TestApp keeps dying. It does not even get to log > anything under /opt/Local/Library/WebObjects/Logs. It is as if JavaMonitor > did not even try to run it. > > On the other hand, if I run the application from the command line I can > direct connect to it. I’ve spent many hours and I cannot figure it out. > > If I go to a static file configuration by changing my > /etc/httpd/conf.d/webobjects.conf file as follows: > > LoadModule WebObjects_module modules/mod_WebObjects.so > WebObjectsDocumentRoot /var/www/html > WebObjectsAlias /apps/WebObjects > > # Commented out this because I cannot get apps launched from > # JavaMonitor. > #WebObjectsConfig http://localhost:1085 <http://localhost:1085/> 10 > > # File configuration works fine > WebObjectsConfig file:///opt/Local/Library/WebObjects/Configuration/Apps.xml > 10 > > WebObjectsLog /tmp/WebObjects.log Debug > > My /opt/Local/Library/WebObjects/Configuration/Apps.xml file is as follows: > > > > > > > > > I then restart apache and run my TestApp from the command line: > > # cd /opt/Local/Library/WebObjects/Applications/TestApp.woa/ > # ./TestApp -WOPort 2001 > > After this I can connect through the web server, i.e. > http://host/apps/WebObjects/TestApp or using direct connect, i.e. > http://host:2001. > > Please let me know if you have any suggestions on what to try to help debug > the problem. > > > > ___ > Do not post admin requests to the list. They will be ignored. > Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) > Help/Unsubscribe/Update your Subscription: > https://lists.apple.com/mailman/options/webobjects-dev/rasc%40gmx.de > > This email sent to r...@gmx.de ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Apps launch fine from the command line but not from JavaMonitor - CentOS 6.5
I think this is usually a permissions difference in the user that JavaMonitor/wotaskd is being run under vs what you a logged in as at the command line. From: <webobjects-dev-bounces+chill=gevityinc@lists.apple.com<mailto:webobjects-dev-bounces+chill=gevityinc@lists.apple.com>> on behalf of Ricardo Parada <rpar...@mac.com<mailto:rpar...@mac.com>> Date: Sunday, October 25, 2015 at 12:50 PM To: WebObjects-Dev <webobjects-dev@lists.apple.com<mailto:webobjects-dev@lists.apple.com>> Subject: Apps launch fine from the command line but not from JavaMonitor - CentOS 6.5 Is anybody familiary deploying on CentOS 6.5. I just want to get the basic stuff working. I have a simple WOnder app (TestApp.woa) with all frameworks embedded. I have the apache, the WebObjects http adaptor, JavaMonitor and wotaskd running. In a nutshell, the app runs just fine from the command line but it won't start from JavaMonitor. The TestApp keeps dying. It does not even get to log anything under /opt/Local/Library/WebObjects/Logs. It is as if JavaMonitor did not even try to run it. On the other hand, if I run the application from the command line I can direct connect to it. I've spent many hours and I cannot figure it out. If I go to a static file configuration by changing my /etc/httpd/conf.d/webobjects.conf file as follows: LoadModule WebObjects_modulemodules/mod_WebObjects.so WebObjectsDocumentRoot /var/www/html WebObjectsAlias /apps/WebObjects # Commented out this because I cannot get apps launched from # JavaMonitor. #WebObjectsConfig http://localhost:1085 10 # File configuration works fine WebObjectsConfig file:///opt/Local/Library/WebObjects/Configuration/Apps.xml 10 WebObjectsLog /tmp/WebObjects.log Debug My /opt/Local/Library/WebObjects/Configuration/Apps.xml file is as follows: I then restart apache and run my TestApp from the command line: # cd /opt/Local/Library/WebObjects/Applications/TestApp.woa/ # ./TestApp -WOPort 2001 After this I can connect through the web server, i.e. http://host/apps/WebObjects/TestApp or using direct connect, i.e. http://host:2001. Please let me know if you have any suggestions on what to try to help debug the problem. ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Apps launch fine from the command line but not from JavaMonitor - CentOS 6.5
Is anybody familiary deploying on CentOS 6.5. I just want to get the basic stuff working. I have a simple WOnder app (TestApp.woa) with all frameworks embedded. I have the apache, the WebObjects http adaptor, JavaMonitor and wotaskd running. In a nutshell, the app runs just fine from the command line but it won’t start from JavaMonitor. The TestApp keeps dying. It does not even get to log anything under /opt/Local/Library/WebObjects/Logs. It is as if JavaMonitor did not even try to run it. On the other hand, if I run the application from the command line I can direct connect to it. I’ve spent many hours and I cannot figure it out. If I go to a static file configuration by changing my /etc/httpd/conf.d/webobjects.conf file as follows: LoadModule WebObjects_modulemodules/mod_WebObjects.so WebObjectsDocumentRoot /var/www/html WebObjectsAlias /apps/WebObjects # Commented out this because I cannot get apps launched from # JavaMonitor. #WebObjectsConfig http://localhost:1085 10 # File configuration works fine WebObjectsConfig file:///opt/Local/Library/WebObjects/Configuration/Apps.xml 10 WebObjectsLog /tmp/WebObjects.log Debug My /opt/Local/Library/WebObjects/Configuration/Apps.xml file is as follows: I then restart apache and run my TestApp from the command line: # cd /opt/Local/Library/WebObjects/Applications/TestApp.woa/ # ./TestApp -WOPort 2001 After this I can connect through the web server, i.e. http://host/apps/WebObjects/TestApp or using direct connect, i.e. http://host:2001. Please let me know if you have any suggestions on what to try to help debug the problem. ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Wonder JavaMonitor - No statistics for instance
Hi, I upgraded my old JavaMonitor by the latest wonder one and every time I go to view a detail of one my instances, I always have in red No statistics for appName -A or No statistics for appName-B, No statistics for appName-Z. These messages are due to what? bad settings of the new JavaMonitor ? Thanks for help Envoyé depuis iCloud ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Wonder JavaMonitor file browser
On Feb 20, 2014, at 6:48 AM, Johann Werner j...@oyosys.com wrote: Hi Raymond, the file browser in JavaMonitor still works. When the listing is displayed the first time the directory to show is undefined though and thus shows no files. If you enter e.g. a '/' in Jump to: and click submit you get the correct listing of your root directory. It could choose automatically the root directory at start though. Better would be the Application Root, no? Anything would be better than saying “Current directory:” and “Back (Up one directory level)” when you are NOT even in a directory. It is completely misleading. Better to just have the “Jump to:” field and hide the table until really, truly *is* a current directory to show the contents of. I’ll take a look at it. Chuck, stop screaming. How badly could I mess it up?? Dave — WebObjects - so easy that even Dave Avendasora can do it!™ — David Avendasora Senior Software Abuser Nekesto, Inc. ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Wonder JavaMonitor file browser
Am 20.02.2014 um 14:03 schrieb David Avendasora webobje...@avendasora.com: On Feb 20, 2014, at 6:48 AM, Johann Werner j...@oyosys.com wrote: Hi Raymond, the file browser in JavaMonitor still works. When the listing is displayed the first time the directory to show is undefined though and thus shows no files. If you enter e.g. a '/' in Jump to: and click submit you get the correct listing of your root directory. It could choose automatically the root directory at start though. Better would be the Application Root, no? Sure, but what is the application root? This could / will be different on OS X, Linux, Windows, or your own in-house deployment structure. Perhaps adding a setting on the preference page would be the best way to go? Anything would be better than saying “Current directory:” and “Back (Up one directory level)” when you are NOT even in a directory. It is completely misleading. Better to just have the “Jump to:” field and hide the table until really, truly *is* a current directory to show the contents of. That I was just to push ;-) I’ll take a look at it. There’s plenty room to improve yet. Chuck, stop screaming. How badly could I mess it up?? Dave — WebObjects - so easy that even Dave Avendasora can do it!™ — David Avendasora Senior Software Abuser Nekesto, Inc. ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/jw%40oyosys.com This email sent to j...@oyosys.com signature.asc Description: Message signed with OpenPGP using GPGMail ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
can't start what with JavaMonitor?
Has it occurred to anyone else that we should replace JM? For one thing, could we not have an app which puts info about what it knows in, you know, a database? And then synchronizes that information to the instances running in a way that is not synchronous with the UI? If I have one more time where one host on the network is not talking to JM and this makes _every_ _single_ _mouseclick_ take 60 seconds, I am going to be in danger of throwing my laptop[ across the room. Well, I am leaving DynEd sometime around the end of this month, so I may end up having time to work on some things like this. We will see. Anyone else want to chat about a less painfully lame JM application? cheers - ray ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: can't start what with JavaMonitor?
+1. With REST routes in wotaskd, I don’t see a reason to use JavaMonitor. On low memory situation (small cloud VM), you save memory by not running JM, and in large setup, you can do more flexible stuff (deploy directly from Jenkins, etc.). Has it occurred to anyone else that we should replace JM? For one thing, could we not have an app which puts info about what it knows in, you know, a database? And then synchronizes that information to the instances running in a way that is not synchronous with the UI? If I have one more time where one host on the network is not talking to JM and this makes _every_ _single_ _mouseclick_ take 60 seconds, I am going to be in danger of throwing my laptop[ across the room. Well, I am leaving DynEd sometime around the end of this month, so I may end up having time to work on some things like this. We will see. Anyone else want to chat about a less painfully lame JM application? cheers - ray ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/probert%40macti.ca This email sent to prob...@macti.ca ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Can't start app from javamonitor
Le 2014-01-09 à 19:17, Chuck Hill ch...@global-village.net a écrit : On 1/9/2014, 11:49 AM, j...@netbrackets.com wrote: I can't seem to figure out how to add a password to that url. The provided link doesn't really talk about getting that link to work specifically. I tried: http://netbrandeds-mini1.netbrandeds.info:1085/?password=x http://netbrandeds-mini1.netbrandeds.info:1085/?pw=x And yes, there are two domains. Actually, netbrandeds.info is the main domain, and netbrandeds-mini1.netbrandeds.info is setup as a subdomain, but ultimately they both point to the same IP/host machine. Is that bad? I’ll leave that to Pascal, he is the expert. But it sounds problematic if they both point to the same IP. As long as the reverse DNS entry is unique, it’s not a problem. On the DNS side, everything is fine: $ host netbrandeds-mini1.netbrandeds.info netbrandeds-mini1.netbrandeds.info has address 208.52.189.44 $ host 208.52.189.44 44.189.52.208.in-addr.arpa domain name pointer netbrandeds-mini1.netbrandeds.info. $ host netbrandeds.info netbrandeds.info has address 208.52.189.44 Since DNS is fine, I would remove all -WOHost arguments, -WOHost is not required when DNS is setup correctly. From: Chuck Hill ch...@global-village.net Date: January 9, 2014 at 1:29:07 PM CST To: Jeffrey Schmitz j...@netbrackets.com, WebObjects Development webobjects-dev@lists.apple.com Subject: Re: Can't start app from javamonitor On 1/8/2014, 10:04 PM, Jeffrey Schmitz wrote: On the 1085 URL? Yes. btw This: http://netbrandeds.info:1085/WebObjects/wotaskd.woa/wa/woconfig Why is that not netbrandeds-mini1.netbrandeds.info? There are two domain names? Multiple machines? Returns: adaptor application name=netBrackets instance id=1 port=2001 host=netbrandeds-mini1.netbrandeds.info/ /application /adaptor And from javamonitor Hosts tab/View Config I get: Wotaskd for WebObjects 5: netbrandeds-mini1.netbrandeds.info Site Config as written to disk SiteConfig type=NSDictionary hostArray type=NSArray element type=NSDictionary type type=NSStringMACOSX/type name type=NSStringnetbrandeds-mini1.netbrandeds.info/name /element /hostArray applicationArray type=NSArray element type=NSDictionary cachingEnabled type=NSStringYES/cachingEnabled adaptor type=NSStringWODefaultAdaptor/adaptor name type=NSStringnetBrackets/name adaptorThreadsMin type=NSNumber16/adaptorThreadsMin notificationEmailEnabled type=NSStringNO/notificationEmailEnabled macPath type=NSString/Library/WebObjects/Applications/netBrackets.woa/netBrackets/macPath lifebeatInterval type=NSNumber30/lifebeatInterval statisticsPassword type=NSString/statisticsPassword adaptorThreadsMax type=NSNumber256/adaptorThreadsMax startingPort type=NSNumber2001/startingPort adaptorThreads type=NSNumber8/adaptorThreads projectSearchPath type=NSString()/projectSearchPath autoRecover type=NSStringYES/autoRecover autoOpenInBrowser type=NSStringNO/autoOpenInBrowser listenQueueSize type=NSNumber128/listenQueueSize minimumActiveSessionsCount type=NSNumber0/minimumActiveSessionsCount macOutputPath type=NSString/Library/WebObjects/Logs//macOutputPath sessionTimeOut type=NSNumber3600/sessionTimeOut debuggingEnabled type=NSStringNO/debuggingEnabled phasedStartup type=NSStringYES/phasedStartup additionalArgs type=NSString-d64 -Xms2048m -Xmx3072m -WOAllowsConcurrentRequestHandling YES -EOAdaptorDebugEnabled NO -WODirectConnectEnabled NO -WOHost netbrandeds-mini1.netbrandeds.info/additionalArgs timeForStartup type=NSNumber30/timeForStartup /element /applicationArray instanceArray type=NSArray element type=NSDictionary hostName type=NSStringnetbrandeds-mini1.netbrandeds.info/hostName port type=NSNumber2001/port cachingEnabled type=NSStringYES/cachingEnabled additionalArgs type=NSString-d64 -Xms2048m -Xmx3072m -WOAllowsConcurrentRequestHandling YES -EOAdaptorDebugEnabled NO -WODirectConnectEnabled NO -WOHost netbrandeds-mini1.netbrandeds.info/additionalArgs path type=NSString/Library/WebObjects/Applications/netBrackets.woa/netBrackets/path outputPath type=NSString/Library/WebObjects/Logs/netBrackets-1/outputPath id type=NSNumber1/id schedulingDailyStartTime type=NSNumber3/schedulingDailyStartTime schedulingHourlyStartTime type=NSNumber3/schedulingHourlyStartTime schedulingEnabled type=NSStringNO/schedulingEnabled schedulingStartDay type=NSNumber1/schedulingStartDay debuggingEnabled type=NSStringNO/debuggingEnabled gracefulScheduling type=NSStringYES/gracefulScheduling autoRecover type=NSStringYES/autoRecover lifebeatInterval type=NSNumber30/lifebeatInterval schedulingInterval type=NSNumber12/schedulingInterval schedulingWeeklyStartTime type=NSNumber3/schedulingWeeklyStartTime
Re: Can't start app from javamonitor
Looks like netbrandeds.info is managed by your domain name provider (1and1). You need to login to whatever interface they have to manage your domain name and add a DNS entry for netbrandeds-mini1.netbrandeds.info with 208.52.189.44 as the IP address (it's a A type of DNS record). You also need to contact your hosting provider (BroadRiver ?) to ask them to map 208.52.189.44 to netbrandeds-mini1.netbrandeds.info (this is what we call a reverse DNS entry, or a PTR record). - Mail original - De: Jeffrey Schmitz j...@netbrackets.com À: Chuck Hill ch...@global-village.net Cc: WebObjects Development webobjects-dev@lists.apple.com Envoyé: Mercredi 8 Janvier 2014 00:09:26 Objet: Re: Can't start app from javamonitor On Jan 7, 2014, at 1:44 PM, Chuck Hill ch...@global-village.net wrote: the WOMonitor/wotaskd log” — are you sending them to the same file? Don’t do that, it will confuse you and us. I've also wondered about that myself, but I got the idea to do it that way from: http://wiki.wocommunity.org/display/documentation/Troubleshooting+wotaskd+and+JavaMonitor+on+OS+X?src=search Although maybe I shouldn't have interpreted the instructions so literally. blockquote Exception sending lifebeat to wotaskd: java.net.ConnectException: Connection refused That sounds like JavaMonitor can’t communicate with wotaskd. This might be why: Current HostName = netbrackets.local /blockquote I want to set this machine up to serve for the registered domain of netbrandeds.info, and I updated the computer/network name accordingly, so now from the changeip command I get: Primary address = 208.52.189.44 Current HostName = netbrandeds-mini1.netbrandeds.info DNS HostName = netbrandeds-mini1.netbrandeds.info The names match. There is nothing to change. dirserv:success = success However, now apache doesn't work anymore. I even went back to it's default/original httpd.conf file, and it won't serve anything. Even putting localhost in Safari that is running on the machine itself returns a Safari can't connect to the server. The apache error log shows the following. [Tue Jan 07 21:19:31 2014] [alert] (EAI 8)nodename nor servname provided, or not known: mod_unique_id: unable to find IPv4 address of netbrandeds-mini1.netbrandeds.info Configuration Failed [Tue Jan 07 22:53:54 2014] [warn] Init: Session Cache is not configured [hint: SSLSessionCache] [Tue Jan 07 22:53:58 2014] [alert] (EAI 8)nodename nor servname provided, or not known: mod_unique_id: unable to find IPv4 address of netbrandeds-mini1.netbrandeds.info Configuration Failed I'm now into an area I'm not familiar with at all. Didn't find much googling except something to do with etc/hosts, but monkeying with that didn't help either. blockquote On 1/7/2014, 4:43 AM, Jeffrey Schmitz wrote: blockquote Right now to keep it simple I'm using localhost. all my settings are shown below. If there is somewhere else I need to set WOHost I'll add it to my well worn list. Also when I do a changeip command I get this, so not sure my dns stuff is setup right anyway... sudo changeip -checkhostname Password: Primary address = 208.52.189.43 Current HostName = netbrackets.local The DNS hostname is not available, please repair DNS and re-run this tool. dirserv:success = success WOHost and other settings: Library/WebObjects/JavaApplications/wotaskd.woa/Contents/Resources/Properties: WOHost=localhost JavaMonitor Site HTTP Adaptor URL: http://localhost/cgi-bin/WebObjects JavaMonitor Hosts Host name (Status says available so wotaskd daemon is running): localhost /System/Library/WebObjects/Adaptors/Apache2.2/apache.conf: WebObjectsConfig localhost:1085 10 httpd.conf: ServerName localhost:80 Directory / Options FollowSymLinks AllowOverride None # Order deny,allow # Deny from all /Directory ScriptAliasMatch ^/cgi-bin/((?!(?i:webobjects)).*$) /Library/WebServer/CGI-Executables/$1 Include /System/Library/WebObjects/Adaptors/Apache2.2/apache.conf Additional Arguments Settings in Javamonitor: -d64 -Xms2048m -Xmx3072m -WOAllowsConcurrentRequestHandling YES -EOAdaptorDebugEnabled NO -WODirectConnectEnabled NO -WOHost localhost On Jan 6, 2014, at 10:26 PM, Chuck Hill ch...@global-village.net wrote: blockquote Are you running wotaskd, JavaMonitor, and your app all with the same WOHost setting? Is it a real DNS name? -- Chuck Hill Executive Managing Partner, VP Development and Technical Services 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/gvc/practical_webobjects Global Village Consulting ranks 13th in 2012 in BIV's Top 100 Fastest Growing Companies in B.C! Global Village Consulting ranks 44th in 25th annual PROFIT 500 ranking of Canada’s Fastest-Growing Companies by PROFIT Magazine! On 1/6/2014, 8:22 PM, Jeffrey Schmitz wrote
Re: Can't start app from javamonitor
This machine is exposed to the real world and hanging exposed? Is there a reason that you want to expose the actual machine NIC to the real world? Maybe there is an advantage to exposing the web server to the real world that I don't see. Normally I give the server an internal IP (10.1.1.65). The firewall NATs the real world address to the internal address. I only forward port 80 (or other ports if needed for HTTPS or FTP) of the real world IP to the internal machine. My internal DNS (split horizon) resolves the internal machines. Every time I read this conversation, I feel you are working too hard. But of course everyones needs are different. Ted On Jan 8, 2014, at 12:09 AM, Jeffrey Schmitz j...@netbrackets.com wrote: On Jan 7, 2014, at 1:44 PM, Chuck Hill ch...@global-village.net wrote: the WOMonitor/wotaskd log” — are you sending them to the same file? Don’t do that, it will confuse you and us. I've also wondered about that myself, but I got the idea to do it that way from: http://wiki.wocommunity.org/display/documentation/Troubleshooting+wotaskd+and+JavaMonitor+on+OS+X?src=search Although maybe I shouldn't have interpreted the instructions so literally. Exception sending lifebeat to wotaskd: java.net.ConnectException: Connection refused That sounds like JavaMonitor can’t communicate with wotaskd. This might be why: Current HostName= netbrackets.local I want to set this machine up to serve for the registered domain of netbrandeds.info, and I updated the computer/network name accordingly, so now from the changeip command I get: Primary address = 208.52.189.44 Current HostName= netbrandeds-mini1.netbrandeds.info DNS HostName= netbrandeds-mini1.netbrandeds.info The names match. There is nothing to change. dirserv:success = success However, now apache doesn't work anymore. I even went back to it's default/original httpd.conf file, and it won't serve anything. Even putting localhost in Safari that is running on the machine itself returns a Safari can't connect to the server. The apache error log shows the following. [Tue Jan 07 21:19:31 2014] [alert] (EAI 8)nodename nor servname provided, or not known: mod_unique_id: unable to find IPv4 address of netbrandeds-mini1.netbrandeds.info Configuration Failed [Tue Jan 07 22:53:54 2014] [warn] Init: Session Cache is not configured [hint: SSLSessionCache] [Tue Jan 07 22:53:58 2014] [alert] (EAI 8)nodename nor servname provided, or not known: mod_unique_id: unable to find IPv4 address of netbrandeds-mini1.netbrandeds.info Configuration Failed I'm now into an area I'm not familiar with at all. Didn't find much googling except something to do with etc/hosts, but monkeying with that didn't help either. On 1/7/2014, 4:43 AM, Jeffrey Schmitz wrote: Right now to keep it simple I'm using localhost. all my settings are shown below. If there is somewhere else I need to set WOHost I'll add it to my well worn list. Also when I do a changeip command I get this, so not sure my dns stuff is setup right anyway... sudo changeip -checkhostname Password: Primary address = 208.52.189.43 Current HostName= netbrackets.local The DNS hostname is not available, please repair DNS and re-run this tool. dirserv:success = success WOHost and other settings: Library/WebObjects/JavaApplications/wotaskd.woa/Contents/Resources/Properties: WOHost=localhost JavaMonitor Site HTTP Adaptor URL: http://localhost/cgi-bin/WebObjects JavaMonitor Hosts Host name (Status says available so wotaskd daemon is running): localhost /System/Library/WebObjects/Adaptors/Apache2.2/apache.conf: WebObjectsConfig localhost:1085 10 httpd.conf: ServerName localhost:80 Directory / Options FollowSymLinks AllowOverride None #Order deny,allow #Deny from all /Directory ScriptAliasMatch ^/cgi-bin/((?!(?i:webobjects)).*$) /Library/WebServer/CGI-Executables/$1 Include /System/Library/WebObjects/Adaptors/Apache2.2/apache.conf Additional Arguments Settings in Javamonitor: -d64 -Xms2048m -Xmx3072m -WOAllowsConcurrentRequestHandling YES -EOAdaptorDebugEnabled NO -WODirectConnectEnabled NO -WOHost localhost On Jan 6, 2014, at 10:26 PM, Chuck Hill ch...@global-village.net wrote: Are you running wotaskd, JavaMonitor, and your app all with the same WOHost setting? Is it a real DNS name? -- Chuck Hill Executive Managing Partner, VP Development and Technical Services 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/gvc/practical_webobjects Global Village Consulting ranks 13th in 2012 in BIV's Top 100 Fastest Growing Companies in B.C! Global Village Consulting ranks 44th in 25th annual PROFIT 500 ranking
Re: Can't start app from javamonitor
+1 - Mail original - De: Theodore Petrosky tedp...@yahoo.com À: Jeffrey Schmitz j...@netbrackets.com Cc: WebObjects Development webobjects-dev@lists.apple.com Envoyé: Mercredi 8 Janvier 2014 09:09:19 Objet: Re: Can't start app from javamonitor This machine is exposed to the real world and hanging exposed? Is there a reason that you want to expose the actual machine NIC to the real world? Maybe there is an advantage to exposing the web server to the real world that I don't see. Normally I give the server an internal IP (10.1.1.65). The firewall NATs the real world address to the internal address. I only forward port 80 (or other ports if needed for HTTPS or FTP) of the real world IP to the internal machine. My internal DNS (split horizon) resolves the internal machines. Every time I read this conversation, I feel you are working too hard. But of course everyones needs are different. Ted On Jan 8, 2014, at 12:09 AM, Jeffrey Schmitz j...@netbrackets.com wrote: On Jan 7, 2014, at 1:44 PM, Chuck Hill ch...@global-village.net wrote: blockquote the WOMonitor/wotaskd log” — are you sending them to the same file? Don’t do that, it will confuse you and us. I've also wondered about that myself, but I got the idea to do it that way from: http://wiki.wocommunity.org/display/documentation/Troubleshooting+wotaskd+and+JavaMonitor+on+OS+X?src=search Although maybe I shouldn't have interpreted the instructions so literally. blockquote Exception sending lifebeat to wotaskd: java.net.ConnectException: Connection refused That sounds like JavaMonitor can’t communicate with wotaskd. This might be why: Current HostName = netbrackets.local /blockquote I want to set this machine up to serve for the registered domain of netbrandeds.info, and I updated the computer/network name accordingly, so now from the changeip command I get: Primary address = 208.52.189.44 Current HostName = netbrandeds-mini1.netbrandeds.info DNS HostName = netbrandeds-mini1.netbrandeds.info The names match. There is nothing to change. dirserv:success = success However, now apache doesn't work anymore. I even went back to it's default/original httpd.conf file, and it won't serve anything. Even putting localhost in Safari that is running on the machine itself returns a Safari can't connect to the server. The apache error log shows the following. [Tue Jan 07 21:19:31 2014] [alert] (EAI 8)nodename nor servname provided, or not known: mod_unique_id: unable to find IPv4 address of netbrandeds-mini1.netbrandeds.info Configuration Failed [Tue Jan 07 22:53:54 2014] [warn] Init: Session Cache is not configured [hint: SSLSessionCache] [Tue Jan 07 22:53:58 2014] [alert] (EAI 8)nodename nor servname provided, or not known: mod_unique_id: unable to find IPv4 address of netbrandeds-mini1.netbrandeds.info Configuration Failed I'm now into an area I'm not familiar with at all. Didn't find much googling except something to do with etc/hosts, but monkeying with that didn't help either. blockquote On 1/7/2014, 4:43 AM, Jeffrey Schmitz wrote: blockquote Right now to keep it simple I'm using localhost. all my settings are shown below. If there is somewhere else I need to set WOHost I'll add it to my well worn list. Also when I do a changeip command I get this, so not sure my dns stuff is setup right anyway... sudo changeip -checkhostname Password: Primary address = 208.52.189.43 Current HostName = netbrackets.local The DNS hostname is not available, please repair DNS and re-run this tool. dirserv:success = success WOHost and other settings: Library/WebObjects/JavaApplications/wotaskd.woa/Contents/Resources/Properties: WOHost=localhost JavaMonitor Site HTTP Adaptor URL: http://localhost/cgi-bin/WebObjects JavaMonitor Hosts Host name (Status says available so wotaskd daemon is running): localhost /System/Library/WebObjects/Adaptors/Apache2.2/apache.conf: WebObjectsConfig localhost:1085 10 httpd.conf: ServerName localhost:80 Directory / Options FollowSymLinks AllowOverride None # Order deny,allow # Deny from all /Directory ScriptAliasMatch ^/cgi-bin/((?!(?i:webobjects)).*$) /Library/WebServer/CGI-Executables/$1 Include /System/Library/WebObjects/Adaptors/Apache2.2/apache.conf Additional Arguments Settings in Javamonitor: -d64 -Xms2048m -Xmx3072m -WOAllowsConcurrentRequestHandling YES -EOAdaptorDebugEnabled NO -WODirectConnectEnabled NO -WOHost localhost On Jan 6, 2014, at 10:26 PM, Chuck Hill ch...@global-village.net wrote: blockquote Are you running wotaskd, JavaMonitor, and your app all with the same WOHost setting? Is it a real DNS name? -- Chuck Hill Executive Managing Partner, VP Development and Technical Services 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/gvc
Re: Can't start app from javamonitor
I had a similar situation and discovered that the executable (startup script) of the applications was not executable by the wotaskd user. If you unpack the .tar.gz package with a user and run the wotaskd with another like me, you will have the described behaviour with default directory permissions. Samuel Le 2014-01-07 à 07:43, Jeffrey Schmitz j...@netbrackets.com a écrit : Right now to keep it simple I'm using localhost. all my settings are shown below. If there is somewhere else I need to set WOHost I'll add it to my well worn list. Also when I do a changeip command I get this, so not sure my dns stuff is setup right anyway... sudo changeip -checkhostname Password: Primary address = 208.52.189.43 Current HostName= netbrackets.local The DNS hostname is not available, please repair DNS and re-run this tool. dirserv:success = success WOHost and other settings: Library/WebObjects/JavaApplications/wotaskd.woa/Contents/Resources/Properties: WOHost=localhost JavaMonitor Site HTTP Adaptor URL: http://localhost/cgi-bin/WebObjects JavaMonitor Hosts Host name (Status says available so wotaskd daemon is running): localhost /System/Library/WebObjects/Adaptors/Apache2.2/apache.conf: WebObjectsConfig localhost:1085 10 httpd.conf: ServerName localhost:80 Directory / Options FollowSymLinks AllowOverride None #Order deny,allow #Deny from all /Directory ScriptAliasMatch ^/cgi-bin/((?!(?i:webobjects)).*$) /Library/WebServer/CGI-Executables/$1 Include /System/Library/WebObjects/Adaptors/Apache2.2/apache.conf Additional Arguments Settings in Javamonitor: -d64 -Xms2048m -Xmx3072m -WOAllowsConcurrentRequestHandling YES -EOAdaptorDebugEnabled NO -WODirectConnectEnabled NO -WOHost localhost On Jan 6, 2014, at 10:26 PM, Chuck Hill ch...@global-village.net wrote: Are you running wotaskd, JavaMonitor, and your app all with the same WOHost setting? Is it a real DNS name? -- Chuck Hill Executive Managing Partner, VP Development and Technical Services 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/gvc/practical_webobjects Global Village Consulting ranks 13th in 2012 in BIV's Top 100 Fastest Growing Companies in B.C! Global Village Consulting ranks 44th in 25th annual PROFIT 500 ranking of Canada’s Fastest-Growing Companies by PROFIT Magazine! On 1/6/2014, 8:22 PM, Jeffrey Schmitz wrote: One other possible clue in all this is the WOMonitor/wotaskd log, which is showing the following sequence that just keeps repeating when no applications have been started: 2014-01-06 22:55:11,594 DEBUG 17.16 MB/16.78 MB [Thread-1] logging.ERXNSLogLog4jBridge (ERXNSLogLog4jBridge.java:46) - Exception sending lifebeat to wotaskd: java.net.ConnectException: Connection refused 2014-01-06 22:55:41,594 DEBUG 17.21 MB/16.73 MB [Thread-1] logging.ERXNSLogLog4jBridge (ERXNSLogLog4jBridge.java:46) - Creating new lifebeat socket 2014-01-06 22:55:41,595 DEBUG 17.21 MB/16.73 MB [Thread-1] logging.ERXNSLogLog4jBridge (ERXNSLogLog4jBridge.java:46) - Exception sending lifebeat to wotaskd: java.net.ConnectException: Connection refused 2014-01-06 22:56:11,595 DEBUG 17.21 MB/16.73 MB [Thread-1] logging.ERXNSLogLog4jBridge (ERXNSLogLog4jBridge.java:46) - Creating new lifebeat socket 2014-01-06 22:56:11,596 DEBUG 17.21 MB/16.73 MB [Thread-1] logging.ERXNSLogLog4jBridge (ERXNSLogLog4jBridge.java:46) - Exception sending lifebeat to wotaskd: java.net.ConnectException: Connection refused 2014-01-06 22:56:41,596 DEBUG 17.21 MB/16.73 MB [Thread-1] logging.ERXNSLogLog4jBridge (ERXNSLogLog4jBridge.java:46) - Creating new lifebeat socket 2 Then after starting my app, it changes to the following sequence... 2014-01-06 23:15:11,629 DEBUG 14.13 MB/19.8 MB [Thread-1] logging.ERXNSLogLog4jBridge (ERXNSLogLog4jBridge.java:46) - Creating new lifebeat socket 2014-01-06 23:15:11,630 DEBUG 14.13 MB/19.8 MB [Thread-1] logging.ERXNSLogLog4jBridge (ERXNSLogLog4jBridge.java:46) - Exception sending lifebeat to wotaskd: java.net.ConnectException: Connection refused 2014-01-06 23:15:16,737 DEBUG 16.02 MB/17.92 MB [WorkerThread13] logging.ERXNSLogLog4jBridge (ERXNSLogLog4jBridge.java:46) - @ Received Lifebeat: lifebeat netBrackets localhost 2001 2014-01-06 23:15:46,739 DEBUG 16.02 MB/17.92 MB [WorkerThread13] logging.ERXNSLogLog4jBridge (ERXNSLogLog4jBridge.java:46) - @ Received Lifebeat: lifebeat netBrackets localhost 2001 2014-01-06 23:16:11,631 DEBUG 14.13 MB/19.8 MB [Thread-1] logging.ERXNSLogLog4jBridge (ERXNSLogLog4jBridge.java:46) - Creating new lifebeat socket 2014-01-06 23:16:11,631 DEBUG 14.13 MB/19.8 MB [Thread-1] logging.ERXNSLogLog4jBridge (ERXNSLogLog4jBridge.java:46) - Exception sending
Re: Can't start app from javamonitor
OK, I've added the netbrandeds-mini1 sub-domain to my domain at 1and1, and I've had my hosting provider setup the PTR record. Both forward and reverse DNS lookups are working (but should reverse also find www.netbrandeds.info?) host 208.52.189.44 44.189.52.208.in-addr.arpa domain name pointer netbrandeds-mini1.netbrandeds.info. ping netbrandeds-mini1.netbrandeds.info PING netbrandeds-mini1.netbrandeds.info (208.52.189.44): 56 data bytes 64 bytes from 208.52.189.44: icmp_seq=0 ttl=48 time=115.582 ms 64 bytes from 208.52.189.44: icmp_seq=1 ttl=48 time=126.453 ms 64 bytes from 208.52.189.44: icmp_seq=2 ttl=48 time=142.789 ms 64 bytes from 208.52.189.44: icmp_seq=3 ttl=48 time=157.293 ms Apache is now working correctly, I'm not getting any connection refused errors in womonitor logs, and I'm able to start and stop my app. But when I try to access my app, I still get: The requested application was not found on this server. Below are all the related settings. I'm still not 100% sure when I should specify www.netbrandeds.info vs netbrandeds-mini1.netbrandeds.info, and tried both in a couple cases to no avail: Library/WebObjects/JavaApplications/wotaskd.woa/Contents/Resources/Properties: WOHost=netbrandeds-mini1.netbrandeds.info Library/WebObjects/JavaApplications/womonitor.woa/Contents/Resources/Properties: WOHost=netbrandeds-mini1.netbrandeds.info added the below to /etc/hosts , otherwise apache wouldn't start on a reboot, only manually from apachectl, see https://lists.macosforge.org/pipermail/macports-users/2010-February/019157.html: # My local aliases 127.0.0.1netbrandeds-mini1.netbrandeds.info macports httpd.conf at /opt/local/apache2/conf/httpd.conf: ServerName netbrandeds-mini1.netbrandeds.info:80 Directory / Options FollowSymLinks AllowOverride None #Order deny,allow #Deny from all /Directory ScriptAliasMatch ^/cgi-bin/((?!(?i:webobjects)).*$) /Library/WebServer/CGI-Executables/$1 Include /System/Library/WebObjects/Adaptors/Apache2.2/apache.conf /System/Library/WebObjects/Adaptors/Apache2.2/apache.conf: LoadModule WebObjects_module /System/Library/WebObjects/Adaptors/Apache2.2/mod_WebObjects.so (it's the wonder version) WebObjectsConfig http://netbrandeds-mini1.netbrandeds.info:1085 10 Java Monitor Application Additional Arguments: -d64 -Xms2048m -Xmx3072m -WOAllowsConcurrentRequestHandling YES -EOAdaptorDebugEnabled NO -WODirectConnectEnabled NO -WOHost netbrandeds-mini1.netbrandeds.info JavaMonitor Site URL To Adaptor, tried both: http://www.netbrandeds.info/cgi-bin/WebObjects http://netbrandeds-mini1.netbrandeds.info/cgi-bin/WebObjects JavaMonitor Hosts Host name, tried both (Status said available for both so wotaskd daemon is running): http://www.netbrandeds.info/cgi-bin/WebObjects http://netbrandeds-mini1.netbrandeds.info/cgi-bin/WebObjects On Jan 8, 2014, at 5:52 AM, Pascal Robert prob...@macti.ca wrote: Looks like netbrandeds.info is managed by your domain name provider (1and1). You need to login to whatever interface they have to manage your domain name and add a DNS entry for netbrandeds-mini1.netbrandeds.info with 208.52.189.44 as the IP address (it's a A type of DNS record). You also need to contact your hosting provider (BroadRiver ?) to ask them to map 208.52.189.44 to netbrandeds-mini1.netbrandeds.info (this is what we call a reverse DNS entry, or a PTR record). - Mail original - De: Jeffrey Schmitz j...@netbrackets.com À: Chuck Hill ch...@global-village.net Cc: WebObjects Development webobjects-dev@lists.apple.com Envoyé: Mercredi 8 Janvier 2014 00:09:26 Objet: Re: Can't start app from javamonitor On Jan 7, 2014, at 1:44 PM, Chuck Hill ch...@global-village.net wrote: the WOMonitor/wotaskd log” — are you sending them to the same file? Don’t do that, it will confuse you and us. I've also wondered about that myself, but I got the idea to do it that way from: http://wiki.wocommunity.org/display/documentation/Troubleshooting+wotaskd+and+JavaMonitor+on+OS+X?src=search Although maybe I shouldn't have interpreted the instructions so literally. blockquote Exception sending lifebeat to wotaskd: java.net.ConnectException: Connection refused That sounds like JavaMonitor can’t communicate with wotaskd. This might be why: Current HostName = netbrackets.local /blockquote I want to set this machine up to serve for the registered domain of netbrandeds.info, and I updated the computer/network name accordingly, so now from the changeip command I get: Primary address = 208.52.189.44 Current HostName = netbrandeds-mini1.netbrandeds.info DNS HostName = netbrandeds-mini1.netbrandeds.info The names match. There is nothing to change. dirserv:success = success However, now apache doesn't work anymore. I even went back to it's default/original httpd.conf file, and it won't serve anything
Re: Can't start app from javamonitor
Maybe one other clue. The last thing spit out in the application log file is: Jan 08 23:54:36 netBrackets[2001] INFO er.extensions.appserver.ERXApplication - Local host IPs: (netbrandeds-mini1.netbrandeds.info/208.52.189.44, localhost/127.0.0.1, localhost/0:0:0:0:0:0:0:1, localhost/fe80:0:0:0:0:0:0:1%1, netbrandeds-mini1.netbrandeds.info/208.52.189.43, netbrandeds-mini1.netbrandeds.info/fe80:0:0:0:226:bbff:fe5a:b06e%4, netbrandeds-mini1.netbrandeds.info/fe80:0:0:0:a83a:50ba:f644:3497%7, netbrandeds-mini1.netbrandeds.info/fddf:1d1f:27ac:6bc9:a83a:50ba:f644:3497) I never see a waiting for requests... IOn Jan 8, 2014, at 5:52 AM, Pascal Robert prob...@macti.ca wrote: Looks like netbrandeds.info is managed by your domain name provider (1and1). You need to login to whatever interface they have to manage your domain name and add a DNS entry for netbrandeds-mini1.netbrandeds.info with 208.52.189.44 as the IP address (it's a A type of DNS record). You also need to contact your hosting provider (BroadRiver ?) to ask them to map 208.52.189.44 to netbrandeds-mini1.netbrandeds.info (this is what we call a reverse DNS entry, or a PTR record). - Mail original - De: Jeffrey Schmitz j...@netbrackets.com À: Chuck Hill ch...@global-village.net Cc: WebObjects Development webobjects-dev@lists.apple.com Envoyé: Mercredi 8 Janvier 2014 00:09:26 Objet: Re: Can't start app from javamonitor On Jan 7, 2014, at 1:44 PM, Chuck Hill ch...@global-village.net wrote: the WOMonitor/wotaskd log” — are you sending them to the same file? Don’t do that, it will confuse you and us. I've also wondered about that myself, but I got the idea to do it that way from: http://wiki.wocommunity.org/display/documentation/Troubleshooting+wotaskd+and+JavaMonitor+on+OS+X?src=search Although maybe I shouldn't have interpreted the instructions so literally. blockquote Exception sending lifebeat to wotaskd: java.net.ConnectException: Connection refused That sounds like JavaMonitor can’t communicate with wotaskd. This might be why: Current HostName = netbrackets.local /blockquote I want to set this machine up to serve for the registered domain of netbrandeds.info, and I updated the computer/network name accordingly, so now from the changeip command I get: Primary address = 208.52.189.44 Current HostName = netbrandeds-mini1.netbrandeds.info DNS HostName = netbrandeds-mini1.netbrandeds.info The names match. There is nothing to change. dirserv:success = success However, now apache doesn't work anymore. I even went back to it's default/original httpd.conf file, and it won't serve anything. Even putting localhost in Safari that is running on the machine itself returns a Safari can't connect to the server. The apache error log shows the following. [Tue Jan 07 21:19:31 2014] [alert] (EAI 8)nodename nor servname provided, or not known: mod_unique_id: unable to find IPv4 address of netbrandeds-mini1.netbrandeds.info Configuration Failed [Tue Jan 07 22:53:54 2014] [warn] Init: Session Cache is not configured [hint: SSLSessionCache] [Tue Jan 07 22:53:58 2014] [alert] (EAI 8)nodename nor servname provided, or not known: mod_unique_id: unable to find IPv4 address of netbrandeds-mini1.netbrandeds.info Configuration Failed I'm now into an area I'm not familiar with at all. Didn't find much googling except something to do with etc/hosts, but monkeying with that didn't help either. blockquote On 1/7/2014, 4:43 AM, Jeffrey Schmitz wrote: blockquote Right now to keep it simple I'm using localhost. all my settings are shown below. If there is somewhere else I need to set WOHost I'll add it to my well worn list. Also when I do a changeip command I get this, so not sure my dns stuff is setup right anyway... sudo changeip -checkhostname Password: Primary address = 208.52.189.43 Current HostName = netbrackets.local The DNS hostname is not available, please repair DNS and re-run this tool. dirserv:success = success WOHost and other settings: Library/WebObjects/JavaApplications/wotaskd.woa/Contents/Resources/Properties: WOHost=localhost JavaMonitor Site HTTP Adaptor URL: http://localhost/cgi-bin/WebObjects JavaMonitor Hosts Host name (Status says available so wotaskd daemon is running): localhost /System/Library/WebObjects/Adaptors/Apache2.2/apache.conf: WebObjectsConfig localhost:1085 10 httpd.conf: ServerName localhost:80 Directory / Options FollowSymLinks AllowOverride None # Order deny,allow # Deny from all /Directory ScriptAliasMatch ^/cgi-bin/((?!(?i:webobjects)).*$) /Library/WebServer/CGI-Executables/$1 Include /System/Library/WebObjects/Adaptors/Apache2.2/apache.conf Additional Arguments Settings in Javamonitor: -d64 -Xms2048m -Xmx3072m -WOAllowsConcurrentRequestHandling YES
Re: Can't start app from javamonitor
What does this show? http://netbrandeds-mini1.netbrandeds.info:1085http://netbrandeds-mini1.netbrandeds.info:1085/ -- Chuck Hill Executive Managing Partner, VP Development and Technical Services 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/gvc/practical_webobjects Global Village Consulting ranks 13th in 2012 in BIV's Top 100 Fastest Growing Companies in B.C! Global Village Consulting ranks 44th in 25th annual PROFIT 500 ranking of Canada’s Fastest-Growing Companies by PROFIT Magazine! On 1/8/2014, 8:42 PM, Jeffrey Schmitz wrote: OK, I've added the netbrandeds-mini1 sub-domain to my domain at 1and1, and I've had my hosting provider setup the PTR record. Both forward and reverse DNS lookups are working (but should reverse also find www.netbrandeds.infohttp://www.netbrandeds.info?) host 208.52.189.44 44.189.52.208.in-addr.arpa domain name pointer netbrandeds-mini1.netbrandeds.info. ping netbrandeds-mini1.netbrandeds.info PING netbrandeds-mini1.netbrandeds.info (208.52.189.44): 56 data bytes 64 bytes from 208.52.189.44: icmp_seq=0 ttl=48 time=115.582 ms 64 bytes from 208.52.189.44: icmp_seq=1 ttl=48 time=126.453 ms 64 bytes from 208.52.189.44: icmp_seq=2 ttl=48 time=142.789 ms 64 bytes from 208.52.189.44: icmp_seq=3 ttl=48 time=157.293 ms Apache is now working correctly, I'm not getting any connection refused errors in womonitor logs, and I'm able to start and stop my app. But when I try to access my app, I still get: The requested application was not found on this server. Below are all the related settings. I'm still not 100% sure when I should specify www.netbrandeds.infohttp://www.netbrandeds.info vs netbrandeds-mini1.netbrandeds.info, and tried both in a couple cases to no avail: Library/WebObjects/JavaApplications/wotaskd.woa/Contents/Resources/Properties: WOHost=netbrandeds-mini1.netbrandeds.info Library/WebObjects/JavaApplications/womonitor.woa/Contents/Resources/Properties: WOHost=netbrandeds-mini1.netbrandeds.info added the below to /etc/hosts , otherwise apache wouldn't start on a reboot, only manually from apachectl, see https://lists.macosforge.org/pipermail/macports-users/2010-February/019157.html: # My local aliases 127.0.0.1netbrandeds-mini1.netbrandeds.info macports httpd.conf at /opt/local/apache2/conf/httpd.conf: ServerName netbrandeds-mini1.netbrandeds.info:80 Directory / Options FollowSymLinks AllowOverride None #Order deny,allow #Deny from all /Directory ScriptAliasMatch ^/cgi-bin/((?!(?i:webobjects)).*$) /Library/WebServer/CGI-Executables/$1 Include /System/Library/WebObjects/Adaptors/Apache2.2/apache.conf /System/Library/WebObjects/Adaptors/Apache2.2/apache.conf: LoadModule WebObjects_module /System/Library/WebObjects/Adaptors/Apache2.2/mod_WebObjects.so (it's the wonder version) WebObjectsConfig http://netbrandeds-mini1.netbrandeds.info:1085 10 Java Monitor Application Additional Arguments: -d64 -Xms2048m -Xmx3072m -WOAllowsConcurrentRequestHandling YES -EOAdaptorDebugEnabled NO -WODirectConnectEnabled NO -WOHost netbrandeds-mini1.netbrandeds.info JavaMonitor Site URL To Adaptor, tried both: http://www.netbrandeds.info/cgi-bin/WebObjects http://netbrandeds-mini1.netbrandeds.info/cgi-bin/WebObjects JavaMonitor Hosts Host name, tried both (Status said available for both so wotaskd daemon is running): http://www.netbrandeds.info/cgi-bin/WebObjects http://netbrandeds-mini1.netbrandeds.info/cgi-bin/WebObjects On Jan 8, 2014, at 5:52 AM, Pascal Robert prob...@macti.camailto:prob...@macti.ca wrote: Looks like netbrandeds.info is managed by your domain name provider (1and1). You need to login to whatever interface they have to manage your domain name and add a DNS entry for netbrandeds-mini1.netbrandeds.info with 208.52.189.44 as the IP address (it's a A type of DNS record). You also need to contact your hosting provider (BroadRiver ?) to ask them to map 208.52.189.44 to netbrandeds-mini1.netbrandeds.info (this is what we call a reverse DNS entry, or a PTR record). - Mail original - De: Jeffrey Schmitz j...@netbrackets.commailto:j...@netbrackets.com À: Chuck Hill ch...@global-village.netmailto:ch...@global-village.net Cc: WebObjects Development webobjects-dev@lists.apple.commailto:webobjects-dev@lists.apple.com Envoyé: Mercredi 8 Janvier 2014 00:09:26 Objet: Re: Can't start app from javamonitor On Jan 7, 2014, at 1:44 PM, Chuck Hill ch...@global-village.netmailto:ch...@global-village.net wrote: the WOMonitor/wotaskd log” — are you sending them to the same file? Don’t do that, it will confuse you and us. I've also wondered about that myself, but I got the idea to do it that way from: http://wiki.wocommunity.org/display/documentation/Troubleshooting+wotaskd+and+JavaMonitor+on+OS+X?src=search Although maybe I shouldn't
Re: Can't start app from javamonitor
From the netbrandeds-mini1 machine it says it can't connect. Also tried localhost:1085 with same result. From remote machine I get:' Attempt to call Direct Action: defaultAction on wotaskd with incorrect password. On Jan 8, 2014, at 11:30 PM, Chuck Hill ch...@global-village.net wrote: What does this show? http://netbrandeds-mini1.netbrandeds.info:1085 -- Chuck Hill Executive Managing Partner, VP Development and Technical Services 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/gvc/practical_webobjects Global Village Consulting ranks 13th in 2012 in BIV's Top 100 Fastest Growing Companies in B.C! Global Village Consulting ranks 44th in 25th annual PROFIT 500 ranking of Canada’s Fastest-Growing Companies by PROFIT Magazine! On 1/8/2014, 8:42 PM, Jeffrey Schmitz wrote: OK, I've added the netbrandeds-mini1 sub-domain to my domain at 1and1, and I've had my hosting provider setup the PTR record. Both forward and reverse DNS lookups are working (but should reverse also find www.netbrandeds.info?) host 208.52.189.44 44.189.52.208.in-addr.arpa domain name pointer netbrandeds-mini1.netbrandeds.info. ping netbrandeds-mini1.netbrandeds.info PING netbrandeds-mini1.netbrandeds.info (208.52.189.44): 56 data bytes 64 bytes from 208.52.189.44: icmp_seq=0 ttl=48 time=115.582 ms 64 bytes from 208.52.189.44: icmp_seq=1 ttl=48 time=126.453 ms 64 bytes from 208.52.189.44: icmp_seq=2 ttl=48 time=142.789 ms 64 bytes from 208.52.189.44: icmp_seq=3 ttl=48 time=157.293 ms Apache is now working correctly, I'm not getting any connection refused errors in womonitor logs, and I'm able to start and stop my app. But when I try to access my app, I still get: The requested application was not found on this server. Below are all the related settings. I'm still not 100% sure when I should specify www.netbrandeds.info vs netbrandeds-mini1.netbrandeds.info, and tried both in a couple cases to no avail: Library/WebObjects/JavaApplications/wotaskd.woa/Contents/Resources/Properties: WOHost=netbrandeds-mini1.netbrandeds.info Library/WebObjects/JavaApplications/womonitor.woa/Contents/Resources/Properties: WOHost=netbrandeds-mini1.netbrandeds.info added the below to /etc/hosts , otherwise apache wouldn't start on a reboot, only manually from apachectl, see https://lists.macosforge.org/pipermail/macports-users/2010-February/019157.html: # My local aliases 127.0.0.1netbrandeds-mini1.netbrandeds.info macports httpd.conf at /opt/local/apache2/conf/httpd.conf: ServerName netbrandeds-mini1.netbrandeds.info:80 Directory / Options FollowSymLinks AllowOverride None #Order deny,allow #Deny from all /Directory ScriptAliasMatch ^/cgi-bin/((?!(?i:webobjects)).*$) /Library/WebServer/CGI-Executables/$1 Include /System/Library/WebObjects/Adaptors/Apache2.2/apache.conf /System/Library/WebObjects/Adaptors/Apache2.2/apache.conf: LoadModule WebObjects_module /System/Library/WebObjects/Adaptors/Apache2.2/mod_WebObjects.so (it's the wonder version) WebObjectsConfig http://netbrandeds-mini1.netbrandeds.info:1085 10 Java Monitor Application Additional Arguments: -d64 -Xms2048m -Xmx3072m -WOAllowsConcurrentRequestHandling YES -EOAdaptorDebugEnabled NO -WODirectConnectEnabled NO -WOHost netbrandeds-mini1.netbrandeds.info JavaMonitor Site URL To Adaptor, tried both: http://www.netbrandeds.info/cgi-bin/WebObjects http://netbrandeds-mini1.netbrandeds.info/cgi-bin/WebObjects JavaMonitor Hosts Host name, tried both (Status said available for both so wotaskd daemon is running): http://www.netbrandeds.info/cgi-bin/WebObjects http://netbrandeds-mini1.netbrandeds.info/cgi-bin/WebObjects On Jan 8, 2014, at 5:52 AM, Pascal Robert prob...@macti.ca wrote: Looks like netbrandeds.info is managed by your domain name provider (1and1). You need to login to whatever interface they have to manage your domain name and add a DNS entry for netbrandeds-mini1.netbrandeds.info with 208.52.189.44 as the IP address (it's a A type of DNS record). You also need to contact your hosting provider (BroadRiver ?) to ask them to map 208.52.189.44 to netbrandeds-mini1.netbrandeds.info (this is what we call a reverse DNS entry, or a PTR record). - Mail original - De: Jeffrey Schmitz j...@netbrackets.com À: Chuck Hill ch...@global-village.net Cc: WebObjects Development webobjects-dev@lists.apple.com Envoyé: Mercredi 8 Janvier 2014 00:09:26 Objet: Re: Can't start app from javamonitor On Jan 7, 2014, at 1:44 PM, Chuck Hill ch...@global-village.net wrote: the WOMonitor/wotaskd log” — are you sending them to the same file? Don’t do that, it will confuse you and us. I've also wondered about
Re: Can't start app from javamonitor
Right now to keep it simple I'm using localhost. all my settings are shown below. If there is somewhere else I need to set WOHost I'll add it to my well worn list. Also when I do a changeip command I get this, so not sure my dns stuff is setup right anyway... sudo changeip -checkhostname Password: Primary address = 208.52.189.43 Current HostName= netbrackets.local The DNS hostname is not available, please repair DNS and re-run this tool. dirserv:success = success WOHost and other settings: Library/WebObjects/JavaApplications/wotaskd.woa/Contents/Resources/Properties: WOHost=localhost JavaMonitor Site HTTP Adaptor URL: http://localhost/cgi-bin/WebObjects JavaMonitor Hosts Host name (Status says available so wotaskd daemon is running): localhost /System/Library/WebObjects/Adaptors/Apache2.2/apache.conf: WebObjectsConfig localhost:1085 10 httpd.conf: ServerName localhost:80 Directory / Options FollowSymLinks AllowOverride None #Order deny,allow #Deny from all /Directory ScriptAliasMatch ^/cgi-bin/((?!(?i:webobjects)).*$) /Library/WebServer/CGI-Executables/$1 Include /System/Library/WebObjects/Adaptors/Apache2.2/apache.conf Additional Arguments Settings in Javamonitor: -d64 -Xms2048m -Xmx3072m -WOAllowsConcurrentRequestHandling YES -EOAdaptorDebugEnabled NO -WODirectConnectEnabled NO -WOHost localhost On Jan 6, 2014, at 10:26 PM, Chuck Hill ch...@global-village.net wrote: Are you running wotaskd, JavaMonitor, and your app all with the same WOHost setting? Is it a real DNS name? -- Chuck Hill Executive Managing Partner, VP Development and Technical Services 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/gvc/practical_webobjects Global Village Consulting ranks 13th in 2012 in BIV's Top 100 Fastest Growing Companies in B.C! Global Village Consulting ranks 44th in 25th annual PROFIT 500 ranking of Canada’s Fastest-Growing Companies by PROFIT Magazine! On 1/6/2014, 8:22 PM, Jeffrey Schmitz wrote: One other possible clue in all this is the WOMonitor/wotaskd log, which is showing the following sequence that just keeps repeating when no applications have been started: 2014-01-06 22:55:11,594 DEBUG 17.16 MB/16.78 MB [Thread-1] logging.ERXNSLogLog4jBridge (ERXNSLogLog4jBridge.java:46) - Exception sending lifebeat to wotaskd: java.net.ConnectException: Connection refused 2014-01-06 22:55:41,594 DEBUG 17.21 MB/16.73 MB [Thread-1] logging.ERXNSLogLog4jBridge (ERXNSLogLog4jBridge.java:46) - Creating new lifebeat socket 2014-01-06 22:55:41,595 DEBUG 17.21 MB/16.73 MB [Thread-1] logging.ERXNSLogLog4jBridge (ERXNSLogLog4jBridge.java:46) - Exception sending lifebeat to wotaskd: java.net.ConnectException: Connection refused 2014-01-06 22:56:11,595 DEBUG 17.21 MB/16.73 MB [Thread-1] logging.ERXNSLogLog4jBridge (ERXNSLogLog4jBridge.java:46) - Creating new lifebeat socket 2014-01-06 22:56:11,596 DEBUG 17.21 MB/16.73 MB [Thread-1] logging.ERXNSLogLog4jBridge (ERXNSLogLog4jBridge.java:46) - Exception sending lifebeat to wotaskd: java.net.ConnectException: Connection refused 2014-01-06 22:56:41,596 DEBUG 17.21 MB/16.73 MB [Thread-1] logging.ERXNSLogLog4jBridge (ERXNSLogLog4jBridge.java:46) - Creating new lifebeat socket 2 Then after starting my app, it changes to the following sequence... 2014-01-06 23:15:11,629 DEBUG 14.13 MB/19.8 MB [Thread-1] logging.ERXNSLogLog4jBridge (ERXNSLogLog4jBridge.java:46) - Creating new lifebeat socket 2014-01-06 23:15:11,630 DEBUG 14.13 MB/19.8 MB [Thread-1] logging.ERXNSLogLog4jBridge (ERXNSLogLog4jBridge.java:46) - Exception sending lifebeat to wotaskd: java.net.ConnectException: Connection refused 2014-01-06 23:15:16,737 DEBUG 16.02 MB/17.92 MB [WorkerThread13] logging.ERXNSLogLog4jBridge (ERXNSLogLog4jBridge.java:46) - @ Received Lifebeat: lifebeat netBrackets localhost 2001 2014-01-06 23:15:46,739 DEBUG 16.02 MB/17.92 MB [WorkerThread13] logging.ERXNSLogLog4jBridge (ERXNSLogLog4jBridge.java:46) - @ Received Lifebeat: lifebeat netBrackets localhost 2001 2014-01-06 23:16:11,631 DEBUG 14.13 MB/19.8 MB [Thread-1] logging.ERXNSLogLog4jBridge (ERXNSLogLog4jBridge.java:46) - Creating new lifebeat socket 2014-01-06 23:16:11,631 DEBUG 14.13 MB/19.8 MB [Thread-1] logging.ERXNSLogLog4jBridge (ERXNSLogLog4jBridge.java:46) - Exception sending lifebeat to wotaskd: java.net.ConnectException: Connection refused 2014-01-06 23:16:16,740 DEBUG 16.1 MB/17.84 MB [WorkerThread13] logging.ERXNSLogLog4jBridge (ERXNSLogLog4jBridge.java:46) - @ Received Lifebeat: lifebeat netBrackets localhost 2001 Just fishing here. Jeff On Jan 6, 2014, at 10:45 AM, Jeffrey Schmitz j...@netbrackets.com wrote: Still not quite there. The app now starts up from JavaMonitor
Re: Can't start app from javamonitor
Avoid the .local stuff! If it's an internal network (eg, nobody will connect from the Internet to it), use another domain, like .lan or .netbrackets, instead. You can create the domain with OS X Server, just don't forget to change the network settings so that it uses the local DNS server (the one in OS X Server) so that it can see the domain. OS X Server is really picky about DNS. When it's done, run changeip to change the DNS name in all services (except WO). - Mail original - De: Jeffrey Schmitz j...@netbrackets.com À: Chuck Hill ch...@global-village.net Cc: WebObjects Development webobjects-dev@lists.apple.com Envoyé: Mardi 7 Janvier 2014 07:43:03 Objet: Re: Can't start app from javamonitor Right now to keep it simple I'm using localhost. all my settings are shown below. If there is somewhere else I need to set WOHost I'll add it to my well worn list. Also when I do a changeip command I get this, so not sure my dns stuff is setup right anyway... sudo changeip -checkhostname Password: Primary address = 208.52.189.43 Current HostName = netbrackets.local The DNS hostname is not available, please repair DNS and re-run this tool. dirserv:success = success WOHost and other settings: Library/WebObjects/JavaApplications/wotaskd.woa/Contents/Resources/Properties: WOHost=localhost JavaMonitor Site HTTP Adaptor URL: http://localhost/cgi-bin/WebObjects JavaMonitor Hosts Host name (Status says available so wotaskd daemon is running): localhost /System/Library/WebObjects/Adaptors/Apache2.2/apache.conf: WebObjectsConfig localhost:1085 10 httpd.conf: ServerName localhost:80 Directory / Options FollowSymLinks AllowOverride None # Order deny,allow # Deny from all /Directory ScriptAliasMatch ^/cgi-bin/((?!(?i:webobjects)).*$) /Library/WebServer/CGI-Executables/$1 Include /System/Library/WebObjects/Adaptors/Apache2.2/apache.conf Additional Arguments Settings in Javamonitor: -d64 -Xms2048m -Xmx3072m -WOAllowsConcurrentRequestHandling YES -EOAdaptorDebugEnabled NO -WODirectConnectEnabled NO -WOHost localhost On Jan 6, 2014, at 10:26 PM, Chuck Hill ch...@global-village.net wrote: Are you running wotaskd, JavaMonitor, and your app all with the same WOHost setting? Is it a real DNS name? -- Chuck Hill Executive Managing Partner, VP Development and Technical Services 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/gvc/practical_webobjects Global Village Consulting ranks 13th in 2012 in BIV's Top 100 Fastest Growing Companies in B.C! Global Village Consulting ranks 44th in 25th annual PROFIT 500 ranking of Canada’s Fastest-Growing Companies by PROFIT Magazine! On 1/6/2014, 8:22 PM, Jeffrey Schmitz wrote: blockquote One other possible clue in all this is the WOMonitor/wotaskd log, which is showing the following sequence that just keeps repeating when no applications have been started: 2014-01-06 22:55:11,594 DEBUG 17.16 MB/16.78 MB [Thread-1] logging.ERXNSLogLog4jBridge (ERXNSLogLog4jBridge.java:46) - Exception sending lifebeat to wotaskd: java.net.ConnectException: Connection refused 2014-01-06 22:55:41,594 DEBUG 17.21 MB/16.73 MB [Thread-1] logging.ERXNSLogLog4jBridge (ERXNSLogLog4jBridge.java:46) - Creating new lifebeat socket 2014-01-06 22:55:41,595 DEBUG 17.21 MB/16.73 MB [Thread-1] logging.ERXNSLogLog4jBridge (ERXNSLogLog4jBridge.java:46) - Exception sending lifebeat to wotaskd: java.net.ConnectException: Connection refused 2014-01-06 22:56:11,595 DEBUG 17.21 MB/16.73 MB [Thread-1] logging.ERXNSLogLog4jBridge (ERXNSLogLog4jBridge.java:46) - Creating new lifebeat socket 2014-01-06 22:56:11,596 DEBUG 17.21 MB/16.73 MB [Thread-1] logging.ERXNSLogLog4jBridge (ERXNSLogLog4jBridge.java:46) - Exception sending lifebeat to wotaskd: java.net.ConnectException: Connection refused 2014-01-06 22:56:41,596 DEBUG 17.21 MB/16.73 MB [Thread-1] logging.ERXNSLogLog4jBridge (ERXNSLogLog4jBridge.java:46) - Creating new lifebeat socket 2 Then after starting my app, it changes to the following sequence... 2014-01-06 23:15:11,629 DEBUG 14.13 MB/19.8 MB [Thread-1] logging.ERXNSLogLog4jBridge (ERXNSLogLog4jBridge.java:46) - Creating new lifebeat socket 2014-01-06 23:15:11,630 DEBUG 14.13 MB/19.8 MB [Thread-1] logging.ERXNSLogLog4jBridge (ERXNSLogLog4jBridge.java:46) - Exception sending lifebeat to wotaskd: java.net.ConnectException: Connection refused 2014-01-06 23:15:16,737 DEBUG 16.02 MB/17.92 MB [WorkerThread13] logging.ERXNSLogLog4jBridge (ERXNSLogLog4jBridge.java:46) - @ Received Lifebeat: lifebeat netBrackets localhost 2001 2014-01-06 23:15:46,739 DEBUG 16.02 MB/17.92 MB [WorkerThread13] logging.ERXNSLogLog4jBridge (ERXNSLogLog4jBridge.java:46) - @ Received Lifebeat: lifebeat netBrackets localhost 2001 2014-01-06 23:16:11,631 DEBUG 14.13 MB/19.8 MB [Thread-1
Re: Can't start app from javamonitor
the WOMonitor/wotaskd log” — are you sending them to the same file? Don’t do that, it will confuse you and us. Exception sending lifebeat to wotaskd: java.net.ConnectException: Connection refused That sounds like JavaMonitor can’t communicate with wotaskd. This might be why: Current HostName= netbrackets.local On 1/7/2014, 4:43 AM, Jeffrey Schmitz wrote: Right now to keep it simple I'm using localhost. all my settings are shown below. If there is somewhere else I need to set WOHost I'll add it to my well worn list. Also when I do a changeip command I get this, so not sure my dns stuff is setup right anyway... sudo changeip -checkhostname Password: Primary address = 208.52.189.43 Current HostName= netbrackets.local The DNS hostname is not available, please repair DNS and re-run this tool. dirserv:success = success WOHost and other settings: Library/WebObjects/JavaApplications/wotaskd.woa/Contents/Resources/Properties: WOHost=localhost JavaMonitor Site HTTP Adaptor URL: http://localhost/cgi-bin/WebObjects JavaMonitor Hosts Host name (Status says available so wotaskd daemon is running): localhost /System/Library/WebObjects/Adaptors/Apache2.2/apache.conf: WebObjectsConfig localhost:1085 10 httpd.conf: ServerName localhost:80 Directory / Options FollowSymLinks AllowOverride None #Order deny,allow #Deny from all /Directory ScriptAliasMatch ^/cgi-bin/((?!(?i:webobjects)).*$) /Library/WebServer/CGI-Executables/$1 Include /System/Library/WebObjects/Adaptors/Apache2.2/apache.conf Additional Arguments Settings in Javamonitor: -d64 -Xms2048m -Xmx3072m -WOAllowsConcurrentRequestHandling YES -EOAdaptorDebugEnabled NO -WODirectConnectEnabled NO -WOHost localhost On Jan 6, 2014, at 10:26 PM, Chuck Hill ch...@global-village.netmailto:ch...@global-village.net wrote: Are you running wotaskd, JavaMonitor, and your app all with the same WOHost setting? Is it a real DNS name? -- Chuck Hill Executive Managing Partner, VP Development and Technical Services 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/gvc/practical_webobjects Global Village Consulting ranks 13th in 2012 in BIV's Top 100 Fastest Growing Companies in B.C! Global Village Consulting ranks 44th in 25th annual PROFIT 500 ranking of Canada’s Fastest-Growing Companies by PROFIT Magazine! On 1/6/2014, 8:22 PM, Jeffrey Schmitz wrote: One other possible clue in all this is the WOMonitor/wotaskd log, which is showing the following sequence that just keeps repeating when no applications have been started: 2014-01-06 22:55:11,594 DEBUG 17.16 MB/16.78 MB [Thread-1] logging.ERXNSLogLog4jBridge (ERXNSLogLog4jBridge.java:46) - Exception sending lifebeat to wotaskd: java.net.ConnectException: Connection refused 2014-01-06 22:55:41,594 DEBUG 17.21 MB/16.73 MB [Thread-1] logging.ERXNSLogLog4jBridge (ERXNSLogLog4jBridge.java:46) - Creating new lifebeat socket 2014-01-06 22:55:41,595 DEBUG 17.21 MB/16.73 MB [Thread-1] logging.ERXNSLogLog4jBridge (ERXNSLogLog4jBridge.java:46) - Exception sending lifebeat to wotaskd: java.net.ConnectException: Connection refused 2014-01-06 22:56:11,595 DEBUG 17.21 MB/16.73 MB [Thread-1] logging.ERXNSLogLog4jBridge (ERXNSLogLog4jBridge.java:46) - Creating new lifebeat socket 2014-01-06 22:56:11,596 DEBUG 17.21 MB/16.73 MB [Thread-1] logging.ERXNSLogLog4jBridge (ERXNSLogLog4jBridge.java:46) - Exception sending lifebeat to wotaskd: java.net.ConnectException: Connection refused 2014-01-06 22:56:41,596 DEBUG 17.21 MB/16.73 MB [Thread-1] logging.ERXNSLogLog4jBridge (ERXNSLogLog4jBridge.java:46) - Creating new lifebeat socket 2 Then after starting my app, it changes to the following sequence... 2014-01-06 23:15:11,629 DEBUG 14.13 MB/19.8 MB [Thread-1] logging.ERXNSLogLog4jBridge (ERXNSLogLog4jBridge.java:46) - Creating new lifebeat socket 2014-01-06 23:15:11,630 DEBUG 14.13 MB/19.8 MB [Thread-1] logging.ERXNSLogLog4jBridge (ERXNSLogLog4jBridge.java:46) - Exception sending lifebeat to wotaskd: java.net.ConnectException: Connection refused 2014-01-06 23:15:16,737 DEBUG 16.02 MB/17.92 MB [WorkerThread13] logging.ERXNSLogLog4jBridge (ERXNSLogLog4jBridge.java:46) - @ Received Lifebeat: lifebeat netBrackets localhost 2001 2014-01-06 23:15:46,739 DEBUG 16.02 MB/17.92 MB [WorkerThread13] logging.ERXNSLogLog4jBridge (ERXNSLogLog4jBridge.java:46) - @ Received Lifebeat: lifebeat netBrackets localhost 2001 2014-01-06 23:16:11,631 DEBUG 14.13 MB/19.8 MB [Thread-1] logging.ERXNSLogLog4jBridge (ERXNSLogLog4jBridge.java:46) - Creating new lifebeat socket 2014-01-06 23:16:11,631 DEBUG 14.13 MB/19.8 MB [Thread-1] logging.ERXNSLogLog4jBridge (ERXNSLogLog4jBridge.java:46) - Exception sending lifebeat to wotaskd: java.net.ConnectException: Connection refused 2014-01-06 23:16:16,740 DEBUG 16.1 MB/17.84 MB
Re: JavaMonitor dying, apparently out of memory
Hi Paul, This looks suspicious, unable to create new native thread”. Check the ulimit on those machines. Is something running the machine out of threads (Apache child processes gone insane)? Or does it just need a higher limit? Chuck On 1/6/2014, 10:31 PM, Paul Hoadley wrote: Hello, I'm seeing some odd behaviour from JavaMonitor in an EC2-based deployment setting. On a couple of EC2 instances (both running JavaMonitor, wotaskd and the same application, but otherwise not connected, and not identical) JavaMonitor itself dies after some period of time (in the order of days after launch) apparently because it's out of memory: --- 2014-01-03 22:08:56,759 WARN 26.47 MB/30.28 MB [WorkerThread11] logging.ERXNSLogLog4jBridge (ERXNSLogLog4jBridge.java:44) - er.extensions.appserver.ERXComponentRequestHandler: Exception occurred while handling request: com.webobjects.foundation.NSForwardException [java.lang.reflect.InvocationTargetException] null:java.lang.reflect.InvocationTargetException 2014-01-03 22:08:56,761 WARN 26.47 MB/30.28 MB [WorkerThread11] logging.ERXNSLogLog4jBridge (ERXNSLogLog4jBridge.java:44) - Ran out of memory, killing this instance 2014-01-03 22:08:56,762 FATAL 26.47 MB/30.28 MB [WorkerThread11] appserver.ERXApplication (ERXApplication.java:1947) - Ran out of memory, killing this instance 2014-01-03 22:08:56,763 FATAL 26.47 MB/30.28 MB [WorkerThread11] appserver.ERXApplication (ERXApplication.java:1948) - Ran out of memory, killing this instance java.lang.OutOfMemoryError: unable to create new native thread at java.lang.Thread.start0(Native Method) at java.lang.Thread.start(Thread.java:679) at com.webobjects.monitor._private.MHost.sendRequestToWotaskdArray(MHost.java:320) at com.webobjects.monitor.application.WOTaskdHandler.sendRequest(WOTaskdHandler.java:160) at com.webobjects.monitor.application.WOTaskdHandler.sendQueryToWotaskds(WOTaskdHandler.java:354) at com.webobjects.monitor.application.WOTaskdHandler.getApplicationStatusForHosts(WOTaskdHandler.java:618) at com.webobjects.monitor.application.WOTaskdHandler.updateForPage(WOTaskdHandler.java:105) at com.webobjects.monitor.application.ApplicationsPage.init(ApplicationsPage.java:27) --- (I can post the full stack trace if it's helpful.) By way of background, I'm only seeing this on a couple of specific EC2 instances—I've got other instances that have been running JavaMonitor with uptimes of months if not years. According to the logging pattern in JavaMonitor's Properties, those log entries for the OutOfMemoryError are claiming 26M used and 30M free, which seems a bit suspect on the face of it. JavaMonitor is being started by /etc/init.d/webobjects using the default heap size, which I assume to be 64M. I've always found that to be sufficient, and can't find any reference to JavaMonitor being a memory hog on the list or elsewhere. The JavaMonitors that are failing in this way are used very lightly—monitoring a few instances at most of a single application on a single host, with occasional stops and starts for deployments. So, has anyone seen JavaMonitor itself fall over in this way? Is anyone using non-default JVM memory settings for JavaMonitor launch? Does anyone want to have a guess at the root cause here? I can provide the full stack trace if anyone wants to see it. -- Paul Hoadley http://logicsquad.net/ ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.commailto:Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net This email sent to ch...@global-village.netmailto:ch...@global-village.net ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: JavaMonitor dying, apparently out of memory
On 08/01/2014, at 6:09 AM, Chuck Hill ch...@global-village.net wrote: This looks suspicious, unable to create new native thread”. Check the ulimit on those machines. Is something running the machine out of threads (Apache child processes gone insane)? Or does it just need a higher limit? Thanks Chuck—I think that was it. The application in question does seem to be spawning a large number of threads. I've increased the nproc ulimit for the 'appserver' user, and the application's owner will investigate its thread creation behaviour. -- Paul Hoadley http://logicsquad.net/ ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Can't start app from javamonitor
On Jan 7, 2014, at 1:44 PM, Chuck Hill ch...@global-village.net wrote: the WOMonitor/wotaskd log” — are you sending them to the same file? Don’t do that, it will confuse you and us. I've also wondered about that myself, but I got the idea to do it that way from: http://wiki.wocommunity.org/display/documentation/Troubleshooting+wotaskd+and+JavaMonitor+on+OS+X?src=search Although maybe I shouldn't have interpreted the instructions so literally. Exception sending lifebeat to wotaskd: java.net.ConnectException: Connection refused That sounds like JavaMonitor can’t communicate with wotaskd. This might be why: Current HostName= netbrackets.local I want to set this machine up to serve for the registered domain of netbrandeds.info, and I updated the computer/network name accordingly, so now from the changeip command I get: Primary address = 208.52.189.44 Current HostName= netbrandeds-mini1.netbrandeds.info DNS HostName= netbrandeds-mini1.netbrandeds.info The names match. There is nothing to change. dirserv:success = success However, now apache doesn't work anymore. I even went back to it's default/original httpd.conf file, and it won't serve anything. Even putting localhost in Safari that is running on the machine itself returns a Safari can't connect to the server. The apache error log shows the following. [Tue Jan 07 21:19:31 2014] [alert] (EAI 8)nodename nor servname provided, or not known: mod_unique_id: unable to find IPv4 address of netbrandeds-mini1.netbrandeds.info Configuration Failed [Tue Jan 07 22:53:54 2014] [warn] Init: Session Cache is not configured [hint: SSLSessionCache] [Tue Jan 07 22:53:58 2014] [alert] (EAI 8)nodename nor servname provided, or not known: mod_unique_id: unable to find IPv4 address of netbrandeds-mini1.netbrandeds.info Configuration Failed I'm now into an area I'm not familiar with at all. Didn't find much googling except something to do with etc/hosts, but monkeying with that didn't help either. On 1/7/2014, 4:43 AM, Jeffrey Schmitz wrote: Right now to keep it simple I'm using localhost. all my settings are shown below. If there is somewhere else I need to set WOHost I'll add it to my well worn list. Also when I do a changeip command I get this, so not sure my dns stuff is setup right anyway... sudo changeip -checkhostname Password: Primary address = 208.52.189.43 Current HostName= netbrackets.local The DNS hostname is not available, please repair DNS and re-run this tool. dirserv:success = success WOHost and other settings: Library/WebObjects/JavaApplications/wotaskd.woa/Contents/Resources/Properties: WOHost=localhost JavaMonitor Site HTTP Adaptor URL: http://localhost/cgi-bin/WebObjects JavaMonitor Hosts Host name (Status says available so wotaskd daemon is running): localhost /System/Library/WebObjects/Adaptors/Apache2.2/apache.conf: WebObjectsConfig localhost:1085 10 httpd.conf: ServerName localhost:80 Directory / Options FollowSymLinks AllowOverride None #Order deny,allow #Deny from all /Directory ScriptAliasMatch ^/cgi-bin/((?!(?i:webobjects)).*$) /Library/WebServer/CGI-Executables/$1 Include /System/Library/WebObjects/Adaptors/Apache2.2/apache.conf Additional Arguments Settings in Javamonitor: -d64 -Xms2048m -Xmx3072m -WOAllowsConcurrentRequestHandling YES -EOAdaptorDebugEnabled NO -WODirectConnectEnabled NO -WOHost localhost On Jan 6, 2014, at 10:26 PM, Chuck Hill ch...@global-village.net wrote: Are you running wotaskd, JavaMonitor, and your app all with the same WOHost setting? Is it a real DNS name? -- Chuck Hill Executive Managing Partner, VP Development and Technical Services 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/gvc/practical_webobjects Global Village Consulting ranks 13th in 2012 in BIV's Top 100 Fastest Growing Companies in B.C! Global Village Consulting ranks 44th in 25th annual PROFIT 500 ranking of Canada’s Fastest-Growing Companies by PROFIT Magazine! On 1/6/2014, 8:22 PM, Jeffrey Schmitz wrote: One other possible clue in all this is the WOMonitor/wotaskd log, which is showing the following sequence that just keeps repeating when no applications have been started: 2014-01-06 22:55:11,594 DEBUG 17.16 MB/16.78 MB [Thread-1] logging.ERXNSLogLog4jBridge (ERXNSLogLog4jBridge.java:46) - Exception sending lifebeat to wotaskd: java.net.ConnectException: Connection refused 2014-01-06 22:55:41,594 DEBUG 17.21 MB/16.73 MB [Thread-1] logging.ERXNSLogLog4jBridge (ERXNSLogLog4jBridge.java:46) - Creating new lifebeat socket 2014-01-06 22:55:41,595 DEBUG 17.21 MB/16.73 MB [Thread-1] logging.ERXNSLogLog4jBridge (ERXNSLogLog4jBridge.java:46) - Exception sending
Re: Can't start app from javamonitor
Still not quite there. The app now starts up from JavaMonitor and status looks good (ON), but when I try to access it, I get: The requested application was not found on this server. I've installed the MacPorts apache and loaded it: sudo port load apache2 and turned off the Server Websites service from the Server app. Apache is serving the correct static pages from my document root. The Macports Apache uses the httpd.conf from /opt/local/apache2/conf The changes I've made to the default macports httpd.conf are shown in red below: ServerName localhost:80 DocumentRoot /Library/WebServer/Documents Directory / Options FollowSymLinks AllowOverride None #Order deny,allow #Deny from all /Directory Directory /Library/WebServer/Documents # # Possible values for the Options directive are None, All, # or any combination of: # Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews # # Note that MultiViews must be named *explicitly* --- Options All # doesn't give it to you. # # The Options directive is both complicated and important. Please see # http://httpd.apache.org/docs/2.2/mod/core.html#options # for more information. # Options Indexes FollowSymLinks # # AllowOverride controls what directives may be placed in .htaccess files. # It can be All, None, or any combination of the keywords: # Options FileInfo AuthConfig Limit # AllowOverride None # # Controls who can get stuff from this server. # Order allow,deny Allow from all /Directory ScriptAliasMatch ^/cgi-bin/((?!(?i:webobjects)).*$) /Library/WebServer/CGI-Executables/$1 Directory /Library/WebServer/CGI-Executables AllowOverride None Options None Order allow,deny Allow from all /Directory Include /System/Library/WebObjects/Adaptors/Apache2.2/apache.conf Some key entries in the referenced apache.conf file are: LoadModule WebObjects_module /System/Library/WebObjects/Adaptors/Apache2.2/mod_WebObjects.so (NOTE: This is the wonder version) WebObjectsDocumentRoot /Library/WebServer/Documents WebObjectsAlias /cgi-bin/WebObjects WebObjectsConfig localhost:1085 10 On Jan 6, 2014, at 6:43 AM, Jeffrey Schmitz j...@netbrackets.com wrote: On Jan 6, 2014, at 4:14 AM, Amedeo Mantica amedeomant...@me.com wrote: What happens starting manually the app? The clue I needed appeared... /Library/WebObjects/Applications/netBrackets.woa/ /Applications/cocoon-2.1.10 /Users/netBrackets/Downloads/saxonb9-0-0-2j/saxon9.jar java.lang.NoClassDefFoundError: org/jdom/JDOMException at java.lang.Class.getDeclaredMethods0(Native Method) at java.lang.Class.privateGetDeclaredMethods(Class.java:2484) at java.lang.Class.getMethod0(Class.java:2727) at java.lang.Class.getMethod(Class.java:1639) at com.webobjects._bootstrap.WOBootstrap.main(WOBootstrap.java:86) Caused by: java.lang.ClassNotFoundException: org.jdom.JDOMException at java.net.URLClassLoader$1.run(URLClassLoader.java:202) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at java.lang.ClassLoader.loadClass(ClassLoader.java:247) ... 5 more This same thing happened about a year and a half ago. I need to do a better job of searching the old e-mails, swore I searched on no logs but somehow missed this old thread... On Jul 23, 2012, at 10:15 PM, Jeffrey Schmitz j...@netbrackets.com wrote: Re: App won't start, no logs The root of the problem was that I didn't have my framework project added as a framework to my main project. On my development machine I was referencing the project, so everything worked there. As soon as I added the framework everything worked on the deployment machine. Thanks for the help. Jeff And again, thanks! for all the help. Jeff ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/jeff%40netbrackets.com This email sent to j...@netbrackets.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Can't start app from javamonitor
One other possible clue in all this is the WOMonitor/wotaskd log, which is showing the following sequence that just keeps repeating when no applications have been started: 2014-01-06 22:55:11,594 DEBUG 17.16 MB/16.78 MB [Thread-1] logging.ERXNSLogLog4jBridge (ERXNSLogLog4jBridge.java:46) - Exception sending lifebeat to wotaskd: java.net.ConnectException: Connection refused 2014-01-06 22:55:41,594 DEBUG 17.21 MB/16.73 MB [Thread-1] logging.ERXNSLogLog4jBridge (ERXNSLogLog4jBridge.java:46) - Creating new lifebeat socket 2014-01-06 22:55:41,595 DEBUG 17.21 MB/16.73 MB [Thread-1] logging.ERXNSLogLog4jBridge (ERXNSLogLog4jBridge.java:46) - Exception sending lifebeat to wotaskd: java.net.ConnectException: Connection refused 2014-01-06 22:56:11,595 DEBUG 17.21 MB/16.73 MB [Thread-1] logging.ERXNSLogLog4jBridge (ERXNSLogLog4jBridge.java:46) - Creating new lifebeat socket 2014-01-06 22:56:11,596 DEBUG 17.21 MB/16.73 MB [Thread-1] logging.ERXNSLogLog4jBridge (ERXNSLogLog4jBridge.java:46) - Exception sending lifebeat to wotaskd: java.net.ConnectException: Connection refused 2014-01-06 22:56:41,596 DEBUG 17.21 MB/16.73 MB [Thread-1] logging.ERXNSLogLog4jBridge (ERXNSLogLog4jBridge.java:46) - Creating new lifebeat socket 2 Then after starting my app, it changes to the following sequence... 2014-01-06 23:15:11,629 DEBUG 14.13 MB/19.8 MB [Thread-1] logging.ERXNSLogLog4jBridge (ERXNSLogLog4jBridge.java:46) - Creating new lifebeat socket 2014-01-06 23:15:11,630 DEBUG 14.13 MB/19.8 MB [Thread-1] logging.ERXNSLogLog4jBridge (ERXNSLogLog4jBridge.java:46) - Exception sending lifebeat to wotaskd: java.net.ConnectException: Connection refused 2014-01-06 23:15:16,737 DEBUG 16.02 MB/17.92 MB [WorkerThread13] logging.ERXNSLogLog4jBridge (ERXNSLogLog4jBridge.java:46) - @ Received Lifebeat: lifebeat netBrackets localhost 2001 2014-01-06 23:15:46,739 DEBUG 16.02 MB/17.92 MB [WorkerThread13] logging.ERXNSLogLog4jBridge (ERXNSLogLog4jBridge.java:46) - @ Received Lifebeat: lifebeat netBrackets localhost 2001 2014-01-06 23:16:11,631 DEBUG 14.13 MB/19.8 MB [Thread-1] logging.ERXNSLogLog4jBridge (ERXNSLogLog4jBridge.java:46) - Creating new lifebeat socket 2014-01-06 23:16:11,631 DEBUG 14.13 MB/19.8 MB [Thread-1] logging.ERXNSLogLog4jBridge (ERXNSLogLog4jBridge.java:46) - Exception sending lifebeat to wotaskd: java.net.ConnectException: Connection refused 2014-01-06 23:16:16,740 DEBUG 16.1 MB/17.84 MB [WorkerThread13] logging.ERXNSLogLog4jBridge (ERXNSLogLog4jBridge.java:46) - @ Received Lifebeat: lifebeat netBrackets localhost 2001 Just fishing here. Jeff On Jan 6, 2014, at 10:45 AM, Jeffrey Schmitz j...@netbrackets.com wrote: Still not quite there. The app now starts up from JavaMonitor and status looks good (ON), but when I try to access it, I get: The requested application was not found on this server. I've installed the MacPorts apache and loaded it: sudo port load apache2 and turned off the Server Websites service from the Server app. Apache is serving the correct static pages from my document root. The Macports Apache uses the httpd.conf from /opt/local/apache2/conf The changes I've made to the default macports httpd.conf are shown in red below: ServerName localhost:80 DocumentRoot /Library/WebServer/Documents Directory / Options FollowSymLinks AllowOverride None #Order deny,allow #Deny from all /Directory Directory /Library/WebServer/Documents # # Possible values for the Options directive are None, All, # or any combination of: # Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews # # Note that MultiViews must be named *explicitly* --- Options All # doesn't give it to you. # # The Options directive is both complicated and important. Please see # http://httpd.apache.org/docs/2.2/mod/core.html#options # for more information. # Options Indexes FollowSymLinks # # AllowOverride controls what directives may be placed in .htaccess files. # It can be All, None, or any combination of the keywords: # Options FileInfo AuthConfig Limit # AllowOverride None # # Controls who can get stuff from this server. # Order allow,deny Allow from all /Directory ScriptAliasMatch ^/cgi-bin/((?!(?i:webobjects)).*$) /Library/WebServer/CGI-Executables/$1 Directory /Library/WebServer/CGI-Executables AllowOverride None Options None Order allow,deny Allow from all /Directory Include /System/Library/WebObjects/Adaptors/Apache2.2/apache.conf Some key entries in the referenced apache.conf file are: LoadModule WebObjects_module /System/Library/WebObjects/Adaptors/Apache2.2/mod_WebObjects.so (NOTE: This is the wonder version) WebObjectsDocumentRoot /Library/WebServer/Documents WebObjectsAlias /cgi-bin/WebObjects WebObjectsConfig localhost:1085 10 On Jan 6, 2014
Re: Can't start app from javamonitor
Are you running wotaskd, JavaMonitor, and your app all with the same WOHost setting? Is it a real DNS name? -- Chuck Hill Executive Managing Partner, VP Development and Technical Services 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/gvc/practical_webobjects Global Village Consulting ranks 13th in 2012 in BIV's Top 100 Fastest Growing Companies in B.C! Global Village Consulting ranks 44th in 25th annual PROFIT 500 ranking of Canada’s Fastest-Growing Companies by PROFIT Magazine! On 1/6/2014, 8:22 PM, Jeffrey Schmitz wrote: One other possible clue in all this is the WOMonitor/wotaskd log, which is showing the following sequence that just keeps repeating when no applications have been started: 2014-01-06 22:55:11,594 DEBUG 17.16 MB/16.78 MB [Thread-1] logging.ERXNSLogLog4jBridge (ERXNSLogLog4jBridge.java:46) - Exception sending lifebeat to wotaskd: java.net.ConnectException: Connection refused 2014-01-06 22:55:41,594 DEBUG 17.21 MB/16.73 MB [Thread-1] logging.ERXNSLogLog4jBridge (ERXNSLogLog4jBridge.java:46) - Creating new lifebeat socket 2014-01-06 22:55:41,595 DEBUG 17.21 MB/16.73 MB [Thread-1] logging.ERXNSLogLog4jBridge (ERXNSLogLog4jBridge.java:46) - Exception sending lifebeat to wotaskd: java.net.ConnectException: Connection refused 2014-01-06 22:56:11,595 DEBUG 17.21 MB/16.73 MB [Thread-1] logging.ERXNSLogLog4jBridge (ERXNSLogLog4jBridge.java:46) - Creating new lifebeat socket 2014-01-06 22:56:11,596 DEBUG 17.21 MB/16.73 MB [Thread-1] logging.ERXNSLogLog4jBridge (ERXNSLogLog4jBridge.java:46) - Exception sending lifebeat to wotaskd: java.net.ConnectException: Connection refused 2014-01-06 22:56:41,596 DEBUG 17.21 MB/16.73 MB [Thread-1] logging.ERXNSLogLog4jBridge (ERXNSLogLog4jBridge.java:46) - Creating new lifebeat socket 2 Then after starting my app, it changes to the following sequence... 2014-01-06 23:15:11,629 DEBUG 14.13 MB/19.8 MB [Thread-1] logging.ERXNSLogLog4jBridge (ERXNSLogLog4jBridge.java:46) - Creating new lifebeat socket 2014-01-06 23:15:11,630 DEBUG 14.13 MB/19.8 MB [Thread-1] logging.ERXNSLogLog4jBridge (ERXNSLogLog4jBridge.java:46) - Exception sending lifebeat to wotaskd: java.net.ConnectException: Connection refused 2014-01-06 23:15:16,737 DEBUG 16.02 MB/17.92 MB [WorkerThread13] logging.ERXNSLogLog4jBridge (ERXNSLogLog4jBridge.java:46) - @ Received Lifebeat: lifebeat netBrackets localhost 2001 2014-01-06 23:15:46,739 DEBUG 16.02 MB/17.92 MB [WorkerThread13] logging.ERXNSLogLog4jBridge (ERXNSLogLog4jBridge.java:46) - @ Received Lifebeat: lifebeat netBrackets localhost 2001 2014-01-06 23:16:11,631 DEBUG 14.13 MB/19.8 MB [Thread-1] logging.ERXNSLogLog4jBridge (ERXNSLogLog4jBridge.java:46) - Creating new lifebeat socket 2014-01-06 23:16:11,631 DEBUG 14.13 MB/19.8 MB [Thread-1] logging.ERXNSLogLog4jBridge (ERXNSLogLog4jBridge.java:46) - Exception sending lifebeat to wotaskd: java.net.ConnectException: Connection refused 2014-01-06 23:16:16,740 DEBUG 16.1 MB/17.84 MB [WorkerThread13] logging.ERXNSLogLog4jBridge (ERXNSLogLog4jBridge.java:46) - @ Received Lifebeat: lifebeat netBrackets localhost 2001 Just fishing here. Jeff On Jan 6, 2014, at 10:45 AM, Jeffrey Schmitz j...@netbrackets.commailto:j...@netbrackets.com wrote: Still not quite there. The app now starts up from JavaMonitor and status looks good (ON), but when I try to access it, I get: The requested application was not found on this server. I've installed the MacPorts apache and loaded it: sudo port load apache2 and turned off the Server Websites service from the Server app. Apache is serving the correct static pages from my document root. The Macports Apache uses the httpd.conf from /opt/local/apache2/conf The changes I've made to the default macports httpd.conf are shown in red below: ServerName localhost:80 DocumentRoot /Library/WebServer/Documents Directory / Options FollowSymLinks AllowOverride None #Order deny,allow #Deny from all /Directory Directory /Library/WebServer/Documents # # Possible values for the Options directive are None, All, # or any combination of: # Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews # # Note that MultiViews must be named *explicitly* --- Options All # doesn't give it to you. # # The Options directive is both complicated and important. Please see # http://httpd.apache.org/docs/2.2/mod/core.html#options # for more information. # Options Indexes FollowSymLinks # # AllowOverride controls what directives may be placed in .htaccess files. # It can be All, None, or any combination of the keywords: # Options FileInfo AuthConfig Limit # AllowOverride None # # Controls who can get stuff from this server. # Order allow,deny Allow from all /Directory
JavaMonitor dying, apparently out of memory
Hello, I'm seeing some odd behaviour from JavaMonitor in an EC2-based deployment setting. On a couple of EC2 instances (both running JavaMonitor, wotaskd and the same application, but otherwise not connected, and not identical) JavaMonitor itself dies after some period of time (in the order of days after launch) apparently because it's out of memory: --- 2014-01-03 22:08:56,759 WARN 26.47 MB/30.28 MB [WorkerThread11] logging.ERXNSLogLog4jBridge (ERXNSLogLog4jBridge.java:44) - er.extensions.appserver.ERXComponentRequestHandler: Exception occurred while handling request: com.webobjects.foundation.NSForwardException [java.lang.reflect.InvocationTargetException] null:java.lang.reflect.InvocationTargetException 2014-01-03 22:08:56,761 WARN 26.47 MB/30.28 MB [WorkerThread11] logging.ERXNSLogLog4jBridge (ERXNSLogLog4jBridge.java:44) - Ran out of memory, killing this instance 2014-01-03 22:08:56,762 FATAL 26.47 MB/30.28 MB [WorkerThread11] appserver.ERXApplication (ERXApplication.java:1947) - Ran out of memory, killing this instance 2014-01-03 22:08:56,763 FATAL 26.47 MB/30.28 MB [WorkerThread11] appserver.ERXApplication (ERXApplication.java:1948) - Ran out of memory, killing this instance java.lang.OutOfMemoryError: unable to create new native thread at java.lang.Thread.start0(Native Method) at java.lang.Thread.start(Thread.java:679) at com.webobjects.monitor._private.MHost.sendRequestToWotaskdArray(MHost.java:320) at com.webobjects.monitor.application.WOTaskdHandler.sendRequest(WOTaskdHandler.java:160) at com.webobjects.monitor.application.WOTaskdHandler.sendQueryToWotaskds(WOTaskdHandler.java:354) at com.webobjects.monitor.application.WOTaskdHandler.getApplicationStatusForHosts(WOTaskdHandler.java:618) at com.webobjects.monitor.application.WOTaskdHandler.updateForPage(WOTaskdHandler.java:105) at com.webobjects.monitor.application.ApplicationsPage.init(ApplicationsPage.java:27) --- (I can post the full stack trace if it's helpful.) By way of background, I'm only seeing this on a couple of specific EC2 instances—I've got other instances that have been running JavaMonitor with uptimes of months if not years. According to the logging pattern in JavaMonitor's Properties, those log entries for the OutOfMemoryError are claiming 26M used and 30M free, which seems a bit suspect on the face of it. JavaMonitor is being started by /etc/init.d/webobjects using the default heap size, which I assume to be 64M. I've always found that to be sufficient, and can't find any reference to JavaMonitor being a memory hog on the list or elsewhere. The JavaMonitors that are failing in this way are used very lightly—monitoring a few instances at most of a single application on a single host, with occasional stops and starts for deployments. So, has anyone seen JavaMonitor itself fall over in this way? Is anyone using non-default JVM memory settings for JavaMonitor launch? Does anyone want to have a guess at the root cause here? I can provide the full stack trace if anyone wants to see it. -- Paul Hoadley http://logicsquad.net/ ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Can't start app from javamonitor
Hi All, My deployment machine has stopped deploying. Same problem I've seen before, everything looks fine in java monitor which is setup to use localhost has the host IP, I try to start my app and it never goes green, eventually ending in death. I've gone over the things that have fixed something like this before and don't see anything. The only log file is the wotaskd.log file which I've pasted at the end of this message. Below are my current settings for the usual suspects in deployment issues. As usual I'm now stumped as to what to look at and am hoping the error log below may give some clues to those much more well versed than me in the magic of deployment... /Library/WebObjects/JavaApplications/wotaskd.woa/Contents/Resources/Properties: WOHost=localhost JavaMonitor Site HTTP Adaptor URL: http://localhost/cgi-bin/WebObjects JavaMonitor Hosts Host name (Status says available so wotaskd daemon is running): localhost /System/Library/WebObjects/Adaptors/Apache2.2/apache.conf: WebObjectsConfig localhost:1085 10 httpd.conf: ServerName localhost:80 Directory / Options FollowSymLinks AllowOverride None #Order deny,allow #Deny from all /Directory ScriptAliasMatch ^/cgi-bin/((?!(?i:webobjects)).*$) /Library/WebServer/CGI-Executables/$1 Include /System/Library/WebObjects/Adaptors/Apache2.2/apache.conf Additional Arguments Settings in Javamonitor: -d64 -Xms2048m -Xmx3072m -WOAllowsConcurrentRequestHandling YES EOAdaptorDebugEnabled NO -WODirectConnectEnabled NO -WOHost localhost @ monitorRequestAction received request from Monitor 2014-01-05 22:55:33,970 DEBUG 16.59 MB/17.34 MB [WorkerThread7] logging.ERXNSLogLog4jBridge (ERXNSLogLog4jBridge.java:46) - Starting Instance: /Library/WebObjects/JavaApplications/wotaskd.woa/Contents/Resources/SpawnOfWotaskd.sh /Library/WebObjects/Applications/netBrackets.woa/netBrackets -WOHost localhost -WOPort 2001 -WOCachingEnabled YES -WODebuggingEnabled NO -WOOutputPath /Library/WebObjects/Logs/netBrackets-1 -WOAutoOpenInBrowser NO -WOAutoOpenClientApplication NO -WOLifebeatInterval 30 -WOLifebeatEnabled YES -WOLifebeatDestinationPort 1085 -WOAdaptor WODefaultAdaptor -WOWorkerThreadCount 8 -WOListenQueueSize 128 -WOWorkerThreadCountMin 16 -WOWorkerThreadCountMax 256 -NSProjectSearchPath () -WOSessionTimeOut 3600 -WOApplicationName netBrackets -WOMonitorEnabled YES -WONoPause YES -d64 -Xms2048m -Xmx3072m -WOAllowsConcurrentRequestHandling YES EOAdaptorDebugEnabled NO -WODirectConnectEnabled NO -WOHost localhost 2014-01-05 22:55:33,980 DEBUG 16.67 MB/17.27 MB [WorkerThread7] logging.ERXNSLogLog4jBridge (ERXNSLogLog4jBridge.java:46) - @ monitorRequestAction returning response to Monitor 2014-01-05 22:55:33,986 DEBUG 12.89 MB/21.05 MB [WorkerThread13] logging.ERXNSLogLog4jBridge (ERXNSLogLog4jBridge.java:46) - OUT: { commandWotaskd = ( START, { id = 1; port = 2001; applicationName = netBrackets; hostName = localhost; } ); } IN: ( { commandWotaskdResponse = ( { success = true; } ); } ) 2014-01-05 22:55:33,986 DEBUG 12.89 MB/21.05 MB [WorkerThread13] logging.ERXNSLogLog4jBridge (ERXNSLogLog4jBridge.java:46) - # getCommandErrors: () 2014-01-05 22:55:33,987 DEBUG 12.96 MB/20.98 MB [Thread-23] logging.ERXNSLogLog4jBridge (ERXNSLogLog4jBridge.java:46) - !@#$!@#$ sendRequestToWotaskd creates a WOHTTPConnection 2014-01-05 22:55:33,992 DEBUG 16.88 MB/17.06 MB [WorkerThread6] logging.ERXNSLogLog4jBridge (ERXNSLogLog4jBridge.java:46) - @ monitorRequestAction received request from Monitor 2014-01-05 22:55:33,993 DEBUG 16.88 MB/17.06 MB [WorkerThread6] logging.ERXNSLogLog4jBridge (ERXNSLogLog4jBridge.java:46) - @ monitorRequestAction returning response to Monitor 2014-01-05 22:55:33,997 DEBUG 13.08 MB/20.86 MB [WorkerThread13] logging.ERXNSLogLog4jBridge (ERXNSLogLog4jBridge.java:46) - # pageWithName(AppDetailPage) errors: () 2014-01-05 22:55:34,000 DEBUG 13.15 MB/20.79 MB [WorkerThread13] logging.ERXNSLogLog4jBridge (ERXNSLogLog4jBridge.java:46) - message(): () 2014-01-05 22:55:34,001 DEBUG 13.17 MB/20.77 MB [WorkerThread13] logging.ERXNSLogLog4jBridge (ERXNSLogLog4jBridge.java:46) - message(): () 2014-01-05 22:55:45,540 DEBUG 14.72 MB/19.22 MB [Thread-2] logging.ERXNSLogLog4jBridge (ERXNSLogLog4jBridge.java:46) - Creating new lifebeat socket 2014-01-05 22:55:45,541 DEBUG 14.72 MB/19.21 MB [Thread-2] logging.ERXNSLogLog4jBridge (ERXNSLogLog4jBridge.java:46) - Exception sending lifebeat to wotaskd: java.net.ConnectException: Connection refused 2014-01-05 22:56:19,310 WARN 16.95 MB/16.98 MB [main] logging.ERXNSLogLog4jBridge (ERXNSLogLog4jBridge.java:43) - Application
Re: JavaMonitor stop not working
jstack it to be sure? Did someone forget to mark a thread as a daemon? Rapid turn around mode left on? -- Chuck Hill Executive Managing Partner, VP Development and Technical Services 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/gvc/practical_webobjects Global Village Consulting ranks 13th in 2012 in BIV's Top 100 Fastest Growing Companies in B.C! Global Village Consulting ranks 44th in 25th annual PROFIT 500 ranking of Canada’s Fastest-Growing Companies by PROFIT Magazine! On 13-09-06 2:23 PM, Ramsey Gurley rgur...@smarthealth.com wrote: There's nothing hitting the app. It's behind the firewall right now. 0 sessions. I start. Monitor works. I stop, monitor doesn't. On Sep 6, 2013, at 2:11 PM, Chuck Hill wrote: Is it deadlocked? -- Chuck Hill Executive Managing Partner, VP Development and Technical Services 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/gvc/practical_webobjects Global Village Consulting ranks 13th in 2012 in BIV's Top 100 Fastest Growing Companies in B.C! Global Village Consulting ranks 44th in 25th annual PROFIT 500 ranking of Canada¹s Fastest-Growing Companies by PROFIT Magazine! On 13-09-06 1:54 PM, Ramsey Gurley rgur...@smarthealth.com wrote: On Sep 6, 2013, at 1:44 PM, Ramsey Gurley wrote: Is anyone else experiencing this? I can't get apps to stop through JavaMonitor. The only way to stop them is to kill them from the command line. I've tried stopping through the interface and using /cgi-bin/WebObjects/JavaMonitor.woa/admin/stop?type=allpw=password The second gives me an OK response, but nothing stops. Ramsey And if I bounce an app, the new instance starts, but the old instance never stops. ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/chill%40global-vi ll age.net This email sent to ch...@global-village.net ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
JavaMonitor stop not working
Is anyone else experiencing this? I can't get apps to stop through JavaMonitor. The only way to stop them is to kill them from the command line. I've tried stopping through the interface and using /cgi-bin/WebObjects/JavaMonitor.woa/admin/stop?type=allpw=password The second gives me an OK response, but nothing stops. Ramsey ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: JavaMonitor stop not working
) - java.lang.Object.wait() @bci=2, line=503 (Interpreted frame) - java.lang.ref.Reference$ReferenceHandler.run() @bci=46, line=133 (Interpreted frame) Thread 13579: (state = BLOCKED) - java.lang.Object.wait(long) @bci=0 (Interpreted frame) - com.webobjects.appserver._WORunLoop._acceptInputBeforeDate(com.webobjects.foundation.NSTimestamp) @bci=98, line=244 (Interpreted frame) - com.webobjects.appserver._WORunLoop.runBeforeDate(com.webobjects.foundation.NSTimestamp) @bci=39, line=95 (Interpreted frame) - com.webobjects.appserver.WOApplication._runOnce() @bci=17, line=1095 (Interpreted frame) - com.webobjects.appserver.WOApplication.run() @bci=106, line=1248 (Interpreted frame) - er.extensions.appserver.ERXApplication.run() @bci=288, line=1414 (Interpreted frame) - com.webobjects.appserver.WOApplication.main(java.lang.String[], java.lang.Class) @bci=55, line=548 (Interpreted frame) - er.extensions.appserver.ERXApplication.main(java.lang.String[], java.lang.Class) @bci=6, line=861 (Interpreted frame) - com.practicemojo.woapp.practicemojoserver.Application.main(java.lang.String[]) @bci=4, line=10 (Interpreted frame) - sun.reflect.NativeMethodAccessorImpl.invoke0(java.lang.reflect.Method, java.lang.Object, java.lang.Object[]) @bci=0 (Interpreted frame) - sun.reflect.NativeMethodAccessorImpl.invoke(java.lang.Object, java.lang.Object[]) @bci=87, line=57 (Interpreted frame) - sun.reflect.DelegatingMethodAccessorImpl.invoke(java.lang.Object, java.lang.Object[]) @bci=6, line=43 (Interpreted frame) - java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) @bci=57, line=606 (Interpreted frame) - com.webobjects._bootstrap.WOBootstrap.main(java.lang.String[]) @bci=118, line=87 (Interpreted frame) On Sep 6, 2013, at 2:36 PM, Chuck Hill wrote: jstack it to be sure? Did someone forget to mark a thread as a daemon? Rapid turn around mode left on? -- Chuck Hill Executive Managing Partner, VP Development and Technical Services 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/gvc/practical_webobjects Global Village Consulting ranks 13th in 2012 in BIV's Top 100 Fastest Growing Companies in B.C! Global Village Consulting ranks 44th in 25th annual PROFIT 500 ranking of Canada’s Fastest-Growing Companies by PROFIT Magazine! On 13-09-06 2:23 PM, Ramsey Gurley rgur...@smarthealth.com wrote: There's nothing hitting the app. It's behind the firewall right now. 0 sessions. I start. Monitor works. I stop, monitor doesn't. On Sep 6, 2013, at 2:11 PM, Chuck Hill wrote: Is it deadlocked? -- Chuck Hill Executive Managing Partner, VP Development and Technical Services 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/gvc/practical_webobjects Global Village Consulting ranks 13th in 2012 in BIV's Top 100 Fastest Growing Companies in B.C! Global Village Consulting ranks 44th in 25th annual PROFIT 500 ranking of Canada¹s Fastest-Growing Companies by PROFIT Magazine! On 13-09-06 1:54 PM, Ramsey Gurley rgur...@smarthealth.com wrote: On Sep 6, 2013, at 1:44 PM, Ramsey Gurley wrote: Is anyone else experiencing this? I can't get apps to stop through JavaMonitor. The only way to stop them is to kill them from the command line. I've tried stopping through the interface and using /cgi-bin/WebObjects/JavaMonitor.woa/admin/stop?type=allpw=password The second gives me an OK response, but nothing stops. Ramsey And if I bounce an app, the new instance starts, but the old instance never stops. ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/chill%40global-vi ll age.net This email sent to ch...@global-village.net ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: JavaMonitor stop not working
=98 (Interpreted frame) - java.lang.Thread.run() @bci=11, line=724 (Interpreted frame) Thread 13601: (state = BLOCKED) Thread 13600: (state = BLOCKED) - java.lang.Object.wait(long) @bci=0 (Interpreted frame) - java.lang.ref.ReferenceQueue.remove(long) @bci=44, line=135 (Interpreted frame) - java.lang.ref.ReferenceQueue.remove() @bci=2, line=151 (Interpreted frame) - java.lang.ref.Finalizer$FinalizerThread.run() @bci=16, line=189 (Interpreted frame) Thread 13599: (state = BLOCKED) - java.lang.Object.wait(long) @bci=0 (Interpreted frame) - java.lang.Object.wait() @bci=2, line=503 (Interpreted frame) - java.lang.ref.Reference$ReferenceHandler.run() @bci=46, line=133 (Interpreted frame) Thread 13579: (state = BLOCKED) - java.lang.Object.wait(long) @bci=0 (Interpreted frame) - com.webobjects.appserver._WORunLoop._acceptInputBeforeDate(com.webobjects. foundation.NSTimestamp) @bci=98, line=244 (Interpreted frame) - com.webobjects.appserver._WORunLoop.runBeforeDate(com.webobjects.foundatio n.NSTimestamp) @bci=39, line=95 (Interpreted frame) - com.webobjects.appserver.WOApplication._runOnce() @bci=17, line=1095 (Interpreted frame) - com.webobjects.appserver.WOApplication.run() @bci=106, line=1248 (Interpreted frame) - er.extensions.appserver.ERXApplication.run() @bci=288, line=1414 (Interpreted frame) - com.webobjects.appserver.WOApplication.main(java.lang.String[], java.lang.Class) @bci=55, line=548 (Interpreted frame) - er.extensions.appserver.ERXApplication.main(java.lang.String[], java.lang.Class) @bci=6, line=861 (Interpreted frame) - com.practicemojo.woapp.practicemojoserver.Application.main(java.lang.Strin g[]) @bci=4, line=10 (Interpreted frame) - sun.reflect.NativeMethodAccessorImpl.invoke0(java.lang.reflect.Method, java.lang.Object, java.lang.Object[]) @bci=0 (Interpreted frame) - sun.reflect.NativeMethodAccessorImpl.invoke(java.lang.Object, java.lang.Object[]) @bci=87, line=57 (Interpreted frame) - sun.reflect.DelegatingMethodAccessorImpl.invoke(java.lang.Object, java.lang.Object[]) @bci=6, line=43 (Interpreted frame) - java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) @bci=57, line=606 (Interpreted frame) - com.webobjects._bootstrap.WOBootstrap.main(java.lang.String[]) @bci=118, line=87 (Interpreted frame) On Sep 6, 2013, at 2:36 PM, Chuck Hill wrote: jstack it to be sure? Did someone forget to mark a thread as a daemon? Rapid turn around mode left on? -- Chuck Hill Executive Managing Partner, VP Development and Technical Services 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/gvc/practical_webobjects Global Village Consulting ranks 13th in 2012 in BIV's Top 100 Fastest Growing Companies in B.C! Global Village Consulting ranks 44th in 25th annual PROFIT 500 ranking of Canada’s Fastest-Growing Companies by PROFIT Magazine! On 13-09-06 2:23 PM, Ramsey Gurley rgur...@smarthealth.com wrote: There's nothing hitting the app. It's behind the firewall right now. 0 sessions. I start. Monitor works. I stop, monitor doesn't. On Sep 6, 2013, at 2:11 PM, Chuck Hill wrote: Is it deadlocked? -- Chuck Hill Executive Managing Partner, VP Development and Technical Services 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/gvc/practical_webobjects Global Village Consulting ranks 13th in 2012 in BIV's Top 100 Fastest Growing Companies in B.C! Global Village Consulting ranks 44th in 25th annual PROFIT 500 ranking of Canada¹s Fastest-Growing Companies by PROFIT Magazine! On 13-09-06 1:54 PM, Ramsey Gurley rgur...@smarthealth.com wrote: On Sep 6, 2013, at 1:44 PM, Ramsey Gurley wrote: Is anyone else experiencing this? I can't get apps to stop through JavaMonitor. The only way to stop them is to kill them from the command line. I've tried stopping through the interface and using /cgi-bin/WebObjects/JavaMonitor.woa/admin/stop?type=allpw=password The second gives me an OK response, but nothing stops. Ramsey And if I bounce an app, the new instance starts, but the old instance never stops. ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/chill%40global- vi ll age.net This email sent to ch...@global-village.net ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options
Re: JavaMonitor stop not working
) - com.webobjects.appserver.WOApplication$_LifebeatThread.run() @bci=233, line=1619 (Interpreted frame) Thread 13608: (state = BLOCKED) - java.lang.Thread.sleep(long) @bci=0 (Interpreted frame) - com.webobjects.appserver.WOSessionStore$_SessionTimeoutManager.run() @bci=12, line=98 (Interpreted frame) - java.lang.Thread.run() @bci=11, line=724 (Interpreted frame) Thread 13601: (state = BLOCKED) Thread 13600: (state = BLOCKED) - java.lang.Object.wait(long) @bci=0 (Interpreted frame) - java.lang.ref.ReferenceQueue.remove(long) @bci=44, line=135 (Interpreted frame) - java.lang.ref.ReferenceQueue.remove() @bci=2, line=151 (Interpreted frame) - java.lang.ref.Finalizer$FinalizerThread.run() @bci=16, line=189 (Interpreted frame) Thread 13599: (state = BLOCKED) - java.lang.Object.wait(long) @bci=0 (Interpreted frame) - java.lang.Object.wait() @bci=2, line=503 (Interpreted frame) - java.lang.ref.Reference$ReferenceHandler.run() @bci=46, line=133 (Interpreted frame) Thread 13579: (state = BLOCKED) - java.lang.Object.wait(long) @bci=0 (Interpreted frame) - com.webobjects.appserver._WORunLoop._acceptInputBeforeDate(com.webobjects. foundation.NSTimestamp) @bci=98, line=244 (Interpreted frame) - com.webobjects.appserver._WORunLoop.runBeforeDate(com.webobjects.foundatio n.NSTimestamp) @bci=39, line=95 (Interpreted frame) - com.webobjects.appserver.WOApplication._runOnce() @bci=17, line=1095 (Interpreted frame) - com.webobjects.appserver.WOApplication.run() @bci=106, line=1248 (Interpreted frame) - er.extensions.appserver.ERXApplication.run() @bci=288, line=1414 (Interpreted frame) - com.webobjects.appserver.WOApplication.main(java.lang.String[], java.lang.Class) @bci=55, line=548 (Interpreted frame) - er.extensions.appserver.ERXApplication.main(java.lang.String[], java.lang.Class) @bci=6, line=861 (Interpreted frame) - com.practicemojo.woapp.practicemojoserver.Application.main(java.lang.Strin g[]) @bci=4, line=10 (Interpreted frame) - sun.reflect.NativeMethodAccessorImpl.invoke0(java.lang.reflect.Method, java.lang.Object, java.lang.Object[]) @bci=0 (Interpreted frame) - sun.reflect.NativeMethodAccessorImpl.invoke(java.lang.Object, java.lang.Object[]) @bci=87, line=57 (Interpreted frame) - sun.reflect.DelegatingMethodAccessorImpl.invoke(java.lang.Object, java.lang.Object[]) @bci=6, line=43 (Interpreted frame) - java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) @bci=57, line=606 (Interpreted frame) - com.webobjects._bootstrap.WOBootstrap.main(java.lang.String[]) @bci=118, line=87 (Interpreted frame) On Sep 6, 2013, at 2:36 PM, Chuck Hill wrote: jstack it to be sure? Did someone forget to mark a thread as a daemon? Rapid turn around mode left on? -- Chuck Hill Executive Managing Partner, VP Development and Technical Services 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/gvc/practical_webobjects Global Village Consulting ranks 13th in 2012 in BIV's Top 100 Fastest Growing Companies in B.C! Global Village Consulting ranks 44th in 25th annual PROFIT 500 ranking of Canada’s Fastest-Growing Companies by PROFIT Magazine! On 13-09-06 2:23 PM, Ramsey Gurley rgur...@smarthealth.com wrote: There's nothing hitting the app. It's behind the firewall right now. 0 sessions. I start. Monitor works. I stop, monitor doesn't. On Sep 6, 2013, at 2:11 PM, Chuck Hill wrote: Is it deadlocked? -- Chuck Hill Executive Managing Partner, VP Development and Technical Services 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/gvc/practical_webobjects Global Village Consulting ranks 13th in 2012 in BIV's Top 100 Fastest Growing Companies in B.C! Global Village Consulting ranks 44th in 25th annual PROFIT 500 ranking of Canada¹s Fastest-Growing Companies by PROFIT Magazine! On 13-09-06 1:54 PM, Ramsey Gurley rgur...@smarthealth.com wrote: On Sep 6, 2013, at 1:44 PM, Ramsey Gurley wrote: Is anyone else experiencing this? I can't get apps to stop through JavaMonitor. The only way to stop them is to kill them from the command line. I've tried stopping through the interface and using /cgi-bin/WebObjects/JavaMonitor.woa/admin/stop?type=allpw=password The second gives me an OK response, but nothing stops. Ramsey And if I bounce an app, the new instance starts, but the old instance never stops. ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/chill%40global- vi ll age.net
Re: JavaMonitor stop not working
On Sep 6, 2013, at 1:44 PM, Ramsey Gurley wrote: Is anyone else experiencing this? I can't get apps to stop through JavaMonitor. The only way to stop them is to kill them from the command line. I've tried stopping through the interface and using /cgi-bin/WebObjects/JavaMonitor.woa/admin/stop?type=allpw=password The second gives me an OK response, but nothing stops. Ramsey And if I bounce an app, the new instance starts, but the old instance never stops. ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: JavaMonitor stop not working
I have seen this for several apps using the non-wonder JavaMonitor. I was hoping moving to Wonder JavaMonitor would solve the problem. On 2013-09-06, at 1:54 PM, Ramsey Gurley rgur...@smarthealth.com wrote: On Sep 6, 2013, at 1:44 PM, Ramsey Gurley wrote: Is anyone else experiencing this? I can't get apps to stop through JavaMonitor. The only way to stop them is to kill them from the command line. I've tried stopping through the interface and using /cgi-bin/WebObjects/JavaMonitor.woa/admin/stop?type=allpw=password The second gives me an OK response, but nothing stops. Ramsey And if I bounce an app, the new instance starts, but the old instance never stops. ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/programmingosx%40mac.com This email sent to programming...@mac.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: JavaMonitor stop not working
Is it deadlocked? -- Chuck Hill Executive Managing Partner, VP Development and Technical Services 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/gvc/practical_webobjects Global Village Consulting ranks 13th in 2012 in BIV's Top 100 Fastest Growing Companies in B.C! Global Village Consulting ranks 44th in 25th annual PROFIT 500 ranking of Canada¹s Fastest-Growing Companies by PROFIT Magazine! On 13-09-06 1:54 PM, Ramsey Gurley rgur...@smarthealth.com wrote: On Sep 6, 2013, at 1:44 PM, Ramsey Gurley wrote: Is anyone else experiencing this? I can't get apps to stop through JavaMonitor. The only way to stop them is to kill them from the command line. I've tried stopping through the interface and using /cgi-bin/WebObjects/JavaMonitor.woa/admin/stop?type=allpw=password The second gives me an OK response, but nothing stops. Ramsey And if I bounce an app, the new instance starts, but the old instance never stops. ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/chill%40global-vill age.net This email sent to ch...@global-village.net ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: JavaMonitor stop not working
I have an older wonder java monitor and this worked fine. Moving to a new server and now stop is broken. turnScheduledOff, turnScheduledOn works. So it seems something specific to stop if failing. On Sep 6, 2013, at 1:59 PM, David Holt wrote: I have seen this for several apps using the non-wonder JavaMonitor. I was hoping moving to Wonder JavaMonitor would solve the problem. On 2013-09-06, at 1:54 PM, Ramsey Gurley rgur...@smarthealth.com wrote: On Sep 6, 2013, at 1:44 PM, Ramsey Gurley wrote: Is anyone else experiencing this? I can't get apps to stop through JavaMonitor. The only way to stop them is to kill them from the command line. I've tried stopping through the interface and using /cgi-bin/WebObjects/JavaMonitor.woa/admin/stop?type=allpw=password The second gives me an OK response, but nothing stops. Ramsey And if I bounce an app, the new instance starts, but the old instance never stops. ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/programmingosx%40mac.com This email sent to programming...@mac.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: JavaMonitor stop not working
There's nothing hitting the app. It's behind the firewall right now. 0 sessions. I start. Monitor works. I stop, monitor doesn't. On Sep 6, 2013, at 2:11 PM, Chuck Hill wrote: Is it deadlocked? -- Chuck Hill Executive Managing Partner, VP Development and Technical Services 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/gvc/practical_webobjects Global Village Consulting ranks 13th in 2012 in BIV's Top 100 Fastest Growing Companies in B.C! Global Village Consulting ranks 44th in 25th annual PROFIT 500 ranking of Canada¹s Fastest-Growing Companies by PROFIT Magazine! On 13-09-06 1:54 PM, Ramsey Gurley rgur...@smarthealth.com wrote: On Sep 6, 2013, at 1:44 PM, Ramsey Gurley wrote: Is anyone else experiencing this? I can't get apps to stop through JavaMonitor. The only way to stop them is to kill them from the command line. I've tried stopping through the interface and using /cgi-bin/WebObjects/JavaMonitor.woa/admin/stop?type=allpw=password The second gives me an OK response, but nothing stops. Ramsey And if I bounce an app, the new instance starts, but the old instance never stops. ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/chill%40global-vill age.net This email sent to ch...@global-village.net ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: javamonitor and wotaskd won't start after os x updates
Hi Greg, et al, I don't know if this is still an issue for you, but after hitting the exact same problem on a Snow Leopard Server after updates, a colleague of mine and I decided to pass -Djava.awt.headless=true to wotaskd and javamonitor and it solved the issues for us. Just for reference, we put the parameter in the com.apple.webobjects.wo*.plist so now it looks like this: keyProgramArguments/key array stringwotaskd/string + string-Djava.awt.headless=true/string string-WOPort/string string1085/string /array HTH, Bogdan On 1 Jul 2013, at 21:09, Greg Lappen wrote: Hello, We have a WebObjects app running on a Snow Leopard Server. Some OS X updates were applied recently, and now WebObjects javamontor, wotaskd, and hence our app are not starting up. I saw this error in /var/log/system.log: Suspicious setup: User appserver maps to user: _appserver I modified the LaunchAgent plist files so that the user and group name now have dashes in front of them and reloaded the files into launchd with launchctl. The error I see now is this: kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged. This seems like some issue with java not being able to connect to the window server, but I was not able to find any solutions. Does this look familiar to anyone? Much thanks, Greg ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/bogdan.zlatanov%40gmail.com This email sent to bogdan.zlata...@gmail.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: javamonitor and wotaskd won't start after os x updates
Good info. I think the applications here: http://jenkins.wocommunity.org/job/Wonder/ do have some bug fixes relative to the apple ones, and they have additional features; so I guess I am happy(?) I was forced to try the Wonder versions? Differences between Apple's and Wonder's versions of the deployment tools wotaskd and JavaMonitor were released by Apple to the community as open source when WebObjects 5.4 was released in 2007. They were added to Wonder and improvements and bug fixes were made to the tools. We strongly suggest that you use the Wonder Versions. http://wiki.wocommunity.org/display/documentation/Wonder+JavaMonitor+and+wotaskd But its nice to know the apple ones still work. G Brown gsbr...@umich.edu On Jul 13, 2013, at 2:02 PM, Bogdan Zlatanov wrote: Hi Greg, et al, I don't know if this is still an issue for you, but after hitting the exact same problem on a Snow Leopard Server after updates, a colleague of mine and I decided to pass -Djava.awt.headless=true to wotaskd and javamonitor and it solved the issues for us. Just for reference, we put the parameter in the com.apple.webobjects.wo*.plist so now it looks like this: keyProgramArguments/key array stringwotaskd/string + string-Djava.awt.headless=true/string string-WOPort/string string1085/string /array HTH, Bogdan On 1 Jul 2013, at 21:09, Greg Lappen wrote: Hello, We have a WebObjects app running on a Snow Leopard Server. Some OS X updates were applied recently, and now WebObjects javamontor, wotaskd, and hence our app are not starting up. I saw this error in /var/log/system.log: Suspicious setup: User appserver maps to user: _appserver I modified the LaunchAgent plist files so that the user and group name now have dashes in front of them and reloaded the files into launchd with launchctl. The error I see now is this: kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged. This seems like some issue with java not being able to connect to the window server, but I was not able to find any solutions. Does this look familiar to anyone? Much thanks, Greg ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/bogdan.zlatanov%40gmail.com This email sent to bogdan.zlata...@gmail.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/gsbrown%40umich.edu This email sent to gsbr...@umich.edu ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Windows Deployment using JavaMonitor
Hello, 2012 was the only one available by my reseller… As for Windows 8, i'm using java 1.7 (my devs are made with 1.6) witch is the only one really supported. I feared installing 1.7 but as my apps were starting and working well (outside wotask and javamonitor), I didn't change for 1.6 Il will try WOStart and let you know. Jérémy Le 8 juil. 2013 à 22:14, Markus Stoll a écrit : Hi Jérémy you might be the very first to try deployment on Windows 2012 - I did not expect problems like that, but I just don't know whether this causes problems. I would suggest to try WOStart from current wonder instead of using the startup scripts. Which Java version did you use? regards, Markus Am 08.07.2013 um 03:55 schrieb Jérémy DE ROYER jeremy.dero...@ingencys.net: Hello, After reading so such about servlet and Javamonitor deployment, I decided to try to deploy on Windows using JavaMonitor. If the setup is easier (compare to tomcat/servlet), I have to admit that I am unable to make my app start using JavaMonitor. When I start my app double clicking on its own .cmd, it works. -- I tried changing path using c:/ or c:\ or c:\\ - nothing I've create the folder c:/TEMP/logWebObjects - nothing I've started wotaskd as a service (using firedaemon) or manually - nothing I've used the original and Wonder versions of wotaskd and javamonitor - nothing The only thing I get is : - The app did not respond for xxx seconds witch is greater than the allowed… so it is assumed to be dead. If someone already had the same issue, how do you succeed deploying on windows using javamonitor (I'm using windows 2012 server) Thank's Jérémy DE ROYER ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Windows Deployment using JavaMonitor
Hi Jérémy you might be the very first to try deployment on Windows 2012 - I did not expect problems like that, but I just don't know whether this causes problems. I would suggest to try WOStart from current wonder instead of using the startup scripts. Which Java version did you use? regards, Markus Am 08.07.2013 um 03:55 schrieb Jérémy DE ROYER jeremy.dero...@ingencys.net: Hello, After reading so such about servlet and Javamonitor deployment, I decided to try to deploy on Windows using JavaMonitor. If the setup is easier (compare to tomcat/servlet), I have to admit that I am unable to make my app start using JavaMonitor. When I start my app double clicking on its own .cmd, it works. -- I tried changing path using c:/ or c:\ or c:\\ - nothing I've create the folder c:/TEMP/logWebObjects - nothing I've started wotaskd as a service (using firedaemon) or manually - nothing I've used the original and Wonder versions of wotaskd and javamonitor - nothing The only thing I get is : - The app did not respond for xxx seconds witch is greater than the allowed… so it is assumed to be dead. If someone already had the same issue, how do you succeed deploying on windows using javamonitor (I'm using windows 2012 server) Thank's Jérémy DE ROYER ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Windows Deployment using JavaMonitor
Hello, After reading so such about servlet and Javamonitor deployment, I decided to try to deploy on Windows using JavaMonitor. If the setup is easier (compare to tomcat/servlet), I have to admit that I am unable to make my app start using JavaMonitor. When I start my app double clicking on its own .cmd, it works. -- I tried changing path using c:/ or c:\ or c:\\ - nothing I've create the folder c:/TEMP/logWebObjects - nothing I've started wotaskd as a service (using firedaemon) or manually - nothing I've used the original and Wonder versions of wotaskd and javamonitor - nothing The only thing I get is : - The app did not respond for xxx seconds witch is greater than the allowed… so it is assumed to be dead. If someone already had the same issue, how do you succeed deploying on windows using javamonitor (I'm using windows 2012 server) Thank's Jérémy DE ROYER ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Broken Javamonitor and wotaskd apps and builds.
Hi Greg, Wonder version of JavaMonitor and wotaskd are built with the skipAppleProvidedFrameworks option active. Which means that the WebObjects jars are not included in the final package. We decided to package Wonder applications this way to avoid overloading our servers space too fast. Anyway, I can change the Maven configuration for these applications if the community consider important to have those applications in the Maven repository. Cheers, Henrique On Jun 30, 2013, at 10:38 AM, G Brown gsbr...@umich.edu wrote: Fun. Apple updates leads to broken Javamonitor and wotaskd. This was on an older snow leopard system, so I thought–after too much time of googling around–maybe it is time to use the updated Web objects community version of Javamonitor and wotaskd. Try 1: All these things should be built and downloadable from the nexus library (maven) . Should be easy, right? I go to the repository and download Javamonitor; move it into place, and then I look what's inside of it. No application, no wobootstrap, etc. All the wonder applications are built wrong in the maven repositories. Try 2: Well let's go back to the source and rebuild it. We switch to the 5.8 release and try to compile. Something's broken, lots of errors with rest stuff. Build failed. * wonder_5 e10c06a [pw/wonder_5] Wonder 5.8.2 release. Commits from integration branch from October 09th 2012 to November 07th 2012. global.dummy: [wocompile] Compiling 28 source files to /Users/gb/Roots/classes/ERRest [wocompile] /Users/gb/SoftwareProjects/woprojects/wondergit/Frameworks/EOF/ERRest/Sources/er/rest/routes/ERXRouteRequestHandler.java:737: cannot find symbol [wocompile] symbol : method notEqual(java.lang.Classcapture#357 of ? extends er.rest.routes.ERXRouteController,java.lang.Classcapture#494 of ? extends er.rest.routes.ERXRouteController) [wocompile] location: class org.apache.commons.lang.ObjectUtils [wocompile] boolean isDifferentController = ObjectUtils.notEqual(duplicateRoute.controller(), route.controller()); [wocompile] ^ [wocompile] /Users/gb/SoftwareProjects/woprojects/wondergit/Frameworks/EOF/ERRest/Sources/er/rest/routes/ERXRouteRequestHandler.java:738: cannot find symbol [wocompile] symbol : method notEqual(java.lang.String,java.lang.String) [wocompile] location: class org.apache.commons.lang.ObjectUtils [wocompile] boolean isDifferentAction = ObjectUtils.notEqual(duplicateRoute.action(), route.action()); [wocompile] ^ [wocompile] Note: /Users/gb/SoftwareProjects/woprojects/wondergit/Frameworks/EOF/ERRest/Sources/er/rest/routes/ERXRouteRequestHandler.java uses unchecked or unsafe operations. [wocompile] Note: Recompile with -Xlint:unchecked for details. [wocompile] 2 errors BUILD FAILED /Users/gb/SoftwareProjects/woprojects/wondergit/build.xml:12: The following error occurred while executing this line: /Users/gb/SoftwareProjects/woprojects/wondergit/Build/build/build.xml:1377: The following error occurred while executing this line: /Users/gb/SoftwareProjects/woprojects/wondergit/Build/build/build.xml:1368: The following error occurred while executing this line: /Users/gb/SoftwareProjects/woprojects/wondergit/Build/build/build.xml:119: The following error occurred while executing this line: /Users/gb/SoftwareProjects/woprojects/wondergit/Build/build/generic.xml:270: Compile failed; see the compiler error output for details. Total time: 17 seconds Try 3: Maybe the web apps which Jenkins builds will work. What version they are who knows, and who knows if it will work with Snow Leopard and Java 6. Let's try! Download the items and put them in the right spot. Doesn't work. They have quarantine attributes, so I remove those from everything, and they still don't work. Looking closer inside, the woa/Javamonitor has the wrong permissions. _Appserver tries to run these applications, but root and wheel own them, so they don't run. I fixed the permissions and now they do run. Tomorrow I will try to figure out how to put these issues into the issue tracker; unless everything else breaks. G Brown gsbr...@umich.edu ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/hprange%40gmail.com This email sent to hpra...@gmail.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects
Re: Broken Javamonitor and wotaskd apps and builds.
Personally, I can't see why you would want to get these apps from Maven instead from the Jenkins build server. The jenkins builds have all the frameworks embedded. On Wed, Jul 3, 2013 at 10:18 AM, Henrique Prange hpra...@gmail.com wrote: Hi Greg, Wonder version of JavaMonitor and wotaskd are built with the skipAppleProvidedFrameworks option active. Which means that the WebObjects jars are not included in the final package. We decided to package Wonder applications this way to avoid overloading our servers space too fast. Anyway, I can change the Maven configuration for these applications if the community consider important to have those applications in the Maven repository. Cheers, Henrique On Jun 30, 2013, at 10:38 AM, G Brown gsbr...@umich.edu wrote: Fun. Apple updates leads to broken Javamonitor and wotaskd. This was on an older snow leopard system, so I thought–after too much time of googling around–maybe it is time to use the updated Web objects community version of Javamonitor and wotaskd. Try 1: All these things should be built and downloadable from the nexus library (maven) . Should be easy, right? I go to the repository and download Javamonitor; move it into place, and then I look what's inside of it. No application, no wobootstrap, etc. All the wonder applications are built wrong in the maven repositories. Try 2: Well let's go back to the source and rebuild it. We switch to the 5.8 release and try to compile. Something's broken, lots of errors with rest stuff. Build failed. * wonder_5 e10c06a [pw/wonder_5] Wonder 5.8.2 release. Commits from integration branch from October 09th 2012 to November 07th 2012. global.dummy: [wocompile] Compiling 28 source files to /Users/gb/Roots/classes/ERRest [wocompile] /Users/gb/SoftwareProjects/woprojects/wondergit/Frameworks/EOF/ERRest/Sources/er/rest/routes/ERXRouteRequestHandler.java:737: cannot find symbol [wocompile] symbol : method notEqual(java.lang.Classcapture#357 of ? extends er.rest.routes.ERXRouteController,java.lang.Classcapture#494 of ? extends er.rest.routes.ERXRouteController) [wocompile] location: class org.apache.commons.lang.ObjectUtils [wocompile] boolean isDifferentController = ObjectUtils.notEqual(duplicateRoute.controller(), route.controller()); [wocompile] ^ [wocompile] /Users/gb/SoftwareProjects/woprojects/wondergit/Frameworks/EOF/ERRest/Sources/er/rest/routes/ERXRouteRequestHandler.java:738: cannot find symbol [wocompile] symbol : method notEqual(java.lang.String,java.lang.String) [wocompile] location: class org.apache.commons.lang.ObjectUtils [wocompile] boolean isDifferentAction = ObjectUtils.notEqual(duplicateRoute.action(), route.action()); [wocompile] ^ [wocompile] Note: /Users/gb/SoftwareProjects/woprojects/wondergit/Frameworks/EOF/ERRest/Sources/er/rest/routes/ERXRouteRequestHandler.java uses unchecked or unsafe operations. [wocompile] Note: Recompile with -Xlint:unchecked for details. [wocompile] 2 errors BUILD FAILED /Users/gb/SoftwareProjects/woprojects/wondergit/build.xml:12: The following error occurred while executing this line: /Users/gb/SoftwareProjects/woprojects/wondergit/Build/build/build.xml:1377: The following error occurred while executing this line: /Users/gb/SoftwareProjects/woprojects/wondergit/Build/build/build.xml:1368: The following error occurred while executing this line: /Users/gb/SoftwareProjects/woprojects/wondergit/Build/build/build.xml:119: The following error occurred while executing this line: /Users/gb/SoftwareProjects/woprojects/wondergit/Build/build/generic.xml:270: Compile failed; see the compiler error output for details. Total time: 17 seconds Try 3: Maybe the web apps which Jenkins builds will work. What version they are who knows, and who knows if it will work with Snow Leopard and Java 6. Let's try! Download the items and put them in the right spot. Doesn't work. They have quarantine attributes, so I remove those from everything, and they still don't work. Looking closer inside, the woa/Javamonitor has the wrong permissions. _Appserver tries to run these applications, but root and wheel own them, so they don't run. I fixed the permissions and now they do run. Tomorrow I will try to figure out how to put these issues into the issue tracker; unless everything else breaks. G Brown gsbr...@umich.edu ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/hprange%40gmail.com This email sent to hpra...@gmail.com ___ Do not post
Re: Broken Javamonitor and wotaskd apps and builds.
HI, I went to [1]http://jenkins.wocommunity.org Look under Wonder; those work fine. Next Wonder ( 7 ) may reguire java 7, but we are not there yet. On Jul 1, 2013, at 5:25 PM, Elizabeth Lynch wrote: Hi Are you able to make your working JavaMonitor and wotaskd available? I would like to try installing them on our client's Snow Leopard server, which has the same broken problem after an Apple update. Liz On 30 Jun 2013, at 14:38, G Brown gsbr...@umich.edu wrote: Fun. Apple updates leads to broken Javamonitor and wotaskd. This was on an older snow leopard system, so I thought–after too much time of googling around–maybe it is time to use the updated Web objects community version of Javamonitor and wotaskd. Try 1: All these things should be built and downloadable from the nexus library (maven) . Should be easy, right? I go to the repository and download Javamonitor; move it into place, and then I look what's inside of it. No application, no wobootstrap, etc. All the wonder applications are built wrong in the maven repositories. Try 2: Well let's go back to the source and rebuild it. We switch to the 5.8 release and try to compile. Something's broken, lots of errors with rest stuff. Build failed. * wonder_5 e10c06a [pw/wonder_5] Wonder 5.8.2 release. Commits from integration branch from October 09th 2012 to November 07th 2012. global.dummy: [wocompile] Compiling 28 source files to /Users/gb/Roots/classes/ERRest [wocompile] /Users/gb/SoftwareProjects/woprojects/wondergit/Frameworks/EOF/ERRest/S ources/er/rest/routes/ERXRouteRequestHandler.java:737: cannot find symbol [wocompile] symbol : method notEqual(java.lang.Classcapture#357 of ? extends er.rest.routes.ERXRouteController,java.lang.Classcapture#494 of ? extends er.rest.routes.ERXRouteController) [wocompile] location: class org.apache.commons.lang.ObjectUtils [wocompile] boolean isDifferentController = ObjectUtils.notEqual(duplicateRoute.controller(), route.controller()); [wocompile] ^ [wocompile] /Users/gb/SoftwareProjects/woprojects/wondergit/Frameworks/EOF/ERRest/S ources/er/rest/routes/ERXRouteRequestHandler.java:738: cannot find symbol [wocompile] symbol : method notEqual(java.lang.String,java.lang.String) [wocompile] location: class org.apache.commons.lang.ObjectUtils [wocompile] boolean isDifferentAction = ObjectUtils.notEqual(duplicateRoute.action(), route.action()); [wocompile] ^ [wocompile] Note: /Users/gb/SoftwareProjects/woprojects/wondergit/Frameworks/EOF/ERRest/S ources/er/rest/routes/ERXRouteRequestHandler.java uses unchecked or unsafe operations. [wocompile] Note: Recompile with -Xlint:unchecked for details. [wocompile] 2 errors BUILD FAILED /Users/gb/SoftwareProjects/woprojects/wondergit/build.xml:12: The following error occurred while executing this line: /Users/gb/SoftwareProjects/woprojects/wondergit/Build/build/build.xml:1 377: The following error occurred while executing this line: /Users/gb/SoftwareProjects/woprojects/wondergit/Build/build/build.xml:1 368: The following error occurred while executing this line: /Users/gb/SoftwareProjects/woprojects/wondergit/Build/build/build.xml:1 19: The following error occurred while executing this line: /Users/gb/SoftwareProjects/woprojects/wondergit/Build/build/generic.xml :270: Compile failed; see the compiler error output for details. Total time: 17 seconds Try 3: Maybe the web apps which Jenkins builds will work. What version they are who knows, and who knows if it will work with Snow Leopard and Java 6. Let's try! Download the items and put them in the right spot. Doesn't work. They have quarantine attributes, so I remove those from everything, and they still don't work. Looking closer inside, the woa/Javamonitor has the wrong permissions. _Appserver tries to run these applications, but root and wheel own them, so they don't run. I fixed the permissions and now they do run. Tomorrow I will try to figure out how to put these issues into the issue tracker; unless everything else breaks. G Brown gsbr...@umich.edu ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/liz%40plsys.co.u k This email sent to l...@plsys.co.uk Greg Brown gsbr...@umich.edu References 1. http://jenkins.wocommunity.org/ -- gsbr...@umich.edu ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Broken Javamonitor and wotaskd apps and builds.
On Tue, 02 Jul 2013 09:28:32 -0400 gsbr...@umich.edu wrote: HI, I went to [1]http://jenkins.wocommunity.org Look under Wonder; those work fine. Next Wonder ( 7 ) may reguire java 7, but we are not there yet. Next Wonder would require Java 1.6, not 1.7. On Jul 1, 2013, at 5:25 PM, Elizabeth Lynch wrote: Hi Are you able to make your working JavaMonitor and wotaskd available? I would like to try installing them on our client's Snow Leopard server, which has the same broken problem after an Apple update. Liz On 30 Jun 2013, at 14:38, G Brown gsbr...@umich.edu wrote: Fun. Apple updates leads to broken Javamonitor and wotaskd. This was on an older snow leopard system, so I thought–after too much time of googling around–maybe it is time to use the updated Web objects community version of Javamonitor and wotaskd. Try 1: All these things should be built and downloadable from the nexus library (maven) . Should be easy, right? I go to the repository and download Javamonitor; move it into place, and then I look what's inside of it. No application, no wobootstrap, etc. All the wonder applications are built wrong in the maven repositories. Try 2: Well let's go back to the source and rebuild it. We switch to the 5.8 release and try to compile. Something's broken, lots of errors with rest stuff. Build failed. * wonder_5 e10c06a [pw/wonder_5] Wonder 5.8.2 release. Commits from integration branch from October 09th 2012 to November 07th 2012. global.dummy: [wocompile] Compiling 28 source files to /Users/gb/Roots/classes/ERRest [wocompile] /Users/gb/SoftwareProjects/woprojects/wondergit/Frameworks/EOF/ERRest/S ources/er/rest/routes/ERXRouteRequestHandler.java:737: cannot find symbol [wocompile] symbol : method notEqual(java.lang.Classcapture#357 of ? extends er.rest.routes.ERXRouteController,java.lang.Classcapture#494 of ? extends er.rest.routes.ERXRouteController) [wocompile] location: class org.apache.commons.lang.ObjectUtils [wocompile] boolean isDifferentController = ObjectUtils.notEqual(duplicateRoute.controller(), route.controller()); [wocompile] ^ [wocompile] /Users/gb/SoftwareProjects/woprojects/wondergit/Frameworks/EOF/ERRest/S ources/er/rest/routes/ERXRouteRequestHandler.java:738: cannot find symbol [wocompile] symbol : method notEqual(java.lang.String,java.lang.String) [wocompile] location: class org.apache.commons.lang.ObjectUtils [wocompile] boolean isDifferentAction = ObjectUtils.notEqual(duplicateRoute.action(), route.action()); [wocompile] ^ [wocompile] Note: /Users/gb/SoftwareProjects/woprojects/wondergit/Frameworks/EOF/ERRest/S ources/er/rest/routes/ERXRouteRequestHandler.java uses unchecked or unsafe operations. [wocompile] Note: Recompile with -Xlint:unchecked for details. [wocompile] 2 errors BUILD FAILED /Users/gb/SoftwareProjects/woprojects/wondergit/build.xml:12: The following error occurred while executing this line: /Users/gb/SoftwareProjects/woprojects/wondergit/Build/build/build.xml:1 377: The following error occurred while executing this line: /Users/gb/SoftwareProjects/woprojects/wondergit/Build/build/build.xml:1 368: The following error occurred while executing this line: /Users/gb/SoftwareProjects/woprojects/wondergit/Build/build/build.xml:1 19: The following error occurred while executing this line: /Users/gb/SoftwareProjects/woprojects/wondergit/Build/build/generic.xml :270: Compile failed; see the compiler error output for details. Total time: 17 seconds Try 3: Maybe the web apps which Jenkins builds will work. What version they are who knows, and who knows if it will work with Snow Leopard and Java 6. Let's try! Download the items and put them in the right spot. Doesn't work. They have quarantine attributes, so I remove those from everything, and they still don't work. Looking closer inside, the woa/Javamonitor has the wrong permissions. _Appserver tries to run these applications, but root and wheel own them, so they don't run. I fixed the permissions and now they do run. Tomorrow I will try to figure out how to put these issues into the issue tracker; unless everything else breaks. G Brown gsbr...@umich.edu ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/liz%40plsys.co.u k This email sent to l...@plsys.co.uk Greg Brown gsbr...@umich.edu References 1. http://jenkins.wocommunity.org/ -- gsbr...@umich.edu ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription
Re: javamonitor and wotaskd won't start after os x updates
I think it is just softlinked. Do you not have past versions here: ~ chuck$ ls /System/Library/Frameworks/JavaVM.framework/Versions/ 1.3 1.3.1 1.4 1.4.2 1.5 1.5.0 1.6 1.6.0 A Current CurrentJDK On 2013-07-01, at 8:10 PM, Greg Lappen wrote: How does one do that? I like this solution as it will put us back exactly where we were before the update, just not sure how to do it as it looks like we only have one version of the JDK on there: 1.6.0_51_b11-457. It looks like the update from Apple overwrote the old JDK 1.6.0 with the new one (version 16 according to apple's versioning scheme). Is there any way to get back the old version of JDK 1.6.0? I would prefer that to switching to a new version of wotaskd and javamonitor... On Mon, Jul 1, 2013 at 5:54 PM, Chuck Hill ch...@global-village.net wrote: Change the default JVM to an earlier version. On 2013-07-01, at 2:40 PM, Bogdan Zlatanov wrote: Hi Greg, On 1 Jul 2013, at 23:36, Greg Lappen wrote: Thanks for the info Liz. I did what you said, but when the monitor page opens in the browser and I try to start my app, it never starts. Nothing relevant appears in the log files :( Check the application permissions, especially the executable. On Mon, Jul 1, 2013 at 5:20 PM, Elizabeth Lynch l...@plsys.co.uk wrote: Hi We have exactly the same problem: some Apple updates were applied yesterday on a client's Snow Leopard server (I don't know exactly what), and now wotaskd and JavaMonitor won't start automatically. We got the kCGErrorFailure message at one point: now I just see 'Exited with exit code (1)'. Both start fine when started from Terminal, so for the moment I have got the site back running by starting the 2 apps from Terminal with: sudo -u appserver /System/Library/WebObjects/JavaApplications/wotaskd.woa/wotaskd and sudo -u appserver /System/Library/WebObjects/JavaApplications/wotaskd.woa/JavaMonitor But of course this is just a temporary 'fix' to keep the client's website up while we find the real solution. I have tried setting permissions for /Library/LaunchDaemons/JavaMonitor.woa and wotaskd.woa to be owned by appserver:wheel and by appserver:appserverusr. This made no difference. Liz On 1 Jul 2013, at 21:03, Christoph Wick wi...@me.com wrote: Hi Greg, can you start WOMonitor manually? Try to execute /System/Library/WebObjects/JavaApplications/JavaMonitor.woa/JavaMonitor (if you are using the original Apple WOMonitor, or the one from Wonder wherever you've installed it) Does the log (defined in your LaunchDaemon's com.apple.webobjects.womonitor.plist) tells you anything? C.U.CW -- What are the three enemies of a programmer? Sunlight, oxygen, and the appalling roar of the birds. On 01.07.2013, at 21:09, Greg Lappen g...@lapcominc.com wrote: Hello, We have a WebObjects app running on a Snow Leopard Server. Some OS X updates were applied recently, and now WebObjects javamontor, wotaskd, and hence our app are not starting up. I saw this error in /var/log/system.log: Suspicious setup: User appserver maps to user: _appserver I modified the LaunchAgent plist files so that the user and group name now have dashes in front of them and reloaded the files into launchd with launchctl. The error I see now is this: kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged. This seems like some issue with java not being able to connect to the window server, but I was not able to find any solutions. Does this look familiar to anyone? Much thanks, Greg ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/wicki%40me.com This email sent to wi...@me.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/liz%40plsys.co.uk This email sent to l...@plsys.co.uk ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/greg%40lapcominc.com This email sent to g...@lapcominc.com ___ Do
javamonitor and wotaskd won't start after os x updates
Hello, We have a WebObjects app running on a Snow Leopard Server. Some OS X updates were applied recently, and now WebObjects javamontor, wotaskd, and hence our app are not starting up. I saw this error in /var/log/system.log: Suspicious setup: User appserver maps to user: _appserver I modified the LaunchAgent plist files so that the user and group name now have dashes in front of them and reloaded the files into launchd with launchctl. The error I see now is this: kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged. This seems like some issue with java not being able to connect to the window server, but I was not able to find any solutions. Does this look familiar to anyone? Much thanks, Greg ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: javamonitor and wotaskd won't start after os x updates
Hi Greg, You mean LaunchDeamons folder right? It may not be your issue though. I'd use the wiki page about deployment and check each points. Do you have wotaskd running on port 1085? Xavier On 1 juil. 2013, at 21:09, Greg Lappen g...@lapcominc.com wrote: Hello, We have a WebObjects app running on a Snow Leopard Server. Some OS X updates were applied recently, and now WebObjects javamontor, wotaskd, and hence our app are not starting up. I saw this error in /var/log/system.log: Suspicious setup: User appserver maps to user: _appserver I modified the LaunchAgent plist files so that the user and group name now have dashes in front of them and reloaded the files into launchd with launchctl. The error I see now is this: kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged. This seems like some issue with java not being able to connect to the window server, but I was not able to find any solutions. Does this look familiar to anyone? Much thanks, Greg ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/webobjects%40anazys.com This email sent to webobje...@anazys.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: javamonitor and wotaskd won't start after os x updates
Hi Greg, can you start WOMonitor manually? Try to execute /System/Library/WebObjects/JavaApplications/JavaMonitor.woa/JavaMonitor (if you are using the original Apple WOMonitor, or the one from Wonder wherever you've installed it) Does the log (defined in your LaunchDaemon's com.apple.webobjects.womonitor.plist) tells you anything? C.U.CW -- What are the three enemies of a programmer? Sunlight, oxygen, and the appalling roar of the birds. On 01.07.2013, at 21:09, Greg Lappen g...@lapcominc.com wrote: Hello, We have a WebObjects app running on a Snow Leopard Server. Some OS X updates were applied recently, and now WebObjects javamontor, wotaskd, and hence our app are not starting up. I saw this error in /var/log/system.log: Suspicious setup: User appserver maps to user: _appserver I modified the LaunchAgent plist files so that the user and group name now have dashes in front of them and reloaded the files into launchd with launchctl. The error I see now is this: kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged. This seems like some issue with java not being able to connect to the window server, but I was not able to find any solutions. Does this look familiar to anyone? Much thanks, Greg ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/wicki%40me.com This email sent to wi...@me.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: javamonitor and wotaskd won't start after os x updates
Hi We have exactly the same problem: some Apple updates were applied yesterday on a client's Snow Leopard server (I don't know exactly what), and now wotaskd and JavaMonitor won't start automatically. We got the kCGErrorFailure message at one point: now I just see 'Exited with exit code (1)'. Both start fine when started from Terminal, so for the moment I have got the site back running by starting the 2 apps from Terminal with: sudo -u appserver /System/Library/WebObjects/JavaApplications/wotaskd.woa/wotaskd and sudo -u appserver /System/Library/WebObjects/JavaApplications/wotaskd.woa/JavaMonitor But of course this is just a temporary 'fix' to keep the client's website up while we find the real solution. I have tried setting permissions for /Library/LaunchDaemons/JavaMonitor.woa and wotaskd.woa to be owned by appserver:wheel and by appserver:appserverusr. This made no difference. Liz On 1 Jul 2013, at 21:03, Christoph Wick wi...@me.com wrote: Hi Greg, can you start WOMonitor manually? Try to execute /System/Library/WebObjects/JavaApplications/JavaMonitor.woa/JavaMonitor (if you are using the original Apple WOMonitor, or the one from Wonder wherever you've installed it) Does the log (defined in your LaunchDaemon's com.apple.webobjects.womonitor.plist) tells you anything? C.U.CW -- What are the three enemies of a programmer? Sunlight, oxygen, and the appalling roar of the birds. On 01.07.2013, at 21:09, Greg Lappen g...@lapcominc.com wrote: Hello, We have a WebObjects app running on a Snow Leopard Server. Some OS X updates were applied recently, and now WebObjects javamontor, wotaskd, and hence our app are not starting up. I saw this error in /var/log/system.log: Suspicious setup: User appserver maps to user: _appserver I modified the LaunchAgent plist files so that the user and group name now have dashes in front of them and reloaded the files into launchd with launchctl. The error I see now is this: kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged. This seems like some issue with java not being able to connect to the window server, but I was not able to find any solutions. Does this look familiar to anyone? Much thanks, Greg ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/wicki%40me.com This email sent to wi...@me.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/liz%40plsys.co.uk This email sent to l...@plsys.co.uk ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Broken Javamonitor and wotaskd apps and builds.
Hi Are you able to make your working JavaMonitor and wotaskd available? I would like to try installing them on our client's Snow Leopard server, which has the same broken problem after an Apple update. Liz On 30 Jun 2013, at 14:38, G Brown gsbr...@umich.edu wrote: Fun. Apple updates leads to broken Javamonitor and wotaskd. This was on an older snow leopard system, so I thought–after too much time of googling around–maybe it is time to use the updated Web objects community version of Javamonitor and wotaskd. Try 1: All these things should be built and downloadable from the nexus library (maven) . Should be easy, right? I go to the repository and download Javamonitor; move it into place, and then I look what's inside of it. No application, no wobootstrap, etc. All the wonder applications are built wrong in the maven repositories. Try 2: Well let's go back to the source and rebuild it. We switch to the 5.8 release and try to compile. Something's broken, lots of errors with rest stuff. Build failed. * wonder_5 e10c06a [pw/wonder_5] Wonder 5.8.2 release. Commits from integration branch from October 09th 2012 to November 07th 2012. global.dummy: [wocompile] Compiling 28 source files to /Users/gb/Roots/classes/ERRest [wocompile] /Users/gb/SoftwareProjects/woprojects/wondergit/Frameworks/EOF/ERRest/Sources/er/rest/routes/ERXRouteRequestHandler.java:737: cannot find symbol [wocompile] symbol : method notEqual(java.lang.Classcapture#357 of ? extends er.rest.routes.ERXRouteController,java.lang.Classcapture#494 of ? extends er.rest.routes.ERXRouteController) [wocompile] location: class org.apache.commons.lang.ObjectUtils [wocompile] boolean isDifferentController = ObjectUtils.notEqual(duplicateRoute.controller(), route.controller()); [wocompile] ^ [wocompile] /Users/gb/SoftwareProjects/woprojects/wondergit/Frameworks/EOF/ERRest/Sources/er/rest/routes/ERXRouteRequestHandler.java:738: cannot find symbol [wocompile] symbol : method notEqual(java.lang.String,java.lang.String) [wocompile] location: class org.apache.commons.lang.ObjectUtils [wocompile] boolean isDifferentAction = ObjectUtils.notEqual(duplicateRoute.action(), route.action()); [wocompile] ^ [wocompile] Note: /Users/gb/SoftwareProjects/woprojects/wondergit/Frameworks/EOF/ERRest/Sources/er/rest/routes/ERXRouteRequestHandler.java uses unchecked or unsafe operations. [wocompile] Note: Recompile with -Xlint:unchecked for details. [wocompile] 2 errors BUILD FAILED /Users/gb/SoftwareProjects/woprojects/wondergit/build.xml:12: The following error occurred while executing this line: /Users/gb/SoftwareProjects/woprojects/wondergit/Build/build/build.xml:1377: The following error occurred while executing this line: /Users/gb/SoftwareProjects/woprojects/wondergit/Build/build/build.xml:1368: The following error occurred while executing this line: /Users/gb/SoftwareProjects/woprojects/wondergit/Build/build/build.xml:119: The following error occurred while executing this line: /Users/gb/SoftwareProjects/woprojects/wondergit/Build/build/generic.xml:270: Compile failed; see the compiler error output for details. Total time: 17 seconds Try 3: Maybe the web apps which Jenkins builds will work. What version they are who knows, and who knows if it will work with Snow Leopard and Java 6. Let's try! Download the items and put them in the right spot. Doesn't work. They have quarantine attributes, so I remove those from everything, and they still don't work. Looking closer inside, the woa/Javamonitor has the wrong permissions. _Appserver tries to run these applications, but root and wheel own them, so they don't run. I fixed the permissions and now they do run. Tomorrow I will try to figure out how to put these issues into the issue tracker; unless everything else breaks. G Brown gsbr...@umich.edu ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/liz%40plsys.co.uk This email sent to l...@plsys.co.uk ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: javamonitor and wotaskd won't start after os x updates
Thanks for the info Liz. I did what you said, but when the monitor page opens in the browser and I try to start my app, it never starts. Nothing relevant appears in the log files :( On Mon, Jul 1, 2013 at 5:20 PM, Elizabeth Lynch l...@plsys.co.uk wrote: Hi We have exactly the same problem: some Apple updates were applied yesterday on a client's Snow Leopard server (I don't know exactly what), and now wotaskd and JavaMonitor won't start automatically. We got the kCGErrorFailure message at one point: now I just see 'Exited with exit code (1)'. Both start fine when started from Terminal, so for the moment I have got the site back running by starting the 2 apps from Terminal with: sudo -u appserver /System/Library/WebObjects/JavaApplications/wotaskd.woa/wotaskd and sudo -u appserver /System/Library/WebObjects/JavaApplications/wotaskd.woa/JavaMonitor But of course this is just a temporary 'fix' to keep the client's website up while we find the real solution. I have tried setting permissions for /Library/LaunchDaemons/JavaMonitor.woa and wotaskd.woa to be owned by appserver:wheel and by appserver:appserverusr. This made no difference. Liz On 1 Jul 2013, at 21:03, Christoph Wick wi...@me.com wrote: Hi Greg, can you start WOMonitor manually? Try to execute /System/Library/WebObjects/JavaApplications/JavaMonitor.woa/JavaMonitor (if you are using the original Apple WOMonitor, or the one from Wonder wherever you've installed it) Does the log (defined in your LaunchDaemon's com.apple.webobjects.womonitor.plist) tells you anything? C.U.CW -- What are the three enemies of a programmer? Sunlight, oxygen, and the appalling roar of the birds. On 01.07.2013, at 21:09, Greg Lappen g...@lapcominc.com wrote: Hello, We have a WebObjects app running on a Snow Leopard Server. Some OS X updates were applied recently, and now WebObjects javamontor, wotaskd, and hence our app are not starting up. I saw this error in /var/log/system.log: Suspicious setup: User appserver maps to user: _appserver I modified the LaunchAgent plist files so that the user and group name now have dashes in front of them and reloaded the files into launchd with launchctl. The error I see now is this: kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged. This seems like some issue with java not being able to connect to the window server, but I was not able to find any solutions. Does this look familiar to anyone? Much thanks, Greg ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/wicki%40me.com This email sent to wi...@me.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/liz%40plsys.co.uk This email sent to l...@plsys.co.uk ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/greg%40lapcominc.com This email sent to g...@lapcominc.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: javamonitor and wotaskd won't start after os x updates
Hi Greg, On 1 Jul 2013, at 23:36, Greg Lappen wrote: Thanks for the info Liz. I did what you said, but when the monitor page opens in the browser and I try to start my app, it never starts. Nothing relevant appears in the log files :( Check the application permissions, especially the executable. On Mon, Jul 1, 2013 at 5:20 PM, Elizabeth Lynch l...@plsys.co.uk wrote: Hi We have exactly the same problem: some Apple updates were applied yesterday on a client's Snow Leopard server (I don't know exactly what), and now wotaskd and JavaMonitor won't start automatically. We got the kCGErrorFailure message at one point: now I just see 'Exited with exit code (1)'. Both start fine when started from Terminal, so for the moment I have got the site back running by starting the 2 apps from Terminal with: sudo -u appserver /System/Library/WebObjects/JavaApplications/wotaskd.woa/wotaskd and sudo -u appserver /System/Library/WebObjects/JavaApplications/wotaskd.woa/JavaMonitor But of course this is just a temporary 'fix' to keep the client's website up while we find the real solution. I have tried setting permissions for /Library/LaunchDaemons/JavaMonitor.woa and wotaskd.woa to be owned by appserver:wheel and by appserver:appserverusr. This made no difference. Liz On 1 Jul 2013, at 21:03, Christoph Wick wi...@me.com wrote: Hi Greg, can you start WOMonitor manually? Try to execute /System/Library/WebObjects/JavaApplications/JavaMonitor.woa/JavaMonitor (if you are using the original Apple WOMonitor, or the one from Wonder wherever you've installed it) Does the log (defined in your LaunchDaemon's com.apple.webobjects.womonitor.plist) tells you anything? C.U.CW -- What are the three enemies of a programmer? Sunlight, oxygen, and the appalling roar of the birds. On 01.07.2013, at 21:09, Greg Lappen g...@lapcominc.com wrote: Hello, We have a WebObjects app running on a Snow Leopard Server. Some OS X updates were applied recently, and now WebObjects javamontor, wotaskd, and hence our app are not starting up. I saw this error in /var/log/system.log: Suspicious setup: User appserver maps to user: _appserver I modified the LaunchAgent plist files so that the user and group name now have dashes in front of them and reloaded the files into launchd with launchctl. The error I see now is this: kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged. This seems like some issue with java not being able to connect to the window server, but I was not able to find any solutions. Does this look familiar to anyone? Much thanks, Greg ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/wicki%40me.com This email sent to wi...@me.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/liz%40plsys.co.uk This email sent to l...@plsys.co.uk ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/greg%40lapcominc.com This email sent to g...@lapcominc.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/bogdan.zlatanov%40gmail.com This email sent to bogdan.zlata...@gmail.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: javamonitor and wotaskd won't start after os x updates
Change the default JVM to an earlier version. On 2013-07-01, at 2:40 PM, Bogdan Zlatanov wrote: Hi Greg, On 1 Jul 2013, at 23:36, Greg Lappen wrote: Thanks for the info Liz. I did what you said, but when the monitor page opens in the browser and I try to start my app, it never starts. Nothing relevant appears in the log files :( Check the application permissions, especially the executable. On Mon, Jul 1, 2013 at 5:20 PM, Elizabeth Lynch l...@plsys.co.uk wrote: Hi We have exactly the same problem: some Apple updates were applied yesterday on a client's Snow Leopard server (I don't know exactly what), and now wotaskd and JavaMonitor won't start automatically. We got the kCGErrorFailure message at one point: now I just see 'Exited with exit code (1)'. Both start fine when started from Terminal, so for the moment I have got the site back running by starting the 2 apps from Terminal with: sudo -u appserver /System/Library/WebObjects/JavaApplications/wotaskd.woa/wotaskd and sudo -u appserver /System/Library/WebObjects/JavaApplications/wotaskd.woa/JavaMonitor But of course this is just a temporary 'fix' to keep the client's website up while we find the real solution. I have tried setting permissions for /Library/LaunchDaemons/JavaMonitor.woa and wotaskd.woa to be owned by appserver:wheel and by appserver:appserverusr. This made no difference. Liz On 1 Jul 2013, at 21:03, Christoph Wick wi...@me.com wrote: Hi Greg, can you start WOMonitor manually? Try to execute /System/Library/WebObjects/JavaApplications/JavaMonitor.woa/JavaMonitor (if you are using the original Apple WOMonitor, or the one from Wonder wherever you've installed it) Does the log (defined in your LaunchDaemon's com.apple.webobjects.womonitor.plist) tells you anything? C.U.CW -- What are the three enemies of a programmer? Sunlight, oxygen, and the appalling roar of the birds. On 01.07.2013, at 21:09, Greg Lappen g...@lapcominc.com wrote: Hello, We have a WebObjects app running on a Snow Leopard Server. Some OS X updates were applied recently, and now WebObjects javamontor, wotaskd, and hence our app are not starting up. I saw this error in /var/log/system.log: Suspicious setup: User appserver maps to user: _appserver I modified the LaunchAgent plist files so that the user and group name now have dashes in front of them and reloaded the files into launchd with launchctl. The error I see now is this: kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged. This seems like some issue with java not being able to connect to the window server, but I was not able to find any solutions. Does this look familiar to anyone? Much thanks, Greg ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/wicki%40me.com This email sent to wi...@me.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/liz%40plsys.co.uk This email sent to l...@plsys.co.uk ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/greg%40lapcominc.com This email sent to g...@lapcominc.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/bogdan.zlatanov%40gmail.com This email sent to bogdan.zlata...@gmail.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net This email sent to ch...@global-village.net -- Chuck Hill Executive Managing Partner, VP Development and Technical Services 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/gvc/practical_webobjects Global Village Consulting ranks 13th in 2012 in BIV's Top 100 Fastest Growing Companies
Re: javamonitor and wotaskd won't start after os x updates
Hi Greg The executable needs to be owned by appserver:appserveradm, so do something like: cd /Library/WebServer/Applications chown -R appserver:appserveradm MyApp and then see if it will start via Monitor. LIz On 1 Jul 2013, at 22:40, Bogdan Zlatanov bogdan.zlata...@gmail.com wrote: Hi Greg, On 1 Jul 2013, at 23:36, Greg Lappen wrote: Thanks for the info Liz. I did what you said, but when the monitor page opens in the browser and I try to start my app, it never starts. Nothing relevant appears in the log files :( Check the application permissions, especially the executable. On Mon, Jul 1, 2013 at 5:20 PM, Elizabeth Lynch l...@plsys.co.uk wrote: Hi We have exactly the same problem: some Apple updates were applied yesterday on a client's Snow Leopard server (I don't know exactly what), and now wotaskd and JavaMonitor won't start automatically. We got the kCGErrorFailure message at one point: now I just see 'Exited with exit code (1)'. Both start fine when started from Terminal, so for the moment I have got the site back running by starting the 2 apps from Terminal with: sudo -u appserver /System/Library/WebObjects/JavaApplications/wotaskd.woa/wotaskd and sudo -u appserver /System/Library/WebObjects/JavaApplications/wotaskd.woa/JavaMonitor But of course this is just a temporary 'fix' to keep the client's website up while we find the real solution. I have tried setting permissions for /Library/LaunchDaemons/JavaMonitor.woa and wotaskd.woa to be owned by appserver:wheel and by appserver:appserverusr. This made no difference. Liz On 1 Jul 2013, at 21:03, Christoph Wick wi...@me.com wrote: Hi Greg, can you start WOMonitor manually? Try to execute /System/Library/WebObjects/JavaApplications/JavaMonitor.woa/JavaMonitor (if you are using the original Apple WOMonitor, or the one from Wonder wherever you've installed it) Does the log (defined in your LaunchDaemon's com.apple.webobjects.womonitor.plist) tells you anything? C.U.CW -- What are the three enemies of a programmer? Sunlight, oxygen, and the appalling roar of the birds. On 01.07.2013, at 21:09, Greg Lappen g...@lapcominc.com wrote: Hello, We have a WebObjects app running on a Snow Leopard Server. Some OS X updates were applied recently, and now WebObjects javamontor, wotaskd, and hence our app are not starting up. I saw this error in /var/log/system.log: Suspicious setup: User appserver maps to user: _appserver I modified the LaunchAgent plist files so that the user and group name now have dashes in front of them and reloaded the files into launchd with launchctl. The error I see now is this: kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged. This seems like some issue with java not being able to connect to the window server, but I was not able to find any solutions. Does this look familiar to anyone? Much thanks, Greg ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/wicki%40me.com This email sent to wi...@me.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/liz%40plsys.co.uk This email sent to l...@plsys.co.uk ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/greg%40lapcominc.com This email sent to g...@lapcominc.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/bogdan.zlatanov%40gmail.com This email sent to bogdan.zlata...@gmail.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: javamonitor and wotaskd won't start after os x updates
Hi I have followed gsbr...@umich.edu 's suggestion of installing the Wonder wotaskd and JavaMonitor, and this has solved the problem on our client's server. You can download these from the jenkins site at: http://jenkins.wocommunity.org/job/Wonder/lastSuccessfulBuild After copying them to the correct location (I made sure to take a backup copy of the original Apple ones first), remove the quarantine bit for both apps: xattr -d com.apple.quarantine wotaskd.woa and set the permissions: chown -R appserver wotaskd.woa Then restart via launchctl or reboot the server. This worked for me: I hope it does for you too. Liz On 1 Jul 2013, at 22:40, Bogdan Zlatanov bogdan.zlata...@gmail.com wrote: Hi Greg, On 1 Jul 2013, at 23:36, Greg Lappen wrote: Thanks for the info Liz. I did what you said, but when the monitor page opens in the browser and I try to start my app, it never starts. Nothing relevant appears in the log files :( Check the application permissions, especially the executable. On Mon, Jul 1, 2013 at 5:20 PM, Elizabeth Lynch l...@plsys.co.uk wrote: Hi We have exactly the same problem: some Apple updates were applied yesterday on a client's Snow Leopard server (I don't know exactly what), and now wotaskd and JavaMonitor won't start automatically. We got the kCGErrorFailure message at one point: now I just see 'Exited with exit code (1)'. Both start fine when started from Terminal, so for the moment I have got the site back running by starting the 2 apps from Terminal with: sudo -u appserver /System/Library/WebObjects/JavaApplications/wotaskd.woa/wotaskd and sudo -u appserver /System/Library/WebObjects/JavaApplications/wotaskd.woa/JavaMonitor But of course this is just a temporary 'fix' to keep the client's website up while we find the real solution. I have tried setting permissions for /Library/LaunchDaemons/JavaMonitor.woa and wotaskd.woa to be owned by appserver:wheel and by appserver:appserverusr. This made no difference. Liz On 1 Jul 2013, at 21:03, Christoph Wick wi...@me.com wrote: Hi Greg, can you start WOMonitor manually? Try to execute /System/Library/WebObjects/JavaApplications/JavaMonitor.woa/JavaMonitor (if you are using the original Apple WOMonitor, or the one from Wonder wherever you've installed it) Does the log (defined in your LaunchDaemon's com.apple.webobjects.womonitor.plist) tells you anything? C.U.CW -- What are the three enemies of a programmer? Sunlight, oxygen, and the appalling roar of the birds. On 01.07.2013, at 21:09, Greg Lappen g...@lapcominc.com wrote: Hello, We have a WebObjects app running on a Snow Leopard Server. Some OS X updates were applied recently, and now WebObjects javamontor, wotaskd, and hence our app are not starting up. I saw this error in /var/log/system.log: Suspicious setup: User appserver maps to user: _appserver I modified the LaunchAgent plist files so that the user and group name now have dashes in front of them and reloaded the files into launchd with launchctl. The error I see now is this: kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged. This seems like some issue with java not being able to connect to the window server, but I was not able to find any solutions. Does this look familiar to anyone? Much thanks, Greg ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/wicki%40me.com This email sent to wi...@me.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/liz%40plsys.co.uk This email sent to l...@plsys.co.uk ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/greg%40lapcominc.com This email sent to g...@lapcominc.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/bogdan.zlatanov%40gmail.com This email sent to bogdan.zlata...@gmail.com ___ Do not post admin requests to the list
Re: javamonitor and wotaskd won't start after os x updates
How does one do that? I like this solution as it will put us back exactly where we were before the update, just not sure how to do it as it looks like we only have one version of the JDK on there: 1.6.0_51_b11-457. It looks like the update from Apple overwrote the old JDK 1.6.0 with the new one (version 16 according to apple's versioning scheme). Is there any way to get back the old version of JDK 1.6.0? I would prefer that to switching to a new version of wotaskd and javamonitor... On Mon, Jul 1, 2013 at 5:54 PM, Chuck Hill ch...@global-village.net wrote: Change the default JVM to an earlier version. On 2013-07-01, at 2:40 PM, Bogdan Zlatanov wrote: Hi Greg, On 1 Jul 2013, at 23:36, Greg Lappen wrote: Thanks for the info Liz. I did what you said, but when the monitor page opens in the browser and I try to start my app, it never starts. Nothing relevant appears in the log files :( Check the application permissions, especially the executable. On Mon, Jul 1, 2013 at 5:20 PM, Elizabeth Lynch l...@plsys.co.uk wrote: Hi We have exactly the same problem: some Apple updates were applied yesterday on a client's Snow Leopard server (I don't know exactly what), and now wotaskd and JavaMonitor won't start automatically. We got the kCGErrorFailure message at one point: now I just see 'Exited with exit code (1)'. Both start fine when started from Terminal, so for the moment I have got the site back running by starting the 2 apps from Terminal with: sudo -u appserver /System/Library/WebObjects/JavaApplications/wotaskd.woa/wotaskd and sudo -u appserver /System/Library/WebObjects/JavaApplications/wotaskd.woa/JavaMonitor But of course this is just a temporary 'fix' to keep the client's website up while we find the real solution. I have tried setting permissions for /Library/LaunchDaemons/JavaMonitor.woa and wotaskd.woa to be owned by appserver:wheel and by appserver:appserverusr. This made no difference. Liz On 1 Jul 2013, at 21:03, Christoph Wick wi...@me.com wrote: Hi Greg, can you start WOMonitor manually? Try to execute /System/Library/WebObjects/JavaApplications/JavaMonitor.woa/JavaMonitor (if you are using the original Apple WOMonitor, or the one from Wonder wherever you've installed it) Does the log (defined in your LaunchDaemon's com.apple.webobjects.womonitor.plist) tells you anything? C.U.CW -- What are the three enemies of a programmer? Sunlight, oxygen, and the appalling roar of the birds. On 01.07.2013, at 21:09, Greg Lappen g...@lapcominc.com wrote: Hello, We have a WebObjects app running on a Snow Leopard Server. Some OS X updates were applied recently, and now WebObjects javamontor, wotaskd, and hence our app are not starting up. I saw this error in /var/log/system.log: Suspicious setup: User appserver maps to user: _appserver I modified the LaunchAgent plist files so that the user and group name now have dashes in front of them and reloaded the files into launchd with launchctl. The error I see now is this: kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged. This seems like some issue with java not being able to connect to the window server, but I was not able to find any solutions. Does this look familiar to anyone? Much thanks, Greg ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/wicki%40me.com This email sent to wi...@me.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/liz%40plsys.co.uk This email sent to l...@plsys.co.uk ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/greg%40lapcominc.com This email sent to g...@lapcominc.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/bogdan.zlatanov%40gmail.com This email sent to bogdan.zlata...@gmail.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev
Broken Javamonitor and wotaskd apps and builds.
Fun. Apple updates leads to broken Javamonitor and wotaskd. This was on an older snow leopard system, so I thought–after too much time of googling around–maybe it is time to use the updated Web objects community version of Javamonitor and wotaskd. Try 1: All these things should be built and downloadable from the nexus library (maven) . Should be easy, right? I go to the repository and download Javamonitor; move it into place, and then I look what's inside of it. No application, no wobootstrap, etc. All the wonder applications are built wrong in the maven repositories. Try 2: Well let's go back to the source and rebuild it. We switch to the 5.8 release and try to compile. Something's broken, lots of errors with rest stuff. Build failed. * wonder_5 e10c06a [pw/wonder_5] Wonder 5.8.2 release. Commits from integration branch from October 09th 2012 to November 07th 2012. global.dummy: [wocompile] Compiling 28 source files to /Users/gb/Roots/classes/ERRest [wocompile] /Users/gb/SoftwareProjects/woprojects/wondergit/Frameworks/EOF/ERRest/Sources/er/rest/routes/ERXRouteRequestHandler.java:737: cannot find symbol [wocompile] symbol : method notEqual(java.lang.Classcapture#357 of ? extends er.rest.routes.ERXRouteController,java.lang.Classcapture#494 of ? extends er.rest.routes.ERXRouteController) [wocompile] location: class org.apache.commons.lang.ObjectUtils [wocompile] boolean isDifferentController = ObjectUtils.notEqual(duplicateRoute.controller(), route.controller()); [wocompile]^ [wocompile] /Users/gb/SoftwareProjects/woprojects/wondergit/Frameworks/EOF/ERRest/Sources/er/rest/routes/ERXRouteRequestHandler.java:738: cannot find symbol [wocompile] symbol : method notEqual(java.lang.String,java.lang.String) [wocompile] location: class org.apache.commons.lang.ObjectUtils [wocompile] boolean isDifferentAction = ObjectUtils.notEqual(duplicateRoute.action(), route.action()); [wocompile]^ [wocompile] Note: /Users/gb/SoftwareProjects/woprojects/wondergit/Frameworks/EOF/ERRest/Sources/er/rest/routes/ERXRouteRequestHandler.java uses unchecked or unsafe operations. [wocompile] Note: Recompile with -Xlint:unchecked for details. [wocompile] 2 errors BUILD FAILED /Users/gb/SoftwareProjects/woprojects/wondergit/build.xml:12: The following error occurred while executing this line: /Users/gb/SoftwareProjects/woprojects/wondergit/Build/build/build.xml:1377: The following error occurred while executing this line: /Users/gb/SoftwareProjects/woprojects/wondergit/Build/build/build.xml:1368: The following error occurred while executing this line: /Users/gb/SoftwareProjects/woprojects/wondergit/Build/build/build.xml:119: The following error occurred while executing this line: /Users/gb/SoftwareProjects/woprojects/wondergit/Build/build/generic.xml:270: Compile failed; see the compiler error output for details. Total time: 17 seconds Try 3: Maybe the web apps which Jenkins builds will work. What version they are who knows, and who knows if it will work with Snow Leopard and Java 6. Let's try! Download the items and put them in the right spot. Doesn't work. They have quarantine attributes, so I remove those from everything, and they still don't work. Looking closer inside, the woa/Javamonitor has the wrong permissions. _Appserver tries to run these applications, but root and wheel own them, so they don't run. I fixed the permissions and now they do run. Tomorrow I will try to figure out how to put these issues into the issue tracker; unless everything else breaks. G Brown gsbr...@umich.edu ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Broken Javamonitor and wotaskd apps and builds.
On Jun 30, 2013, at 6:38 AM, G Brown wrote: Fun. Apple updates leads to broken Javamonitor and wotaskd. This was on an older snow leopard system, so I thought–after too much time of googling around–maybe it is time to use the updated Web objects community version of Javamonitor and wotaskd. Try 1: All these things should be built and downloadable from the nexus library (maven) . Should be easy, right? I go to the repository and download Javamonitor; move it into place, and then I look what's inside of it. No application, no wobootstrap, etc. All the wonder applications are built wrong in the maven repositories. Try 2: Well let's go back to the source and rebuild it. We switch to the 5.8 release and try to compile. Something's broken, lots of errors with rest stuff. Build failed. * wonder_5 e10c06a [pw/wonder_5] Wonder 5.8.2 release. Commits from integration branch from October 09th 2012 to November 07th 2012. Looking at the error below and seeing what is says, it seems obvious that your Apache Commons Lang library was moved out of the classpath, or was deleted, or something. This kind of obnoxious behavior is something that Apple updates have been doing lately, no doubt in an effort to be helpful. If you build with -v, it should give you lots and lots of detail, including telling you about all the classpaths. Wonder comes with commons-lang-2.6.jar in the ERJars project. Is that in your classpath, or do you have this library somewhere else on your system? - ray global.dummy: [wocompile] Compiling 28 source files to /Users/gb/Roots/classes/ERRest [wocompile] /Users/gb/SoftwareProjects/woprojects/wondergit/Frameworks/EOF/ERRest/Sources/er/rest/routes/ERXRouteRequestHandler.java:737: cannot find symbol [wocompile] symbol : method notEqual(java.lang.Classcapture#357 of ? extends er.rest.routes.ERXRouteController,java.lang.Classcapture#494 of ? extends er.rest.routes.ERXRouteController) [wocompile] location: class org.apache.commons.lang.ObjectUtils [wocompile] boolean isDifferentController = ObjectUtils.notEqual(duplicateRoute.controller(), route.controller()); [wocompile] ^ [wocompile] /Users/gb/SoftwareProjects/woprojects/wondergit/Frameworks/EOF/ERRest/Sources/er/rest/routes/ERXRouteRequestHandler.java:738: cannot find symbol [wocompile] symbol : method notEqual(java.lang.String,java.lang.String) [wocompile] location: class org.apache.commons.lang.ObjectUtils [wocompile] boolean isDifferentAction = ObjectUtils.notEqual(duplicateRoute.action(), route.action()); [wocompile] ^ [wocompile] Note: /Users/gb/SoftwareProjects/woprojects/wondergit/Frameworks/EOF/ERRest/Sources/er/rest/routes/ERXRouteRequestHandler.java uses unchecked or unsafe operations. [wocompile] Note: Recompile with -Xlint:unchecked for details. [wocompile] 2 errors BUILD FAILED /Users/gb/SoftwareProjects/woprojects/wondergit/build.xml:12: The following error occurred while executing this line: /Users/gb/SoftwareProjects/woprojects/wondergit/Build/build/build.xml:1377: The following error occurred while executing this line: /Users/gb/SoftwareProjects/woprojects/wondergit/Build/build/build.xml:1368: The following error occurred while executing this line: /Users/gb/SoftwareProjects/woprojects/wondergit/Build/build/build.xml:119: The following error occurred while executing this line: /Users/gb/SoftwareProjects/woprojects/wondergit/Build/build/generic.xml:270: Compile failed; see the compiler error output for details. Total time: 17 seconds Try 3: Maybe the web apps which Jenkins builds will work. What version they are who knows, and who knows if it will work with Snow Leopard and Java 6. Let's try! Download the items and put them in the right spot. Doesn't work. They have quarantine attributes, so I remove those from everything, and they still don't work. Looking closer inside, the woa/Javamonitor has the wrong permissions. _Appserver tries to run these applications, but root and wheel own them, so they don't run. I fixed the permissions and now they do run. Tomorrow I will try to figure out how to put these issues into the issue tracker; unless everything else breaks. G Brown gsbr...@umich.edu ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/ray%40ganymede.org This email sent to r...@ganymede.org ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe
Re: java.lang.NullPointerException in JavaMonitor (non-Wonder)
Hi David, why not just using the Wonder version? Binaries can be downloaded on the community's Jenkins. jw Am 22.01.2013 um 23:38 schrieb programming...@mac.com: Hi all, JavaMonitor is suddenly throwing NPE's when I select the Detail View button in the Applications tab. Does anyone know what could be causing this? The default exception screen is not giving very much detail :-) Thanks, David Screen Shot 2013-01-22 at 2.37.56 PM.png ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: java.lang.NullPointerException in JavaMonitor (non-Wonder)
Hi Johann, After trying that and getting the same inexplicable error, I just restarted the WO service and all is well again. Thanks, David On 2013-01-23, at 12:57 AM, Johann Werner j...@oyosys.de wrote: Hi David, why not just using the Wonder version? Binaries can be downloaded on the community's Jenkins. jw Am 22.01.2013 um 23:38 schrieb programming...@mac.com: Hi all, JavaMonitor is suddenly throwing NPE's when I select the Detail View button in the Applications tab. Does anyone know what could be causing this? The default exception screen is not giving very much detail :-) Thanks, David Screen Shot 2013-01-22 at 2.37.56 PM.png ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
java.lang.NullPointerException in JavaMonitor (non-Wonder)
Hi all,JavaMonitor is suddenly throwing NPE's when I select the Detail View button in the Applications tab.Does anyone know what could be causing this? The default exception screen is not giving very much detail :-)Thanks,David ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: java.lang.NullPointerException in JavaMonitor (non-Wonder)
No error logs for java monitor? You could try turning on WODebuggingEnabled to get a stack trace in the browser at least. I think that's the magic property that does that. Ramsey On Jan 22, 2013, at 3:38 PM, programming...@mac.com wrote: Hi all, JavaMonitor is suddenly throwing NPE's when I select the Detail View button in the Applications tab. Does anyone know what could be causing this? The default exception screen is not giving very much detail :-) Thanks, David Screen Shot 2013-01-22 at 2.37.56 PM.png ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/rgurley%40smarthealth.com This email sent to rgur...@smarthealth.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: JavaMonitor
Thanks, I will try and report the solution. Just wondering if the JavaMonitor.tar.gz was build without the embedded frameworks configuration. On 25/07/2012, at 00:56, Johann Werner wrote: That path should not be mysite.com/WebObjects/Frameworks/... but mysite.com/WebObjects/JavaMonitor.woa/Frameworks/... You could try to set -WOFrameworksBaseURL /WebObjects/JavaMonitor.woa/Frameworks explicitly at startup though it is strange that it is not set automatically to the correct value. To make your life easier: you need only to copy the webserver resources for the frameworks Ajax, ERExtensions and JavaWOExtensions to make everything work as expected. jw Am 24.07.2012 um 22:13 schrieb WebObjects TORAcom: You are right, I found this error. NetworkError: 404 Not Found - http://mysite.com/WebObjects/Frameworks/Ajax.framework/WebServerResources/prototype.js; The JavaMonitor application does not have the frameworks embedded? Should I copy the Framework's WebServerResources to the Web Server folder? Thanks. Miguel. On 24/07/2012, at 14:00, Pascal Robert wrote: Check the JavaScript console in your browser to see if any errors are there. Hi, I downloaded JavaMonitor from http://jenkins.wocommunity.org/job/Wonder/lastSuccessfulBuild/artifact/Root/Roots/JavaMonitor.tar.gz I installed it. It looks great! thanks guys. I just have a problem, it seems that some div's don't work, I assume they should open. This is the image of the areas that don't open: Screen Shot 2012-07-24 at 13.08.01.png I click on HTTP Adaptor Settings and nothing happens. I tried with Safari, Chrome and Firefox, mac os X Lion. Does anybody have the same issue? Thanks in advance. Miguel Torres. ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: JavaMonitor
I open the JavaMonitor.woa/JavaMonitor script and this is the final line eval exec ${JAVA_EXECUTABLE} ${JAVA_EXECUTABLE_ARGS} -classpath WOBootstrap.jar com.webobjects._bootstrap.WOBootstrap ${COMMAND_LINE_ARGS} As you can see it is not defined the -WOFrameworksBaseURL parameter. I changed it to: eval exec ${JAVA_EXECUTABLE} ${JAVA_EXECUTABLE_ARGS} -classpath WOBootstrap.jar com.webobjects._bootstrap.WOBootstrap ${COMMAND_LINE_ARGS} -WOFrameworksBaseURL /WebObjects/JavaMonitor.woa/Frameworks It still doesn't work because there is no /var/www/WebObjects/JavaMonitor.woa/Frameworks directory. Then I create a symbolic link to the JavaMonitor.woa/Contents/Frameworks and now it is working. I assume that the copy of JavaMonitor that I got from http://jenkins.wocommunity.org/job/Wonder/lastSuccessfulBuild/artifact/Root/Roots/JavaMonitor.tar.gz wasn't build with embedded frameworks. If that's the way it has to be builded won't it be necessary to update the tutorial http://wiki.wocommunity.org/display/documentation/Deploying+on+Linux? Just saying. Thanks. On 25/07/2012, at 13:59, WebObjects TORAcom wrote: Thanks, I will try and report the solution. Just wondering if the JavaMonitor.tar.gz was build without the embedded frameworks configuration. On 25/07/2012, at 00:56, Johann Werner wrote: That path should not be mysite.com/WebObjects/Frameworks/... but mysite.com/WebObjects/JavaMonitor.woa/Frameworks/... You could try to set -WOFrameworksBaseURL /WebObjects/JavaMonitor.woa/Frameworks explicitly at startup though it is strange that it is not set automatically to the correct value. To make your life easier: you need only to copy the webserver resources for the frameworks Ajax, ERExtensions and JavaWOExtensions to make everything work as expected. jw Am 24.07.2012 um 22:13 schrieb WebObjects TORAcom: You are right, I found this error. NetworkError: 404 Not Found - http://mysite.com/WebObjects/Frameworks/Ajax.framework/WebServerResources/prototype.js; The JavaMonitor application does not have the frameworks embedded? Should I copy the Framework's WebServerResources to the Web Server folder? Thanks. Miguel. On 24/07/2012, at 14:00, Pascal Robert wrote: Check the JavaScript console in your browser to see if any errors are there. Hi, I downloaded JavaMonitor from http://jenkins.wocommunity.org/job/Wonder/lastSuccessfulBuild/artifact/Root/Roots/JavaMonitor.tar.gz I installed it. It looks great! thanks guys. I just have a problem, it seems that some div's don't work, I assume they should open. This is the image of the areas that don't open: Screen Shot 2012-07-24 at 13.08.01.png I click on HTTP Adaptor Settings and nothing happens. I tried with Safari, Chrome and Firefox, mac os X Lion. Does anybody have the same issue? Thanks in advance. Miguel Torres. ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/wo%40toracom.net This email sent to w...@toracom.net ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: JavaMonitor
JavaMonitor IS built with embedded frameworks. The problem you're having is slightly different, you kinda have a couple things going on here. JavaMonitor is built all in one, including the app and the webserver resources. This means you have to manually copy those resources into the proper webserver directory (preferred) or create a symbolic link (but this may expose files you may not want exposed to the public). Normally when you build an app, ant can create AppName-Application.tar.gz and AppName-WebServerResources.tar.gz, which makes this simpler. Next JavaMonitor was built (or it defaults to) the WOFrameworksBaseURL property being set to /WebObjects/Frameworks instead of /WebObjects/JavaMonitor.woa/Contents/Frameworks (I think), that's a stylistic thing but most on the list prefer the latter. ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: JavaMonitor
Check the JavaScript console in your browser to see if any errors are there. Hi, I downloaded JavaMonitor from http://jenkins.wocommunity.org/job/Wonder/lastSuccessfulBuild/artifact/Root/Roots/JavaMonitor.tar.gz I installed it. It looks great! thanks guys. I just have a problem, it seems that some div's don't work, I assume they should open. This is the image of the areas that don't open: Screen Shot 2012-07-24 at 13.08.01.png I click on HTTP Adaptor Settings and nothing happens. I tried with Safari, Chrome and Firefox, mac os X Lion. Does anybody have the same issue? Thanks in advance. Miguel Torres. ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/probert%40macti.ca This email sent to prob...@macti.ca ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: JavaMonitor
You are right, I found this error. NetworkError: 404 Not Found - http://mysite.com/WebObjects/Frameworks/Ajax.framework/WebServerResources/prototype.js; The JavaMonitor application does not have the frameworks embedded? Should I copy the Framework's WebServerResources to the Web Server folder? Thanks. Miguel. On 24/07/2012, at 14:00, Pascal Robert wrote: Check the JavaScript console in your browser to see if any errors are there. Hi, I downloaded JavaMonitor from http://jenkins.wocommunity.org/job/Wonder/lastSuccessfulBuild/artifact/Root/Roots/JavaMonitor.tar.gz I installed it. It looks great! thanks guys. I just have a problem, it seems that some div's don't work, I assume they should open. This is the image of the areas that don't open: Screen Shot 2012-07-24 at 13.08.01.png I click on HTTP Adaptor Settings and nothing happens. I tried with Safari, Chrome and Firefox, mac os X Lion. Does anybody have the same issue? Thanks in advance. Miguel Torres. ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/probert%40macti.ca This email sent to prob...@macti.ca ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: JavaMonitor
Maybe I did something wrong during the WebObjects deployment environment installation. I followed this tutorial http://wiki.wocommunity.org/display/documentation/Deploying+on+Linux I copied the WebObjects folder to my webserver: cp -rp /opt/Local/Library/WebServer/Documents/WebObjects /var/www/htdocs But if I list the content of /opt/Local/Library/WebServer/Documents/WebObjects/Frameworks/ I get this: ls /opt/Local/Library/WebServer/Documents/WebObjects/Frameworks/ JavaEOApplication.framework JavaEOGeneration.framework JavaEOInterface.framework JavaEORuleSystem.framework There is no Ajax.framework Am I missing something? Thanks On 24/07/2012, at 15:13, WebObjects TORAcom wrote: You are right, I found this error. NetworkError: 404 Not Found - http://mysite.com/WebObjects/Frameworks/Ajax.framework/WebServerResources/prototype.js; The JavaMonitor application does not have the frameworks embedded? Should I copy the Framework's WebServerResources to the Web Server folder? Thanks. Miguel. On 24/07/2012, at 14:00, Pascal Robert wrote: Check the JavaScript console in your browser to see if any errors are there. Hi, I downloaded JavaMonitor from http://jenkins.wocommunity.org/job/Wonder/lastSuccessfulBuild/artifact/Root/Roots/JavaMonitor.tar.gz I installed it. It looks great! thanks guys. I just have a problem, it seems that some div's don't work, I assume they should open. This is the image of the areas that don't open: Screen Shot 2012-07-24 at 13.08.01.png I click on HTTP Adaptor Settings and nothing happens. I tried with Safari, Chrome and Firefox, mac os X Lion. Does anybody have the same issue? Thanks in advance. Miguel Torres. ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/probert%40macti.ca This email sent to prob...@macti.ca ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/wo%40toracom.net This email sent to w...@toracom.net ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: JavaMonitor
Copy the frameworks from JavaMonitor.woa/Contents/Frameworks into /var/www/htdocs/WebObjects/Frameworks Then remove /var/www/htdocs/WebObjects/Frameworks/*.framework/Resources which will just leave the static resources *.framework/WebServerResources On Tue, Jul 24, 2012 at 3:08 PM, WebObjects TORAcom w...@toracom.net wrote: Maybe I did something wrong during the WebObjects deployment environment installation. I followed this tutorial http://wiki.wocommunity.org/display/documentation/Deploying+on+Linux I copied the WebObjects folder to my webserver: cp -rp /opt/Local/Library/WebServer/Documents/WebObjects /var/www/htdocs But if I list the content of /opt/Local/Library/WebServer/Documents/WebObjects/Frameworks/ I get this: ls /opt/Local/Library/WebServer/Documents/WebObjects/Frameworks/ JavaEOApplication.framework JavaEOGeneration.framework JavaEOInterface.framework JavaEORuleSystem.framework There is no Ajax.framework Am I missing something? Thanks On 24/07/2012, at 15:13, WebObjects TORAcom wrote: You are right, I found this error. NetworkError: 404 Not Found - http://mysite.com/WebObjects/Frameworks/Ajax.framework/WebServerResources/prototype.js The JavaMonitor application does not have the frameworks embedded? Should I copy the Framework's WebServerResources to the Web Server folder? Thanks. Miguel. On 24/07/2012, at 14:00, Pascal Robert wrote: Check the JavaScript console in your browser to see if any errors are there. Hi, I downloaded JavaMonitor from http://jenkins.wocommunity.org/job/Wonder/lastSuccessfulBuild/artifact/Root/Roots/JavaMonitor.tar.gz I installed it. It looks great! thanks guys. I just have a problem, it seems that some div's don't work, I assume they should open. This is the image of the areas that don't open: Screen Shot 2012-07-24 at 13.08.01.png I click on HTTP Adaptor Settings and nothing happens. I tried with Safari, Chrome and Firefox, mac os X Lion. Does anybody have the same issue? Thanks in advance. Miguel Torres. ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/probert%40macti.ca This email sent to prob...@macti.ca ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/wo%40toracom.net This email sent to w...@toracom.net ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/ted.archibald%40gmail.com This email sent to ted.archib...@gmail.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: JavaMonitor
That path should not be mysite.com/WebObjects/Frameworks/... but mysite.com/WebObjects/JavaMonitor.woa/Frameworks/... You could try to set -WOFrameworksBaseURL /WebObjects/JavaMonitor.woa/Frameworks explicitly at startup though it is strange that it is not set automatically to the correct value. To make your life easier: you need only to copy the webserver resources for the frameworks Ajax, ERExtensions and JavaWOExtensions to make everything work as expected. jw Am 24.07.2012 um 22:13 schrieb WebObjects TORAcom: You are right, I found this error. NetworkError: 404 Not Found - http://mysite.com/WebObjects/Frameworks/Ajax.framework/WebServerResources/prototype.js; The JavaMonitor application does not have the frameworks embedded? Should I copy the Framework's WebServerResources to the Web Server folder? Thanks. Miguel. On 24/07/2012, at 14:00, Pascal Robert wrote: Check the JavaScript console in your browser to see if any errors are there. Hi, I downloaded JavaMonitor from http://jenkins.wocommunity.org/job/Wonder/lastSuccessfulBuild/artifact/Root/Roots/JavaMonitor.tar.gz I installed it. It looks great! thanks guys. I just have a problem, it seems that some div's don't work, I assume they should open. This is the image of the areas that don't open: Screen Shot 2012-07-24 at 13.08.01.png I click on HTTP Adaptor Settings and nothing happens. I tried with Safari, Chrome and Firefox, mac os X Lion. Does anybody have the same issue? Thanks in advance. Miguel Torres. ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
JavaMonitor
hi, did anybody build JavaMonitor as .war application? if so - explain please how :-) thanks ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: JavaMonitor
It don't make sense, if you use a servlet container, you don't need Monitor. Envoyé de mon iPhone Le 2012-05-18 à 04:32, Ron X ron.x.by...@gmail.com a écrit : hi, did anybody build JavaMonitor as .war application? if so - explain please how :-) thanks ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/probert%40macti.ca This email sent to prob...@macti.ca ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
JavaMonitor or wotaskd
hi for all, how can i control my application by remote commands? for example i have Jenkins with BuildJob, TestJod, DeployJob for several projects which depends of each other. After Build i want to stop current applications, and than start tests. But now the situation is after build i need to go to the JavaMonitor and stop apps manually. can i automate this? thank you ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: JavaMonitor or wotaskd
Hi Ron, have a look at the wiki, there is plenty of information: http://wiki.wocommunity.org/display/WO/Wonder+JavaMonitor+and+wotaskd jw Am 15.05.2012 um 10:46 schrieb Ron X: hi for all, how can i control my application by remote commands? for example i have Jenkins with BuildJob, TestJod, DeployJob for several projects which depends of each other. After Build i want to stop current applications, and than start tests. But now the situation is after build i need to go to the JavaMonitor and stop apps manually. can i automate this? thank you ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: JavaMonitor or wotaskd
And here: http://wiki.wocommunity.org/display/WO/Automating+Application+Deployment+From+Jenkins+or+Hudson Hi Ron, have a look at the wiki, there is plenty of information: http://wiki.wocommunity.org/display/WO/Wonder+JavaMonitor+and+wotaskd jw Am 15.05.2012 um 10:46 schrieb Ron X: hi for all, how can i control my application by remote commands? for example i have Jenkins with BuildJob, TestJod, DeployJob for several projects which depends of each other. After Build i want to stop current applications, and than start tests. But now the situation is after build i need to go to the JavaMonitor and stop apps manually. can i automate this? thank you ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/probert%40macti.ca This email sent to prob...@macti.ca ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Wonder JavaMonitor problem
I just did a raw installation on Ubuntu 10.04 Server (only installed Java 1.6 from Oracle and wotaskd/Monitor), and I don't get the problem you have. The path to prototype.js is : http://192.168.0.48:56789/cgi-bin/WebObjects/JavaMonitor.woa/wr/wodata=/opt/Local/Library/WebObjects/JavaApplications/JavaMonitor.woa/Contents/Frameworks/Ajax.framework/WebServerResources/prototype.js Are you trying to use Monitor under Apache? Oracle jdk-6u31-linux-x64.bin Running which JDK? Ubuntu 10.04 LTS, so Yeah. :-) On May 2, 2012, at 8:19 PM, Pascal Robert wrote: Is this on Debian? Yes, I just downloaded: http://jenkins.wocommunity.org/job/WonderIntegration/lastSuccessfulBuild/artifact/Root/Roots/JavaMonitor.tar.gz That has the same behavior (or lack thereof!). :) On May 2, 2012, at 7:48 PM, Pascal Robert wrote: That sounds like a WOFrameworksBaseUrl problems… Can you try with the build on jenkins.wocommunity.org to see if you have the same problem? I've just updated my copy of wonder's integration branch, and built JavaMonitor and friends like this: ant frameworks deployment.tools -Ddeployment.standalone=true I then moved my newly-built copy of JavaMonitor.woa/ to my deployment web server (wotaskd.woa on the machine is only a couple of days old), but when I run it and go to the Site tab, clicking any of the 3 javascript actions (HTTP Adaptor Settings, Email Notifications, Backup Site Configuration) does nothing. Up in the head section, I see: script src=/WebObjects/Frameworks/Ajax.framework/WebServerResources/prototype.js/script script src=/WebObjects/Frameworks/Ajax.framework/WebServerResources/effects.js/script script src=/WebObjects/Frameworks/Ajax.framework/WebServerResources/wonder.js/script Does the Ajax.framework's WebServerResources have to be installed separately? I guess I had hoped/assumed it would use the embedded frameworks' WS resources via resource manager calls, or something. No? - Patrick ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/probert%40macti.ca This email sent to prob...@macti.ca ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/pgr%40vt.edu This email sent to p...@vt.edu ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Wonder JavaMonitor problem
Yes, I guess I've always used it via Apache -- with a devl URL, i.e. https://hostname/cgi-bin/WebObjects/JavaMonitor.woa/-56789 and protected it via Apache config directives. Because I'm accessing w/a devl URL, there's no bizarre add JavaMonitor with JavaMonitor weirdness. I'd been looking at this all morning, and learned: (1) It's not unique to Ubuntu; it's not OS-specific at all - it happens w/OSX as well. (Of course!) (2) The wonder build of JavaMonitor doesn't set -WOFrameworksBaseURL the way an ant build of a normal project does. (3) It dawned on me that there was no corresponding JavaMonitor-WebServerResources.tar.gz. I guess I had manually copied the relevant WebServerResources dirs over to the Apache DocumentRoot at some earlier date, and forgotten about it. *sigh* I take it the usual approach is to open port 56789 to specific hosts that require access? With Apache, I can restrict access to specific hosts AND require user authentication and authorize access only to specific users. Live and learn. :-/ - Patrick On May 4, 2012, at 2:16 PM, Pascal Robert wrote: I just did a raw installation on Ubuntu 10.04 Server (only installed Java 1.6 from Oracle and wotaskd/Monitor), and I don't get the problem you have. The path to prototype.js is : http://192.168.0.48:56789/cgi-bin/WebObjects/JavaMonitor.woa/wr/wodata=/opt/Local/Library/WebObjects/JavaApplications/JavaMonitor.woa/Contents/Frameworks/Ajax.framework/WebServerResources/prototype.js Are you trying to use Monitor under Apache? Oracle jdk-6u31-linux-x64.bin Running which JDK? Ubuntu 10.04 LTS, so Yeah. :-) On May 2, 2012, at 8:19 PM, Pascal Robert wrote: Is this on Debian? Yes, I just downloaded: http://jenkins.wocommunity.org/job/WonderIntegration/lastSuccessfulBuild/artifact/Root/Roots/JavaMonitor.tar.gz That has the same behavior (or lack thereof!). :) On May 2, 2012, at 7:48 PM, Pascal Robert wrote: That sounds like a WOFrameworksBaseUrl problems… Can you try with the build on jenkins.wocommunity.org to see if you have the same problem? I've just updated my copy of wonder's integration branch, and built JavaMonitor and friends like this: ant frameworks deployment.tools -Ddeployment.standalone=true I then moved my newly-built copy of JavaMonitor.woa/ to my deployment web server (wotaskd.woa on the machine is only a couple of days old), but when I run it and go to the Site tab, clicking any of the 3 javascript actions (HTTP Adaptor Settings, Email Notifications, Backup Site Configuration) does nothing. Up in the head section, I see: script src=/WebObjects/Frameworks/Ajax.framework/WebServerResources/prototype.js/script script src=/WebObjects/Frameworks/Ajax.framework/WebServerResources/effects.js/script script src=/WebObjects/Frameworks/Ajax.framework/WebServerResources/wonder.js/script Does the Ajax.framework's WebServerResources have to be installed separately? I guess I had hoped/assumed it would use the embedded frameworks' WS resources via resource manager calls, or something. No? - Patrick ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/probert%40macti.ca This email sent to prob...@macti.ca ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/pgr%40vt.edu This email sent to p...@vt.edu ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Wonder JavaMonitor problem
Yes, I guess I've always used it via Apache -- with a devl URL, i.e. https://hostname/cgi-bin/WebObjects/JavaMonitor.woa/-56789 and protected it via Apache config directives. Because I'm accessing w/a devl URL, there's no bizarre add JavaMonitor with JavaMonitor weirdness. I'd been looking at this all morning, and learned: (1) It's not unique to Ubuntu; it's not OS-specific at all - it happens w/OSX as well. (Of course!) (2) The wonder build of JavaMonitor doesn't set -WOFrameworksBaseURL the way an ant build of a normal project does. Exact, probably because everyone says it shouldn't run under Apache :-) (3) It dawned on me that there was no corresponding JavaMonitor-WebServerResources.tar.gz. I guess I had manually copied the relevant WebServerResources dirs over to the Apache DocumentRoot at some earlier date, and forgotten about it. *sigh* I take it the usual approach is to open port 56789 to specific hosts that require access? With Apache, I can restrict access to specific hosts AND require user authentication and authorize access only to specific users. Maybe a reverse proxy (ProxyPassReverse) and blocking port 56789 outside the box would work. Live and learn. :-/ - Patrick On May 4, 2012, at 2:16 PM, Pascal Robert wrote: I just did a raw installation on Ubuntu 10.04 Server (only installed Java 1.6 from Oracle and wotaskd/Monitor), and I don't get the problem you have. The path to prototype.js is : http://192.168.0.48:56789/cgi-bin/WebObjects/JavaMonitor.woa/wr/wodata=/opt/Local/Library/WebObjects/JavaApplications/JavaMonitor.woa/Contents/Frameworks/Ajax.framework/WebServerResources/prototype.js Are you trying to use Monitor under Apache? Oracle jdk-6u31-linux-x64.bin Running which JDK? Ubuntu 10.04 LTS, so Yeah. :-) On May 2, 2012, at 8:19 PM, Pascal Robert wrote: Is this on Debian? Yes, I just downloaded: http://jenkins.wocommunity.org/job/WonderIntegration/lastSuccessfulBuild/artifact/Root/Roots/JavaMonitor.tar.gz That has the same behavior (or lack thereof!). :) On May 2, 2012, at 7:48 PM, Pascal Robert wrote: That sounds like a WOFrameworksBaseUrl problems… Can you try with the build on jenkins.wocommunity.org to see if you have the same problem? I've just updated my copy of wonder's integration branch, and built JavaMonitor and friends like this: ant frameworks deployment.tools -Ddeployment.standalone=true I then moved my newly-built copy of JavaMonitor.woa/ to my deployment web server (wotaskd.woa on the machine is only a couple of days old), but when I run it and go to the Site tab, clicking any of the 3 javascript actions (HTTP Adaptor Settings, Email Notifications, Backup Site Configuration) does nothing. Up in the head section, I see: script src=/WebObjects/Frameworks/Ajax.framework/WebServerResources/prototype.js/script script src=/WebObjects/Frameworks/Ajax.framework/WebServerResources/effects.js/script script src=/WebObjects/Frameworks/Ajax.framework/WebServerResources/wonder.js/script Does the Ajax.framework's WebServerResources have to be installed separately? I guess I had hoped/assumed it would use the embedded frameworks' WS resources via resource manager calls, or something. No? - Patrick ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/probert%40macti.ca This email sent to prob...@macti.ca ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/pgr%40vt.edu This email sent to p...@vt.edu ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com