当前位置: 首页 > 知识库问答 >
问题:

从Tomcat 6升级时拒绝BigIP-Tomcat 8连接

宋琛
2023-03-14

Tomcat开始侦听端口,并且应用程序也得到部署,但是当我访问URL时,我得到连接拒绝错误。BigIP无法识别服务器上Tomcat8打开的端口是否有问题?

虽然当我返回到Tomcat6(启动和停止它),然后再次尝试使用Tomcat8,它有时开始接收连接,这很奇怪,我无法找到原因。会有什么问题?

Jun 13, 2017 5:56:32 AM org.apache.tomcat.util.digester.SetPropertiesRule begin
WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Valve} Setting property 'resolveHosts' to 'false' did not find a matching property.

Jun 13, 2017 5:56:32 AM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: :/myPath/lib

Jun 13, 2017 5:56:32 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-bio-9030"]

Jun 13, 2017 5:56:32 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 854 ms

Jun 13, 2017 5:56:32 AM org.apache.catalina.users.MemoryUserDatabase open
SEVERE: The specified user database [conf/tomcat-users.xml] could not be found

Jun 13, 2017 5:56:32 AM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Catalina

Jun 13, 2017 5:56:32 AM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/8.0.30

Jun 13, 2017 5:56:33 AM org.apache.jasper.servlet.TldScanner scanJars
INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skippin
g unneeded JARs during scanning can improve startup time and JSP compilation time.

Jun 13, 2017 5:56:33 AM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive /mypath/MyWar.war

Jun 13, 2017 5:56:43 AM org.apache.jasper.servlet.TldScanner scanJars
INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skippin
g unneeded JARs during scanning can improve startup time and JSP compilation time.

Jun 13, 2017 5:56:43 AM org.apache.catalina.core.ApplicationContext log
INFO: No Spring WebApplicationInitializer types detected on classpath

Jun 13, 2017 5:56:43 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring root WebApplicationContext

Jun 13, 2017 5:57:06 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring FrameworkServlet 'myServlet'

Jun 13, 2017 5:57:06 AM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deployment of web application archive /mypath/MyWar.war has finished in 33,424 ms

Jun 13, 2017 5:57:06 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-bio-9030"]'

Jun 13, 2017 5:57:06 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 33845 ms

共有1个答案

凤明朗
2023-03-14

每个传入请求都需要一个线程来维持该请求的持续时间。如果接收到的同时请求比当前可用的请求处理线程所能处理的多,则将创建额外的线程,直到配置的最大值(maxThreads属性的值)。如果接收到更多的同时请求,它们将堆叠在连接器创建的服务器套接字中,直至配置的最大值(acceptCount属性的值)。任何进一步的同时请求都将收到“连接被拒绝”错误,直到有可用的资源来处理它们。

详情请访问https://tomcat.apache.org/tomcat-8.0-doc/config/http.html

 类似资料:
  • 我正在将tomcat6升级到tomcat7。目前,该应用程序在tomcat6上部署并运行良好。 这是配置: web.xml 在里面jsp: 我有jstl-1.2.jar,jstl-api-1.2.jar,jstl-1.2jar在我的Tomcat/lib目录(与Tomcat6相同)。 我最终得到了与此相关的各种异常,例如: 在我的pom里。我要开车了 Tomcat7是否应该不支持2.5?我尝试过使用

  • 我看到了很多“java.net.ConnectException:Connection Relection”问题,但没有一个问题提到此错误的超时。我的问题是,我必须连接到一个服务器,在某些情况下,是阻塞的(由另一个软件连接到同一个端口)。所以,我正在做一个循环,用一些最大的重试来尝试连接: 我当前的代码(当然,依赖于我的软件的许多配置,但运行良好): null Linux: 2019-12-05

  • 我正在尝试运行卡桑德拉,但每次它在连接时都会给出相同的错误...有什么我需要在配置文件或属性文件中编辑的吗? ('无法连接到任何服务器',{'127.0.0.1:9042 ':错误(61,"尝试连接到[('127.0.0.1 ',9042)]。最后一个错误:连接被拒绝")}) 启动cassandra时出错

  • 我试图通过Jedis客户端连接到redis服务器,但在连接时我得到了以下异常和堆栈跟踪- redisconnectionFailureException:无法获得Jedis连接;嵌套异常是redis.clients.jedis.exceptions.jedisconnectionException:无法从位于org.springframework.data.redis.connection.jed

  • 在升级到Spring Security 4.1.2和Spring 4.3.2时,我得到了403拒绝访问错误代码 我正在使用Spring Security AuthenticationProvider类进行身份类中的authenticate(Authentication Authentication)方法成功执行,并返回新的UsernamePasswordAuthenticationToken(us

  • 我有一个泊坞群设置,其中包含在覆盖网络中注册的服务。服务之间的通信工作正常,但是我从连接到外部数据库的一个服务中得到了“连接被拒绝”。该服务是基于 Java 的应用程序(Spring启动)。 < li >连接是用其IP(JDBC:MySQL://192 . 168 . 130 . 141:3306/database?auto connect = true) < li >我已经检查过我可以从容器pi