X-CGP-ClamAV-Result: CLEAN X-VirusScanner: Niversoft's CGPClamav Helper v1.25a (ClamAV 1.4.3/27938) X-Junk-Score: 20 [X] X-KAS-Score: 20 [X] From: "Theodore Petrosky" Received: from sonic308-9.consmr.mail.ne1.yahoo.com ([66.163.187.32] verified) by post.selbstdenker.com (CommuniGate Pro SMTP 6.3.18) with ESMTPS id 35416300 for webobjects-dev@wocommunity.org; Thu, 12 Mar 2026 21:47:18 +0100 Received-SPF: pass receiver=post.selbstdenker.com; client-ip=66.163.187.32; envelope-from=tedpet5@yahoo.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1773348427; bh=seQvAlVR5VLmsXHWGpOGZnSSAfHgRUI4dwDuc4ghaK8=; h=Date:Subject:To:References:From:In-Reply-To:From:Subject:Reply-To; b=HMxAlGcC4awpu/oDrcHj2STODKTSjP8geYwAfvbG7baRsA4Z51cIWO/DRaI9GnNzYNN2QBiCvJu9JhqCgQ0MNztto0eTp6fKlk3OusL3Le2SNyhfQFQ23oisD3F5tHYgz0fEHGl029WQxk9mktXrTnTsiCVkrscM4HyEAjVgMH9McCcTGepSfErnntCOximslT0WH+jyp1p6+LwXC05JEsYyX+7jFldZpndcbO1eUVKgCBCeL0EGYUZ7wa4sX3+3jUIwC0KSQE55oIYZ9LGXk4+HEG6UuT0eHRZkfvmaLd8aurivzow7lwHR2g5nJmQh/Gtmam2gUxo7s/qV6vFt0A== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1773348427; bh=cHZtGHjaA8Wz9Kpj87XdrDaXlQykBCMaWZNyw5WvtWg=; h=X-Sonic-MF:Date:Subject:To:From:From:Subject; b=QEZRTcTV+04T2ML5rBawYvFuWnBNtRynlSu2w4n0qAM3IehaVWCEZEqeKTUSpEWc2masIZ8tNLKsyVJNCw/aq9bfoIp4y4KXnWDNH7SQDQGB0wBJVhzYLe2oZF9Tk2DtOuBieN6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bT1v8Mx1XQJW6S3PNXPBCGudfujTOM SkeTCFjXANHbPLvA0o8NsSlpClUApI58phiE.M5mWdl6iZLR63kM3xkfjtkiGVwxC99KmhtMBvev b8N1ODTvGn4nzO92RAN5NhfFBC9zbt0dwhR5AxyfuIo0Uubsk01fcnRANHW_s0hnN1SqJedvyKtG bsimCONnZ4tZ.hop5dTxjTfw.8cOVznU4VPDbCUsKE3EqSJ27tAexgnYAYav9gfoWs6MgP39LGGS KqsZQm_4zldc.ORKR_YHfH4dXXtXMGLsfs7syqOqP5nZ3Dk0wNlFhdPW4WXr9MrQELyitrI5lS9z U89O51RvQABcz6v3bSlO5FKNsFlmPrLhkzXv7hd.semiH1TLod3P6F6w- X-Sonic-MF: X-Sonic-ID: a6a2efae-4634-4d73-a090-962c217b7227 Received: from sonic.gate.mail.ne1.yahoo.com by sonic308.consmr.mail.ne1.yahoo.com with HTTP; Thu, 12 Mar 2026 20:47:07 +0000 Received: by hermes--production-bf1-697f88457-h54hx (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 87bf7a12545cd29e57c03aa64de52277; Thu, 12 Mar 2026 20:47:01 +0000 (UTC) Content-Type: multipart/alternative; boundary="------------obEEy6UU0uTRx5Ldh1H9h1YS" Message-ID: <4cf14e79-b847-441a-8ecc-268300f6aa80@yahoo.com> Date: Thu, 12 Mar 2026 16:47:00 -0400 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [WO-DEV] Re: Help with Apache mod issues To: WebObjects & WOnder Development References: Content-Language: en-US In-Reply-To: X-Mailer: WebService/1.1.25297 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Content-Length: 63114 This is a multi-part message in MIME format. --------------obEEy6UU0uTRx5Ldh1H9h1YS Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit after i read through what you are doing in maven, i see i am manually doing the same. I manually put: WOFrameworksBaseURL=/WebObjects/BookingD2W.woa/Contents/Frameworks i also checked and: BookingD2W.woa/Contents/Frameworks/ERModernDefaultSkin.framework/WebServerResources/default_login_page.css is in the correct directory but it does not download looking at this shows all the frameworks that were linked and the css is in there: ls -la /opt/webobjects/Local/Library/WebObjects/Applications/BookingD2W.woa/Contents/Frameworks/ Any ideas what I need to add? Ted On 3/11/26 11:19 PM, D Tim Cummings wrote: > > Hi Ted > > I don't enable javamonitor and I don't expose the port 56789 for > security. I use ssh to tunnel 56789 from my computer to javamonitor on > the server and then I only start it when I need it. > > Regarding WOFrameworksBaseURL I put the following line > in `src/main/resources/Properties` > > WOFrameworksBaseURL=/WebObjects/${project.artifactId}${build_timestamp}.woa/Contents/Frameworks > > and then maven inserts the correct path when the app is packaged. > > If this works for you also then we should add it into the wiki. > > Tim > > On 12/3/26 11:23, Theodore Petrosky wrote: >> >> Tim, >> >> This is fantastic. Question your script does not have javamonitor >> starting enabled so javamonitor does not restart on a restart of the >> Ubuntu instance. >> >> is there a reason for this. I added the line sudo systemctl enable >> javamonitor >> >> and I always added to my apps properties this line: >> >> # to fix the deployment >> WOFrameworksBaseURL=/WebObjects/BookingD2W.woa/Contents/Frameworks >> >> or my app would not find the css. Currently with this new ubuntu >> setup, my app is not finding its css. 🙁 >> >> did you have this isssue and what did you do? >> >> Ted >> >> On 3/10/26 7:26 PM, D Tim Cummings wrote: >>> >>> Hi Ted >>> >>> Here is how I deploy to the correct directories. >>> >>> # WebObjects install script using maven and ant >>> This script will is initiated by maven, for example: >>> `mvn clean package -Dinstall_my_server` >>> It will package the webobjects app into timestamped gzip files, for >>> example >>> ``` >>> target/MyWoApp202602100628.woapplication.tar.gz >>> target/MyWoApp202602100628.wowebserverresources.tar.gz >>> ``` >>> Then it will use ssh/scp to copy these files to the server (into a >>> folder called ~/Documents which should exist beforehand) and extract >>> them into the correct directories. >>> ``` >>> # directory for the application >>> /opt/webobjects/Local/Library/WebObjects/Applications >>> # directory for the webserver resources >>> /opt/webobjects/Local/Library/WebServer/Documents/WebObjects >>> ``` >>> SETUP >>> In `pom.xml`I timestamp my build file so I don't accidentally >>> overwrite a previous install. Add to `project > build` >>> ```xml >>> ${project.artifactId}${maven.build.timestamp} >>> ``` >>> In `pom.xml`add plugin to `project > build > plugins`so maven can >>> call ant. >>> ```xml >>> >>> maven-antrun-plugin >>> 3.2.0 >>> >>> >>> install-actions >>> package >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> run >>> >>> >>> >>> >>> ``` >>> Create an ant build script `build.xml`in project directory (next to >>> `pom.xml`). You will need to modify value of "remote.host" >>> ```xml >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> ``` >>> >>> >>> On 11/3/26 00:42, Theodore Petrosky wrote: >>>> >>>> ok I went through the wiki Deploying on Ubuntu 24.04 that Tim >>>> references and for days could not get it to work. So I went line by >>>> line making sure I understood what this script was doing and >>>> modifying what files. >>>> >>>> Then I found the issue!!  Near the bottom of the script it >>>> references Install WebObjects adapter. it uses git to clone the >>>> wonder.git repo. >>>> >>>> Git is not installed anywhere. I installed git and walked through >>>> the lines of the script, restarted Apache and voila. A working >>>> Ubuntu setup. >>>> >>>> I updated the wiki to reflect adding git. >>>> >>>> >>>> Lastly, I do not understand what this setup does to create the >>>> directories for the upload of my app. >>>> >>>> Where do I upload my woapplication and wowebserverresources >>>> directories? >>>> >>>> >>>> Ted >>>> >>>> On 3/6/26 9:34 PM, Theodore Petrosky wrote: >>>>> >>>>> Tim, >>>>> >>>>> We are almost there. your wiki post was really great but I have >>>>> run into a little problem. after I ran the script, apache came up >>>>> beautifully, and javamonitor status shows: >>>>> ● javamonitor.service - WebObjects/Wonder JavaMonitor >>>>>      Loaded: loaded (/usr/lib/systemd/system/javamonitor.service; >>>>> disabled; preset: enabled) >>>>>      Active: active (running) since Fri 2026-03-06 20:42:10 EST; >>>>> 47min ago >>>>> >>>>> However, when I try to add a host 127.0.0.1 I get Failed to >>>>> contact localhost-1085 >>>>> >>>>> did I miss something? >>>>> >>>>> Ted >>>>> >>>>> ted@ted-Virtual-Machine:~$ sudo systemctl status javamonitor >>>>> ● javamonitor.service - WebObjects/Wonder JavaMonitor >>>>>      Loaded: loaded (/usr/lib/systemd/system/javamonitor.service; >>>>> disabled; preset: enabled) >>>>>      Active: active (running) since Fri 2026-03-06 20:42:10 EST; >>>>> 47min ago >>>>>        Docs: >>>>> https://wiki.wocommunity.org/display/documentation/Wonder+JavaMonitor+and+wotaskd >>>>>    Main PID: 9579 (java) >>>>>       Tasks: 45 (limit: 4612) >>>>>      Memory: 123.2M (peak: 129.9M) >>>>>         CPU: 8.430s >>>>>      CGroup: /system.slice/javamonitor.service >>>>>              └─9579 java -DWORootDirectory=/opt/webobjects >>>>> -DWOLocalRootDirectory=/opt/webobjects/Local -DWOUserDirectory=/ >>>>> -DWOEnvClassPath= >>>>> -DWOApplicationClass=com.webobjects.monitor.application.Application >>>>> -DWOP> >>>>> >>>>> Mar 06 20:42:10 ted-Virtual-Machine systemd[1]: Started >>>>> javamonitor.service - WebObjects/Wonder JavaMonitor. >>>>> Mar 06 20:42:10 ted-Virtual-Machine JavaMonitor[9579]: Reading >>>>> UNIXClassPath.txt ... >>>>> Mar 06 20:42:10 ted-Virtual-Machine JavaMonitor[9579]: Launching >>>>> JavaMonitor.woa ... >>>>> Mar 06 20:42:10 ted-Virtual-Machine JavaMonitor[9579]: java >>>>> -DWORootDirectory="/opt/webobjects" >>>>> -DWOLocalRootDirectory="/opt/webobjects/Local" >>>>> -DWOUserDirectory="/" -DWOEnvClassPath="" >>>>> -DWOApplicationClass=com.webob> >>>>> lines 1-15/15 (END) >>>>> >>>>> On 3/4/26 6:48 PM, D Tim Cummings wrote: >>>>>> >>>>>> You need to use prefork version of Apache. See deploy instructions on >>>>>> >>>>>> https://wiki.wocommunity.org/xwiki/bin/view/documentation/Home/Deployment/Platforms/Deploying%20on%20Linux/Deploying%20on%20Ubuntu%2022.04/ >>>>>> >>>>>> sudo apt install apache2 >>>>>> sudo a2dismod mpm_event >>>>>> sudo a2enmod mpm_prefork >>>>>> >>>>>> Cheers >>>>>> >>>>>> Tim >>>>>> >>>>>> On 5/03/2026 02:59, Jason Coffin wrote: >>>>>>> Hello all! >>>>>>> >>>>>>> I'm looking for help diagnosing an issue that we are seeing in a WebObjects production environment. I'm not the developer on the project, I'm the devops person and I know little about WebObjects. >>>>>>> >>>>>>> Here is our stack: >>>>>>> >>>>>>> Ubuntu version 20.04.1 >>>>>>> Apache version 2.4.41 >>>>>>> Project Wonder version 7.5-SNAPSHOT >>>>>>> WebObjects version 5.4.3 >>>>>>> >>>>>>> About once a day the Apache mod seems to stop working and no longer routes traffic to the WebObjects application. Restarting Apache solves the issue until it crops up again. The Apache error logs show these errors, in the given order, and they repeat several times: >>>>>>> >>>>>>> lock_file_section(): failed to lock (1 attempts): Resource deadlock avoided >>>>>>> ac_readConfiguration: WOShmem_lock() failed. Skipping reading config. >>>>>>> >>>>>>> Any idea what could be causing this issue? Should we be using a different version of Apache or the WebObjects mod? >>>>>>> >>>>>>> We are also considering alternative methods for hosting the WebObjects application. Should we consider removing the Apache mod requirement entirely? >>>>>>> >>>>>>> Thank you kindly! >>>>>>> >>>>>>> Jason Coffin >>>>>>> >>>>>>> ############################################################# >>>>>>> This message is sent to you because you are subscribed to >>>>>>> the mailing list. >>>>>>> To unsubscribe, E-mail to: >>>>>>> To switch to the DIGEST mode, E-mail to >>>>>>> To switch to the INDEX mode, E-mail to >>>>>>> Send administrative queries to >>>>>>> --------------obEEy6UU0uTRx5Ldh1H9h1YS Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit

