Importing structures using jcman from command line

User 0b9f41d1f6

17-08-2005 15:17:15

We used the following syntax to import structures from an sd file into a table and wanted to output the duplicate structures to a file.





./jcman a TEST test.sdf --connect "P_NUMBER=P_NUMBER" --duplicates --output dup_result.log -l jpp -p jpp --driver oracle.jdbc.driver.OracleDriver --dburl jdbc:oracle:thin:@111.18.15.234:1521:DB --proptable JchemProperties





The file test.sdf is in the same directory from where we run jcman.





We are logged in as the owner of the file. We get the following error.





Collecting file information ...


Done.


Importing structures from test.sdf ...


File test.sdf not found





We would like to know if we are missing something.

ChemAxon 9c0afc9aaf

18-08-2005 11:14:17

Hi,





After analyzing the code, I have found out that this must be a misleading error message.





The attempted write of the output file resulted in a FileNotFoundException, and our code has falsely assumed that it it was because of the input file.





Please make sure you have the right to create the output file in this particular directory.





The misleading error message will be fixed in future JChem versions.


Thank you for reporting this issue.





Best regards,





Szilard

User 0b9f41d1f6

19-08-2005 15:44:35

Thanks. Now it works