• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: XServer TIger
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: XServer TIger


  • Subject: Re: XServer TIger
  • From: Chuck Hill <email@hidden>
  • Date: Fri, 25 Nov 2005 10:37:29 -0800


On Nov 25, 2005, at 9:11 AM, Sébastien Gruhier wrote:

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 :(

Not really following the start of this, but the correct commands are:

sudo touch /var/log/logWebObjects

then hit your app a few times

then

cat /var/log/WebObjects.log

The case is important  as is sudo touch.

Chuck


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@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:
40itseb.com


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:
40global-village.net


This email sent to email@hidden

--
Coming in 2006 - 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




_______________________________________________ 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
References: 
 >Re: XServer TIger (From: Helge Staedtler <email@hidden>)
 >Re: XServer TIger (From: Sébastien Gruhier <email@hidden>)

  • Prev by Date: Re: java.lang.ClassCastException in deployment
  • Next by Date: Re: XServer TIger
  • Previous by thread: Re: XServer TIger
  • Next by thread: Re: XServer TIger
  • Index(es):
    • Date
    • Thread