java - Unable to fill pool: when starting jboss application -
my project jboss project based on spring mvc. when run app following error:
unable fill pool
datasource configuration
<!-- jndi setup --> <bean id="datasource" class="org.springframework.jndi.jndiobjectfactorybean"> <property name="jndiname"> <value>java:jboss/datasources/ssdiaryds</value> </property> </bean>
mysql mapping in jboss standalone.xml
<datasource jndi-name="java:jboss/datasources/ssdiaryds" pool-name="ssdiarydspool"> <connection-url>jdbc:mysql://localhost:3306/schooldairy</connection-url> <driver>com.mysql</driver> <transaction-isolation>transaction_read_committed</transaction-isolation> <pool> <min-pool-size>10</min-pool-size> <max-pool-size>100</max-pool-size> <prefill>true</prefill> </pool> <security> <user-name>root</user-name> <password>password</password> </security> <statement> <prepared-statement-cache-size>32</prepared-statement-cache-size> <share-prepared-statements>true</share-prepared-statements> </statement> </datasource>
Comments
Post a Comment