hmm. then perhaps reading the documentation at least the diff’s for WO under tiger server seems to be a reasonable start to get to know the “new” way of starting all the services. since i did not upgrade to tiger server yet, I am not sure if the files of javamonitor are still in the same place. perhaps someone who has already tiger server running can hop in here?
regarding the webobjects.log: as gavin wrote (thanks for the hint) thats right, it will be created automatically IF your lauch-script works (did look it up in the startup-script; it also rescues the old one by renaming it). since launching seems to not work it is perhaps really a good idea to serach around the launch service and what they changed there under tiger server.
please let us know.
regards,
helge
Am 25.11.2005 18:11 Uhr schrieb "Sébastien Gruhier" unter <[EMAIL PROTECTED]>:
Thanks guy for your answer.
The StartupItems /System/Library/StartupItems/WebObjects/WebObjects does not exists anymore in 10.4 but it starts well so it's somewhere else, may be a launchd file.
I have created the /var/log/webobjects.log but it's still empty :(
I tried to change the user/group of wotaskd and JavaMonitor to appserve user but it still does not work.
I am kind of lost. Where are the JavaMonitor config and log files?
Seb
Le 25 nov. 05 à 16:45, Helge Staedtler a écrit :
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 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> <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] <http://web.de>
--
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/lgxxl%40web.de
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/archive%40mail-archive.com
This email sent to [email protected]
