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 PROTECTED]>:
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 PROTECTED] <http://web.de> >:
Try to have a closer look at /var/log /webobjects.logI listened to your mails and searched on my xserve on this directory.
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?
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 protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/seb%40itseb.com
This email sent to [EMAIL PROTECTED]
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/lgxxl%40web.de
This email sent to [EMAIL PROTECTED]
--
Helge Städtler
- Expect and Respect.
_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to [email protected]
