我有一个使用 Spring、Hibernate 和 JSF2.0 的小型 Web 应用程序。
我正在将我的应用程序部署到与 Eclipse 服务器集成的 Weblogic 10.3.6。当我将应用程序发布到服务器时,它会被发布(部署),但是与 Glassfish 相比,它需要相当长的时间才能发布。
我遇到的问题是,当我尝试从浏览器运行应用程序时,我在浏览器中收到以下错误,尽管我在日志中没有看到任何错误或异常。我该如何解决这个问题?为什么部署到服务器需要这么多时间?
Error 503--Service Unavailable
From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
10.5.4 503 Service Unavailable
The server is currently unable to handle the request due to a temporary
overloading or maintenance of the server. The implication is that this
is a temporary condition which will be alleviated after some delay. If known,
the length of the delay may be indicated in a Retry-After header.
If no Retry-After is given, the client SHOULD handle the response as it would
for a 500 response.
Note: The existence of the 503 status code does not imply that a server
must use it when becoming overloaded. Some servers may wish to simply
refuse the connection.