after i read through what you are doing in maven, i see i am manually doing the same. I manually put:

WOFrameworksBaseURL=/WebObjects/BookingD2W.woa/Contents/Frameworks

i also checked and:

BookingD2W.woa/Contents/Frameworks/ERModernDefaultSkin.framework/WebServerResources/default_login_page.css

is in the correct directory but it does not download

looking at this shows all the frameworks that were linked and the css is in there:

ls -la /opt/webobjects/Local/Library/WebObjects/Applications/BookingD2W.woa/Contents/Frameworks/

Any ideas what I need to add?

Ted


On 3/11/26 11:19 PM, D Tim Cummings wrote:

Hi Ted

I don't enable javamonitor and I don't expose the port 56789 for security. I use ssh to tunnel 56789 from my computer to javamonitor on the server and then I only start it when I need it.

Regarding WOFrameworksBaseURL I put the following line in `src/main/resources/Properties`

WOFrameworksBaseURL=/WebObjects/${project.artifactId}${build_timestamp}.woa/Contents/Frameworks

and then maven inserts the correct path when the app is packaged.

If this works for you also then we should add it into the wiki.

Tim

On 12/3/26 11:23, Theodore Petrosky wrote:

Tim,

This is fantastic. Question your script does not have javamonitor starting enabled so javamonitor does not restart on a restart of the Ubuntu instance.

