You may get some more infos about your error by enabling the WebObjects adaptor 
logging. Create a file /tmp/logWebObjects as stated in the last paragraph of 
the config file, and restart Apache. Afterwards there should be a 
/tmp/WebObjects.log with some error lines to indicate what part of the 
initialization failed.


Ralf

Am 14. Juli 2017 um 15:24:06, Soles, James T (terry.so...@verizon.com) schrieb:

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

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

# For localhost:

WebObjectsConfig http://ecvomzgta01.vzbi.com:1086 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> 10

 

 

# To enable public access to the WOAdaptorInfo page, uncomment the following 
line

# WebObjectsAdminUsername public

 

# To enable the WOAdaptorInfo page with restricted access,

# uncomment the next two lines and set the user and password

# To access the WOAdaptorInfo page with restricted access,

# use a URL like: 
http://webserver/cgi-bin/WebObjects/WOAdaptorInfo?user+password.

 

# 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 (Webobjects-dev@lists.apple.com)  
Help/Unsubscribe/Update your Subscription:  
https://lists.apple.com/mailman/options/webobjects-dev/rasc%40gmx.de  

This email sent to r...@gmx.de  

Attachment: signature.asc
Description: Message signed with OpenPGP using AMPGpg

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to