【发布时间】:2016-10-05 14:08:19
【问题描述】:
迁移我的 JAVA EE 应用后。 (Spring Web 模型-视图-控制器(MVC)框架)从 Ant 到 Maven 我在通过 WebLogic Server 版本启动我的应用程序时收到此消息:12.1.2.0.0
Error 403--Forbidden
From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
10.4.4 403 Forbidden
The server understood the request, but is refusing to fulfill it. Authorization will not help and the request SHOULD NOT be repeated. If the request method was not HEAD and the server wishes to make public why the request has not been fulfilled, it SHOULD describe the reason for the refusal in the entity. This status code is commonly used when the server does not wish to reveal exactly why the request has been refused, or when no other response is applicable
我拔出了一个可以正常工作的耳朵,而新耳朵却不能正常工作,我看不出有任何区别。只有一个文件夹(jsp_servlet)不存在于新耳朵中
..\myApp\myAppWeb\WEB-INF\classes\jsp_servlet
我去了控制台http://localhost:7001/console 并登录。 我使用控制台调用了应用程序的测试页面,结果相同
/wls-cat/index.jsp (Classloader Analysis Tool on server myserver)
我在服务器日志中看到了这个错误
javax.security.auth.callback.UnsupportedCallbackException: Unrecognized Callback
at weblogic.management.mbeanservers.internal.JMXAuthenticator$JMXCallbackHandler.handle(JMXAuthenticator.java:135)
at com.bea.common.security.internal.service.CallbackHandlerWrapper.handle(CallbackHandlerWrapper.java:76)
at weblogic.security.service.internal.WLSJAASLoginServiceImpl$CallbackHandlerWrapper.handle(WLSJAASLoginServiceImpl.java:154)
at javax.security.auth.login.LoginContext$SecureCallbackHandler$1.run(LoginContext.java:947)
at javax.security.auth.login.LoginContext$SecureCallbackHandler$1.run(LoginContext.java:944)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.login.LoginContext$SecureCallbackHandler.handle(LoginContext.java:943)
【问题讨论】:
标签: java maven spring-mvc weblogic12c authenticator