is there a reason for this. I added the line sudo systemctl enable javamonitor

and I always added to my apps properties this line:

# to fix the deployment
WOFrameworksBaseURL=/WebObjects/BookingD2W.woa/Contents/Frameworks

or my app would not find the css. Currently with this new ubuntu setup, my app is not finding its css. 🙁

did you have this isssue and what did you do?

Ted

On 3/10/26 7:26 PM, D Tim Cummings wrote:

Hi Ted

Here is how I deploy to the correct directories.

# WebObjects install script using maven and ant
This script will is initiated by maven, for example:
`mvn clean package -Dinstall_my_server`
It will package the webobjects app into timestamped gzip files, for example
```
target/MyWoApp202602100628.woapplication.tar.gz
target/MyWoApp202602100628.wowebserverresources.tar.gz
```
Then it will use ssh/scp to copy these files to the server (into a folder called ~/Documents which should exist beforehand) and extract them into the correct directories.
```
# directory for the application
/opt/webobjects/Local/Library/WebObjects/Applications
# directory for the webserver resources
/opt/webobjects/Local/Library/WebServer/Documents/WebObjects
```
SETUP
In `pom.xml` I timestamp my build file so I don't accidentally overwrite a previous install. Add to `project > build`
```xml
<finalName>${project.artifactId}${maven.build.timestamp}</finalName>
```
In `pom.xml` add plugin to `project > build > plugins` so maven can call ant.
```xml
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<version>3.2.0</version>
<executions>
<execution>
<id>install-actions</id>
<phase>package</phase>
<configuration>
<target>
<property name="dest.dir" value="target" />
<property name="build.app.name" value="${project.build.finalName}" />
<echo message="Installing ${project.build.finalName} using ant" />
<ant antfile="${basedir}/build.xml">
<target name="install_actions" />
</ant>
</target>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>
```
Create an ant build script `build.xml` in project directory (next to `pom.xml`). You will need to modify value of "remote.host"
```xml
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE project>
<project name="MyWoApp" default="install_actions" basedir="." xmlns:if="ant:if" xmlns:unless="ant:unless">
<!-- normally run from maven. eg 'mvn clean package -Dinstall_my_server' -->
<target name="install_actions">
<antcall target="install_my_server_target" if:set="install_my_server" />
</target>
<target name="install_my_server_target">
<echo message="installing to my server" />
<antcall target="install_server">
<param name="remote.host" value="my.server.example.com" />
<param name="remote.local.root" value="/opt/webobjects/Local" />
<param name="remote.web.root" value="/opt/webobjects/Local/Library/WebServer/Documents/WebObjects" />
<param name="remote.dest.dir" value="Library/WebObjects/Applications" />
<param name="remote.webobjects.user" value="webobjects" />
<param name="remote.webobjects.group" value="webobjects" />
</antcall>
</target>
<target name="install_server">
<echo message="install_server ${dest.dir}/${build.app.name}" />
<exec executable="scp">
<arg value="${dest.dir}/${build.app.name}.woapplication.tar.gz" />
<arg value="${remote.host}:Documents/${build.app.name}.woapplication.tar.gz" />
</exec>
<exec executable="scp">
<arg value="${dest.dir}/${build.app.name}.wowebserverresources.tar.gz" />
<arg value="${remote.host}:Documents/${build.app.name}.wowebserverresources.tar.gz" />
</exec>
<exec executable="ssh">
<arg value="${remote.host}" />
<arg value="sudo" />
<arg value="/bin/tar" />
<arg value="-zxf" />
<arg value="Documents/${build.app.name}.woapplication.tar.gz" />
<arg value="-C" />
<arg value="${remote.local.root}/${remote.dest.dir}" />
</exec>
<exec executable="ssh">
<arg value="${remote.host}" />
<arg value="sudo" />
<arg value="/bin/tar" />
<arg value="-zxf" />
<arg value="Documents/${build.app.name}.wowebserverresources.tar.gz" />
<arg value="-C" />
<arg value="${remote.web.root}" />
</exec>
<exec executable="ssh">
<arg value="${remote.host}" />
<arg value="sudo" />
<arg value="chown" />
<arg value="-R" />
<arg value="${remote.webobjects.user}:${remote.webobjects.group}" />
<arg value="${remote.local.root}/${remote.dest.dir}/${build.app.name}.woa" />
</exec>
</target>
</project>
```


