Uploaded image for project: 'MariaDB Connector/J'
  1. MariaDB Connector/J
  2. CONJ-13

Problems with JBoss / DataNucleus when resolving type infos for mapping

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.1.0
    • Fix Version/s: 1.1.0
    • Component/s: None
    • Labels:
    • Environment:
      Windows 8, jdk1.7.0_09, MariaDB 5.2, JBoss 7.1.1-Final

      Description

      Hi,

      DataNucleus reports the following errors when the connection to the MariaDB is established:

      12:39:41,471 INFO [org.mariadb.jdbc.CommonDatabaseMetaData] (ServerService Thread Pool – 50) getting empty result set, type info
      12:39:41,489 SEVERE [DataNucleus.Datastore.Schema] (ServerService Thread Pool – 50) Failed initialising database.: org.datanucleus.exceptions.NucleusException: The java type java.lang.Integer (jdbc-type="", sql-type="") cant be mapped for this datastore. No mapping is available.

      Some interesting logs in the mariadb client:
      12:39:41,471 INFO [org.mariadb.jdbc.CommonDatabaseMetaData] (ServerService Thread Pool – 50) getting empty result set, type info

      This might be a duplicate of https://mariadb.atlassian.net/browse/CONJ-11, or https://mariadb.atlassian.net/browse/CONJ-8.

      See thread on datanucleus board: http://www.datanucleus.org/servlet/forum/viewthread_thread,7408_offset,0#36572

      Replacing the mariadb-client jar with the mysql-connector-java-5.1.20-bin resolves the problem.

      If you can help me find out more traces, I will gladly send them over. HEre is what I got by adding org.mariadb as a Log Category:
      12:39:39,401 INFO [org.jboss.modules] (main) JBoss Modules version 1.1.3.GA
      12:39:39,522 INFO [org.jboss.msc] (main) JBoss MSC version 1.0.3.GA
      12:39:39,572 INFO [org.jboss.as] (MSC service thread 1-6) JBAS015899: JBoss AS 7.2.0.Alpha1-SNAPSHOT "Steropes" starting
      12:39:39,578 DEBUG [org.jboss.as.config] (MSC service thread 1-6) Configured system properties:
      awt.toolkit = sun.awt.windows.WToolkit
      file.encoding = Cp1252
      file.encoding.pkg = sun.io
      file.separator = \
      java.awt.graphicsenv = sun.awt.Win32GraphicsEnvironment
      java.awt.printerjob = sun.awt.windows.WPrinterJob
      java.class.path = E:\tools\jboss\jboss-as-7.2.0.Alpha1-SNAPSHOT\jboss-modules.jar
      java.class.version = 51.0
      java.endorsed.dirs = C:\Java\jdk1.7.0_09\jre\lib\endorsed
      java.ext.dirs = C:\Java\jdk1.7.0_09\jre\lib\ext;C:\Windows\Sun\Java\lib\ext
      java.home = C:\Java\jdk1.7.0_09\jre
      java.io.tmpdir = C:\Users\Nicolas\AppData\Local\Temp\
      java.library.path = C:\Java\jdk1.7.0_09\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Program Files (x86)\AMD APP\bin\x86_64;C:\Program Files (x86)\AMD APP\bin\x86;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files (x86)\Git\cmd;C:\Program Files\TortoiseGit\bin;C:\Program Files\SlikSvn\bin;C:\Program Files\TortoiseSVN\bin;C:\Java\jdk1.7.0_09\bin;C:\Program Files (x86)\OpenVPN\bin;C:\tools\maven\apache-maven-3.0.4\bin;;.
      java.net.preferIPv4Stack = true
      java.runtime.name = Java(TM) SE Runtime Environment
      java.runtime.version = 1.7.0_09-b05
      java.specification.name = Java Platform API Specification
      java.specification.vendor = Oracle Corporation
      java.specification.version = 1.7
      java.util.logging.manager = org.jboss.logmanager.LogManager
      java.vendor = Oracle Corporation
      java.vendor.url = http://java.oracle.com/
      java.vendor.url.bug = http://bugreport.sun.com/bugreport/
      java.version = 1.7.0_09
      java.vm.info = mixed mode
      java.vm.name = Java HotSpot(TM) 64-Bit Server VM
      java.vm.specification.name = Java Virtual Machine Specification
      java.vm.specification.vendor = Oracle Corporation
      java.vm.specification.version = 1.7
      java.vm.vendor = Oracle Corporation
      java.vm.version = 23.5-b02
      javax.management.builder.initial = org.jboss.as.jmx.PluggableMBeanServerBuilder
      javax.xml.datatype.DatatypeFactory = _redirected._DatatypeFactory
      javax.xml.parsers.DocumentBuilderFactory = _redirected._DocumentBuilderFactory
      javax.xml.parsers.SAXParserFactory = _redirected._SAXParserFactory
      javax.xml.stream.XMLEventFactory = _redirected._XMLEventFactory
      javax.xml.stream.XMLInputFactory = _redirected._XMLInputFactory
      javax.xml.stream.XMLOutputFactory = _redirected._XMLOutputFactory
      javax.xml.transform.TransformerFactory = _redirected._TransformerFactory
      javax.xml.validation.SchemaFactory:http://www.w3.org/2001/XMLSchema = _redirected._SchemaFactory
      javax.xml.xpath.XPathFactory:http://java.sun.com/jaxp/xpath/dom = _redirected._XPathFactory
      jboss.home.dir = E:\tools\jboss\jboss-as-7.2.0.Alpha1-SNAPSHOT
      jboss.host.name = mirabeau
      jboss.modules.dir = E:\tools\jboss\jboss-as-7.2.0.Alpha1-SNAPSHOT\modules
      jboss.modules.system.pkgs = org.jboss.byteman
      jboss.node.name = mirabeau
      jboss.qualified.host.name = mirabeau
      jboss.server.base.dir = E:\tools\jboss\jboss-as-7.2.0.Alpha1-SNAPSHOT\standalone
      jboss.server.config.dir = E:\tools\jboss\jboss-as-7.2.0.Alpha1-SNAPSHOT\standalone\configuration
      jboss.server.data.dir = E:\tools\jboss\jboss-as-7.2.0.Alpha1-SNAPSHOT\standalone\data
      jboss.server.default.config = standalone.xml
      jboss.server.deploy.dir = E:\tools\jboss\jboss-as-7.2.0.Alpha1-SNAPSHOT\standalone\data\content
      jboss.server.log.dir = E:\tools\jboss\jboss-as-7.2.0.Alpha1-SNAPSHOT\standalone\log
      jboss.server.name = mirabeau
      jboss.server.temp.dir = E:\tools\jboss\jboss-as-7.2.0.Alpha1-SNAPSHOT\standalone\tmp
      line.separator =

      logging.configuration = file:E:\tools\jboss\jboss-as-7.2.0.Alpha1-SNAPSHOT\standalone/configuration/logging.properties
      module.path = E:\tools\jboss\jboss-as-7.2.0.Alpha1-SNAPSHOT\modules
      org.jboss.resolver.warning = true
      org.jboss.server.log.file = E:\tools\jboss\jboss-as-7.2.0.Alpha1-SNAPSHOT\standalone\log\server.log
      org.xml.sax.driver = _redirected._XMLReaderFactory
      os.arch = amd64
      os.name = Windows 8
      os.version = 6.2
      path.separator = ;
      program.name = standalone.bat
      sun.arch.data.model = 64
      sun.boot.class.path = C:\Java\jdk1.7.0_09\jre\lib\resources.jar;C:\Java\jdk1.7.0_09\jre\lib\rt.jar;C:\Java\jdk1.7.0_09\jre\lib\sunrsasign.jar;C:\Java\jdk1.7.0_09\jre\lib\jsse.jar;C:\Java\jdk1.7.0_09\jre\lib\jce.jar;C:\Java\jdk1.7.0_09\jre\lib\charsets.jar;C:\Java\jdk1.7.0_09\jre\lib\jfr.jar;C:\Java\jdk1.7.0_09\jre\classes
      sun.boot.library.path = C:\Java\jdk1.7.0_09\jre\bin
      sun.cpu.endian = little
      sun.cpu.isalist = amd64
      sun.desktop = windows
      sun.io.unicode.encoding = UnicodeLittle
      sun.java.command = E:\tools\jboss\jboss-as-7.2.0.Alpha1-SNAPSHOT\jboss-modules.jar -mp E:\tools\jboss\jboss-as-7.2.0.Alpha1-SNAPSHOT\modules -jaxpmodule javax.xml.jaxp-provider org.jboss.as.standalone -Djboss.home.dir=E:\tools\jboss\jboss-as-7.2.0.Alpha1-SNAPSHOT
      sun.java.launcher = SUN_STANDARD
      sun.jnu.encoding = Cp1252
      sun.management.compiler = HotSpot 64-Bit Tiered Compilers
      sun.os.patch.level =
      user.country = US
      user.dir = E:\tools\jboss\jboss-as-7.2.0.Alpha1-SNAPSHOT\bin
      user.home = C:\Users\Nicolas
      user.language = en
      user.name = Nicolas
      user.script =
      user.timezone = Europe/Berlin
      user.variant =
      12:39:39,579 DEBUG [org.jboss.as.config] (MSC service thread 1-6) VM Arguments: -XX:+TieredCompilation -XX:+UseCompressedOops -Dprogram.name=standalone.bat -Xms64M -Xmx512M -XX:MaxPermSize=256M -Djava.net.preferIPv4Stack=true -Dorg.jboss.resolver.warning=true -Djboss.modules.system.pkgs=org.jboss.byteman -Djboss.server.default.config=standalone.xml -Dorg.jboss.server.log.file=E:\tools\jboss\jboss-as-7.2.0.Alpha1-SNAPSHOT\standalone\log\server.log -Dlogging.configuration=file:E:\tools\jboss\jboss-as-7.2.0.Alpha1-SNAPSHOT\standalone/configuration/logging.properties
      12:39:40,146 INFO [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015014: Re-attempting failed deployment simple-jpa-0.0.1-SNAPSHOT.jar
      12:39:40,166 INFO [org.xnio] (MSC service thread 1-2) XNIO Version 3.0.7.GA
      12:39:40,168 INFO [org.jboss.as.server] (Controller Boot Thread) JBAS015888: Creating http management service using socket-binding (management-http)
      12:39:40,173 INFO [org.xnio.nio] (MSC service thread 1-2) XNIO NIO Implementation Version 3.0.7.GA
      12:39:40,182 INFO [org.jboss.remoting] (MSC service thread 1-2) JBoss Remoting version 3.2.14.GA
      12:39:40,205 INFO [org.jboss.as.configadmin] (ServerService Thread Pool – 26) JBAS016200: Activating ConfigAdmin Subsystem
      12:39:40,214 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool – 31) JBAS010280: Activating Infinispan subsystem.
      12:39:40,221 INFO [org.jboss.as.naming] (ServerService Thread Pool – 39) JBAS011800: Activating Naming Subsystem
      12:39:40,227 INFO [org.jboss.as.security] (ServerService Thread Pool – 44) JBAS013171: Activating Security Subsystem
      12:39:40,228 INFO [org.jboss.as.webservices] (ServerService Thread Pool – 48) JBAS015537: Activating WebServices Extension
      12:39:40,235 INFO [org.jboss.as.jsf] (ServerService Thread Pool – 37) JBAS012605: Activated the following JSF Implementations: [1.2, main]
      12:39:40,243 INFO [org.jboss.as.security] (MSC service thread 1-3) JBAS013170: Current PicketBox version=4.0.15.Final
      12:39:40,250 INFO [org.jboss.as.connector.logging] (MSC service thread 1-8) JBAS010408: Starting JCA Subsystem (JBoss IronJacamar 1.0.14.Final)
      12:39:40,290 INFO [org.jboss.as.naming] (MSC service thread 1-13) JBAS011802: Starting Naming Service
      12:39:40,295 INFO [org.jboss.as.mail.extension] (MSC service thread 1-1) JBAS015400: Bound mail session [java:jboss/mail/Default]
      12:39:40,342 INFO [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool – 27) JBAS010403: Deploying JDBC-compliant driver class org.h2.Driver (version 1.3)
      12:39:40,349 INFO [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool – 27) JBAS010404: Deploying non-JDBC-compliant driver class org.mariadb.jdbc.Driver (version 0.1)
      12:39:40,362 INFO [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool – 27) JBAS010404: Deploying non-JDBC-compliant driver class com.mysql.jdbc.Driver (version 5.1)
      12:39:40,386 INFO [org.jboss.ws.common.management] (MSC service thread 1-13) JBWS022052: Starting JBoss Web Services - Stack CXF Server 4.1.1.Final
      12:39:40,527 INFO [org.jboss.as.server.deployment.scanner] (MSC service thread 1-1) JBAS015012: Started FileSystemDeploymentService for directory E:\tools\jboss\jboss-as-7.2.0.Alpha1-SNAPSHOT\standalone\deployments
      12:39:40,531 INFO [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015876: Starting deployment of "simple-jpa-0.0.1-SNAPSHOT.jar" (runtime-name: "simple-jpa-0.0.1-SNAPSHOT.jar")
      12:39:40,619 INFO [org.jboss.as.jpa] (MSC service thread 1-1) JBAS011401: Read persistence.xml for BM
      12:39:40,714 INFO [org.jboss.as.remoting] (MSC service thread 1-16) JBAS017100: Listening on 127.0.0.1:9999
      12:39:40,714 INFO [org.jboss.as.remoting] (MSC service thread 1-5) JBAS017100: Listening on 127.0.0.1:4447
      12:39:40,735 INFO [org.apache.coyote.http11] (MSC service thread 1-14) JBWEB003001: Coyote HTTP/1.1 initializing on : http-/127.0.0.1:8080
      12:39:40,739 INFO [org.apache.coyote.http11] (MSC service thread 1-14) JBWEB003000: Coyote HTTP/1.1 starting on: http-/127.0.0.1:8080
      12:39:40,838 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-16) JBAS010400: Bound data source [java:/jdbc/simple-nonjta]
      12:39:40,838 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-5) JBAS010400: Bound data source [java:jboss/datasources/ExampleDS]
      12:39:40,843 FINEST [org.mariadb.jdbc.Driver] (JCA PoolFiller) Connecting to: jdbc:mysql://localhost:3306/simple
      12:39:40,845 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-15) JBAS010400: Bound data source [java:/jdbc/simple]
      12:39:40,846 INFO [org.jboss.as.jpa] (ServerService Thread Pool – 50) JBAS011402: Starting Persistence Unit Service 'simple-jpa-0.0.1-SNAPSHOT.jar#BM'
      12:39:40,904 FINEST [org.mariadb.jdbc.Driver] (JCA PoolFiller) Connecting to: jdbc:mysql://localhost:3306/simple
      12:39:40,906 FINEST [org.mariadb.jdbc.Driver] (JCA PoolFiller) Connecting to: jdbc:mysql://localhost:3306/simple
      12:39:40,908 FINEST [org.mariadb.jdbc.Driver] (JCA PoolFiller) Connecting to: jdbc:mysql://localhost:3306/simple
      12:39:40,910 FINEST [org.mariadb.jdbc.Driver] (JCA PoolFiller) Connecting to: jdbc:mysql://localhost:3306/simple
      12:39:40,912 FINEST [org.mariadb.jdbc.Driver] (JCA PoolFiller) Connecting to: jdbc:mysql://localhost:3306/simple
      12:39:40,914 FINEST [org.mariadb.jdbc.Driver] (JCA PoolFiller) Connecting to: jdbc:mysql://localhost:3306/simple
      12:39:40,916 FINEST [org.mariadb.jdbc.Driver] (JCA PoolFiller) Connecting to: jdbc:mysql://localhost:3306/simple
      12:39:40,918 FINEST [org.mariadb.jdbc.Driver] (JCA PoolFiller) Connecting to: jdbc:mysql://localhost:3306/simple
      12:39:40,920 FINEST [org.mariadb.jdbc.Driver] (JCA PoolFiller) Connecting to: jdbc:mysql://localhost:3306/simple
      12:39:41,057 INFO [DataNucleus.Persistence] (ServerService Thread Pool – 50) Property jboss.as.jpa.providermodule unknown - will be ignored
      12:39:41,068 FINE [DataNucleus.Persistence] (ServerService Thread Pool – 50) Java types support initialising ...
      12:39:41,068 FINE [DataNucleus.Persistence] (ServerService Thread Pool – 50) Java type boolean (DFG=true, embedded=true)
      12:39:41,068 FINE [DataNucleus.Persistence] (ServerService Thread Pool – 50) Java type byte (DFG=true, embedded=true)
      12:39:41,068 FINE [DataNucleus.Persistence] (ServerService Thread Pool – 50) Java type char (DFG=true, embedded=true)
      12:39:41,069 FINE [DataNucleus.Persistence] (ServerService Thread Pool – 50) Java type double (DFG=true, embedded=true)
      12:39:41,069 FINE [DataNucleus.Persistence] (ServerService Thread Pool – 50) Java type float (DFG=true, embedded=true)
      12:39:41,069 FINE [DataNucleus.Persistence] (ServerService Thread Pool – 50) Java type int (DFG=true, embedded=true)
      12:39:41,069 FINE [DataNucleus.Persistence] (ServerService Thread Pool – 50) Java type long (DFG=true, embedded=true)
      12:39:41,069 FINE [DataNucleus.Persistence] (ServerService Thread Pool – 50) Java type short (DFG=true, embedded=true)
      12:39:41,070 FINE [DataNucleus.Persistence] (ServerService Thread Pool – 50) Java type java.lang.Boolean (DFG=true, embedded=true)
      12:39:41,070 FINE [DataNucleus.Persistence] (ServerService Thread Pool – 50) Java type java.lang.Byte (DFG=true, embedded=true)
      12:39:41,070 FINE [DataNucleus.Persistence] (ServerService Thread Pool – 50) Java type java.lang.Character (DFG=true, embedded=true)
      12:39:41,070 FINE [DataNucleus.Persistence] (ServerService Thread Pool – 50) Java type java.lang.Double (DFG=true, embedded=true)
      12:39:41,070 FINE [DataNucleus.Persistence] (ServerService Thread Pool – 50) Java type java.lang.Float (DFG=true, embedded=true)
      12:39:41,070 FINE [DataNucleus.Persistence] (ServerService Thread Pool – 50) Java type java.lang.Integer (DFG=true, embedded=true)
      12:39:41,071 FINE [DataNucleus.Persistence] (ServerService Thread Pool – 50) Java type java.lang.Long (DFG=true, embedded=true)
      12:39:41,071 FINE [DataNucleus.Persistence] (ServerService Thread Pool – 50) Java type java.lang.Short (DFG=true, embedded=true)
      12:39:41,071 FINE [DataNucleus.Persistence] (ServerService Thread Pool – 50) Java type java.lang.Number (DFG=true, embedded=true)
      12:39:41,071 FINE [DataNucleus.Persistence] (ServerService Thread Pool – 50) Java type java.lang.String (DFG=true, embedded=true)
      12:39:41,071 FINE [DataNucleus.Persistence] (ServerService Thread Pool – 50) Java type java.lang.Enum (DFG=true, embedded=true)
      12:39:41,071 FINE [DataNucleus.Persistence] (ServerService Thread Pool – 50) Java type java.lang.StringBuffer (DFG=true, embedded=true)
      12:39:41,071 FINE [DataNucleus.Persistence] (ServerService Thread Pool – 50) Java type java.lang.Class (DFG=true, embedded=true)
      12:39:41,072 FINE [DataNucleus.Persistence] (ServerService Thread Pool – 50) Java type java.awt.image.BufferedImage (DFG=false, embedded=true)
      12:39:41,073 FINE [DataNucleus.Persistence] (ServerService Thread Pool – 50) Java type java.awt.Color (DFG=false, embedded=true)
      12:39:41,073 FINE [DataNucleus.Persistence] (ServerService Thread Pool – 50) Java type java.math.BigDecimal (DFG=true, embedded=true)
      12:39:41,073 FINE [DataNucleus.Persistence] (ServerService Thread Pool – 50) Java type java.math.BigInteger (DFG=true, embedded=true)
      12:39:41,073 FINE [DataNucleus.Persistence] (ServerService Thread Pool – 50) Java type java.net.URL (DFG=true, embedded=true)
      12:39:41,073 FINE [DataNucleus.Persistence] (ServerService Thread Pool – 50) Java type java.net.URI (DFG=true, embedded=true)
      12:39:41,074 FINE [DataNucleus.Persistence] (ServerService Thread Pool – 50) Java type java.sql.Date (DFG=true, embedded=true)
      12:39:41,074 FINE [DataNucleus.Persistence] (ServerService Thread Pool – 50) Java type java.sql.Time (DFG=true, embedded=true)
      12:39:41,075 FINE [DataNucleus.Persistence] (ServerService Thread Pool – 50) Java type java.sql.Timestamp (DFG=true, embedded=true)
      12:39:41,075 FINE [DataNucleus.Persistence] (ServerService Thread Pool – 50) Java type java.util.Date (DFG=true, embedded=true)
      12:39:41,075 FINE [DataNucleus.Persistence] (ServerService Thread Pool – 50) Java type java.util.Locale (DFG=true, embedded=true)
      12:39:41,076 FINE [DataNucleus.Persistence] (ServerService Thread Pool – 50) Java type java.util.Currency (DFG=true, embedded=true)
      12:39:41,077 FINE [DataNucleus.Persistence] (ServerService Thread Pool – 50) Java type java.util.Calendar (DFG=true, embedded=true)
      12:39:41,077 FINE [DataNucleus.Persistence] (ServerService Thread Pool – 50) Java type java.util.GregorianCalendar (DFG=true, embedded=true)
      12:39:41,077 FINE [DataNucleus.Persistence] (ServerService Thread Pool – 50) Java type java.util.UUID (DFG=true, embedded=true)
      12:39:41,077 FINE [DataNucleus.Persistence] (ServerService Thread Pool – 50) Java type java.util.TimeZone (DFG=true, embedded=true)
      12:39:41,079 FINE [DataNucleus.Persistence] (ServerService Thread Pool – 50) Java type java.util.ArrayList (DFG=false, embedded=false)
      12:39:41,080 FINE [DataNucleus.Persistence] (ServerService Thread Pool – 50) Java type java.util.Arrays$ArrayList (DFG=false, embedded=false)
      12:39:41,082 FINE [DataNucleus.Persistence] (ServerService Thread Pool – 50) Java type java.util.BitSet (DFG=false, embedded=false)
      12:39:41,083 FINE [DataNucleus.Persistence] (ServerService Thread Pool – 50) Java type java.util.Collection (DFG=false, embedded=false)
      12:39:41,084 FINE [DataNucleus.Persistence] (ServerService Thread Pool – 50) Java type java.util.HashMap (DFG=false, embedded=false)
      12:39:41,085 FINE [DataNucleus.Persistence] (ServerService Thread Pool – 50) Java type java.util.HashSet (DFG=false, embedded=false)
      12:39:41,086 FINE [DataNucleus.Persistence] (ServerService Thread Pool – 50) Java type java.util.Hashtable (DFG=false, embedded=false)
      12:39:41,088 FINE [DataNucleus.Persistence] (ServerService Thread Pool – 50) Java type java.util.LinkedHashMap (DFG=false, embedded=false)
      12:39:41,089 FINE [DataNucleus.Persistence] (ServerService Thread Pool – 50) Java type java.util.LinkedHashSet (DFG=false, embedded=false)
      12:39:41,091 FINE [DataNucleus.Persistence] (ServerService Thread Pool – 50) Java type java.util.LinkedList (DFG=false, embedded=false)
      12:39:41,091 FINE [DataNucleus.Persistence] (ServerService Thread Pool – 50) Java type java.util.List (DFG=false, embedded=false)
      12:39:41,092 FINE [DataNucleus.Persistence] (ServerService Thread Pool – 50) Java type java.util.Map (DFG=false, embedded=false)
      12:39:41,094 FINE [DataNucleus.Persistence] (ServerService Thread Pool – 50) Java type java.util.PriorityQueue (DFG=false, embedded=false)
      12:39:41,094 FINE [DataNucleus.Persistence] (ServerService Thread Pool – 50) Java type java.util.Properties (DFG=false, embedded=false)
      12:39:41,095 FINE [DataNucleus.Persistence] (ServerService Thread Pool – 50) Java type java.util.Queue (DFG=false, embedded=false)
      12:39:41,096 FINE [DataNucleus.Persistence] (ServerService Thread Pool – 50) Java type java.util.Set (DFG=false, embedded=false)
      12:39:41,097 FINE [DataNucleus.Persistence] (ServerService Thread Pool – 50) Java type java.util.SortedSet (DFG=false, embedded=false)
      12:39:41,099 FINE [DataNucleus.Persistence] (ServerService Thread Pool – 50) Java type java.util.SortedMap (DFG=false, embedded=false)
      12:39:41,101 FINE [DataNucleus.Persistence] (ServerService Thread Pool – 50) Java type java.util.Stack (DFG=false, embedded=false)
      12:39:41,102 FINE [DataNucleus.Persistence] (ServerService Thread Pool – 50) Java type java.util.TreeMap (DFG=false, embedded=false)
      12:39:41,103 FINE [DataNucleus.Persistence] (ServerService Thread Pool – 50) Java type java.util.TreeSet (DFG=false, embedded=false)
      12:39:41,105 FINE [DataNucleus.Persistence] (ServerService Thread Pool – 50) Java type java.util.Vector (DFG=false, embedded=false)
      12:39:41,105 FINE [DataNucleus.Persistence] (ServerService Thread Pool – 50) Java type [B (DFG=false, embedded=true)
      12:39:41,105 FINE [DataNucleus.Persistence] (ServerService Thread Pool – 50) Java type [C (DFG=false, embedded=true)
      12:39:41,105 FINE [DataNucleus.Persistence] (ServerService Thread Pool – 50) Java type [D (DFG=false, embedded=true)
      12:39:41,106 FINE [DataNucleus.Persistence] (ServerService Thread Pool – 50) Java type [F (DFG=false, embedded=true)
      12:39:41,106 FINE [DataNucleus.Persistence] (ServerService Thread Pool – 50) Java type [I (DFG=false, embedded=true)
      12:39:41,106 FINE [DataNucleus.Persistence] (ServerService Thread Pool – 50) Java type [J (DFG=false, embedded=true)
      12:39:41,106 FINE [DataNucleus.Persistence] (ServerService Thread Pool – 50) Java type [S (DFG=false, embedded=true)
      12:39:41,106 FINE [DataNucleus.Persistence] (ServerService Thread Pool – 50) Java type [Z (DFG=false, embedded=true)
      12:39:41,106 FINE [DataNucleus.Persistence] (ServerService Thread Pool – 50) Java type [Ljava.lang.Boolean; (DFG=false, embedded=true)
      12:39:41,106 FINE [DataNucleus.Persistence] (ServerService Thread Pool – 50) Java type [Ljava.lang.Byte; (DFG=false, embedded=true)
      12:39:41,107 FINE [DataNucleus.Persistence] (ServerService Thread Pool – 50) Java type [Ljava.lang.Character; (DFG=false, embedded=true)
      12:39:41,107 FINE [DataNucleus.Persistence] (ServerService Thread Pool – 50) Java type [Ljava.lang.Double; (DFG=false, embedded=true)
      12:39:41,107 FINE [DataNucleus.Persistence] (ServerService Thread Pool – 50) Java type [Ljava.lang.Float; (DFG=false, embedded=true)
      12:39:41,107 FINE [DataNucleus.Persistence] (ServerService Thread Pool – 50) Java type [Ljava.lang.Integer; (DFG=false, embedded=true)
      12:39:41,107 FINE [DataNucleus.Persistence] (ServerService Thread Pool – 50) Java type [Ljava.lang.Long; (DFG=false, embedded=true)
      12:39:41,107 FINE [DataNucleus.Persistence] (ServerService Thread Pool – 50) Java type [Ljava.lang.Short; (DFG=false, embedded=true)
      12:39:41,107 FINE [DataNucleus.Persistence] (ServerService Thread Pool – 50) Java type [Ljava.lang.Number; (DFG=false, embedded=true)
      12:39:41,107 FINE [DataNucleus.Persistence] (ServerService Thread Pool – 50) Java type [Ljava.lang.String; (DFG=false, embedded=true)
      12:39:41,108 FINE [DataNucleus.Persistence] (ServerService Thread Pool – 50) Java type [Ljava.math.BigInteger; (DFG=false, embedded=true)
      12:39:41,108 FINE [DataNucleus.Persistence] (ServerService Thread Pool – 50) Java type [Ljava.math.BigDecimal; (DFG=false, embedded=true)
      12:39:41,108 FINE [DataNucleus.Persistence] (ServerService Thread Pool – 50) Java type [Ljava.util.Date; (DFG=false, embedded=true)
      12:39:41,108 FINE [DataNucleus.Persistence] (ServerService Thread Pool – 50) Java type [Ljava.util.Locale; (DFG=false, embedded=true)
      12:39:41,109 FINE [DataNucleus.Persistence] (ServerService Thread Pool – 50) Java type [Ljava.lang.Enum; (DFG=false, embedded=true)
      12:39:41,109 FINE [DataNucleus.Persistence] (ServerService Thread Pool – 50) Java types support loaded
      12:39:41,109 FINE [DataNucleus.Persistence] (ServerService Thread Pool – 50) Type converter support initialising ...
      12:39:41,110 FINE [DataNucleus.Persistence] (ServerService Thread Pool – 50) Added converter for java.math.BigDecimal<->java.lang.String using org.datanucleus.store.types.converters.BigDecimalStringConverter
      12:39:41,110 FINE [DataNucleus.Persistence] (ServerService Thread Pool – 50) Added converter for java.math.BigInteger<->java.lang.String using org.datanucleus.store.types.converters.BigIntegerStringConverter
      12:39:41,111 FINE [DataNucleus.Persistence] (ServerService Thread Pool – 50) Added converter for java.util.BitSet<->java.lang.String using org.datanucleus.store.types.converters.BitSetStringConverter
      12:39:41,112 FINE [DataNucleus.Persistence] (ServerService Thread Pool – 50) Added converter for java.util.Calendar<->java.lang.String using org.datanucleus.store.types.converters.CalendarStringConverter
      12:39:41,112 FINE [DataNucleus.Persistence] (ServerService Thread Pool – 50) Added converter for java.lang.Class<->java.lang.String using org.datanucleus.store.types.converters.ClassStringConverter
      12:39:41,113 FINE [DataNucleus.Persistence] (ServerService Thread Pool – 50) Added converter for java.awt.Color<->java.lang.String using org.datanucleus.store.types.converters.ColorStringConverter
      12:39:41,114 FINE [DataNucleus.Persistence] (ServerService Thread Pool – 50) Added converter for java.util.Currency<->java.lang.String using org.datanucleus.store.types.converters.CurrencyStringConverter
      12:39:41,114 FINE [DataNucleus.Persistence] (ServerService Thread Pool – 50) Added converter for java.util.Date<->java.lang.Long using org.datanucleus.store.types.converters.DateLongConverter
      12:39:41,115 FINE [DataNucleus.Persistence] (ServerService Thread Pool – 50) Added converter for java.util.Date<->java.lang.String using org.datanucleus.store.types.converters.DateStringConverter
      12:39:41,116 FINE [DataNucleus.Persistence] (ServerService Thread Pool – 50) Added converter for java.util.Locale<->java.lang.String using org.datanucleus.store.types.converters.LocaleStringConverter
      12:39:41,117 FINE [DataNucleus.Persistence] (ServerService Thread Pool – 50) Added converter for java.sql.Date<->java.lang.Long using org.datanucleus.store.types.converters.SqlDateLongConverter
      12:39:41,117 FINE [DataNucleus.Persistence] (ServerService Thread Pool – 50) Added converter for java.sql.Date<->java.lang.String using org.datanucleus.store.types.converters.SqlDateStringConverter
      12:39:41,117 FINE [DataNucleus.Persistence] (ServerService Thread Pool – 50) Added converter for java.sql.Time<->java.lang.Long using org.datanucleus.store.types.converters.SqlTimeLongConverter
      12:39:41,118 FINE [DataNucleus.Persistence] (ServerService Thread Pool – 50) Added converter for java.sql.Time<->java.lang.String using org.datanucleus.store.types.converters.SqlTimeStringConverter
      12:39:41,118 FINE [DataNucleus.Persistence] (ServerService Thread Pool – 50) Added converter for java.sql.Timestamp<->java.lang.Long using org.datanucleus.store.types.converters.SqlTimestampLongConverter
      12:39:41,118 FINE [DataNucleus.Persistence] (ServerService Thread Pool – 50) Added converter for java.lang.StringBuffer<->java.lang.String using org.datanucleus.store.types.converters.StringBufferStringConverter
      12:39:41,119 FINE [DataNucleus.Persistence] (ServerService Thread Pool – 50) Added converter for java.util.TimeZone<->java.lang.String using org.datanucleus.store.types.converters.TimeZoneStringConverter
      12:39:41,119 FINE [DataNucleus.Persistence] (ServerService Thread Pool – 50) Added converter for java.net.URI<->java.lang.String using org.datanucleus.store.types.converters.URIStringConverter
      12:39:41,119 FINE [DataNucleus.Persistence] (ServerService Thread Pool – 50) Added converter for java.net.URL<->java.lang.String using org.datanucleus.store.types.converters.URLStringConverter
      12:39:41,120 FINE [DataNucleus.Persistence] (ServerService Thread Pool – 50) Added converter for java.util.UUID<->java.lang.String using org.datanucleus.store.types.converters.UUIDStringConverter
      12:39:41,120 FINE [DataNucleus.Persistence] (ServerService Thread Pool – 50) TypeConverter for javax.time.calendar.LocalDate<->java.lang.String ignored since java type not present in CLASSPATH
      12:39:41,121 FINE [DataNucleus.Persistence] (ServerService Thread Pool – 50) TypeConverter for javax.time.calendar.LocalTime<->java.lang.String ignored since java type not present in CLASSPATH
      12:39:41,121 FINE [DataNucleus.Persistence] (ServerService Thread Pool – 50) TypeConverter for javax.time.calendar.LocalTime<->java.lang.Long ignored since java type not present in CLASSPATH
      12:39:41,122 FINE [DataNucleus.Persistence] (ServerService Thread Pool – 50) TypeConverter for javax.time.calendar.LocalDateTime<->java.lang.String ignored since java type not present in CLASSPATH
      12:39:41,310 FINE [DataNucleus.Persistence] (ServerService Thread Pool – 50) Added converter for java.io.Serializable<->java.lang.String using org.datanucleus.store.types.converters.SerializableStringConverter
      12:39:41,311 FINE [DataNucleus.Persistence] (ServerService Thread Pool – 50) Added converter for java.io.Serializable<->[B using org.datanucleus.store.types.converters.SerializableByteArrayConverter
      12:39:41,311 FINE [DataNucleus.Persistence] (ServerService Thread Pool – 50) Type converter support loaded
      12:39:41,440 FINEST [org.mariadb.jdbc.Driver] (ServerService Thread Pool – 50) Connecting to: jdbc:mysql://localhost:3306/simple
      12:39:41,471 INFO [org.mariadb.jdbc.CommonDatabaseMetaData] (ServerService Thread Pool – 50) getting empty result set, type info
      12:39:41,489 SEVERE [DataNucleus.Datastore.Schema] (ServerService Thread Pool – 50) Failed initialising database.: org.datanucleus.exceptions.NucleusException: The java type java.lang.Integer (jdbc-type="", sql-type="") cant be mapped for this datastore. No mapping is available.
      at org.datanucleus.store.rdbms.mapping.RDBMSMappingManager.getDatastoreMappingClass(RDBMSMappingManager.java:434)
      at org.datanucleus.store.rdbms.mapping.RDBMSMappingManager.createDatastoreMapping(RDBMSMappingManager.java:576)
      at org.datanucleus.store.rdbms.table.ProbeTable.initialize(ProbeTable.java:67)
      at org.datanucleus.store.rdbms.RDBMSStoreManager.initialiseSchema(RDBMSStoreManager.java:659)
      at org.datanucleus.store.rdbms.RDBMSStoreManager.<init>(RDBMSStoreManager.java:342)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [rt.jar:1.7.0_09]
      at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) [rt.jar:1.7.0_09]
      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) [rt.jar:1.7.0_09]
      at java.lang.reflect.Constructor.newInstance(Constructor.java:525) [rt.jar:1.7.0_09]
      at org.datanucleus.plugin.NonManagedPluginRegistry.createExecutableExtension(NonManagedPluginRegistry.java:681)
      at org.datanucleus.plugin.PluginManager.createExecutableExtension(PluginManager.java:301)
      at org.datanucleus.NucleusContext.createStoreManagerForProperties(NucleusContext.java:708)
      at org.datanucleus.NucleusContext.initialise(NucleusContext.java:520)
      at org.datanucleus.api.jpa.JPAEntityManagerFactory.initialiseNucleusContext(JPAEntityManagerFactory.java:781)
      at org.datanucleus.api.jpa.JPAEntityManagerFactory.<init>(JPAEntityManagerFactory.java:285)
      at org.datanucleus.api.jpa.PersistenceProviderImpl.createContainerEntityManagerFactory(PersistenceProviderImpl.java:63)
      at org.jboss.as.jpa.service.PersistenceUnitServiceImpl.createContainerEntityManagerFactory(PersistenceUnitServiceImpl.java:200) [jboss-as-jpa-7.2.0.Alpha1-SNAPSHOT.jar:7.2.0.Alpha1-SNAPSHOT]
      at org.jboss.as.jpa.service.PersistenceUnitServiceImpl.access$600(PersistenceUnitServiceImpl.java:57) [jboss-as-jpa-7.2.0.Alpha1-SNAPSHOT.jar:7.2.0.Alpha1-SNAPSHOT]
      at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1.run(PersistenceUnitServiceImpl.java:99) [jboss-as-jpa-7.2.0.Alpha1-SNAPSHOT.jar:7.2.0.Alpha1-SNAPSHOT]
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [rt.jar:1.7.0_09]
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [rt.jar:1.7.0_09]
      at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_09]
      at org.jboss.threads.JBossThread.run(JBossThread.java:122) [jboss-threads-2.1.0.Final.jar:2.1.0.Final]

      12:39:41,509 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool – 50) MSC00001: Failed to start service jboss.persistenceunit."simple-jpa-0.0.1-SNAPSHOT.jar#BM": org.jboss.msc.service.StartException in service jboss.persistenceunit."simple-jpa-0.0.1-SNAPSHOT.jar#BM": org.datanucleus.exceptions.NucleusException: The java type java.lang.Integer (jdbc-type="", sql-type="") cant be mapped for this datastore. No mapping is available.
      at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1.run(PersistenceUnitServiceImpl.java:103) [jboss-as-jpa-7.2.0.Alpha1-SNAPSHOT.jar:7.2.0.Alpha1-SNAPSHOT]
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [rt.jar:1.7.0_09]
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [rt.jar:1.7.0_09]
      at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_09]
      at org.jboss.threads.JBossThread.run(JBossThread.java:122) [jboss-threads-2.1.0.Final.jar:2.1.0.Final]
      Caused by: org.datanucleus.exceptions.NucleusException: The java type java.lang.Integer (jdbc-type="", sql-type="") cant be mapped for this datastore. No mapping is available.
      at org.datanucleus.store.rdbms.mapping.RDBMSMappingManager.getDatastoreMappingClass(RDBMSMappingManager.java:434)
      at org.datanucleus.store.rdbms.mapping.RDBMSMappingManager.createDatastoreMapping(RDBMSMappingManager.java:576)
      at org.datanucleus.store.rdbms.table.ProbeTable.initialize(ProbeTable.java:67)
      at org.datanucleus.store.rdbms.RDBMSStoreManager.initialiseSchema(RDBMSStoreManager.java:659)
      at org.datanucleus.store.rdbms.RDBMSStoreManager.<init>(RDBMSStoreManager.java:342)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [rt.jar:1.7.0_09]
      at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) [rt.jar:1.7.0_09]
      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) [rt.jar:1.7.0_09]
      at java.lang.reflect.Constructor.newInstance(Constructor.java:525) [rt.jar:1.7.0_09]
      at org.datanucleus.plugin.NonManagedPluginRegistry.createExecutableExtension(NonManagedPluginRegistry.java:681)
      at org.datanucleus.plugin.PluginManager.createExecutableExtension(PluginManager.java:301)
      at org.datanucleus.NucleusContext.createStoreManagerForProperties(NucleusContext.java:708)
      at org.datanucleus.NucleusContext.initialise(NucleusContext.java:520)
      at org.datanucleus.api.jpa.JPAEntityManagerFactory.initialiseNucleusContext(JPAEntityManagerFactory.java:781)
      at org.datanucleus.api.jpa.JPAEntityManagerFactory.<init>(JPAEntityManagerFactory.java:285)
      at org.datanucleus.api.jpa.PersistenceProviderImpl.createContainerEntityManagerFactory(PersistenceProviderImpl.java:63)
      at org.jboss.as.jpa.service.PersistenceUnitServiceImpl.createContainerEntityManagerFactory(PersistenceUnitServiceImpl.java:200) [jboss-as-jpa-7.2.0.Alpha1-SNAPSHOT.jar:7.2.0.Alpha1-SNAPSHOT]
      at org.jboss.as.jpa.service.PersistenceUnitServiceImpl.access$600(PersistenceUnitServiceImpl.java:57) [jboss-as-jpa-7.2.0.Alpha1-SNAPSHOT.jar:7.2.0.Alpha1-SNAPSHOT]
      at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1.run(PersistenceUnitServiceImpl.java:99) [jboss-as-jpa-7.2.0.Alpha1-SNAPSHOT.jar:7.2.0.Alpha1-SNAPSHOT]
      ... 4 more

      12:39:41,755 INFO [org.jboss.as.server] (ServerService Thread Pool – 28) JBAS018559: Deployed "simple-jpa-0.0.1-SNAPSHOT.jar" (runtime-name : "simple-jpa-0.0.1-SNAPSHOT.jar")
      12:39:41,756 INFO [org.jboss.as.controller] (Controller Boot Thread) JBAS014774: Service status report
      JBAS014777: Services which failed to start: service jboss.persistenceunit."simple-jpa-0.0.1-SNAPSHOT.jar#BM": org.jboss.msc.service.StartException in service jboss.persistenceunit."simple-jpa-0.0.1-SNAPSHOT.jar#BM": org.datanucleus.exceptions.NucleusException: The java type java.lang.Integer (jdbc-type="", sql-type="") cant be mapped for this datastore. No mapping is available.

      12:39:41,856 INFO [org.jboss.as] (Controller Boot Thread) JBAS015961: Http management interface listening on http://127.0.0.1:9990/management
      12:39:41,857 INFO [org.jboss.as] (Controller Boot Thread) JBAS015951: Admin console listening on http://127.0.0.1:9990
      12:39:41,858 ERROR [org.jboss.as] (Controller Boot Thread) JBAS015875: JBoss AS 7.2.0.Alpha1-SNAPSHOT "Steropes" started (with errors) in 2698ms - Started 141 of 201 services (2 services failed or missing dependencies, 55 services are passive or on-demand)

        Attachments

          Activity

            People

            Assignee:
            wlad Vladislav Vaintroub
            Reporter:
            baboune Nicolas Seyvet (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.