Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: oracle/aurora classes not loaded
Thanks for your response.
This is what I've done:
user SYS:
run:
rmjvm.sql
bounce server
run:
initjvm.sql
initdbj.sql
load_jis.sql --(I found a directive to edit this script's 1st
reference to loadjava and added '-force' -- which eliminated some
of the errors I was getting in its execution prior to that.)
jisja.sql
initjsp.sql
jspja.sql
run:
initxml.sql
load.sql
these all ran error free.
I still have no Java Sources loaded in the db. 26 classes will not compile oracle/aurora/mts and oracle/aurora/deploy/...mts... clases.
I'm attaching the output from user_errors (after I ran utlrp.sql)-- the "jaccelerator/Installer not found" references appear to stem from the lack of Java Sources--at least these reference _are_present_ in an Win2K instance I have running (and the application can run against that instance).
Any ideas? (many thanks)
NAME TYPE SEQUENCE LINEPOSITION
------------------------------ ------------ ---------- ----------
0
ORA-29521: referenced name oracle/jaccelerator/server/Installer could
not be fou
nd
/1567a3f_DeploymentServletGOD JAVA CLASS 1 0
0
ORA-29534: referenced object
SYS.oracle/aurora/mts/http/deployment/DeploymentSer
vlet could not be resolved
/31abb3a7_oracle_aurora_mts_In JAVA CLASS 1 0
0
NAME TYPE SEQUENCE LINEPOSITION
------------------------------ ------------ ---------- ----------
/329ee8cb_WebAppXmlParser JAVA CLASS 1 0
0
ORA-29534: referenced object
SYS.oracle/aurora/mts/http/deployment/XmlParser cou
ld not be resolved
/344a00cc_oracle_aurora_mts_ut JAVA CLASS 1 0
0
ORA-29521: referenced name oracle/jaccelerator/server/Installer could
not be fou
NAME TYPE SEQUENCE LINEPOSITION
------------------------------ ------------ ---------- ----------
/34a0afd8_WebApplicationReader JAVA CLASS 1 0
0
ORA-29534: referenced object
SYS.oracle/aurora/mts/http/deployment/XmlParser cou
ld not be resolved
/3871c25c_oracle_aurora_mts_ut JAVA CLASS 1 0
0
ORA-29521: referenced name oracle/jaccelerator/server/Installer could
not be fou
nd
NAME TYPE SEQUENCE LINEPOSITION
------------------------------ ------------ ---------- ----------
/3edbd6be_XmlParser JAVA CLASS 1 0
0
ORA-29521: referenced name oracle/xml/parser/v2/DOMParser could not be
found
/3edbd6be_XmlParser JAVA CLASS 2 0
0
ORA-29521: referenced name oracle/xml/parser/v2/DTD could not be found
/3edbd6be_XmlParser JAVA CLASS 3 0
0
ORA-29521: referenced name oracle/xml/parser/v2/XMLDocument could not
be found
NAME TYPE SEQUENCE LINEPOSITION
------------------------------ ------------ ---------- ----------
/3edbd6be_XmlParser JAVA CLASS 4 0
0
ORA-29521: referenced name oracle/xml/parser/v2/XMLParseException
could not be f
ound
/3edbd6be_XmlParser JAVA CLASS 5 0
0
ORA-29521: referenced name oracle/xml/parser/v2/XMLParser could not be
found
/3edbd6be_XmlParser JAVA CLASS 6 0
0
NAME TYPE SEQUENCE LINEPOSITION
------------------------------ ------------ ---------- ----------
/3edbd6be_XmlParser JAVA CLASS 7 0
0
ORA-29521: referenced name org/w3c/dom/Element could not be found
/3edbd6be_XmlParser JAVA CLASS 8 0
0
ORA-29521: referenced name org/w3c/dom/NamedNodeMap could not be found
/3edbd6be_XmlParser JAVA CLASS 9 0
0
NAME TYPE SEQUENCE LINEPOSITION
------------------------------ ------------ ---------- ----------
/3edbd6be_XmlParser JAVA CLASS 10 0
0
ORA-29521: referenced name org/w3c/dom/NodeList could not be found
/3edbd6be_XmlParser JAVA CLASS 11 0
0
ORA-29521: referenced name org/xml/sax/SAXException could not be found
/3edbd6be_XmlParser JAVA CLASS 12 0
0
NAME TYPE SEQUENCE LINEPOSITION
------------------------------ ------------ ---------- ----------
/4d2be245_ExportDomain JAVA CLASS 1 0
0
ORA-29521: referenced name oracle/xml/parser/v2/DOMParser could not be
found
/4d2be245_ExportDomain JAVA CLASS 2 0
0
ORA-29521: referenced name oracle/xml/parser/v2/XMLParser could not be
found
/4d2be245_ExportDomain JAVA CLASS 3 0
0
NAME TYPE SEQUENCE LINEPOSITION
------------------------------ ------------ ---------- ----------
/4d2be245_ExportDomain JAVA CLASS 4 0
0
ORA-29521: referenced name oracle/xml/parser/v2/XSLStylesheet could
not be found
/4d2be245_ExportDomain JAVA CLASS 5 0
0
ORA-29521: referenced name oracle/xml/parser/v2/XMLDocument could not
be found
/4fe65d72_oracle_aurora_namesp JAVA CLASS 1 0
0
NAME TYPE SEQUENCE LINEPOSITION
------------------------------ ------------ ---------- ----------
/501ceab_SecurityConstraintRea JAVA CLASS 1 0
0
ORA-29521: referenced name oracle/xml/parser/v2/XMLElement could not
be found
/59a89b82_oracle_aurora_mts_se JAVA CLASS 1 0
0
ORA-29521: referenced name oracle/jaccelerator/server/Installer could
not be fou
nd
NAME TYPE SEQUENCE LINEPOSITION
------------------------------ ------------ ---------- ----------
/5a2d9628_oracle_aurora_namesp JAVA CLASS 1 0
0
ORA-29521: referenced name oracle/jaccelerator/server/Installer could
not be fou
nd
/5c997f11_WebComponentDescript JAVA CLASS 1 0
0
ORA-29521: referenced name oracle/xml/parser/v2/XMLElement could not
be found
/72941cb2_oracle_aurora_namesp JAVA CLASS 1 0
0
NAME TYPE SEQUENCE LINEPOSITION
------------------------------ ------------ ---------- ----------
/7cab457f_oracle_aurora_namesp JAVA CLASS 1 0
0
ORA-29521: referenced name oracle/jaccelerator/server/Installer could
not be fou
nd
/ac75d5aa_oracle_aurora_mts_ut JAVA CLASS 1 0
0
ORA-29521: referenced name oracle/jaccelerator/server/Installer could
not be fou
NAME TYPE SEQUENCE LINEPOSITION
------------------------------ ------------ ---------- ----------
/b66c4c42_DeploymentServlet JAVA CLASS 1 0
0
ORA-29534: referenced object
SYS.oracle/aurora/mts/http/deployment/ASEDeployment
LoaderImpl could not be resolved
/cc134b6f_AUXDescriptorReader JAVA CLASS 1 0
0
ORA-29534: referenced object
SYS.oracle/aurora/mts/http/deployment/XmlParser cou
ld not be resolved
NAME TYPE SEQUENCE LINEPOSITION
------------------------------ ------------ ---------- ----------
/ceb172e6_oracle_aurora_namesp JAVA CLASS 1 0
0
ORA-29521: referenced name oracle/jaccelerator/server/Installer could
not be fou
nd
/d360209f_oracle_aurora_namesp JAVA CLASS 1 0
0
ORA-29521: referenced name oracle/jaccelerator/server/Installer could
not be fou
nd
NAME TYPE SEQUENCE LINEPOSITION
------------------------------ ------------ ---------- ----------
0
ORA-29521: referenced name oracle/jaccelerator/server/Installer could
not be fou
nd
/e7d35a67_DeployWar JAVA CLASS 1 0
0
ORA-29534: referenced object
SYS.oracle/aurora/mts/http/deployment/ASEDeployment
LoaderImpl could not be resolved
/f400e01d_oracle_aurora_mts_se JAVA CLASS 1 0
0
NAME TYPE SEQUENCE LINEPOSITION
------------------------------ ------------ ---------- ----------
/fa936088_AUXXmlParser JAVA CLASS 1 0
0
ORA-29534: referenced object
SYS.oracle/aurora/mts/http/deployment/XmlParser cou
ld not be resolved
/fd4218ea_ASEDeploymentLoaderI JAVA CLASS 1 0
0
ORA-29534: referenced object
SYS.oracle/aurora/mts/http/deployment/WebApplicatio
NAME TYPE SEQUENCE LINEPOSITION
------------------------------ ------------ ---------- ----------
41 rows selected.
SQL> spool off
zongk Tu <jpseo_at_yahoo.com> wrote in message news:<3C9E9903.AACB1DE9_at_yahoo.com>...
> Andrea; > > As SYS user, do you get any errors from DESCRIBE DBMS_JAVA ??? > If no errors, did you follow the java install procedure to the letter ??? > It is rather time consuming....about 14 steps I believe... > If you have, are there any invalid java classes ??? > If not, you need to execute rmjvm.sql & re-install.. > If there are, you need to resolve them.. > In case you are not familiar w/ the syntax.. > > alter java class dbms_java.longname('object_name') resolve; > > object_name ,of course, refers to sys.dba_objects > > If nothing helps, you can blame Oracle... > I had similary intractable problem with JVM on 64-bit 8.1.7.3 on HP-UX a > while back > and it turned out that Oracle finally admitted this was a bug with no patch > yet ..:-( .. > > HTH > -- > Zongk Tu > > Oracle Apps DBA/Unix SA > > andrea wrote: > > > 8i 8.1.7 (patchset 8172) > > RedHat linux 7.1 > > > > I've been fighting with this one for days... > > > > SELECT Count(1) > > FROM dba_objects > > WHERE object_type Like '%JAVA%'; > > > > COUNT(1) > > ---------- > > 7086 > > > > classes suspiciously lacking are: > > > > /oracle/aurora/mts namespace and deploy classes (I don't know > > what else might be missing) > > > > Pool sizes are: > > shared_pool_size = 136314880 (130M) > > java_pool_size = 90177520 (85M) > > large_pool_size = 52428800 (50M) > > > > Using TOAD as an admin tool, user SYS has _nothing_ under the tree > > from 'Java Sources', but does have 'Java Classes' and 'Java > > Properties' > > > > JDK version on the linux box is 1.2.2 in /usr/local/java > > > > running load_jis.sql results in errors relating to the > > /oracle/aurora/mts classes > > > > profile environmental variables are: > > > > ORACLE_BASE=/u01/app/oracle; export ORACLE_BASE; > > ORACLE_HOME=$ORACLE_BASE/product/8.1.7; export ORACLE_HOME; > > ORACLE_SID=fdev; export ORACLE_SID; > > LD_ASSUME_KERNEL=2.2.5; export LD_ASSUME_KERNEL; > > GCC_EXEC_PREFIX=/usr/i386-glibc21-linux/lib/gcc-lib; export > > GCC_EXEC_PREFIX; > > JAVA_HOME=/usr/local/java; export JAVA_HOME; > > CLASSPATH=$ORACLE_HOME/jdbc/lib/classes12.zip: > > $ORACLE_HOME/JRE:$ORACLE_HOME/jlib: > > $ORACLE_HOME/rdbms/jlib: > > $ORACLE_HOME/network/jlib; export CLASSPATH; > > LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib: > > /usr/lib:/usr/local/lib; export LD_LIBRARY_PATH; > > PATH=$ORACLE_HOME/bin:/usr/bin:/bin:/usr/local/bin:/usr/local/java/bin: > > /usr/X11R6/bin:/sbin:/usr/sbin; export PATH; > > > > I believe the absense of classes is causing the application to fail. > > > > Can anybody help here? What more can I report here for somebody to > > figure this issue out for me? > > > > (this is an updated re-write from a thread I had under somebody elses > > original thread) > > > > -andreaReceived on Tue Mar 26 2002 - 13:47:26 CST