On 11/3/26 00:42, Theodore Petrosky wrote:

ok I went through the wiki Deploying on Ubuntu 24.04 that Tim references and for days could not get it to work. So I went line by line making sure I understood what this script was doing and modifying what files. 

Then I found the issue!!  Near the bottom of the script it references Install WebObjects adapter. it uses git to clone the wonder.git repo. 

Git is not installed anywhere. I installed git and walked through the lines of the script, restarted Apache and voila. A working Ubuntu setup.

I updated the wiki to reflect adding git.


Lastly, I do not understand what this setup does to create the directories for the upload of my app.

Where do I upload my woapplication and wowebserverresources directories?


Ted

On 3/6/26 9:34 PM, Theodore Petrosky wrote:

Tim,

We are almost there. your wiki post was really great but I have run into a little problem. after I ran the script, apache came up beautifully, and javamonitor status shows:
● javamonitor.service - WebObjects/Wonder JavaMonitor
     Loaded: loaded (/usr/lib/systemd/system/javamonitor.service; disabled; preset: enabled)
     Active: active (running) since Fri 2026-03-06 20:42:10 EST; 47min ago

However, when I try to add a host 127.0.0.1 I get Failed to contact localhost-1085

did I miss something?

Ted

ted@ted-Virtual-Machine:~$ sudo systemctl status javamonitor
● javamonitor.service - WebObjects/Wonder JavaMonitor
     Loaded: loaded (/usr/lib/systemd/system/javamonitor.service; disabled; preset: enabled)
     Active: active (running) since Fri 2026-03-06 20:42:10 EST; 47min ago
       Docs: https://wiki.wocommunity.org/display/documentation/Wonder+JavaMonitor+and+wotaskd
   Main PID: 9579 (java)
      Tasks: 45 (limit: 4612)
     Memory: 123.2M (peak: 129.9M)
        CPU: 8.430s
     CGroup: /system.slice/javamonitor.service
             └─9579 java -DWORootDirectory=/opt/webobjects -DWOLocalRootDirectory=/opt/webobjects/Local -DWOUserDirectory=/ -DWOEnvClassPath= -DWOApplicationClass=com.webobjects.monitor.application.Application -DWOP>

