User 77bcbbb206
26-08-2005 21:40:14
Hi,
Windows 2000
Tomcat 4.1
JChem 3.1.0
Oracle 9.2.0.5.0
j2sdk1.4.2_09
I'm having a problem installing JChem 3.1.0. The installation notes on the chemaxon web site seems to be a bit either out of date, incomplete, or wrong with regards to Windows OS.
I've been attempting an upgrade from JChem 3.0.8 to 3.1.0. I'm working on a development server, however, so I've dropped the schema completely and am attempting to make clean install.
I downloaded the jchem zip file ("jchem3.1.0.zip") and placed it's contents into my c:\jchem folder.
I shutdown Tomcat.
I then copied my "batik-core.jar", "chart.jar", "dom4j.jar", "jchem.jar", "jogl.jar", "ojdbc14.jar" files into my c:\Tomcat 4.1\shared\lib directory.
I then copied my "jchemstreams.war" file into my c:\Tomcat 4.1\webapps directory.
After restarting Tomcat I granted the connect privs to my newly re-created schema user (JCHEM).
The chemaxon documentation says:
"call dbms_java.grant_permission( 'JCHEM', 'SYS:java.net.SocketPermission', '127.0.0.1:8080', 'connect,resolve' )"
but I think with windows you need:
"call dbms_java.grant_permission( 'JCHEM', 'SYS:java.net.SocketPermission', 'localhost', 'resolve' );"
or
"call dbms_java.grant_permission( 'JCHEM', 'SYS:java.net.SocketPermission', 'localhost:8080', 'connect,resolve' );".
The chemaxon documentation then says to set the env variable ORA_HOME=c:\oracle\ora92 but when I do this and attempt to "install jchem/jchem" I get the error message "The ORACLE_HOME variable is not set"? I then set the ORACLE_HOME variable and the install seems to take.
I get about 3/4 of the way done and then I get total install failure. Here is the output:
C:\Documents and Settings\jmoeder>cd c:\jchem\cartridge
C:\JChem\cartridge>install jchem/jchem
ORACLE_HOME is not set.
C:\JChem\cartridge>set ORACLE_HOME=c:\oracle\ora92
C:\JChem\cartridge>install jchem/jchem
Loading Java classes into Oracle Server
This process can take several minutes
C:\JChem\cartridge>call c:\oracle\ora92\bin\loadjava.bat -force -user "jchem/jchem" ..\lib\dom4j.jar
C:\JChem\cartridge>call c:\oracle\ora92\bin\loadjava.bat -force -user "jchem/jchem" ..\lib\jchem.jar
Hard-wire the name of the JChem owner's schema into the the jchem_core_pkg...
C:\JChem\cartridge>"C:\j2sdk1.4.2_08\bin\java.exe" -cp ../lib/jchem.jar chemaxon.jchem.cartridge.ChUrl prepare-sqlscript jchem/jchem jchem_cart.sql
C:\JChem\cartridge>call c:\oracle\ora92\bin\sqlplus "jchem/jchem" @jchem_cart.sql_
SQL*Plus: Release 9.2.0.5.0 - Production on Fri Aug 26 12:15:29 2005
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
Connected to:
Oracle9i Enterprise Edition Release 9.2.0.5.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.5.0 - Production
Type created.
Type created.
Type created.
Type created.
Type created.
No errors.
Package created.
No errors.
Package created.
No errors.
Package created.
No errors.
Package created.
No errors.
Package body created.
No errors.
Package body created.
No errors.
Type created.
No errors.
Type body created.
No errors.
Function created.
No errors.
Function created.
No errors.
Function created.
No errors.
Function created.
No errors.
Function created.
No errors.
Function created.
No errors.
Function created.
No errors.
Function created.
No errors.
Function created.
No errors.
Function created.
No errors.
Function created.
No errors.
Function created.
No errors.
Function created.
No errors.
Function created.
No errors.
Function created.
No errors.
Function created.
No errors.
Function created.
No errors.
Function created.
No errors.
Function created.
No errors.
Function created.
No errors.
Procedure created.
No errors.
Procedure created.
No errors.
Procedure created.
No errors.
Function created.
No errors.
Operator created.
Operator created.
Operator created.
Operator created.
Operator created.
Operator created.
Operator created.
Operator created.
Operator created.
Operator created.
Operator created.
Operator created.
Operator created.
Operator created.
Operator created.
Operator created.
Operator created.
Operator created.
Operator created.
Function created.
No errors.
Function created.
No errors.
Function created.
No errors.
Function created.
No errors.
Function created.
No errors.
Function created.
No errors.
Function created.
No errors.
Function created.
No errors.
Function created.
No errors.
Function created.
No errors.
Function created.
No errors.
Function created.
No errors.
Function created.
No errors.
Function created.
No errors.
Procedure created.
No errors.
Function created.
No errors.
Operator created.
Operator created.
Operator created.
Operator created.
Operator created.
Operator created.
Operator created.
Operator created.
Operator created.
Operator created.
Operator created.
Operator created.
Operator created.
Call completed.
Indextype created.
Function created.
No errors.
Function created.
No errors.
Function created.
No errors.
Function created.
No errors.
Function created.
No errors.
Function created.
No errors.
Function created.
No errors.
Function created.
No errors.
Function created.
No errors.
Function created.
No errors.
Function created.
No errors.
Function created.
No errors.
Function created.
No errors.
Function created.
No errors.
Function created.
No errors.
Function created.
No errors.
Function created.
No errors.
Function created.
No errors.
Function created.
No errors.
Function created.
No errors.
Function created.
No errors.
Function created.
No errors.
Function created.
No errors.
Function created.
No errors.
Function created.
No errors.
Function created.
No errors.
Function created.
No errors.
Function created.
No errors.
Disconnected from Oracle9i Enterprise Edition Release 9.2.0.5.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.5.0 - Production
C:\JChem\cartridge>call c:\oracle\ora92\bin\sqlplus "jchem/jchem" @jchem_util.sql
SQL*Plus: Release 9.2.0.5.0 - Production on Fri Aug 26 12:15:36 2005
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
Connected to:
Oracle9i Enterprise Edition Release 9.2.0.5.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.5.0 - Production
Package created.
No errors.
Package body created.
No errors.
Disconnected from Oracle9i Enterprise Edition Release 9.2.0.5.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.5.0 - Production
C:\JChem\cartridge>echo Create the SQL script used to register the JChem service URLs...
Create the SQL script used to register the JChem service URLs...
C:\JChem\cartridge>"C:\j2sdk1.4.2_08\bin\java.exe" -cp ../lib/jchem.jar chemaxon.jchem.cartridge.ChUrl register-urls jchem/jchem
java.lang.NullPointerException
at chemaxon.jchem.cartridge.ChUrl.createEndPointInstallScript(ChUrl.java:136)
at chemaxon.jchem.cartridge.ChUrl.main(ChUrl.java:168)
SQL*Plus: Release 9.2.0.5.0 - Production on Fri Aug 26 12:15:37 2005
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
Connected to:
Oracle9i Enterprise Edition Release 9.2.0.5.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.5.0 - Production
delete from jc_idx_property where prop_name like 'jchem.service.endPoint.url.%'
*
ERROR at line 1:
ORA-00980: synonym translation is no longer valid
SQL>
Now, just to ensure this was a failure, I attempt a "test jchem/jchem", which gives me this:
C:\JChem\cartridge>test jchem/jchem
SQL*Plus: Release 9.2.0.5.0 - Production on Fri Aug 26 12:29:28 2005
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
Connected to:
Oracle9i Enterprise Edition Release 9.2.0.5.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.5.0 - Production
select jchem_core_pkg.getenvironment() from dual
*
ERROR at line 1:
ORA-29532: Java call terminated by uncaught Java exception:
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
ORA-06512: at "JCHEM.JCHEM_CORE_PKG", line 0
ORA-06512: at "JCHEM.JCHEM_CORE_PKG", line 84
Disconnected from Oracle9i Enterprise Edition Release 9.2.0.5.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.5.0 - Production
C:\JChem\cartridge>
This is just to see if it helps you figure out what went wrong.
I have dropped the schema and re-created it a few times in an attempt to see if this was a fluke, but it happens everytime. I pretty out of ideas?????
Help?
Thanks,
Jim
Windows 2000
Tomcat 4.1
JChem 3.1.0
Oracle 9.2.0.5.0
j2sdk1.4.2_09
I'm having a problem installing JChem 3.1.0. The installation notes on the chemaxon web site seems to be a bit either out of date, incomplete, or wrong with regards to Windows OS.
I've been attempting an upgrade from JChem 3.0.8 to 3.1.0. I'm working on a development server, however, so I've dropped the schema completely and am attempting to make clean install.
I downloaded the jchem zip file ("jchem3.1.0.zip") and placed it's contents into my c:\jchem folder.
I shutdown Tomcat.
I then copied my "batik-core.jar", "chart.jar", "dom4j.jar", "jchem.jar", "jogl.jar", "ojdbc14.jar" files into my c:\Tomcat 4.1\shared\lib directory.
I then copied my "jchemstreams.war" file into my c:\Tomcat 4.1\webapps directory.
After restarting Tomcat I granted the connect privs to my newly re-created schema user (JCHEM).
The chemaxon documentation says:
"call dbms_java.grant_permission( 'JCHEM', 'SYS:java.net.SocketPermission', '127.0.0.1:8080', 'connect,resolve' )"
but I think with windows you need:
"call dbms_java.grant_permission( 'JCHEM', 'SYS:java.net.SocketPermission', 'localhost', 'resolve' );"
or
"call dbms_java.grant_permission( 'JCHEM', 'SYS:java.net.SocketPermission', 'localhost:8080', 'connect,resolve' );".
The chemaxon documentation then says to set the env variable ORA_HOME=c:\oracle\ora92 but when I do this and attempt to "install jchem/jchem" I get the error message "The ORACLE_HOME variable is not set"? I then set the ORACLE_HOME variable and the install seems to take.
I get about 3/4 of the way done and then I get total install failure. Here is the output:
C:\Documents and Settings\jmoeder>cd c:\jchem\cartridge
C:\JChem\cartridge>install jchem/jchem
ORACLE_HOME is not set.
C:\JChem\cartridge>set ORACLE_HOME=c:\oracle\ora92
C:\JChem\cartridge>install jchem/jchem
Loading Java classes into Oracle Server
This process can take several minutes
C:\JChem\cartridge>call c:\oracle\ora92\bin\loadjava.bat -force -user "jchem/jchem" ..\lib\dom4j.jar
C:\JChem\cartridge>call c:\oracle\ora92\bin\loadjava.bat -force -user "jchem/jchem" ..\lib\jchem.jar
Hard-wire the name of the JChem owner's schema into the the jchem_core_pkg...
C:\JChem\cartridge>"C:\j2sdk1.4.2_08\bin\java.exe" -cp ../lib/jchem.jar chemaxon.jchem.cartridge.ChUrl prepare-sqlscript jchem/jchem jchem_cart.sql
C:\JChem\cartridge>call c:\oracle\ora92\bin\sqlplus "jchem/jchem" @jchem_cart.sql_
SQL*Plus: Release 9.2.0.5.0 - Production on Fri Aug 26 12:15:29 2005
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
Connected to:
Oracle9i Enterprise Edition Release 9.2.0.5.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.5.0 - Production
Type created.
Type created.
Type created.
Type created.
Type created.
No errors.
Package created.
No errors.
Package created.
No errors.
Package created.
No errors.
Package created.
No errors.
Package body created.
No errors.
Package body created.
No errors.
Type created.
No errors.
Type body created.
No errors.
Function created.
No errors.
Function created.
No errors.
Function created.
No errors.
Function created.
No errors.
Function created.
No errors.
Function created.
No errors.
Function created.
No errors.
Function created.
No errors.
Function created.
No errors.
Function created.
No errors.
Function created.
No errors.
Function created.
No errors.
Function created.
No errors.
Function created.
No errors.
Function created.
No errors.
Function created.
No errors.
Function created.
No errors.
Function created.
No errors.
Function created.
No errors.
Function created.
No errors.
Procedure created.
No errors.
Procedure created.
No errors.
Procedure created.
No errors.
Function created.
No errors.
Operator created.
Operator created.
Operator created.
Operator created.
Operator created.
Operator created.
Operator created.
Operator created.
Operator created.
Operator created.
Operator created.
Operator created.
Operator created.
Operator created.
Operator created.
Operator created.
Operator created.
Operator created.
Operator created.
Function created.
No errors.
Function created.
No errors.
Function created.
No errors.
Function created.
No errors.
Function created.
No errors.
Function created.
No errors.
Function created.
No errors.
Function created.
No errors.
Function created.
No errors.
Function created.
No errors.
Function created.
No errors.
Function created.
No errors.
Function created.
No errors.
Function created.
No errors.
Procedure created.
No errors.
Function created.
No errors.
Operator created.
Operator created.
Operator created.
Operator created.
Operator created.
Operator created.
Operator created.
Operator created.
Operator created.
Operator created.
Operator created.
Operator created.
Operator created.
Call completed.
Indextype created.
Function created.
No errors.
Function created.
No errors.
Function created.
No errors.
Function created.
No errors.
Function created.
No errors.
Function created.
No errors.
Function created.
No errors.
Function created.
No errors.
Function created.
No errors.
Function created.
No errors.
Function created.
No errors.
Function created.
No errors.
Function created.
No errors.
Function created.
No errors.
Function created.
No errors.
Function created.
No errors.
Function created.
No errors.
Function created.
No errors.
Function created.
No errors.
Function created.
No errors.
Function created.
No errors.
Function created.
No errors.
Function created.
No errors.
Function created.
No errors.
Function created.
No errors.
Function created.
No errors.
Function created.
No errors.
Function created.
No errors.
Disconnected from Oracle9i Enterprise Edition Release 9.2.0.5.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.5.0 - Production
C:\JChem\cartridge>call c:\oracle\ora92\bin\sqlplus "jchem/jchem" @jchem_util.sql
SQL*Plus: Release 9.2.0.5.0 - Production on Fri Aug 26 12:15:36 2005
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
Connected to:
Oracle9i Enterprise Edition Release 9.2.0.5.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.5.0 - Production
Package created.
No errors.
Package body created.
No errors.
Disconnected from Oracle9i Enterprise Edition Release 9.2.0.5.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.5.0 - Production
C:\JChem\cartridge>echo Create the SQL script used to register the JChem service URLs...
Create the SQL script used to register the JChem service URLs...
C:\JChem\cartridge>"C:\j2sdk1.4.2_08\bin\java.exe" -cp ../lib/jchem.jar chemaxon.jchem.cartridge.ChUrl register-urls jchem/jchem
java.lang.NullPointerException
at chemaxon.jchem.cartridge.ChUrl.createEndPointInstallScript(ChUrl.java:136)
at chemaxon.jchem.cartridge.ChUrl.main(ChUrl.java:168)
SQL*Plus: Release 9.2.0.5.0 - Production on Fri Aug 26 12:15:37 2005
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
Connected to:
Oracle9i Enterprise Edition Release 9.2.0.5.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.5.0 - Production
delete from jc_idx_property where prop_name like 'jchem.service.endPoint.url.%'
*
ERROR at line 1:
ORA-00980: synonym translation is no longer valid
SQL>
Now, just to ensure this was a failure, I attempt a "test jchem/jchem", which gives me this:
C:\JChem\cartridge>test jchem/jchem
SQL*Plus: Release 9.2.0.5.0 - Production on Fri Aug 26 12:29:28 2005
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
Connected to:
Oracle9i Enterprise Edition Release 9.2.0.5.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.5.0 - Production
select jchem_core_pkg.getenvironment() from dual
*
ERROR at line 1:
ORA-29532: Java call terminated by uncaught Java exception:
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
ORA-06512: at "JCHEM.JCHEM_CORE_PKG", line 0
ORA-06512: at "JCHEM.JCHEM_CORE_PKG", line 84
Disconnected from Oracle9i Enterprise Edition Release 9.2.0.5.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.5.0 - Production
C:\JChem\cartridge>
This is just to see if it helps you figure out what went wrong.
I have dropped the schema and re-created it a few times in an attempt to see if this was a fluke, but it happens everytime. I pretty out of ideas?????
Help?
Thanks,
Jim