Re: deploying across multiple app servers
Re: deploying across multiple app servers
- Subject: Re: deploying across multiple app servers
- From: Clark Mueller <email@hidden>
- Date: Tue, 30 Jun 2009 13:58:04 -0700
Can't say that I use wotaskd currently, but don't you have to pass -D
to set a property like that? e.g. -DWOSavesAdaptorConfiguration=true
For what it's worth, this is what I use successfully as an Apache
config file on my development box:
LoadModule WebObjects_module /System/Library/WebObjects/Adaptors/
Apache2.2/mod_WebObjects.so
WebObjectsDocumentRoot /Library/WebServer/Documents
WebObjectsAlias /WebObjects
WebObjectsConfig file:///System/Library/WebObjects/Adaptors/Apache2.2/WOAdaptor.xml
10
And a snippet from the WOAdaptor.xml file:
<adaptor>
<application name="MyAppName">
<instance id="1" port="9887" host="localhost" recvTimeout="3000"
sendTimeout="3000"/>
</application>
</adaptor>
Clark
On Jun 30, 2009, at 12:02 PM, Simon McLean wrote:
hi - trying to get a couple of xserves set up but having a couple of
problems. tiger server, wo5.3.3, wonderfied apps
one xserve is being webserver + appserver, second is just an app
server
problem 1:
i'm trying to use configuration file method for state discovery, and i
want monitor to write out the file automatically. i need to pass
wotaskd the property -WOSavesAdaptorConfiguration=true, so i modified
the launchdaemon that starts wotaskd up. problem is that when you
restart webobjects services in server admin it actually blats that
launchdameon and writes an entirely new file out every time (hence
losing my changes). So where should i be passing in that property ?
problem 2:
i put problem 1 aside for a second and manually created a config file
instead. it's at /Library/WebObjects/Configuration/WOConfig.xml and i
created it by cutting and pasting the contents from java monitor. i
then added this to my httpd.conf file:
WebObjectsConfig file://Library/WebObjects/Configuration/
WOConfig.xml 10
restarted wotaskd, monitor and apache, but the httpd adaptor just
ignores me. WOAdaptorInfo tells me it is getting it's config from
localhost:1085/WebObjects/wotaskd.woa/wa/woconfig which is just
returning the "Adaptor Config as sent to Local WOAdaptors". now i
guess that's the default behavior because the WOAdaptor is local, but
i want it to use my config file instead. Any ideas what i'm doing
wrong ?
thanks, Simon
_______________________________________________
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