aspose file tools*
The moose likes BEA/Weblogic and the fly likes Getting Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "Getting "Precondition failed" when connecting to WebLogic over HTTPS port in Apache" Watch "Getting "Precondition failed" when connecting to WebLogic over HTTPS port in Apache" New topic
Author

Getting "Precondition failed" when connecting to WebLogic over HTTPS port in Apache

Dave Alvarado
Ranch Hand

Joined: Jul 02, 2008
Posts: 436
Hi,

We're using Apache 2.0 with WebLogic 9.2.2 on Linux. We are trying to connect to WebLogic over an SSL port from Apache. Here is our entry in the Apache httpd.conf file:


<Location /myapp/>
SetHandler weblogic-handler
WebLogicCluster servername1:7022,servername2:7022
#SSLProxyEngine on
SecureProxy ON
RequireSSLHostMatch false
TrustedCAFile /etc/httpd/conf/certs/ca/ca_nso.pem
Debug ALL
DebugConfigInfo ON
ConnectTimeoutSecs 30
WLLogFile "/opt/comcast/sites/ourdomain.com/logs/wlproxy_re.log"
</Location>

However, every request generates a 412 Precondition failed error. However, when we connect to WebLogic with "SecureProxy OFF" and the proper non-SSL WL port, we can connect fine. Any ideas what is causing this 412 error?

Thanks, - Dave
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Getting "Precondition failed" when connecting to WebLogic over HTTPS port in Apache