"More properties needed to make the connection"

21-02-2005 07:20:41

Hello Support,





A quick question for you please. I want to run jcman at command line and when I attempt to run the following syntax I get the message


"More properties needed to make the connection"





./jcman c test -l "user" -p "pass"





Not sure if this is related to the environment variables or the syntax used - please advise?

ChemAxon 9c0afc9aaf

21-02-2005 07:27:45

Hi,





Please use jcman --help to see the list of available options.





Code:



Options (general):


-h --help                  this help message


   --driver <JDBC driver>  the JDBC driver to use


   --dburl <url>           the database URL to connect


   --proptable <table>     the name of property table


-l --login <login>         login name


-p --password <password>   password


-s --saveconf              save settings into ~/.jchem


"C:\Documents and Settings\dorant\chemaxon\.jchem"








As you see you must specify the driver, the url, the property table and the login name / password.





If you also use --saveconf, jcman will save the connection properties, so next time you won't have to specify any of them.





If can conect with the GUI and exit in a normal fashion, the connection properties are also saved.





Szilard

ChemAxon 9c0afc9aaf

21-02-2005 14:28:56

PS:





Please also see some examples of the correct url formats and driver names:





http://www.jchem.com/FAQ.html#dburl





You must also be sure that the appropriate JDBC driver is in your system CLASSPATH.





Szilard