- 64
- 0
问题描述
在apache 2.4 ,操作系统redhat ,apache 配置两个虚拟host,如下
<VirtualHost *:8444>
ServerName test.com
<Location /WechatBank>
<IfModule mod_weblogic.c>
WeblogicHost wxapp
WeblogicPort 9091
ConnectTimeoutSecs 49
MatchExpression *.html
WLLogFile /home/wxapache/admin/tmp/proxy.log
WLTempDir "/home/wxapache/admin/proxy_tmp/"
</IfModule>
</Location>
ErrorLog "logs/error_8444_log"
CustomLog "logs/access_8444_log" common
</VirtualHost>
<VirtualHost *:8443>
ServerName test.com
ProxyPassMatch ^/DirectBank/(service|server)/(.*) http://wxapp:8443/DirectBank
ProxyPass /DirectBank !
ErrorLog "logs/error_8443_log"
CustomLog "logs/access8443__log" common
</VirtualHost>
当我访问 http://wxapp:8443/DirectBank/views/index.html
apache日志输出如下错误,
[Tue Jul 24 14:19:31.950654 2018] [proxy:trace2] [pid 32687:tid 1142970688] mod_proxy.c(674): [client 158.58.12.180:64737] AH03461: attempting to match URI path '/DirectBank/views/index.html' against pattern '^/DirectBank/(service|home)/(.*)$' for proxying
[Tue Jul 24 14:19:31.950665 2018] [proxy:trace2] [pid 32687:tid 1142970688] mod_proxy.c(674): [client 158.58.12.180:64737] AH03461: attempting to match URI path '/DirectBank/views/index.html' against prefix '/DirectBank' for proxying
[Tue Jul 24 14:19:31.950672 2018] [proxy:trace1] [pid 32687:tid 1142970688] mod_proxy.c(727): [client 158.58.12.180:64737] AH03463: proxying is explicitly disabled for URI path '/DirectBank/views/index.html'; declining
[Tue Jul 24 14:19:31.950729 2018] [authz_core:debug] [pid 32687:tid 1142970688] mod_authz_core.c(835): [client 158.58.12.180:64737] AH01628: authorization result: granted (no directives)
[Tue Jul 24 14:19:31.950741 2018] [core:trace3] [pid 32687:tid 1142970688] request.c(304): [client 158.58.12.180:64737] request authorized without authentication by access_checker_ex hook: /DirectBank/views/index.html
[Tue Jul 24 14:19:31.950867 2018] [weblogic:debug] [pid 32687:tid 1142970688] ApacheProxy.cpp(878): [client 158.58.12.180:64737] <3268715324131713> ================New Request: [GET /DirectBank/views/index.html HTTP/1.1] =================
[Tue Jul 24 14:19:31.950889 2018] [weblogic:debug] [pid 32687:tid 1142970688] ApacheProxy.cpp(1034): [client 158.58.12.180:64737] <3268715324131713> Using Uri /DirectBank/views/index.html
[Tue Jul 24 14:19:31.950899 2018] [weblogic:debug] [pid 32687:tid 1142970688] ApacheProxy.cpp(1054): [client 158.58.12.180:64737] <3268715324131713> After trimming path: '/DirectBank/views/index.html'
[Tue Jul 24 14:19:31.950906 2018] [weblogic:debug] [pid 32687:tid 1142970688] ApacheProxy.cpp(1130): [client 158.58.12.180:64737] <3268715324131713> The final request string is '/DirectBank/views/index.html'
[Tue Jul 24 14:19:31.950915 2018] [weblogic:error] [pid 32687:tid 1142970688] [client 158.58.12.180:64737] <3268715324131713> Neither 'WebLogicCluster' nor 'WebLogicHost' specified in parameters
[Tue Jul 24 14:19:31.950935 2018] [weblogic:error] [pid 32687:tid 1142970688] [client 158.58.12.180:64737] <3268715324131713> *Exception type [CONFIG_ERROR] (Neither 'WebLogicCluster' nor 'WebLogicHost' specified in parametersn) raised at line 2192 of ApacheProxy.cpp
[Tue Jul 24 14:19:31.951058 2018] [http:trace3] [pid 32687:tid 1142970688] http_filters.c(1128): [client 158.58.12.180:64737] Response sent with status 500, headers:
[Tue Jul 24 14:19:31.951073 2018] [http:trace5] [pid 32687:tid 1142970688] http_filters.c(1135): [client 158.58.12.180:64737] Date: Tue, 24 Jul 2018 06:19:31 GMT
[Tue Jul 24 14:19:31.951079 2018] [http:trace5] [pid 32687:tid 1142970688] http_filters.c(1138): [client 158.58.12.180:64737] Server: Apache/2.4.33 (Unix)
[Tue Jul 24 14:19:31.951086 2018] [http:trace4] [pid 32687:tid 1142970688] http_filters.c(957): [client 158.58.12.180:64737] Content-Length: 184
[Tue Jul 24 14:19:31.951092 2018] [http:trace4] [pid 32687:tid 1142970688] http_filters.c(957): [client 158.58.12.180:64737] Connection: close
[Tue Jul 24 14:19:31.951097 2018] [http:trace4] [pid 32687:tid 1142970688] http_filters.c(957): [client 158.58.12.180:64737] Content-Type: text/html
为什么有weblogic 异常??浏览器上显示:
failure of web server bridge Incorrect configuration Can not contiunue
- 共 0 条
- 全部回答
-
柳花河 普通会员 1楼
Apache 2.4 和 WebLogic 代理可能会出现一些bug。以下是一些可能的原因和解决方案:
- 代理配置错误:确保你的 WebLogic 代理配置正确。这包括代理的端口、超时时间、监听的主机等。如果你没有正确配置,WebLogic 代理可能无法正确工作。
解决方案:检查 WebLogic 代理的配置,确保它们正确。如果需要,你可能需要调整代理的配置。
- 代理的超时时间设置错误:如果你设置了代理的超时时间,但是代理在一定时间内没有接收到任何连接请求,那么这个超时时间就可能设置错误。
解决方案:检查代理的超时时间设置。确保代理能够正常工作,并且在一定时间内能够接收到连接请求。
- 代理服务器的稳定性问题:如果代理服务器出现故障,那么代理可能无法正常工作。
解决方案:如果你的代理服务器出现故障,那么你可能需要尝试重启代理服务器。如果代理服务器仍然无法正常工作,那么你可能需要考虑将代理服务器的运行设置为非主服务器。
- WebLogic 代理的服务端口设置错误:如果 WebLogic 代理的服务端口设置错误,那么代理可能无法正常工作。
解决方案:检查 WebLogic 代理的服务端口设置。确保代理的服务端口设置正确。
- WebLogic 代理的服务端口被阻塞:如果 WebLogic 代理的服务端口被阻塞,那么代理可能无法正常工作。
解决方案:检查 WebLogic 代理的服务端口。确保代理的服务端口没有被阻塞。
如果以上解决方案都不能解决问题,那么你可能需要联系 WebLogic 客户支持,或者寻求专业的技术支持。
- 扫一扫访问手机版
回答动态

