• 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: [E] Re: WebObjects with Apache 2.4 failure
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [E] Re: WebObjects with Apache 2.4 failure


  • Subject: RE: [E] Re: WebObjects with Apache 2.4 failure
  • From: "Soles, James T" <email@hidden>
  • Date: Fri, 14 Jul 2017 14:10:03 +0000
  • Thread-topic: [E] Re: WebObjects with Apache 2.4 failure

Yes, as I mentioned in my comment below, I put the 2.4 built module in the
Apache2.2 directory.  It’s a Solaris - 5.10 Generic_150400-48 sun4v sparc
SUNW,T5240

Thanks,

Terry Soles
214-273-3916

From: Webobjects-dev
[mailto:webobjects-dev-bounces+terry.soles=email@hidden] On
Behalf Of Theodore Petrosky
Sent: Friday, July 14, 2017 10:08 AM
To: Soles, James T
Cc: email@hidden
Subject: [E] Re: WebObjects with Apache 2.4 failure

you said Apache 2.4 and I see the loadmodule
Adaptors/Apache2.2/mod_WebObjects.so

are you sure you are picking up the correct mod_WebObjects.so?

what flavor of UNIX box is this?



On Jul 14, 2017, at 9:22 AM, Soles, James T
<email@hidden<mailto:email@hidden>> wrote:

All,

I was successful building the WOAdapter for Apache 2.4 and 64 bit, at least
there were no compile errors.  I’m now trying to load it with my start of
Apache 2.4 on a UNIX server and getting the below error when I try to access
the WO Web application.  Does anyone know why I would be getting this error or
how I can resolve it?

WebObjects_translate(): declining request due to initialization failure


Here’s a portion of my httpd.conf file:
LoadModule ssl_module
/apps/opt/jboss-ews/3.03/httpd/lib64/httpd/modules/mod_ssl.so
LoadModule WebObjects_module
/app/software/Apple/Library/WebObjects/Adaptors/Apache2.2/mod_WebObjects.so

<IfModule ssl_module>

Listen 8080
DocumentRoot /app/software/apache2221/htdocs
AddType application/x-x509-ca-cert .crt
AddType application/x-pkcs7-crl    .crl
SSLPassPhraseDialog builtin
SSLSessionCache         shmcb:/var/cache/httpd/sslcache(512000)
SSLSessionCacheTimeout  300
Mutex default
SSLRandomSeed startup file:/dev/urandom  256
SSLRandomSeed connect builtin
SSLCryptoDevice builtin

<VirtualHost _default_:8080>
ErrorLog /apps/opt/jboss-ews/domains/httpd/eVal2/logs/ssl_error_log
TransferLog /apps/opt/jboss-ews/domains/httpd/eVal2/logs/ssl_access_log
LogLevel debug
SSLEngine on
SSLProtocol +TLSv1.2 -TLSv1 +TLSv1.1
SSLCipherSuite ALL:!ADH:!EXPORT:!SSLv2:+HIGH:!MEDIUM:!LOW:!3DES:!RC4
SSLCertificateFile
/apps/opt/jboss-ews/domains/httpd/eVal2/ssl/evaltest3-cert.pem
SSLCertificateKeyFile
/apps/opt/jboss-ews/domains/httpd/eVal2/ssl/evaltest3-key.pem
SSLCertificateChainFile /apps/opt/jboss-ews/domains/httpd/eVal2/ssl/interca.pem

BrowserMatch "MSIE [2-5]" \
         nokeepalive ssl-unclean-shutdown \
         downgrade-1.0 force-response-1.0
CustomLog logs/ssl_request_log \
          "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"
#
# This should be changed to whatever you set DocumentRoot to.
#
<Directory "/app/software/apache2221/htdocs">
    #
    # Possible values for the Options directive are "None", "All",
    # or any combination of:
    #   Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
    #
    # Note that "MultiViews" must be named *explicitly* --- "Options All"
    # doesn't give it to you.
    #
    # The Options directive is both complicated and important.  Please see
    #
http://httpd.apache.org/docs/2.2/mod/core.html#options<https://urldefense.proofpoint.com/v2/url?u=http-3A__httpd.apache.org_docs_2.2_mod_core.html-23options&d=DwMFaQ&c=udBTRvFvXC5Dhqg7UHpJlPps3mZ3LRxpb6__0PomBTQ&r=iRNEp3hMYgapkyD3-QXbLkRAGBlXFJDQ04EUUAYPIus&m=lFhgNILKwiHWNgz-lKR5WuQI_TkopaZJ9AAykvbbFAk&s=ZWxD87tsbTyUiKhaPNE80ZJvNkJ5H0pUb-MLqTF6rIA&e=>
    # for more information.
    #
    Options Indexes FollowSymLinks

    #
    # AllowOverride controls what directives may be placed in .htaccess files.
    # It can be "All", "None", or any combination of the keywords:
    #   Options FileInfo AuthConfig Limit
    #
    # AllowOverride None
    AllowOverride All

    #
    # Controls who can get stuff from this server.
    #
    # Order allow,deny
    # Allow from all
    Require all granted
    AcceptPathInfo on
</Directory>


</VirtualHost>

Include /app/software/apache2221/conf/webobjects.conf

