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