Re: XServer TIger
Re: XServer TIger
- Subject: Re: XServer TIger
- From: Helge Staedtler <email@hidden>
- Date: Fri, 25 Nov 2005 16:45:36 +0100
Title: Re: XServer TIger
please have a closer look than at /System/Library/StartupItems/WebObjects/WebObjects
there you can configure things/user-rights. if you cannot successfully add something in javamonitor it might be because the javamonitor has no rights to write its configuration file. so this does look like an access-rights problem.
you should configure/chmod all the files/directories and startupscripts to run as appserver and appserveradm user!
@wolfram: i think you can just plain make a “touch /var/log/webobjects.log” to activate logging. but be careful to eliminate the filee later on if you do not need it any longer because otherwise webobjects will continue logging which may be a performance-problem and sooner or later a size/disk-capacity problem (already happened to me once). ;-)
hope this helps.
helge
Am 25.11.2005 15:21 Uhr schrieb "Sébastien Gruhier" unter <email@hidden>:
As wolfram I don't have /var/log/webobjects.log on the server, it's a hide-and seek game? :)
I remembered having some user/rights issues before but here it's seems to llike my 10.3 machine.
here is what I have:
appserve 47 0.0 3.1 309496 32784 ?? Ss 3:04PM 0:03.90 java -XX:NewSize=2m -Xmx64m -Xms32m -DWORootDirectory=/System -DWOLocalRootDirectory= -DWOUserDirectory=/ -DWOEnvClassPath= -DWOApplicationClass=Application -DWOPlatform=MacOS -Dcom.webobjects.pid=47 -DWOAllowRapidTurnaround=false -classpath WOBootstrap.jar com.webobjects._bootstrap.WOBootstrap -WOPort 56789
appserve 48 0.0 2.8 309464 28988 ?? Ss 3:04PM 0:02.89 java -XX:NewSize=2m -Xmx64m -Xms32m -DWORootDirectory=/System -DWOLocalRootDirectory= -DWOUserDirectory=/ -DWOEnvClassPath= -DWOApplicationClass=Application -DWOPlatform=MacOS -Dcom.webobjects.pid=48 -DWOAllowRapidTurnaround=false -classpath WOBootstrap.jar com.webobjects._bootstrap.WOBootstrap -WOPort 1085
The two processes on the server (wotaskd and javaMonitor)
And wotaskd permissions are
WOServer:/Library/WebObjects/Applications root# ll /System/Library/WebObjects/JavaApplications/wotaskd.woa/Contents/Resources
total 104
drwxr-xr-x 7 root wheel 238 Nov 24 12:49 .
drwxr-xr-x 10 root wheel 340 Nov 24 12:49 ..
drwxr-xr-x 3 root wheel 102 Nov 24 12:49 Java
-rw-r--r-- 1 root wheel 486 Apr 6 2001 Properties
-rw-r--r-- 1 root wheel 36864 Jan 11 2001 SpawnOfWotaskd.exe
-rwxr-xr-x 1 root wheel 34 Jan 11 2001 SpawnOfWotaskd.sh
-rwxr-xr-x 1 root wheel 7984 Sep 30 20:00 javawoservice.sh
But I dont know to start my application as an appserve user.
Help please
Seb
Le 25 nov. 05 à 15:11, Wolfram Stebel a écrit :
Am 25.11.2005 14:58 Uhr schrieb "Helge Staedtler" unter <email@hidden <http://web.de> >:
Try to have a closer look at /var/log /webobjects.log
this one should have perhaps some more useful information.
perhaps it is just a problem with the user-rights. if you start it at the
command line is it the same user as if it gets started by the server?
I listened to your mails and searched on my xserve on this directory.
There is no webobjects.log.
On my local development machine there is.
So: where is it on xserve tiger?
Wolfram
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
--
Helge Städtler
- Expect and Respect.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden