技术文章 - CS313498
ThingWorx Platform 的 ApplicationLog.log 文件中出现“获取尝试失败!!!”错误
已修改: 30-Apr-2025
适用于
- ThingWorx Platform 8.0 to 9.6
- Microsoft SQL Server
- PostgreSQL
说明
- ThingWorx 服务器启动失败,错误信息为“获取尝试失败!!!”
- Tomcat 自动停止
- ThingWorx UI 无法正常工作
- Apache 服务自动关闭
- <ThingworxStorage>logs\ApplicationLog.log中记录了错误:
Acquisition Attempt Failed!!! Clearing pending acquires. While trying to acquire a needed new resource, we failed to succeed more than the maximum number of allowed acquisition attempts (3). Last acquisition attempt exception
[L: ERROR] [O: c.t.p.p.PostgresModelExceptionTranslator] [I: ] [U: ] [S: ] [P: ] [T: ForkJoinPool-11-worker-9] Connections could not be acquired from the underlying database!
[L: WARN] [O: c.m.v.r.BasicResourcePool] [I: ] [U: ] [S: ] [P: ] [T: C3P0PooledConnectionPoolManager[identityToken->2vn8taao8busogbkxse3|6628d62d]-HelperThread-#0] com.mchange.v2.resourcepool.BasicResourcePool$ScatteredAcquireTask@40583817 -- Acquisition Attempt Failed!!! Clearing pending acquires. While trying to acquire a needed new resource, we failed to succeed more than the maximum number of allowed acquisition attempts (30). Last acquisition attempt exception: [L: WARN] [O: c.m.v.r.BasicResourcePool] [I: ] [U: ] [S: ] [P: ] [T: C3P0PooledConnectionPoolManager[identityToken->2vn8taao8busogbkxse3|6628d62d]-HelperThread-#0] Having failed to acquire a resource, com.mchange.v2.resourcepool.BasicResourcePool@1a586eec is interrupting all Threads waiting on a resource to check out. Will try again in response to new client requests.
- <Apache Tomcat>\logs\catalina.log中可能会记录以下内容:
SEVERE [localhost-startStop-2] org.apache.catalina.startup.ContextConfig.beforeStart Exception fixing docBase for context [/Thingworx]
SEVERE [localhost-startStop-2] org.apache.catalina.core.ContainerBase.addChildInternal ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/Thingworx]]
这是文章 313498 的 PDF 版本,可能已过期。最新版本 CS313498