MD5 table
I have no problem to 'loadjava' a jar file with 6 classes in it as SYS in the SYS schema. However when I try the same with another user who has been granted JAVASYSPRIV, it fails with the following errors : "Error while accessing MD5 table... Error while updating MD5 of: thenameofmyclass". The JAVA$CLASS$MD5$TABLE is present in the user's schema and contains as many entries as there are classes in my jar file.
Any idea ?
null
Make sure that the user that you are loading the java classes into exists,
has permissions to create table sand procedures and has quota on their default
tablespace and that there is sufficient space in that tablespace.
Errors of this sort are usually caused by a lack of user permissions or
privileges.
The loadjava utility attempts to create the following in the users schema:
CREATE$JAVA$LOB$TABLE
JAVA$CLASS$MD5$TABLE
LOADLOBS << package
LOADLOBS << package body
3 indexes
1 LOB
These objects are created to assist in the loading of java classes.
When a user initiates loadjava, it checks the schema to see if these objects
already exist, if they do not, it tries to create them.
What exactly is the arguments you have supplied for the loadjava command.
Similar Messages
-
Table JAVA$CLASS$MD5$TABLE is not created by loadjava
When loading a class using loadjava, the table JAVA$CLASS$MD5$TABLE is not created (in the schema where the class is loaded) by the loadjava tool although it should do this according to the doc. Where is this table located?
The class loads successfully and is skipped when loading a second time. The force option is not used.
Version is: Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bitIN order for a registered schema to be available to other users the schema must be registered as a GLOBAL, rather than a LOCAL Schema. This is controlled by the third agument passed to registerSChema, and the default is local. Note that you will also need to explicity grant appropriate permissions on any tables created by the schema registration process to other users who will be loading or reading data from these tables.
-
greetings,
I am using the Oracle version 8.1.7 on Solaris platform.I installed the JVM by
executing the script initjvm.sql as a user
other than SYS but having DBA privileges.
After that I granted the Javauserpriv
and javasyspriv to the existing users
which have the roles connect,create table,
create procedure.
when the users having javasyspriv and javauserpriv tries to load a java class using
loadjava they get the error
Error while accessing MD5 table
ORA-00942: table or view does not exist
where Did I went wrong?
Is there any way to fix it .
regards
sachinuser604960,
My guess is you're using different users for the loadjava command and for the SQL query.
Good Luck,
Avi. -
OWB installs some tables under the target schema (including, for example, WB_RT_PARAMETERS, WB_RT_PLATFORM_PROPERTIES). These tables are in the same schema as all of our application target tables. Our DBAs want to know:
(1) Is there some way to have OWB build all these tables under a schema separate from the schema in which all of our application tables reside?
And, if not:
(2) Is there some way to identify the tables (and other objects) created by OWB. Are they only the objects prefixed with WB? Or are there others?
The DBAs would like to script some changes to the tables in our target schema but of course do not want to modify the OWB-specific tables, so we would like to identify the objects that are OWB-specific.Barbara,
Following are all objects in a new target schema:
FUNCTION OWBRTPS_KEY_TO_INSTANCE
OWBRTPS_KEY_TO_VERSION
OWBRTPS_KEY_TO_VERSION_STRING
WB_CAL_MONTH_NAME
WB_CAL_MONTH_OF_YEAR
WB_CAL_MONTH_SHORT_NAME
WB_CAL_QTR
WB_CAL_WEEK_OF_YEAR
WB_CAL_YEAR
WB_CAL_YEAR_NAME
WB_DATE_FROM_JULIAN
WB_DAY_NAME
WB_DAY_OF_MONTH
WB_DAY_OF_WEEK
WB_DAY_OF_YEAR
WB_DAY_SHORT_NAME
WB_DECADE
WB_HOUR12
WB_HOUR12MI_SS
WB_HOUR24
WB_HOUR24MI_SS
WB_IS_DATE
WB_IS_NUMBER
WB_IS_SPACE
WB_JULIAN_FROM_DATE
WB_MI_SS
WB_RT_INTEGER_VERSION_NUMBER
WB_RT_IS_PLATFORM_REPOSITORY
WB_RT_MINIMUM_SERVICE_VERSION
WB_RT_PLATFORM_REPOSITORY
WB_RT_VERSION
WB_WEEK_OF_MONTH
WB_XML_LOAD_F
INDEX PK_RTL
PP_PK
PP_UK
SYS_C0036660
SYS_C0036661
SYS_IOT_TOP_101865
WB_RT_PARAMETERS_PK
JAVA CLASS oracle/wh/resource/RuntimeXMLExceptions
oracle/wh/runtime/mm/Alg
JAVA RESOURCE META-INF/MANIFEST.MF
LOB SYS_LOB0000101839C00003$$
SYS_LOB0000101942C00002$$
PACKAGE OWBXMLTK
OWB_MATCH_MERGE
WB
WBRTTIME
WB_RT_MAPAUDIT_UTIL
PROCEDURE WB_ABORT
WB_ANALYZE_SCHEMA
WB_ANALYZE_TABLE
WB_COMPILE_PLSQL
WB_DISABLE_ALL_CONSTRAINTS
WB_DISABLE_ALL_TRIGGERS
WB_DISABLE_CONSTRAINT
WB_DISABLE_TRIGGER
WB_ENABLE_ALL_CONSTRAINTS
WB_ENABLE_ALL_TRIGGERS
WB_ENABLE_CONSTRAINT
WB_ENABLE_TRIGGER
WB_OLAP_LOAD_CUBE
WB_OLAP_LOAD_DIMENSION
WB_OLAP_LOAD_DIMENSION_GENUK
WB_TRUNCATE_TABLE
WB_XML_LOAD
SEQUENCE WB_RT_MONTH_SEQ
WB_RT_PLATFORM_PROPERTIES_SEQ
WB_RT_QUARTER_SEQ
WB_RT_TEMPCONS_SEQ
WB_RT_TEMPINDEX_SEQ
WB_RT_TEMPTABLE_SEQ
WB_RT_WEEK_SEQ
WB_RT_YEAR_SEQ
TABLE CREATE$JAVA$LOB$TABLE
JAVA$CLASS$MD5$TABLE
WB_RT_EXCEPTIONS
WB_RT_PARAMETERS
WB_RT_PLATFORM_CONFIG
WB_RT_PLATFORM_PROPERTIES
WB_RT_POSTLOAD_EXCEPTIONS
WB_RT_SEEDED_STRINGS
WB_RT_TIME_SRC
TRIGGER WB_RT_PARAMETERS_AUDIT
WB_RT_SEEDED_STRINGS_AUDIT
I.e. most objects start with WB... a few are created as part of the deployment of Java to the database (some of the tables and the LOBs). Unfortunately, as you notice, there are still a few OWB objects that do not start with OWB. If you drop all WB objects and OWBRTPS_KEY_TO_INSTANCE, OWBRTPS_KEY_TO_VERSION, OWBRTPS_KEY_TO_VERSION_STRING, I think all Warehouse Builder objects will be removed.
The objects are there to enable remote node installation. If you remove the definitions... then unfortunately you are not supported, even though I am sure you can get things to work with synonyms instead of tables.
Thanks,
Mark. -
Portal30 Installation/configuration problems.
Subject: Portal30
Please share your solution in installing th Oracle Portal 3.0 (included in Oracle 9iAS installation.).
I am facing problem in its installation on WINDOWS 2000 server.
The first time I installed the Oracle 9iAS 1.0.2, the Portal30 and Portal30_sso were started . however while trying to configure the Porta-to-go I made some mistakes (What is to be given in the HTTP and HTTPS ports for the Web Integration developer preferences configuration and what is to be given in the settings of Web Integration Server at HTTP/HTTPS Port, User, etc.??).
Then I made mistake in uninstalling the 9iAS as I straightaway started the Universal Installer for deinstallation without first uninstalling the forms server, report server , etc, using oracle installer, then uninstalling the Portal30 7 Porta30_sso.
Any way I removed all the entries from the registry and also removed the directories from the disk.
When I started my installation for 9iAS database cache and Web cache configuration failed. But Portal 30 showed successfull . However there were some error messages dispalyed during the configuration of Portal30 as below:
loading org/w3c/dom/html/HTMLHeadingElement
Error while loading
org/w3c/dom/html/HTMLHeadingElement
ORA-29506 invalid query derived from using clause.
ORA-00942 table or view does not exist.
Error while accessing MD5 table.
When I did the other post installation configuration and tried to access the Portal30 home page error message as below was displayed :
call to WPG_SESSION failed.
error code 4068
Database login failed. TNS is unable to connect to destination. Invalid TNS address
supplied or destination is not listeneing.
The problem could be due to in correct TNS String or it may be due to Listener not started or due to underlying network.
I checked everything. Listener was started, TNS service name was correct (in the ORACLE_HOME of 9iAS \network\admin directory) and the underlying network was proper. DAD parameters were also correct.
However, when I checked the PWG_SESSION PACKAGE BODY status It was showing INVALID. When I checked the installation log..it showed error messages like table MD5 not found...
I am unable to configure my PORTAL30..Please help...or where can I get the solution...
Thanks with regards
Riant.
nullSubject: Portal30
Please share your solution in installing th Oracle Portal 3.0 (included in Oracle 9iAS installation.).
I am facing problem in its installation on WINDOWS 2000 server.
The first time I installed the Oracle 9iAS 1.0.2, the Portal30 and Portal30_sso were started . however while trying to configure the Porta-to-go I made some mistakes (What is to be given in the HTTP and HTTPS ports for the Web Integration developer preferences configuration and what is to be given in the settings of Web Integration Server at HTTP/HTTPS Port, User, etc.??).
Then I made mistake in uninstalling the 9iAS as I straightaway started the Universal Installer for deinstallation without first uninstalling the forms server, report server , etc, using oracle installer, then uninstalling the Portal30 7 Porta30_sso.
Any way I removed all the entries from the registry and also removed the directories from the disk.
When I started my installation for 9iAS database cache and Web cache configuration failed. But Portal 30 showed successfull . However there were some error messages dispalyed during the configuration of Portal30 as below:
loading org/w3c/dom/html/HTMLHeadingElement
Error while loading
org/w3c/dom/html/HTMLHeadingElement
ORA-29506 invalid query derived from using clause.
ORA-00942 table or view does not exist.
Error while accessing MD5 table.
When I did the other post installation configuration and tried to access the Portal30 home page error message as below was displayed :
call to WPG_SESSION failed.
error code 4068
Database login failed. TNS is unable to connect to destination. Invalid TNS address
supplied or destination is not listeneing.
The problem could be due to in correct TNS String or it may be due to Listener not started or due to underlying network.
I checked everything. Listener was started, TNS service name was correct (in the ORACLE_HOME of 9iAS \network\admin directory) and the underlying network was proper. DAD parameters were also correct.
However, when I checked the PWG_SESSION PACKAGE BODY status It was showing INVALID. When I checked the installation log..it showed error messages like table MD5 not found...
I am unable to configure my PORTAL30..Please help...or where can I get the solution...
Thanks with regards
Riant.
null -
Hi ALL,
I have a java class file called DisplayFile compiled. When i attempt to load this class into Oracle thru loadjava i get the following errors.
D:\SeshBRK\JAVA-PROG>loadjava -user scott/tiger@sesh -oci8 -resolve DisplayFile
.class
Error while accessing MD5 table
ORA-00942: table or view does not exist
Error while loading DisplayFiles
ORA-00942: table or view does not exist
Error while creating class DisplayFiles
ORA-29506: invalid query derived from USING clause
ORA-00942: table or view does not exist
Error while resolving class DisplayFiles
ORA-04043: object DisplayFiles does not exist
loadjava: 4 errors
How to load this class to Oracle.
UserLoadjava creates two tables, if they don't already exist, in the schema where the objects are being loaded. (Scott schema in your case.) I suspect there might be synonyms to these tables that the Scott schema is seeing and trying to use but does not have the rights to the base tables. The table names are:
CREATE$JAVA$LOB$TABLE
JAVA$CLASS$MD5$TABLE
I am not sure but I think it also creates:
JAVA$OPTIONS
Cheers
Scott Petersen
Senior Programmer/Analyst
HeavyLifters.com
null -
Problem to load XML SQL Utility into other user
Hi,
I need help to load XML Utility into other user than
"scott"tiger".
I loaded both xmlparser.jar and oraclexmlsql.jar into
"scott/tiger", it works and creating functions and testing work
fine. But when change USER_PASSWORD to another user, it gave me
some errors like
creating : org/xml/sax/helpers/AttributeListImpl
Error while creating class org/xml/sax/helpers/AttributeListImpl
ORA-29506: invalid query derived from USING clause
ORA-00942: table or view does not exist
Error while accessing MD5 table
ORA-00942: table or view does not exist
Do I need create any table or view for my another oracle account?
Or did I missed any thing. From the installation instruction, I
cano not find any about creating table or view before I load the
two jar files.
Thanks
Yuping
nullHi Yuping,
Great to hear that! Thx for posting the solution to the
problem! Let us know if you have any problems with the utility
or if u need any enhancements!
Thx
Murali
Yuping Zhu (guest) wrote:
: Hi,Murali,
: The problem is fixed now. When load xmlparser into the user, it
: creates two tables automatically, my mistake is I did not grant
: "create table" privilege to the user. After I granted the
: privilege to it, it works fine.
: Thanks!
: Yuping
: Murali K (guest) wrote:
: : Hi,
: : I will check this out with the Java folks and let u know
: : Thx
: : Murali K
: : Yuping Zhu (guest) wrote:
: : : Hi, Murali
: : : I'm using Oracle8i on Solaris 2.6. When I load xmlparser
: using
: : : loadjava -resolve -verbose -user $USER_PASSWORD
xmlparser.jar
: : : I get error message and I catch part of erros
: : : PS, I can load it into scott/tiger.
: : : Thanks!
: : : Yuping
: : : loading : org/w3c/dom/html/HTMLLegendElement
: : : Error while loading org/w3c/dom/html/HTMLLegendElement
: : : ORA-04068: existing state of packages has been
discarded
: : : ORA-04063: package body "IOEXML.LOADLOBS" has errors
: : : ORA-06508: PL/SQL: could not find program unit being called
: : : ORA-06512: at line 1
: : : creating : org/w3c/dom/html/HTMLLegendElement
: : : Error while creating class
org/w3c/dom/html/HTMLLegendElement
: : : ORA-29506: invalid query derived from USING clause
: : : ORA-00942: table or view does not exist
: : : Error while accessing MD5 table
: : : ORA-00942: table or view does not exist
: : : loading : org/w3c/dom/html/HTMLImageElement
: : : Error while loading org/w3c/dom/html/HTMLImageElement
: : : ORA-04068: existing state of packages has been
discarded
: : : ORA-04063: package body "IOEXML.LOADLOBS" has errors
: : : ORA-06508: PL/SQL: could not find program unit being called
: : : ORA-06512: at line 1
: : : creating : org/w3c/dom/html/HTMLImageElement
: : : Error while creating class
org/w3c/dom/html/HTMLImageElement
: : : ORA-29506: invalid query derived from USING clause
: : : ORA-00942: table or view does not exist
: : : Error while accessing MD5 table
: : : ORA-00942: table or view does not exist
: : : loading : oracle/xml/parser/v2/XSLException
: : : Error while loading oracle/xml/parser/v2/XSLException
: : : ORA-04068: existing state of packages has been
discarded
: : : ORA-04063: package body "IOEXML.LOADLOBS" has errors
: : : ORA-06508: PL/SQL: could not find program unit being called
: : : ORA-06512: at line 1
: : : Murali K (guest) wrote:
: : : : Hi Yuping,
: : : : I tried the same on a 8i database and it seems to be
: : working
: : : : fine. (loading into two schemas). In fact I just created
: the
: : : : other user and it doesnt have any tables or anything in
it.
: : : : You do not need to create anything (table/view) extra
for
: : : these
: : : : to work.
: : : : Which database (Oracle8 or 8i) are u using?
: : : : Thanks
: : : : Murali
: : : : Yuping Zhu (guest) wrote:
: : : : : Hi,
: : : : : I need help to load XML Utility into other user than
: : : : : "scott"tiger".
: : : : : I loaded both xmlparser.jar and oraclexmlsql.jar into
: : : : : "scott/tiger", it works and creating functions and
: testing
: : : work
: : : : : fine. But when change USER_PASSWORD to another user,
it
: : gave
: : : me
: : : : : some errors like
: : : : : creating : org/xml/sax/helpers/AttributeListImpl
: : : : : Error while creating class
: : : : org/xml/sax/helpers/AttributeListImpl
: : : : : ORA-29506: invalid query derived from USING clause
: : : : : ORA-00942: table or view does not exist
: : : : : Error while accessing MD5 table
: : : : : ORA-00942: table or view does not exist
: : : : : Do I need create any table or view for my another
oracle
: : : : account?
: : : : : Or did I missed any thing. From the installation
: : instruction,
: : : I
: : : : : cano not find any about creating table or view before
I
: : load
: : : : the
: : : : : two jar files.
: : : : : Thanks
: : : : : Yuping
null -
Loadjava Problems Help me.....
i have load a .jar file whit this utility but i can't load this, i try and show this error
$HORA_HOME\bin>loadjava -user US_LOCAL/PASS_LOCAL -resolve genpdf1.1.jar
Error while creating JAVA$CLASS$MD5$TABLE
ORA-01950: no privileges on tablespace 'USERS'
Error while getting old MD5 of META-INF/MANIFEST.MF
ORA-00942: table or view does not exist
However, whit SYS USER show this error
$HORA_HOME\bin>loadjava -user SYS/PASS_SYS -resolve genpdf1.1.jar
Error while creating class oracle/sql/ARRAY
ORA-01031: insufficient privileges
Error while creating class oracle/sql/DatumWithConnection
ORA-01031: insufficient privileges
Error while creating class oracle/sql/ArrayDescriptor
ORA-01031: insufficient privileges
Any suggestions? and thank for you atention.
Edited by: cchar00 on Dec 23, 2009 2:37 PMuser3027513 wrote:
i have load a .jar file whit this utility but i can't load this, i try and show this error
$HORA_HOME\bin>loadjava -user US_LOCAL/PASS_LOCAL -resolve genpdf1.1.jar
Error while creating JAVA$CLASS$MD5$TABLE
ORA-01950: no privileges on tablespace 'USERS'
Error while getting old MD5 of META-INF/MANIFEST.MF
ORA-00942: table or view does not exist
However, whit SYS USER show this error
$HORA_HOME\bin>loadjava -user SYS/PASS_SYS -resolve genpdf1.1.jar
Error while creating class oracle/sql/ARRAY
ORA-01031: insufficient privileges
Error while creating class oracle/sql/DatumWithConnection
ORA-01031: insufficient privileges
Error while creating class oracle/sql/ArrayDescriptor
ORA-01031: insufficient privileges
.....The space of the tablespace is not the issue here but the space quota probably is not there with this user to use the tablespace Users. Run the command,
{alter user your-user-name-here quota unlimited on users{quota}
After this retry and post feedback.
Aman.... -
Loadjava Problems !!
Hi All,
I'm experiencing some problems trying to load the SSOHash.class file to the schema that I created just like the same in the Install guide...
The error String follows :
E:\Projetos\Portal_SSO\lib\packages\oracle\security\sso>loadjava -user partner/[email protected]:1521:o817
-thin -verbose -resolve -force SSOHash.class
initialization complete
loading : oracle/security/sso/SSOHash
creating : oracle/security/sso/SSOHash
Error while creating class oracle/security/sso/SSOHash
ORA-00604: error occurred at recursive SQL level 1
ORA-01405: fetched column value is NULL
ORA-06512: at "LBACSYS.LBAC_EVENTS", line 29
ORA-06512: at line 2
resolver :
resolving: oracle/security/sso/SSOHash
Error while resolving class oracle/security/sso/SSOHash
ORA-04043: object oracle/security/sso/SSOHash does not exist
loadjava: 2 errors
Could Anyone help me ?? I have no idea of what could it be !!
P.S: Please, reply to my e-mail because I'm not part of this list !!!!
Thanks in Advance !!
IlanLooks like either your database is not java enabled or database is not configured properly.
You may check your database if it is Java enabled
sqlplus sys/change_on_install
select object_name from all_objects where object_name like 'JAVA%';
You must see various java objects name if your database is Java enabled.
(Result for 8.1.7.0.0 database query )
OBJECT_NAME
JAVA$CLASS$MD5$TABLE
JAVA$HTTP$DEPLOYMENT$DIGEST$
JAVA$HTTP$LOG$
JAVA$HTTP$REALM$GROUP$
JAVA$HTTP$REALM$ID$
JAVA$HTTP$REALM$MAPPING$
JAVA$HTTP$REALM$POLICY$
JAVA$HTTP$REALM$PRINCIPAL$
JAVA$HTTP$REALM$P_SEQ$
JAVA$POLICY$
JAVA$POLICY$SEQUENCE$
JAVA$POLICY$SHARED$00000002
JAVA$POLICY$SHARED$00000004
JAVA$POLICY$SHARED$00000005
JAVA$POLICY$SHARED$TABLE
JAVA$RMJVM$AUX
JAVA$RMJVM$AUX2
JAVA$RMJVM$AUXI
JAVA$RMJVM$AUXI2
JAVASNM
JAVASNM$
JAVA_AUTONOMOUS_TRANSACTION
JAVA_AUTONOMOUS_TRANSACTION
JAVA_XA
JAVA_XA
JAVASNM
JAVA_AUTONOMOUS_TRANSACTION
JAVA_XA
JAVA$HTTP$DEPLOYMENT$DIGEST$
JAVA$HTTP$LOG$
JAVA$HTTP$REALM$GROUP$
JAVA$HTTP$REALM$ID$
JAVA$HTTP$REALM$MAPPING$
JAVA$HTTP$REALM$POLICY$
JAVA$HTTP$REALM$PRINCIPAL$
JAVA$HTTP$REALM$P_SEQ$
JAVA$CLASS$MD5$TABLE
JAVA$CLASS$MD5$TABLE
38 rows selected.
null -
Issues with loadjava utility on oracle database 10.2.0.4.0
Hi all
Hoping if this is a known issue, am approaching you here .. We have an oracle database in 10.2.0.4.0 version. This database functionality of Websphere Process Server, a product from IBM. In the course we are expected to load a JAR file for a one schema and it fails for some reason with ORA - 07445 errors. I happen to set out SGA_MAX_SIZE and SGA_TARGET at 1024 MB and JAVA_POOL_SIZE at 768MB to allow this loadjava command to run successfully. I also happen to set the LD_LIBRARY_PATH as $ORACLE_HOME/lib on this solaris 10 machine. Below is the command and the error message we are receiving. Please do advice us if this is a known issue or guide us to any information which might help us resolve this issue while we continue searching for a solution.. Many thanks in advance.
Regards!
Sarat
loadjava -user BPCDB/[email protected]:1521:WPSDB -resolve /opt/IBMProc/WebSphere/ProcServer/lib/bpcodbutil.jar -thin -schema BPCDB
Error while testing for existence of dbms_java.handleMd5
No more data to read from socket
Error while testing for existence of "BPCDB".JAVA$CLASS$MD5$TABLE
OALL8 is in an inconsistent state
Error while testing for existence of "BPCDB".JAVA$CLASS$MD5$TABLE
OALL8 is in an inconsistent state
Error while creating "BPCDB".JAVA$CLASS$MD5$TABLE
No more data to read from socket
Error while getting old MD5 of META-INF/MANIFEST.MF
Io exception: Broken pipe
Error while testing for existence of "BPCDB".CREATE$JAVA$LOB$TABLE
Closed Connection
Error while testing for existence of "BPCDB".CREATE$JAVA$LOB$TABLE
Closed Connection
Error while creating "BPCDB".CREATE$JAVA$LOB$TABLE
Closed Connection
Error while getLoadLOB BPCDB
Closed Connection
Error while deleting MD5 of META-INF/MANIFEST.MF
Closed Connection
Error while getting old MD5 of com/ibm/bpe/observer/dbutil/TimestampUtil
Closed Connection
Error while processing com/ibm/bpe/observer/dbutil/TimestampUtil
Exception java.lang.NullPointerException
Error while deleting MD5 of META-INF/MANIFEST.MF
Closed Connection
Error while getShortFromLongnameStmt
Closed Connection
Error while processing class BPCDB.com/ibm/bpe/observer/dbutil/TimestampUtil
Exception java.lang.NullPointerException
Error while getShortFromLongnameStmt
Closed Connection
Exception in thread "main" java.lang.NullPointerException
at oracle.aurora.server.tools.loadjava.ClientSchemaObject.getShortname(C
lientSchemaObject.java:65)
at oracle.aurora.server.tools.loadjava.ClientSchemaObject.status(ClientS
chemaObject.java:91)
at oracle.aurora.server.tools.loadjava.SchemaObject.failure(SchemaObject
.java:799)
at oracle.aurora.server.tools.loadjava.LoadJava.process(LoadJava.java:85
1)
at oracle.aurora.server.tools.loadjava.LoadJava.command(LoadJava.java:25
1)
at oracle.aurora.server.tools.loadjava.LoadJavaMain.run(LoadJavaMain.jav
a:103)
at oracle.aurora.server.tools.loadjava.LoadJavaMain.main(LoadJavaMain.ja
va:28)
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ORA-07445 is an untrapped exception, an error, in Oracle's own code.
Open an SR at metalink and update an RDA along with your description of what happened. -
XML Parser for PLSQL and BIG5/UTF-8
I'm trying store data in traditional chinese submitted by IE5 (through oXMLHttpRequest.send() and javascript), I tried both 'encoding="BIG5"' and 'encoding="UTF-8"'.
It seems that the parser ignore all characters that are not ascii regardless of their encoding.
Any thoughts will be much appreciated
procedure UpdateXMLProc(xmlSrc varchar2)
is
p xmlparser.parser;
doc xmldom.DOMDocument;
nlist xmldom.DOMNodeList;
list_len pls_integer;
node1 xmldom.DOMNode;
node2 xmldom.DOMNode;
node3 xmldom.DOMNode;
begin
p := xmlparser.newParser;
xmlparser.parseBuffer(p, xmlSrc);
doc := xmlparser.getDocument(p);
nlist := xmldom.getElementsByTagName(doc, 'ROW');
list_len := xmldom.getLength(nlist);
-- loop through elements
for j in 0..list_len-1 loop
node1 := xmldom.item(nlist, j);
-- get primary key values
node2 := xmldom.getFirstChild(node1);
loop
-- get the text node and if not null get value
node3 := xmldom.getFirstChild(node2);
if not xmldom.isNull(node3) then
-- THIS OUTPUT MAY ALTER CHARACTER IF IT'S NOT ASCII
htp.p(xmldom.getNodeValue(node3));
end if;
-- get next field
node2 := xmldom.getNextSibling(node2);
exit when (xmldom.isNull(node2));
end loop;
end loop;
-- THIS OUTPUT WILL BE IN THE SAME ENCODING AS THE ORIGINAL
htp.p(xmlSrc);
end;
nullI just ran the initjvm.sql,initdbj.sql and
initsqlj.sql.
Still getting the error.
Please help!!!!
Thanks
Jay
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Jay ([email protected]):
I have Oracle8i Release 8.1.5.0.0 - ProductionWith the Java option
PL/SQL Release 8.1.5.0.0 - Production version
runnig in sun sparc server.
While I am loading Oracle XML Parser for PLSQL(using plxmlparser_V1_0_1.tar.gz) have a problem. When I try to load the xmlparser.jar class and I get the
following messages:
initialization complete
Error while accessing MD5 table
ORA-00942: table or view does not exist
loading : org/w3c/dom/DOMImplementation
Error while loading org/w3c/dom/DOMImplementation
ORA-04068: existing state of packages has been discarded
ORA-04063: package body "TEST.LOADLOBS" has errors
ORA-06508: PL/SQL: could not find program unit being called
ORA-06512: at line 1
creating : org/w3c/dom/DOMImplementation
Error while creating class org/w3c/dom/DOMImplementation
ORA-00406: COMPATIBLE parameter needs to be 8.1.0.0.0 or greater
Error while accessing MD5 table
ORA-00942: table or view does not exist
loading : org/w3c/dom/html/HTMLDivElement
Error while loading org/w3c/dom/html/HTMLDivElement
ORA-04068: existing state of packages has been discarded
ORA-04063: package body "TEST.LOADLOBS" has errors
ORA-06508: PL/SQL: could not find program unit being called
and so on.
Could anyone please tell me if I need to do any pre-installation steps.
Thanks
Jay<HR></BLOCKQUOTE>
null -
Java Stored Procedures with 9.2.0.5
We are attempting to create Java Stored Procedures and we receive the following errors when attempting to do so, not sure why this is happening
C:\WSADWorkspaces\siscore\siscoreCore\source\com\amfam\siscore\integration\service>loadjava -user sis_user/is3l
l@aw0u -oci8 -resolve MaintainService.class
Error while creating JAVA$CLASS$MD5$TABLE
ORA-01031: insufficient privileges
Error while getting old MD5 of com/amfam/siscore/integration/service/MaintainTigerService
ORA-00942: table or view does not exist
Error while creating CREATE$JAVA$LOB$TABLE
ORA-01031: insufficient privileges
Error while deleting com/amfam/siscore/integration/service/MaintainTigerService from lob table
ORA-00942: table or view does not exist
Error while loading class com/amfam/siscore/integration/service/MaintainTigerService
ORA-00942: table or view does not exist
Error while creating class com/amfam/siscore/integration/service/MaintainTigerService
ORA-29506: invalid query derived from USING clause
Error while deleting MD5 of com/amfam/siscore/integration/service/MaintainTigerService
ORA-00942: table or view does not exist
Error while deleting MD5 of com/amfam/siscore/integration/service/MaintainTigerService
ORA-00942: table or view does not exist
The following operations failed
class com/amfam/siscore/integration/service/MaintainTigerService: creation
exiting : Failures occurred during processing
C:\WSADWorkspaces\siscore\siscoreCore\source\com\amfam\siscore\integration\service>Jay,
You ned to grant user sis_user permission to load java classes into the database. Please refer to the Java Developer's Guide which is part of the Oracle documentation and can be accessed via:
http://tahiti.oracle.com
Good Luck,
Avi. -
Hi!
I´m Trying to load the mysql connector into oracle database.
I create a package to connect to mysql and all that is missing is the jdbc driver.
So i executed loadjava, but i´m getting the error bellow. Can anyone help me?
Oracle database 10g
arguments: '-u' 'vendas/***@idev10g' '-v' '-resolve' '/ora10g/app/oracle/product/10.2.0/db_1/jlib/mysql-connector-java-5.1.12.jar'
dropped : JAVA$CLASS$MD5$TABLE
Exception in thread "main" java.lang.UnsatisfiedLinkError: getClassContext
at com.ibm.jvm.classloader.ClassLoaderUtils.getLastClassLoader(ClassLoaderUtils.java:38)
at java.security.Provider.loadProvider(Provider.java:209)
at java.security.Security$2.run(Security.java:434)
at java.security.AccessController.doPrivileged1(Native Method)
at java.security.AccessController.doPrivileged(AccessController.java:351)
at java.security.Security.getProviderAt(Security.java:431)
at java.security.Security.getAlgClassName(Security.java:583)
at java.security.Security.getAlgClassName(Security.java:637)
at java.security.Security.getImpl(Security.java:1118)
at java.security.MessageDigest.getInstance(MessageDigest.java:135)
at oracle.aurora.server.tools.loadjava.SchemaObject.MD5OfStream(SchemaObject.java:730)
at oracle.aurora.server.tools.loadjava.SchemaObject.getNewMD5(SchemaObject.java:418)
at oracle.aurora.server.tools.loadjava.SchemaObject.doCreate(SchemaObject.java:174)
at oracle.aurora.server.tools.loadjava.SchemaObject.process1(SchemaObject.java:215)
at oracle.aurora.server.tools.loadjava.LoadJava.add(LoadJava.java:548)
at oracle.aurora.server.tools.loadjava.LoadJava.addObject(LoadJava.java:529)
at oracle.aurora.server.tools.loadjava.LoadJava.add(LoadJava.java:467)
at oracle.aurora.server.tools.loadjava.LoadJava.add(LoadJava.java:396)
at oracle.aurora.server.tools.loadjava.LoadJava.addJar(LoadJava.java:743)
at oracle.aurora.server.tools.loadjava.LoadJava.add(LoadJava.java:448)
at oracle.aurora.server.tools.loadjava.LoadJava.add(LoadJava.java:396)
at oracle.aurora.server.tools.loadjava.LoadJava.add(LoadJava.java:365)
at oracle.aurora.server.tools.loadjava.LoadJava.add(LoadJava.java:668)
at oracle.aurora.server.tools.loadjava.LoadJava.processDeferredFiles(LoadJava.java:633)
at oracle.aurora.server.tools.loadjava.LoadJava.process(LoadJava.java:834)
at oracle.aurora.server.tools.loadjava.LoadJava.command(LoadJava.java:267)
at oracle.aurora.server.tools.loadjava.LoadJavaMain.run(LoadJavaMain.java:164)
at oracle.aurora.server.tools.loadjava.LoadJavaMain.main(LoadJavaMain.java:89)I solved it.
I had to increase the java pool memory (first time i run the server complained about it) and then load the mysql jdbc driver executing in sqlplus:
dbms_java.loadjava('path to jdbc driver file');
When executing from console, the loadjava command require extra information (LD_LIBRARY_PATH etc) giving the error i mention above.
Executing from sqlplus it is all set. -
OWB 10.1.0.4 Runtime Assistant error
I have "Fatal exception occured.[...]" from Java Virtual Machine Launcher in 63% of complete instalation of OWB Runtime Repository. And Second error (immediatelly after first) "INS0022: A spawned program error [...]" from Spawned Program Error.
I have: Virtual Machine (on VMware Player) with Windows 2003 EE SP1 Release 2 with Oracle 10.2.0.2 and with OWB 10.1.0.4. And only this soft is on this Virtual Machine.
In the log (C:\Oracle\OWB10\owb\rtasst\log.txt) last line are below.
Can You help me?
Sincerelly,
Peter
oracle.wh.util.DebugUtility: =========== enter file: ../../rtasst/roles_object_rights.sql
oracle.wh.util.DebugUtility: Runtime Platform Property Load Beginning...
Wed Jun 21 13:18:10 BST 2006
oracle.wh.util.DebugUtility: After processing SPAWN Token
Wed Jun 21 13:18:10 BST 2006
oracle.wh.util.DebugUtility: This is the -token name = SPAWN; -token type = 4
Wed Jun 21 13:18:10 BST 2006
oracle.wh.util.DebugUtility: Before processing SPAWN Token
Wed Jun 21 13:18:10 BST 2006
oracle.wh.util.DebugUtility: After processing SPAWN Token
Wed Jun 21 13:18:10 BST 2006
oracle.wh.util.DebugUtility: This is the -token name = SPAWN; -token type = 4
Wed Jun 21 13:18:10 BST 2006
oracle.wh.util.DebugUtility: Before processing SPAWN Token
Wed Jun 21 13:18:10 BST 2006
oracle.wh.util.DebugUtility: [processSPAWN]: User = runtime_owner
Wed Jun 21 13:18:10 BST 2006
oracle.wh.util.DebugUtility: [processSPAWN]: wholeLine =..\..\..\jdk\jre\bin\javaw -classpath ../../../lib/transx.zip;../../../lib/xschema.jar;../../../oc4j/rdbms/jlib/xsu12.jar;../../../rdbms/jlib/xdb.jar;../../lib/int/rtpplatform.jar;../../lib/int/rtpcommon.jar;../../../jdbc/lib/ojdbc14.jar;../../../lib/xmlparserv2.jar;../../../sqlj/lib/runtime12.jar;../../../jdk/jre/lib/rt.jar oracle.xml.transx.loader "(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=%host)(PORT=%port))(CONNECT_DATA=(SERVICE_NAME=%serviceName)))" %user %password ../../rtasst/wb_rt_messages_en.xml
Wed Jun 21 13:18:10 BST 2006
oracle.wh.util.DebugUtility: after executing the output
Wed Jun 21 13:18:11 BST 2006
oracle.wh.util.DebugUtility: java.lang.NoClassDefFoundError: oracle/xml/sql/dml/OracleXMLSave
Wed Jun 21 13:18:11 BST 2006
oracle.wh.util.DebugUtility: at oracle.xml.transx.TransXImpl.load(TransXImpl.java:241)
Wed Jun 21 13:18:11 BST 2006
oracle.wh.util.DebugUtility: at oracle.xml.transx.loader.load(loader.java:157)
Wed Jun 21 13:35:05 BST 2006
oracle.wh.util.DebugUtility: Exception in thread "main"
Wed Jun 21 13:35:05 BST 2006
oracle.wh.util.DebugUtility: (Spawn Token) Error loading Java into DB:
Wed Jun 21 13:35:05 BST 2006
oracle.wh.util.DebugUtility: [processSPAWN]: A spawned program error. Exception = java.lang.Exception: java.io.BufferedInputStream@16752c9
Wed Jun 21 13:35:05 BST 2006
oracle.wh.util.DebugUtility: [processSPAWN]: Get the error, stop processing...
Wed Jun 21 13:36:12 BST 2006
oracle.wh.util.DebugUtility: Assistant operation is unsuccessful ...According to metalink:
"Cause:
The cause of the problem is the existence of public synonyms pointing to the java tables.
CREATE$JAVA$LOB$TABLE and/or JAVA$CLASS$MD5$TABLE
The presence of the Public synonyms prevents the Runtime Assistant from creating new tables. This can be verified from sqlplus, connected as the sys user:
SQL> select owner,synonym_name, table_name, table_owner
2 from dba_synonyms
3* where synonym_name like '%JAVA%TABLE';
Solution
To implement the solution, please execute the following steps as a sys user from sql*plus. If required, change the synonym names to match the names returned in the select statement:
. DROP PUBLIC SYNONYM CREATE$JAVA$LOB$TABLE;
2. DROP PUBLIC SYNONYM JAVA$CLASS$MD5$TABLE;
Once complete, start the Runntime Assistant and perform the installation. When the Assistant completes, verify the log file does not contain errors or exceptions."
Hope it works!
Marcos SpĂnola -
Resolve error when using loadjava
Hi, I'm trying to use loadjava to load my Java class into Oracle. I got the following error:
resolving: com/company/package/class1
Errors in com/company/package/class1:
ORA-29534: referenced object SCOTT.com/company/package/class2 could not be resolved
Actually both these classes are in the JAVA$CLASS$MD5$TABLE and are in the same jar file, which I pass to loadjava. My OS is Solaris 2.8 and the Oracle is 8.1.6. Any idea what's wrong? Thanks,
nullyou posted :
loadjava -user SCOTT/TIGER@mydatabase -r -v -f -t myclass.jar
that is the jdbc oci syntax since you're trying to use a tnsnames.ora entry "mydatabase" after the "@".
it also required the oracle client installation to run jdbc oci formats.
change to one of the following :
loadjava -user SCOTT/TIGER@mydatabase -r -v -f myclass.jar
or
loadjava -user SCOTT/TIGER@<host>:<port>:<sid> -r -v -f -t myclass.jar
Maybe you are looking for
-
Itunes keeps quiting unexpectedly
my itunes quits a couple times a day with error saying "quit unexpectedly" or something along those lines only since the last update im on a mac and never had this prob before... any ideas? i always send the report to apple please fix
-
How to change the display name in the filter view
Hi, I have one column "*Year*" and type in case when 1=2 then "product_d"."name" else "calendar_d"."year" end. I add a filter view for it. but when I select, like 2010, it will display"case when 1=2 then "product_d"."name" else "calendar_d"."year" en
-
How to consume a ABAP webservice in a webdynpro app?
Hi, I have a BAPI in ABAP that is exposed as a webservice. I want to use this to build a webdynpro app so that i can consume this webservice. This BAPI returns the Employee data. As soon as the person logs into the portal i am going to pass his login
-
I get somtimes following strange error message, when i use the <uix:image>-tag prepareAuxObj:java.io.StreamCorruptedException: Type code out of range, is 10 Has anybody an explanation for this? Marc
-
Ipad 1 does't synch with itunes when connected to power
when I connect my ipad 1 to charge it does't synch with itunes. itunes finds the ipad over wifi but it doesn't synch.