Theodore,

If you’re gonna use WebObjects' Apache module, you can copy the compiled 
mod_WebObjects.so to /usr/lib/httpd/modules/ (or just leave it somewhere else, 
like /opt/Library/etcetera…) and then, edit /etc/httpd/conf/httpd.conf and add 
the line:

        LoadModule WebObjects_module /path/to/mod_WebObjects.so

You’ll have to restart Apache for the module to be loaded.

(Adapted from: 
https://www.centos.org/docs/5/html/Deployment_Guide-en-US/s1-apache-addmods.html)


Cheers,
Flavio

> On 19/05/2016, at 13:27, Theodore Petrosky <[email protected]> wrote:
> 
> ok i think I am somewhere!!!
> 
> i have compiled and installed mod_WebObjects.
> I have compiled and installed  JavaMonitor.woa and wotaskd.woa
> 
> if I invoke:
> 
> /opt/Local/Library/WebObjects/JavaApplications/JavaMonitor.woa/JavaMonitor &
> 
> I end up with:
> 016-05-19 11:18:02,344 INFO  55.99 MB/75.01 MB [main] 
> appserver.ERXApplication (ERXApplication.java:1214) - Wonder version: 
> 7.0.0-SNAPSHOT
> 2016-05-19 11:18:02,396 WARN  73.74 MB/57.26 MB [main] 
> logging.ERXNSLogLog4jBridge (ERXNSLogLog4jBridge.java:44) - Your application 
> is not running on a supported development platform. AutoLaunch will not work.
> Your application's URL is:
> http://localhost.localdomain:36450/cgi-bin/WebObjects/JavaMonitor.woa 
> <http://localhost.localdomain:36450/cgi-bin/WebObjects/JavaMonitor.woa>
> 
> 
> /opt/Local/Library/WebObjects/JavaApplications/wotaskd.woa/wotaskd &
> 
> 
> 2016-05-19 12:24:03,951 INFO  68.57 MB/64.93 MB [main] 
> appserver.ERXApplication (ERXApplication.java:1214) - Wonder version: 
> 7.0.0-SNAPSHOT
> 2016-05-19 12:24:04,019 WARN  87.65 MB/45.85 MB [main] 
> logging.ERXNSLogLog4jBridge (ERXNSLogLog4jBridge.java:44) - 
> 
> 
> I don’t understand what apache conf file to edit to add mod_WebObjects.so!
> 
> I keep googling and getting more confused.
> 
> are those the only object to add to the server
> 
> wotaskd.woa
> JavaMonitor.woa
> and mod_WebObjects
> 
> Ted
> 
> 
> 
> 
>> On May 17, 2016, at 2:32 PM, Larry Mills-Gahl <[email protected] 
>> <mailto:[email protected]>> wrote:
>> 
>> Ted,
>> 
>> I’ve got a couple CentOS 7 boxes deployed and I’m building from source 
>> (there are enough changes from CentOS 6 that the old repo isn’t applicable).
>> 
>> If you look at the Wiki page you linked to below, there is a section called 
>> “Notes on CentOS 7 64/ Apache 2.4” toward the bottom. That has some specific 
>> information on the differences. (compiling mod_webObjects for Apache 2.4 and 
>> dealing with firewalld and the SELinux context that is on by default in 
>> CentOS 7)
>> 
>> One other thing that may be a local problem is using Java 7 and 8. If you’re 
>> having “bad major minor version” issues it’s often trying to run java 8 app 
>> on java 7 or such. You can select the jvm on a per app basis by setting the 
>> jvm in UNIXClasspath.txt  (the path is 
>> [APP].woa/Contents/UNIX/UNIXClasspath.txt. You can set the full path to java 
>> on the first line  => # JVM              == /path/to/specific/java/bin/java) 
>> I know that’s not a long term thing, but it has allowed us to migrate apps 
>> deliberately rather than with our hair on fire)
>> 
>> Give a shout if you have any specific problems/questions.
>> 
>> Larry
>> 
>> 
>> On 17 May 2016, at 14:10, Pascal Robert wrote:
>> 
>>> The repository is not set for CentOS 7 (something I need to fix before 
>>> WOWODC). Search the list, I think someone posted a workaround.
>>> 
>>> ________________________________
>>> De : [email protected] 
>>> <mailto:[email protected]> 
>>> <[email protected] 
>>> <mailto:[email protected]>> de la 
>>> part de Theodore Petrosky <[email protected] <mailto:[email protected]>>
>>> Envoyé : 17 mai 2016 11:31:42
>>> À : WebObjects-Dev7 or Objet : install deploy on centos 7
>>> 
>>> I know I have used this before with success!
>>> 
>>> https://wiki.wocommunity.org/display/documentation/Installing+a+deployment+environment+on+RedHat%2C+CentOS+or+Amazon+Linux<https://wiki.wocommunity.org/display/documentation/Installing+a+deployment+environment+on+RedHat,+CentOS+or+Amazon+Linux>
>>>  
>>> <https://wiki.wocommunity.org/display/documentation/Installing+a+deployment+environment+on+RedHat%2C+CentOS+or+Amazon+Linux%3Chttps://wiki.wocommunity.org/display/documentation/Installing+a+deployment+environment+on+RedHat,+CentOS+or+Amazon+Linux%3E>
>>> 
>>> but of course something is broken!
>>> 
>>> http://packages.wocommunity.org/CentOS/7/repodata/repomd.xml: [Errno 14] 
>>> HTTP Error 404 - Not Found
>>> 
>>> should I just abandon this exercise?
>>> 
>>> Ted
>>> _______________________________________________
>>> Do not post admin requests to the list. They will be ignored.
>>> Webobjects-dev mailing list      ([email protected])
>>> Help/Unsubscribe/Update your Subscription:
>>> https://lists.apple.com/mailman/options/webobjects-dev/elemgee%40gmail.com
>>> 
>>> This email sent to [email protected]
>> 
>> Larry Mills-Gahl
>> elemgee at gmail dot com
> 
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list      ([email protected])
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/webobjects-dev/flavio%40donadio.com.br
> 
> 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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to