<Location /woapp/./>
SetHandler WebObjects
Require all granted
# Allow from all
AcceptPathInfo on
LimitRequestBody 0
SSLOptions -FakeBasicAuth -ExportCertData -StrictRequire -StdEnvVars
</Location>


<Directory "/">
    Options FollowSymLinks
    # AllowOverride None
    AllowOverride All
    # Allow from all
    Require all granted
#   Order deny,allow
#   Deny from all
</Directory>

</IfModule>

And the webobjects.conf ( Note I put the 2.4 build of mod_WebObjects.so in the
Apache2.2 directory)

# WebObjects 4.5.1/5: Enable the WebObjects module.
LoadModule WebObjects_module
/app/software/Apple/Library/WebObjects/Adaptors/Apache2.2/mod_WebObjects.so


# Path to the Document Root of your Webserver,
# it should contain a directory named WebObjects
WebObjectsDocumentRoot /app/software/apache2221/htdocs

# You can change the 'cgi-bin' part of WebObjectsAlias to whatever you
# prefer (such as Apps), but the 'WebObjects' part is required.
WebObjectsAlias /woapp/WebObjects



# Here are the 3 possible configuration modes.
# The apache module uses one of them to get information
# about your deployed applications.
# 1085 is the reserved port on which wotaskd processes listen to by default.

# Host List Configuration
# wotaskd is started automatically on supported platforms,
# so this is the default mode.
# The apache module gets its configuration from the wotaskds
# listed on the configuration line
# For multiple hosts:
# WebObjectsConfig
http://<name-of-a-host>:<port-on-a-host>,http://<name-of-another-host>:<port-on-a-host><https://urldefense.proofpoint.com/v2/url?u=http-3A__-253Cname-2Dof-2Da-2Dhost-253E-3A-253Cport-2Don-2Da-2Dhost-253E-2Chttp-3A__-253Cname-2Dof-2Danother-2Dhost-253E-3A-253Cport-2Don-2Da-2Dhost-253E&d=DwQFaQ&c=udBTRvFvXC5Dhqg7UHpJlPps3mZ3LRxpb6__0PomBTQ&r=iRNEp3hMYgapkyD3-QXbLkRAGBlXFJDQ04EUUAYPIus&m=lFhgNILKwiHWNgz-lKR5WuQI_TkopaZJ9AAykvbbFAk&s=1jB6v_TUzE9frnqpJiz8YWw3X8Cx2iffPijOWbmDJUQ&e=>
 <interval>
# For localhost:
WebObjectsConfig
http://ecvomzgta01.vzbi.com:1086<https://urldefense.proofpoint.com/v2/url?u=http-3A__ecvomzgta01.vzbi.com-3A1086_&d=DwMFaQ&c=udBTRvFvXC5Dhqg7UHpJlPps3mZ3LRxpb6__0PomBTQ&r=iRNEp3hMYgapkyD3-QXbLkRAGBlXFJDQ04EUUAYPIus&m=lFhgNILKwiHWNgz-lKR5WuQI_TkopaZJ9AAykvbbFAk&s=ddSBz7TYf8HNR1N4BPOugQUWv8tGwqMxnGqzfVTvdAc&e=>
 10

# Multicast Configuration
# The apache module gets its configuration from all wotaskds
# that respond to the multicast call on the subnet
# WebObjectsConfig webobjects://239.128.14.2:1085 10

# File Configuration
# The apache module gets its configuration from one file
# WebObjectsConfig
file://<path-to-a-xml-config-file<file:///\\http://webserver/cgi-bin/WebObjects/WOAdaptorInfo?user+password<https://urldefense.proofpoint.com/v2/url?u=http-3A__webserver_cgi-2Dbin_WebObjects_WOAdaptorInfo-3Fuser-2Bpassword&d=DwMFaQ&c=udBTRvFvXC5Dhqg7UHpJlPps3mZ3LRxpb6__0PomBTQ&r=iRNEp3hMYgapkyD3-QXbLkRAGBlXFJDQ04EUUAYPIus&m=lFhgNILKwiHWNgz-lKR5WuQI_TkopaZJ9AAykvbbFAk&s=Qjb6iuNuatkEXeee126Bfi2pI3w4XHdP1YUoI4UB9cw&e=>.

# To change the logging options, read the following comments:
# The option name is "WebObjectsLog" and the first value indicates the path of
the log file.
# The second value indicates the log level. There are five, in decreasing
informational order:
#       "Debug",    "Info",    "Warn",    "Error",    "User"
#
# Note: To enable logging, touch '/tmp/logWebObjects' as the administrator user
(usually root).
#
# The following line is the default:
WebObjectsLog /tmp/WebObjects2.log Debug

Thanks,

Terry Soles
214-273-3916

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list
(email@hidden<mailto:email@hidden>)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden<mailto: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

References: 
 >WebObjects with Apache 2.4 failure (From: "Soles, James T" <email@hidden>)
 >Re: WebObjects with Apache 2.4 failure (From: Theodore Petrosky <email@hidden>)

  • Prev by Date: Re: WebObjects with Apache 2.4 failure
  • Next by Date: Re: WebObjects with Apache 2.4 failure
  • Previous by thread: Re: WebObjects with Apache 2.4 failure
  • Next by thread: Re: WebObjects with Apache 2.4 failure
  • Index(es):
    • Date
    • Thread