- 神奇的四哥:发布了悬赏问题阿里云幻兽帕鲁服务器更新之后。服务器里面有部分玩家要重新创建角色是怎么回事啊?预计能赚取 0积分收益

- 神奇的四哥:发布了悬赏问题函数计算不同地域的是不能用内网吧?预计能赚取 0积分收益

- 神奇的四哥:发布了悬赏问题ARMS可以创建多个应用嘛?预计能赚取 0积分收益

- 神奇的四哥:发布了悬赏问题在ARMS如何申请加入公测呀?预计能赚取 0积分收益

- 神奇的四哥:发布了悬赏问题前端小程序接入这个arms具体是如何接入监控的,这个init方法在哪里进行添加?预计能赚取 0积分收益

- 神奇的四哥:发布了悬赏问题阿里云幻兽帕鲁服务器刚到期,是不是就不能再导出存档了呢?预计能赚取 0积分收益

- 神奇的四哥:发布了悬赏问题阿里云幻兽帕鲁服务器的游戏版本不兼容 尝试更新怎么解决?预计能赚取 0积分收益

- 神奇的四哥:发布了悬赏问题阿里云幻兽帕鲁服务器服务器升级以后 就链接不上了,怎么办?预计能赚取 0积分收益

- 神奇的四哥:发布了悬赏问题阿里云幻兽帕鲁服务器转移以后服务器进不去了,怎么解决?预计能赚取 0积分收益

- 神奇的四哥:发布了悬赏问题阿里云幻兽帕鲁服务器修改参数后游戏进入不了,是什么情况?预计能赚取 0积分收益
- 回到顶部
- 回到顶部

