ChemAxon e274e1bada
23-07-2007 15:25:00
From Dr. Don Parkin
Hi,
1. I think I have set everything up for Jchem and the cartridge with Oracle 9i
(9.2.0.10) and Tomcat 6.0 as I can start JChemManager and create a
table and even import an sdf file.
However, when I try and 'Configure Jchem Cartridge for Oracle…' using
localhost/jchemstreams/ and fill in the connection properties the same as
for jcman then I get an error message when I 'test the connection'.
Connection failed:
java.sql.SQLException: invalid arguments in call at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java) at oracle.jdbc.dbaccess.DBError.check_error(DBError.java) at oracle.jdbc.ttc7.TTC7Protocol.logon(TTC7Protocol.java) at oracle.jdbc.driver.OracleConnection.(OracleConnection.java) at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java) at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java) at java.sql.DriverManager.getConnection(DriverManager.java:582) at…... etc
I'm using:
Driver oracle.jdbc.driver.OracleDriver
URL: jdbc:oracle:thin:@localhost:1521:mydb
2. When I try the examples, I can search a simple_db search database that I have
set up but it only displays the number of hits and pages - no structures.
The source code at the end says:
<p>SQL error
<p>SQLState: 42000<br>
Message: ORA-00936: missing expression
<br>
Vendor: 936<br>
This error message is not displayed.
For the db_search example, the initsearch page displays the error message:
SQL error
SQLState: null
Message: Cannot handle type in field "cd_structure": oracle.sql.BLOB
Vendor: 0
What am I doing wrong?
Hi,
1. I think I have set everything up for Jchem and the cartridge with Oracle 9i
(9.2.0.10) and Tomcat 6.0 as I can start JChemManager and create a
table and even import an sdf file.
However, when I try and 'Configure Jchem Cartridge for Oracle…' using
localhost/jchemstreams/ and fill in the connection properties the same as
for jcman then I get an error message when I 'test the connection'.
Connection failed:
java.sql.SQLException: invalid arguments in call at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java) at oracle.jdbc.dbaccess.DBError.check_error(DBError.java) at oracle.jdbc.ttc7.TTC7Protocol.logon(TTC7Protocol.java) at oracle.jdbc.driver.OracleConnection.(OracleConnection.java) at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java) at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java) at java.sql.DriverManager.getConnection(DriverManager.java:582) at…... etc
I'm using:
Driver oracle.jdbc.driver.OracleDriver
URL: jdbc:oracle:thin:@localhost:1521:mydb
2. When I try the examples, I can search a simple_db search database that I have
set up but it only displays the number of hits and pages - no structures.
The source code at the end says:
<p>SQL error
<p>SQLState: 42000<br>
Message: ORA-00936: missing expression
<br>
Vendor: 936<br>
This error message is not displayed.
For the db_search example, the initsearch page displays the error message:
SQL error
SQLState: null
Message: Cannot handle type in field "cd_structure": oracle.sql.BLOB
Vendor: 0
What am I doing wrong?