java - JWPL exception in accessing Wikipedia -


i testing jwpl api hello world example listed in tutorials:

https://code.google.com/p/jwpl/source/browse/trunk/de.tudarmstadt.ukp.wikipedia.api/src/main/java/de/tudarmstadt/ukp/wikipedia/api/tutorial/t1a_helloworld.java

but receiving following mysql connection exception:

02:11:31,057 info abstractpoolbackeddatasource:462 - initializing c3p0 pool... com.mchange.v2.c3p0.poolbackeddatasource@f56923d7 [ connectionpooldatasource -> com.mchange.v2.c3p0.wrapperconnectionpooldatasource@76380f40 [ acquireincrement -> 3, acquireretryattempts -> 30, acquireretrydelay -> 1000, autocommitonclose -> false, automatictesttable -> null, breakafteracquirefailure -> false, checkouttimeout -> 0, connectioncustomizerclassname -> null,

i have mysql 5.6.24 installed, , it's running correctly. before run tutorials, have create tables in mysql run these examples?

edit clarity: the last packet sent server 0 milliseconds ago. driver has not received packets server. @ sun.reflect.generatedconstructoraccessor6.newinstance(unknown source) @ sun.reflect.delegatingconstructoraccessorimpl.newinstance(delegatingconstructoraccessorimpl.java:45) @ java.lang.reflect.constructor.newinstance(constructor.java:526) @ com.mysql.jdbc.util.handlenewinstance(util.java:411) @ com.mysql.jdbc.sqlerror.createcommunicationsexception(sqlerror.java:1117) @ com.mysql.jdbc.mysqlio.<init>(mysqlio.java:350) @ com.mysql.jdbc.connectionimpl.coreconnect(connectionimpl.java:2393) @ com.mysql.jdbc.connectionimpl.connectonetryonly(connectionimpl.java:2430) @ com.mysql.jdbc.connectionimpl.createnewio(connectionimpl.java:2215) @ com.mysql.jdbc.connectionimpl.<init>(connectionimpl.java:813) @ com.mysql.jdbc.jdbc4connection.<init>(jdbc4connection.java:47) @ sun.reflect.generatedconstructoraccessor9.newinstance(unknown source) @ sun.reflect.delegatingconstructoraccessorimpl.newinstance(delegatingconstructoraccessorimpl.java:45)

your question unclear steps followed. step mention making mysql run. data querying, then??

the jwpl documentation total mess, seems page instructions: https://code.google.com/p/jwpl/wiki/datamachine have import wikipedia data (or other mediawiki wiki dump, hope) , yes, includes creating tables.


Comments

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

php - .htaccess mod_rewrite for dynamic url which has domain names -

Website Login Issue developed in magento -