User 104a68add6
11-10-2005 20:35:32
System:
Oracle9i Enterprise Edition Release 9.2.0.6.0
Red Hat Linux 7.3 2.96-110
JChem v3.1.1 (upgrade from 3.0.13)
I'd like to reference user prous, and their topic "Error updating structures table"
I have a similar setup: I have a user JCHEM, in the oracle database,
which is the owner of all JChem objects, structure table and property table.
This user JCHEM does all maintenance on the tables he owns, in his schema, JCHEM....so I don't have the same permission problem on the sequence that user prous had.
I used jcman to regenerate the structure table, after installing jchem3.1.1, and when it finished, a window popped up with the message:
SQL Warning
SQL State:42000
Message ORA-00942: table or view does not exist
Vendor: 942
Some background:
Like user prous, I also have a java application which maintains the structure table. It's kicked off with a shell script on the Linux box. It updates the JCHEM.STRUCTURE table when we add a new structure to
an MDL database, external to JCHEM.
To test whether a JChem upgrade, and the subsequent regeneration works, I usually delete a few structures from the existing JCHEM.STRUCTURE table, start the script that runs the java, and those deleted structures are found in the MDL database and added back to the
JCHEM.STRUCTURE table.
Back to the error:
I checked after the upgrade, and noticed no missing tables...I deleted a few structures from JCHEM.STRUCTURE, and ran my script, to see if that might shed more light on this error message. As with user prous, the deleted structures were imported correctly into the JCHEM.STRUCTURE table, but I got another ORA-000942:
java.sql.SQLException: ORA-00942: table or view does not exist
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:289)
at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:573)
at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1891)
at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:1093)
at oracle.jdbc.driver.OracleStatement.executeNonQuery(OracleStatement.java:2047)
at oracle.jdbc.driver.OracleStatement.doExecuteOther(OracleStatement.java:1940)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2709)
at oracle.jdbc.driver.OracleStatement.execute(OracleStatement.java:854)
at chemaxon.jchem.db.UpdateHandler.storeUpdate(UpdateHandler.java:1795)
at chemaxon.jchem.db.UpdateHandler.saveUpdateAndGetUpdateCounter(UpdateHandler.java:1784)
at chemaxon.jchem.db.UpdateHandler.close(UpdateHandler.java:1753)
at chemaxon.jchem.db.FileToSQLHandler.importFile(FileToSQLHandler.java:317)
at chemaxon.jchem.db.Importer.importMols(Importer.java:423)
at com.ctiseattle.data.tools.impexp.structure.MolImporter.execute(Unknown Source)
at com.ctiseattle.data.tools.impexp.structure.MolImporter.main(Unknown Source)
import failed: ORA-00942: table or view does not exist
0 structure(s) imported
There were actually 4 structures imported back into the table.
What is happening here? I'm unable to locate any error. Any help would be appreciated!
Thanks!
Oracle9i Enterprise Edition Release 9.2.0.6.0
Red Hat Linux 7.3 2.96-110
JChem v3.1.1 (upgrade from 3.0.13)
I'd like to reference user prous, and their topic "Error updating structures table"
I have a similar setup: I have a user JCHEM, in the oracle database,
which is the owner of all JChem objects, structure table and property table.
This user JCHEM does all maintenance on the tables he owns, in his schema, JCHEM....so I don't have the same permission problem on the sequence that user prous had.
I used jcman to regenerate the structure table, after installing jchem3.1.1, and when it finished, a window popped up with the message:
SQL Warning
SQL State:42000
Message ORA-00942: table or view does not exist
Vendor: 942
Some background:
Like user prous, I also have a java application which maintains the structure table. It's kicked off with a shell script on the Linux box. It updates the JCHEM.STRUCTURE table when we add a new structure to
an MDL database, external to JCHEM.
To test whether a JChem upgrade, and the subsequent regeneration works, I usually delete a few structures from the existing JCHEM.STRUCTURE table, start the script that runs the java, and those deleted structures are found in the MDL database and added back to the
JCHEM.STRUCTURE table.
Back to the error:
I checked after the upgrade, and noticed no missing tables...I deleted a few structures from JCHEM.STRUCTURE, and ran my script, to see if that might shed more light on this error message. As with user prous, the deleted structures were imported correctly into the JCHEM.STRUCTURE table, but I got another ORA-000942:
java.sql.SQLException: ORA-00942: table or view does not exist
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:289)
at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:573)
at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1891)
at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:1093)
at oracle.jdbc.driver.OracleStatement.executeNonQuery(OracleStatement.java:2047)
at oracle.jdbc.driver.OracleStatement.doExecuteOther(OracleStatement.java:1940)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2709)
at oracle.jdbc.driver.OracleStatement.execute(OracleStatement.java:854)
at chemaxon.jchem.db.UpdateHandler.storeUpdate(UpdateHandler.java:1795)
at chemaxon.jchem.db.UpdateHandler.saveUpdateAndGetUpdateCounter(UpdateHandler.java:1784)
at chemaxon.jchem.db.UpdateHandler.close(UpdateHandler.java:1753)
at chemaxon.jchem.db.FileToSQLHandler.importFile(FileToSQLHandler.java:317)
at chemaxon.jchem.db.Importer.importMols(Importer.java:423)
at com.ctiseattle.data.tools.impexp.structure.MolImporter.execute(Unknown Source)
at com.ctiseattle.data.tools.impexp.structure.MolImporter.main(Unknown Source)
import failed: ORA-00942: table or view does not exist
0 structure(s) imported
There were actually 4 structures imported back into the table.
What is happening here? I'm unable to locate any error. Any help would be appreciated!
Thanks!