我正在尝试将 Thingworx 7.1 连接到 Azure Postgresql 数据库。
我已经成功地将 Thingworx Things 指向 azure 数据库,没有任何错误。
但是,当我尝试将平台设置文件中的数据库 url 设置为指向 azure 数据库时,我收到以下错误:
java.lang.Exception: Unable to initialize and start system: Connections could not be acquired from the underlying database!
at com.thingworx.system.ThingWorxServer.loadModel(ThingWorxServer.java:448)
at com.thingworx.system.ThingWorxServer.doHA(ThingWorxServer.java:181)
at com.thingworx.system.ThingWorxBootstrapper.contextInitialized(ThingWorxBootstrapper.java:124)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4811)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5251)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:725)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:701)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:717)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:940)
at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1816)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
*** CRITICAL ERROR ON STARTUP: Unable to initialize and start system: Connections could not be acquired from the underlying database!
*** Web Application STATE is being set to ERROR! ***