Hi Douglas,
I did a test with the same config that you sent me. It works perfectly in my
computer.
Attached you can find my log.
Could you send me your log, please?
Are you using windows or linux?
What java version do you have installed?
Paste the output of your terminal here liker this:
perseo:config> java -jar ~/.m2/repository/org/jbiowh-parser/6.1.1/jbiowh-
parser-6.1.1-jar-with-dependencies.jar -i drugbank-config.xml
INFO [main] 2014-10-24 18:35:14,944 - Setting variables from the XML file
INFO [main] 2014-10-24 18:35:14,952 - OpeningWhich JPA connection to:
INFO [main] 2014-10-24 18:35:14,952 - Driver: com.mysql.jdbc.Driver
INFO [main] 2014-10-24 18:35:14,952 - URL:
jdbc:mysql://localhost:3306/jbiowh
INFO [main] 2014-10-24 18:35:14,952 - User: root
INFO [main] 2014-10-24 18:35:14,952 - Adding the WHDBMSFactory to the Map
INFO [main] 2014-10-24 18:35:17,492 - Open EntityManagerFactory:
org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl@7bdb4020
INFO [main] 2014-10-24 18:35:17,499 - Parsing a DrugBank data source
INFO [Thread-0] 2014-10-24 18:35:19,160 - JPA Check: 2014/10/24 18:35:19
message: connection OK
INFO [main] 2014-10-24 18:35:19,172 - DataSet: DrugBank is inserted with
WID = 1
INFO [main] 2014-10-24 18:35:19,177 - Global WID = 1152566
INFO [main] 2014-10-24 18:35:19,179 - Creating the Parser files factory
INFO [main] 2014-10-24 18:35:19,179 - Creating file: DrugBank.tsv
INFO [main] 2014-10-24 18:35:19,179 - Creating file:
DrugBank_has_DrugBankCategory.tsv
INFO [main] 2014-10-24 18:35:19,180 - Creating file:
DrugBank_has_DrugBankPatent.tsv
INFO [main] 2014-10-24 18:35:19,180 - Creating file:
DrugBankAffectedOrganism.tsvperseo:config> java -jar
~/.m2/repository/org/jbiowh-parser/6.1.1/jbiowh-parser-6.1.1-jar-with-
dependencies.jar -i drugbank-config.xml
INFO [main] 2014-10-24 18:35:14,944 - Setting variables from the XML file
INFO [main] 2014-10-24 18:35:14,952 - Opening JPA connection to:
INFO [main] 2014-10-24 18:35:14,952 - Driver: com.mysql.jdbc.Driver
INFO [main] 2014-10-24 18:35:14,952 - URL:
jdbc:mysql://localhost:3306/jbiowh
INFO [main] 2014-10-24 18:35:14,952 - User: root
INFO [main] 2014-10-24 18:35:14,952 - Adding the WHDBMSFactory to the Map
INFO [main] 2014-10-24 18:35:17,492 - Open EntityManagerFactory:
org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl@7bdb4020
INFO [main] 2014-10-24 18:35:17,499 - Parsing a DrugBank data source
INFO [Thread-0] 2014-10-24 18:35:19,160 - JPA Check: 2014/10/24 18:35:19
message: connection OK
INFO [main] 2014-10-24 18:35:19,172 - DataSet: DrugBank is inserted with
WID = 1
INFO [main] 2014-10-24 18:35:19,177 - Global WID = 1152566
INFO [main] 2014-10-24 18:35:19,179 - Creating the Parser files factory
INFO [main] 2014-10-24 18:35:19,179 - Creating file: DrugBank.tsv
INFO [main] 2014-10-24 18:35:19,179 - Creating file:
DrugBank_has_DrugBankCategory.tsv
INFO [main] 2014-10-24 18:35:19,180 - Creating file:
DrugBank_has_DrugBankPatent.tsv
INFO [main] 2014-10-24 18:35:19,180 - Creating file:
DrugBankAffectedOrganism.tsv
Regards,
Roberto.
On Friday, October 24, 2014 09:20:04 AM Douglas Myers-Turnbull wrote:
> Hi Roberto,
>
> Thanks for the reply.
>
> The connection URI I'm using is: jdbc:mysql://localhost:3306/
> The XML is below. I assume it's supposed to be loaded at runtime--where
> should I put it, and what should it be named?
>
> JBioWH is all I have on this MySQL instance.
>
> <warehouse>
> <name>DrugBank</name>
> <type>DrugBank</type>
> <version>4.1</version>
> <homeurl>
http://drugbank.ca</homeurl>
> <releaseDate>10/23/2014</releaseDate>
> <database>jbiowh</database>
> <directory>drugbank</directory>
> <temporal>/tmp</temporal>
> <driver>com.mysql.jdbc.Driver</driver>
> <url>jdbc:mysql://localhost:3306/</url>
> <xsdfiledef></xsdfiledef>
> <verbose>info</verbose>
> <droptables>true</droptables>
> <runlinks>true</runlinks>perseo:config> java -jar
~/.m2/repository/org/jbiowh-parser/6.1.1/jbiowh-parser-6.1.1-jar-with-
dependencies.jar -i drugbank-config.xml
INFO [main] 2014-10-24 18:31:21,335 - Setting variables from the XML file
INFO [main] 2014-10-24 18:31:21,343 - Opening JPA connection to:
INFO [main] 2014-10-24 18:31:21,343 - Driver: com.mysql.jdbc.Driver
INFO [main] 2014-10-24 18:31:21,343 - URL:
jdbc:mysql://localhost:3306/jbiowh
INFO [main] 2014-10-24 18:31:21,343 - User: root
INFO [main] 2014-10-24 18:31:21,343 - Adding the WHDBMSFactory to the Map
INFO [main] 2014-10-24 18:31:23,745 - Open EntityManagerFactory:
org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl@774f3466
INFO [main] 2014-10-24 18:31:23,751 - Parsing a DrugBank data source
INFO [main] 2014-10-24 18:31:25,718 - Inserting DataSet: DrugBank with WID
= 1