On Jun 5, 2006, at 1:44 PM, Chuck Hill wrote:
On Jun 5, 2006, at 10:35 AM, William Hatch wrote:
On Jun 5, 2006, at 1:06 PM, Chuck Hill wrote:
On Jun 5, 2006, at 9:39 AM, William Hatch wrote:
I'm able to log into Monitor, but when I try to start instances,
the lever keeps going and going, no deaths, and I can't move it
beyond this state.
What URL are you using to run Monitor? Is wotaskd running?
Which version of OS X?
OSXS 10.4.6, we have Monitor set to run on another port, but it
shows up fine. I assume that if I'm able to hit Monitor, then
wotaskd must be running, right?
That depends on what the URL looks like. If it is a direct connect
URL (http://www.domain.com:12345) then it tells you nothing about
wotaskd
No, I use the http://my.server.edu:PORT/ to get to Monitor.
There was nothing in /var/log/webobjects, so I rm'd it, then
sudo touch logwebobjects, but still nothing.
You should
sudo touch /tmp/logWebObjects
Then look for
/tmp/WebObjects.log
I did that, and nothing shows up. I mean the file WebObjects.log
is NOT there.
Was that after you tried to access the apps a few times (even if
they are not running). wotaskd only logs when requests arrive.
I can't get the app running to begin with. But, I did try to hit it
with the default DA just to see if I'd get any log output in /tmp/
WebObjects.log, or if it would even create the file to begin with,
but nothing still. /tmp is root:wheel, 777 BTW.
Make sure you have the right case and directories.
Yup, it's correct. I did just submit another response to my
original post asking about the correct permissions. Every time I
go through something like this, I'm reminded to "check into this
whole permissions thing in an effort to determine why I no longer
get any output from anything related to WO or these apps..." type
thing, and then the crisis goes away pretty quick (usually), and
other things come up, and...
:-)
Restarts haven't helped. Monitor seems to be completely
unresponsive. Where should I start?
1. Is wotaskd running?
sudo lsof -i tcp:1085
Gives me this:
[deployment1:~] mladmin% sudo lsof -i tcp:1085
Password:
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
java 44 appserver 7u IPv6 0x02c5c820 0t0 TCP [::
127.0.0.1]:49160->[::127.0.0.1]:webobjects (ESTABLISHED)
java 45 appserver 4u IPv6 0x02c5b9e0 0t0 TCP
*:webobjects (LISTEN)
java 45 appserver 7u IPv6 0x02c5c658 0t0 TCP [::
127.0.0.1]:webobjects->[::127.0.0.1]:49160 (ESTABLISHED)
Looks like it is running as pid 45. 44 is probably JavaMonitor
2. What has changed on the server? Something has been changed or
upgraded or something.
Absolutely nothing. I had to take it down over the weekend as part
of an infrastructure upgrade with switch's and the like, but no
configuration changes, software updages, or additions were made.
They may have been made earlier without rebooting the machine.
Where there any IP address changes? Is is possible the domain name
for the server and its IP address are not being resolved correctly?
No, no IP or domain or directory changes. Nothing shows up in the
logs like ....use changeip to resolve..., which would be typical
under a changed host name or IP addy. Forward and reverse lookups
work as expected.
3. Out of disk space?
Nope.
4. Try starting the apps from the command line, does that work?
I get a bunch of output, but can't get to them.
Now try starting them with the launch args from JavaMonitor, if you
were not previously. Then try launching them as the appserver user.
Can you explain more on how to do this? I"m not sure I understand
which args, or how to set the specific process user from within
Monitor. I know you can use the place where I specify WOHost, but
that's about it. Sorry.
5. Look in Monitor to see where the apps are writing their log
files. Does appserver have write permissions there still?
I don't know, or I should say I'm not sure.
From what you have said, this would be the /tmp directory.
6. If you have not, make these SpawnOfWotaskd.sh changes and see
if there are any early startup failure messages:
http://www.gvcsitemaker.com/gvc.webobjects/
faq&mode=single&recordID=41413&nextMode=list
7. http://www.gvcsitemaker.com/gvc.webobjects/
faq&mode=single&recordID=19193&nextMode=list
OK, I'll try this and get back to you. Thanks as always Chuck. Be
back soon I'm sure;-)
OK :-)
Chuck
--
Coming sometime... - an introduction to web applications using
WebObjects and Xcode http://www.global-village.net/wointro
Practical WebObjects - for developers who want to increase their
overall knowledge of WebObjects or who are trying to solve specific
problems. http://www.global-village.net/products/
practical_webobjects
William Hatch
Eng. Visual Media Collection
Cornell Lab of Ornithology
Macaulay Library
Voice (607) 254-2116
Fax (607) 254-2439
http://birds.cornell.edu/macaulaylibrary
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-deploy mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-deploy/archive%40mail-archive.com
This email sent to [email protected]