Mar 06 20:42:10 ted-Virtual-Machine systemd[1]: Started javamonitor.service - WebObjects/Wonder JavaMonitor.
Mar 06 20:42:10 ted-Virtual-Machine JavaMonitor[9579]: Reading UNIXClassPath.txt ...
Mar 06 20:42:10 ted-Virtual-Machine JavaMonitor[9579]: Launching JavaMonitor.woa ...
Mar 06 20:42:10 ted-Virtual-Machine JavaMonitor[9579]: java -DWORootDirectory="/opt/webobjects" -DWOLocalRootDirectory="/opt/webobjects/Local" -DWOUserDirectory="/" -DWOEnvClassPath="" -DWOApplicationClass=com.webob>
lines 1-15/15 (END)

On 3/4/26 6:48 PM, D Tim Cummings wrote:

You need to use prefork version of Apache. See deploy instructions on

https://wiki.wocommunity.org/xwiki/bin/view/documentation/Home/Deployment/Platforms/Deploying%20on%20Linux/Deploying%20on%20Ubuntu%2022.04/

sudo apt install apache2
sudo a2dismod mpm_event
sudo a2enmod mpm_prefork

Cheers

Tim

On 5/03/2026 02:59, Jason Coffin wrote:
Hello all!

I'm looking for help diagnosing an issue that we are seeing in a WebObjects production environment. I'm not the developer on the project, I'm the devops person and I know little about WebObjects.

