The error message can happen in a few different scenarios:
1. In conjunction with a "ConnectionFactory static initializer suppressed Exception", using local data access.
ERROR: ConnectionFactory static initializer suppressed Exception: oracle.jdbc.driver.OracleDriver
java.lang.Exception: Failed to create ConnectionPool. Check application log for error message.
at com.mapinfo.dp.conn.ConnectionFactory.getConnection(Unknown Source)
at com.mapinfo.dp.jdbc.DBLayerDataProvider.a(Unknown Source)
at com.mapinfo.dp.jdbc.DBLayerDataProvider.getTableInfo(Unknown Source)
at com.mapinfo.mapj.Layer.getTableInfo(Unknown Source)
at com.mapinfo.mapj.Layers.a(Unknown Source)
at com.mapinfo.mapj.Layers.a(Unknown Source)
at com.mapinfo.mapj.al.insert(Unknown Source)
at com.mapinfo.beans.layercontrol.LayerControl.a(Unknown Source)
at com.mapinfo.beans.layercontrol.LayerControl.onLayerControlChange(Unknown Source)
at com.mapinfo.beans.layercontrol.f6.a(Unknown Source)
at com.mapinfo.beans.layercontrol.f6.actionPerformed(Unknown Source)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1767)
at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1820)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:419)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:257)
...
This error indicates that the JDBC driver (in this case oracle.jdbc.driver.OracleDriver) was not found in the classpath when the connection pool was being started. Add the appropriate jars/zips and restart the application.
2. From the MapXtremeServlet:
java.lang.Exception: Failed to create ConnectionPool. Check application log for error message.
at com.mapinfo.dp.conn.ConnectionFactory.getConnection(Unknown Source)
at com.mapinfo.dp.jdbc.DBLayerDataProvider.a(Unknown Source)
at com.mapinfo.dp.jdbc.DBLayerDataProvider.getTableInfo(Unknown Source)
at com.mapinfo.mapxtreme.MetadataHandlerServlet.createResponseComposer(Unknown Source)
at com.mapinfo.mapxtreme.MetadataHandlerServlet.service(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:404)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
at com.mapinfo.mapxtreme.MapXtremeServlet.a(Unknown Source)
at com.mapinfo.mapxtreme.MapXtremeServlet.doPost(Unknown Source)
This indicates that the MapXtremeServlet is trying to access the data. The miconnections.properties in the WEB-INF\classes directory of the MapXtreme context should contain the connection pool information, and the WEB-INF\lib directory should contain the JDBC jar files for the appropriate database.
3. From a client application using MapXtremeImageRenderer or MapXtremeDataProviderRefs.
java.lang.Exception: Failed to create ConnectionPool. Check application log for error message.
at com.mapinfo.mapxtreme.client.MapXtremeDataProvider.a(Unknown Source)
at com.mapinfo.mapxtreme.client.MapXtremeDataProvider.getTableInfo(Unknown Source)
at com.mapinfo.mapj.DataLayer.getTableInfo(Unknown Source)
at com.mapinfo.xmlprot.mxtj.bj.createLabelThemeListElement(Unknown Source)
at com.mapinfo.xmlprot.mxtj.bj.a(Unknown Source)
at com.mapinfo.xmlprot.mxtj.bj.createImageRequestLayer(Unknown Source)
at com.mapinfo.xmlprot.mxtj.ImageRequestComposer.b(Unknown Source)
at com.mapinfo.xmlprot.mxtj.ImageRequestComposer.a(Unknown Source)
at com.mapinfo.xmlprot.mxtj.cz.build(Unknown Source)
at com.mapinfo.mapxtreme.client.MapXtremeImageRenderer.render(Unknown Source)
In this case, the client may need the JDBC jars and miconnections.properties in its classpath, in addition to them existing in the MapXtreme context.
分享到:
相关推荐
代码如下:failed to create jvm error code -4 这一般应是内存不够用所致,解决方法参考如下。 打开 Android Studio 安装目录下的bin目录,查找并打开文件 studio.exe.vmoptions,修改代码: 代码如下:-Xmx512m 为...
VMware安装失败 “Failed to create the requested registry key Key,亲测成功解决问题
标题“failed to create task or type if”通常是在编程或脚本执行过程中遇到的错误提示,意味着系统尝试创建或运行一个名为“if”的任务或类型时失败了。这可能是由于多种原因,包括语法错误、缺少依赖库、权限问题...
Failed to Create Store(解决方案).md
windows server 2003 使用filezilla 时,安装好之后,点击“Active”可能会报下面的错 Creating listen socket on port 21… Failed to create listen socket on port 21 for IPv4 Failed to create listen socket ...
解决Eclipse启动出错:Failed to create the Java Virtual Machine Eclipse是一款功能强大的集成开发环境(IDE),广泛应用于Java、Python、C++等语言的开发中。但是在使用Eclipse时,用户可能会遇到各种错误,例如...
### Eclipse 运行时提示 "failed to create the java virtual machine" 的解决方法 在使用 Eclipse 进行 Java 开发的过程中,有时会遇到一个常见的错误提示:“failed to create the java virtual machine”。这一...
Failed to create WebContents(解决方案).md
QXDM是高通提供的一套扩展的诊断监视系统。它通过diag传输,把程序里面的一些Message或者数据包输出到QXDM的图形接口。主要数据有 : Message:主要是软件程序里面通过msg函数打印出来的一些数据的显示 ...
kafka是一个分布式消息发布订阅系统,它最初由LinkedIn公司基于独特的设计实现为一个分布式的提交日志系统( a distributed commit log),,之后成为Apache项目的一部分。Kafka系统快速、可扩展并且可持久化。...
报错Connection to blog0@localhost failed. [08001] Could not create connection to database server. Attempted reconnect 3 times. Giving up. 解决办法:在url后面拼接?serverTimezone=UTC 连接成功后数据库...
当遇到"Failed to create directory"这样的错误时,通常意味着系统在尝试创建一个目录以进行任务运行或数据存储时遇到了问题。这可能是由于多种原因引起的,其中最常见的是硬盘故障。以下将详细讨论这个问题及其解决...
在使用Eclipse进行Java开发的过程中,有时会遇到一个棘手的问题——"Failed to create the Java Virtual Machine"(JVM创建失败)。这个问题通常是由于Eclipse配置文件中的Java虚拟机设置不正确或者与系统环境不兼容...
"Eclipse Failed to Create the Java Virtual Machine 问题图文解析" Eclipse 是一个功能强大的集成开发环境(IDE),广泛应用于软件开发、测试和维护中。然而,在使用 Eclipse 时,可能会遇到 "Failed to create ...
### 解决Ubuntu安装时出现“Failed to load ldlinux.c32”的问题 #### 背景与概述 在使用U盘进行Ubuntu系统(版本16.04及以上)的安装过程中,用户可能会遇到一个常见的错误:“Failed to load ldlinux.c32”。这...
然而,在配置和运行Tomcat时,开发者常常会遇到各种问题,其中“`The required Server component failed to start so Tomcat is unable to start`”是一个常见的错误提示,这通常意味着Tomcat在启动过程中遇到了问题...
然而,在实际部署过程中,开发者可能会遇到各种问题,其中“Failed to create a new SAX parser”是一个常见的错误。这篇文章将详细解释这个错误的原因以及如何解决。 SAX(Simple API for XML)是一种轻量级的解析...