2 Replies Latest reply on Jun 3, 2012 2:25 AM by Victor Chen

    Jboss as 7 set up database pool limit problem

    Victor Chen Newbie

      I have a problem that I spent a long time can not be resolved.

       

      I want to set up database pool limit but after I set then run Jboss which will show the error message to me. I found a lot of informations about this, but still can not resolved it, hope somebody can help me.

      Thank you~

       

      WARN  [org.jboss.jca.core.connectionmanager.pool.strategy.OnePool]

      (JCA PoolFiller) IJ000610: Unable to fill pool: javax.resource.ResourceException

      : Could not create connection

              at org.jboss.jca.adapters.jdbc.local.LocalManagedConnectionFactory.getLo

      calManagedConnection(LocalManagedConnectionFactory.java:277)

              at org.jboss.jca.adapters.jdbc.local.LocalManagedConnectionFactory.creat

      eManagedConnection(LocalManagedConnectionFactory.java:235)

              at org.jboss.jca.core.connectionmanager.pool.mcp.SemaphoreArrayListManag

      edConnectionPool.createConnectionEventListener(SemaphoreArrayListManagedConnecti

      onPool.java:761) [ironjacamar-core-impl-1.0.9.Final.jar:1.0.9.Final]

              at org.jboss.jca.core.connectionmanager.pool.mcp.SemaphoreArrayListManag

      edConnectionPool.fillToMin(SemaphoreArrayListManagedConnectionPool.java:706) [ir

      onjacamar-core-impl-1.0.9.Final.jar:1.0.9.Final]

              at org.jboss.jca.core.connectionmanager.pool.mcp.PoolFiller.run(PoolFill

      er.java:97) [ironjacamar-core-impl-1.0.9.Final.jar:1.0.9.Final]

              at java.lang.Thread.run(Unknown Source) [rt.jar:1.6.0_31]

      Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown ch

      aracter set: 'utf8mb4'

              at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

      [rt.jar:1.6.0_31]

              at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

      [rt.jar:1.6.0_31]

              at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Sou

      rce) [rt.jar:1.6.0_31]

              at java.lang.reflect.Constructor.newInstance(Unknown Source) [rt.jar:1.6

      .0_31]

              at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)

              at com.mysql.jdbc.Util.getInstance(Util.java:386)

              at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1052)

              at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3609)

              at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3541)

              at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2002)

              at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2163)

              at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2618)

              at com.mysql.jdbc.ConnectionImpl.configureClientCharacterSet(ConnectionI

      mpl.java:1880)

              at com.mysql.jdbc.ConnectionImpl.initializePropsFromServer(ConnectionImp

      l.java:3499)

              at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2

      384)

              at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2153)

              at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:792)

              at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:47)

              at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

      [rt.jar:1.6.0_31]

              at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

      [rt.jar:1.6.0_31]

              at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Sou

      rce) [rt.jar:1.6.0_31]

              at java.lang.reflect.Constructor.newInstance(Unknown Source) [rt.jar:1.6

      .0_31]

              at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)

              at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:381)

              at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java

      :305)

              at org.jboss.jca.adapters.jdbc.local.LocalManagedConnectionFactory.getLo

      calManagedConnection(LocalManagedConnectionFactory.java:249)

              ... 5 more