Here is our stack:

Ubuntu version 20.04.1
Apache version 2.4.41
Project Wonder version 7.5-SNAPSHOT
WebObjects version 5.4.3

About once a day the Apache mod seems to stop working and no longer routes traffic to the WebObjects application. Restarting Apache solves the issue until it crops up again. The Apache error logs show these errors, in the given order, and they repeat several times:

lock_file_section(): failed to lock (1 attempts): Resource deadlock avoided
ac_readConfiguration: WOShmem_lock() failed. Skipping reading config.

Any idea what could be causing this issue? Should we be using a different version of Apache or the WebObjects mod? 

We are also considering alternative methods for hosting the WebObjects application. Should we consider removing the Apache mod requirement entirely?

Thank you kindly!

Jason Coffin

#############################################################
This message is sent to you because you are subscribed to
  the mailing list <webobjects-dev@wocommunity.org>.
To unsubscribe, E-mail to: <webobjects-dev-off@wocommunity.org>
To switch to the DIGEST mode, E-mail to <webobjects-dev-digest@wocommunity.org>
To switch to the INDEX mode, E-mail to <webobjects-dev-index@wocommunity.org>
Send administrative queries to  <webobjects-dev-request@wocommunity.org>

--------------obEEy6UU0uTRx5Ldh1H9h1YS--