Encount Ora-29534 when loadjava xmlparserv2.jar
I encounted ora-29534 error message when I tried to load xml pl/sql parser using the following command:
% loadjava -user scott/tiger -r -v xmlparserv2.jar
Environment: Oracle8.1.5
windows nt sp4
jdk1.1.8
What causes this problem and how to resolve it?
Thanks!
Allen
Got the problem sorted out. Apparently it was because I had Oracle 8.1.5 which used Java 1.1.7, whereas the version of xmlparserv2.jar I had was compiled using a more recent version of Java.
Migrated to Oracle 8.1.7, and that solved the problem.
Similar Messages
-
ORA-29534 in loadjava xsu111.jar
Help!
While trying to install the server side of the XSU ver 111 I get an 'ORA-29534: referenced object P79890.oracle/xml/sql/dml/OracleXMLSave could not be resolved' message. I've looked through the bulletin board messages and noted that most people have resolved this issue with a correct CLASSPATH. I've reviewed that and all my env vars and see no problems: I do note that all the failures stem from oracle/xml/sql/dml/OracleXMLSave wic in turn got the message
'ORA-29521: referenced name oracle/jdbc2/Clob could not be found' I found this in classes111.zip and have made sure it is in CLASSPATH and CLASSPATHJ. but to no avail
Whaqt else can i try? loadjava results below
Oracle V 8.1.6
Windows NT 4.0 SP5
JDK 1.1.8
jdbc 111
Thanks,
David Summers
--> load parser - succeeded-
D:\Downloads\OracleXSU111\lib>call loadjava -r -v -u p79890/pswd xmlparserv2.jar
initialization complete
loading : oracle/xml/parser/v2/XSLResultElement
creating : oracle/xml/parser/v2/XSLResultElement
<snip>
org/xml/sax/Locator is already resolved
---> failing loadjava
D:\Downloads\OracleXSU111\lib>call loadjava -r -v -g public -u p79890/pswd xsu111.jar
initialization complete
loading : oracle/xml/sql/query/OracleXMLQuery
creating : oracle/xml/sql/query/OracleXMLQuery
loading : oracle/xml/sql/query/OracleXMLStaticQuery$QueryCtx
creating : oracle/xml/sql/query/OracleXMLStaticQuery$QueryCtx
loading : oracle/xml/sql/dataset/OracleXMLDataSetExtJdbc
creating : oracle/xml/sql/dataset/OracleXMLDataSetExtJdbc
loading : oracle/xml/sql/dataset/OracleXMLDataSetGenJdbc
creating : oracle/xml/sql/dataset/OracleXMLDataSetGenJdbc
loading : oracle/xml/sql/core/OracleXMLTimer
creating : oracle/xml/sql/core/OracleXMLTimer
loading : oracle/xml/sql/dml/OracleXMLStaticSave
creating : oracle/xml/sql/dml/OracleXMLStaticSave
loading : oracle/xml/sql/name/OracleColumnName
creating : oracle/xml/sql/name/OracleColumnName
loading : oracle/xml/sql/query/OracleXMLStaticQuery
creating : oracle/xml/sql/query/OracleXMLStaticQuery
loading : oracle/xml/sql/OracleXMLSQLNoRowsException
creating : oracle/xml/sql/OracleXMLSQLNoRowsException
loading : oracle/xml/sql/core/OracleXMLUtil
creating : oracle/xml/sql/core/OracleXMLUtil
loading : oracle/xml/sql/core/OracleXMLConvert
creating : oracle/xml/sql/core/OracleXMLConvert
loading : oracle/xml/sql/dml/OracleXMLStaticSave$MutableInt
creating : oracle/xml/sql/dml/OracleXMLStaticSave$MutableInt
loading : oracle/xml/sql/core/OracleXMLTime
creating : oracle/xml/sql/core/OracleXMLTime
loading : oracle/xml/sql/name/OracleCollectionName
creating : oracle/xml/sql/name/OracleCollectionName
loading : oracle/xml/sql/XSUMesg
creating : oracle/xml/sql/XSUMesg
loading : oracle/xml/sql/query/OracleXMLStaticQuery$MutableInt
creating : oracle/xml/sql/query/OracleXMLStaticQuery$MutableInt
loading : oracle/xml/sql/dml/OracleXMLSave
creating : oracle/xml/sql/dml/OracleXMLSave
loading : oracle/xml/sql/dml/OracleXMLStaticSave$SaveCtx
creating : oracle/xml/sql/dml/OracleXMLStaticSave$SaveCtx
loading : OracleXML
creating : OracleXML
loading : oracle/xml/sql/docgen/OracleXMLDocGenDOM
creating : oracle/xml/sql/docgen/OracleXMLDocGenDOM
loading : oracle/xml/sql/docgen/OracleXMLDocGenLob
creating : oracle/xml/sql/docgen/OracleXMLDocGenLob
loading : oracle/xml/sql/OracleXMLSQLException
creating : oracle/xml/sql/OracleXMLSQLException
loading : oracle/xml/sql/name/OracleScalarName
creating : oracle/xml/sql/name/OracleScalarName
loading : oracle/xml/sql/docgen/OracleXMLDocGen
creating : oracle/xml/sql/docgen/OracleXMLDocGen
loading : oracle/xml/sql/name/OracleADTName
creating : oracle/xml/sql/name/OracleADTName
loading : oracle/xml/sql/dataset/OracleXMLDataSet
creating : oracle/xml/sql/dataset/OracleXMLDataSet
loading : oracle/xml/sql/name/OracleCursorName
creating : oracle/xml/sql/name/OracleCursorName
loading : oracle/xml/sql/docgen/OracleXMLDocGenString
creating : oracle/xml/sql/docgen/OracleXMLDocGenString
loading : OracleXMLStore
creating : OracleXM LStore
loading : oracle/xml/sql/mesg/XSUMessages.properties
creating : oracle/xml/sql/mesg/XSUMessages.properties
loading : META-INF/MANIFEST.MF
creating : META-INF/MANIFEST.MF
loading : XSU111_VERSION_1_2_1
creating : XSU111_VERSION_1_2_1
loading : XSU111_RDBMS_MAIN_SOLARIS_000620
creating : XSU111_RDBMS_MAIN_SOLARIS_000620
resolver :
resolving: oracle/xml/sql/dml/OracleXMLStaticSave
Errors in oracle/xml/sql/dml/OracleXMLStaticSave:
ORA-29534: referenced object P79890.oracle/xml/sql/dml/OracleXMLSave could n
ot be resolved
resolving: oracle/xml/sql/docgen/OracleXMLDocGenLob
oracle/xml/sql/name/OracleScalarName is already resolved
oracle/xml/sql/dataset/OracleXMLDataSetExtJdbc is already resolved
oracle/xml/sql/name/OracleADTName is already resolved
oracle/xml/sql/dataset/OracleXMLDataSetGenJdbc is already resolved
resolving: OracleXMLStore
Errors in OracleXMLStore:
ORA-29534: referenced object P79890.oracle/xml/sql/dml/OracleXMLSave could n
ot be resolved
oracle/xml/sql/core/OracleXMLTimer is already resolved
oracle/xml/sql/docgen/OracleXMLDocGenString is already resolved
oracle/xml/sql/docgen/OracleXMLDocGenDOM is already resolved
resolving: oracle/xml/sql/query/OracleXMLStaticQuery$QueryCtx
Errors in oracle/xml/sql/query/OracleXMLStaticQuery$QueryCtx:
ORA-29534: referenced object P79890.oracle/xml/sql/query/OracleXMLQuery coul
d not be resolved
resolving: oracle/xml/sql/query/OracleXMLStaticQuery
Errors in oracle/xml/sql/query/OracleXMLStaticQuery:
ORA-29534: referenced object P79890.oracle/xml/sql/query/OracleXMLQuery coul
d not be resolved
oracle/xml/sql/core/OracleXMLConvert is already resolved
resolving: oracle/xml/sql/query/OracleXMLQuery
Errors in oracle/xml/sql/query/OracleXMLQuery:
ORA-29534: referenced object P79890.oracle/xml/sql/dml/OracleXMLSave could n
ot be resolved
oracle/xml/sql/OracleXMLSQLNoRowsException is already resolved
resolving: OracleXML
Errors in OracleXML:
ORA-29534: referenced object P79890.oracle/xml/sql/dml/OracleXMLSave could n
ot be resolved
resolving: oracle/xml/sql/dml/OracleXMLStaticSave$MutableInt
Errors in oracle/xml/sql/dml/OracleXMLStaticSave$MutableInt:
ORA-29534: referenced object P79890.oracle/xml/sql/dml/OracleXMLStaticSave c
ould not be resolved
resolving: oracle/xml/sql/query/OracleXMLStaticQuery$MutableInt
Errors in oracle/xml/sql/query/OracleXMLStaticQuery$MutableInt:
ORA-29534: referenced object P79890.oracle/xml/sql/query/OracleXMLStaticQuer
y could not be resolved
oracle/xml/sql/name/OracleCollectionName is already resolved
resolving: oracle/xml/sql/dml/OracleXMLStaticSave$SaveCtx
Errors in oracle/xml/sql/dml/OracleXMLStaticSave$SaveCtx:
ORA-29534: referenced object P79890.oracle/xml/sql/dml/OracleXMLSave could n
ot be resolved
oracle/xml/sql/name/OracleCursorName is already resolved
oracle/xml/sql/dataset/OracleXMLDataSet is already resolved
oracle/xml/sql/docgen/OracleXMLDocGen is already resolved
oracle/xml/sql/core/OracleXMLTime is already resolved
resolving: oracle/xml/sql/core/OracleXMLUtil
Errors in oracle/xml/sql/core/OracleXMLUtil:
ORA-29534: referenced object P79890.oracle/xml/sql/dml/OracleXMLSave could n
ot be resolved
oracle/xml/sql/name/OracleColumnName is already resolved
resolving: oracle/xml/sql/dml/OracleXMLSave
Errors in oracle/xml/sql/dml/OracleXMLSave:
ORA-29521: referenced name oracle/jdbc2/Clob could not be found
oracle/xml/sql/XSUMesg is already resolved
oracle/xml/sql/OracleXMLSQLException is already resolved
loadjava: 11 errors
nullAre you able to run Java Stored Procedures succesfully in your system.
Log into SQL*Plus as SYS. Issue the following queries:
SQL> SELECT count(*) FROM obj$ WHERE type#=29 AND owner#=0;
COUNT(*)
8535
It should return >= 8000.
SQL> SELECT count(*) FROM obj$ WHERE type#=29 AND owner#=0 AND status != 1;
COUNT(*)
0
Let me know the results of the above and creating of Java SP's.
null -
In Oracle8i.15, I tried to install xmlparserv2.jar after I downloaded xdk_plsql_9_2_0_2_0.zip and upzip to local machine.
However, when I issued the follwoing command:
loadjava -v -r -user SYSTEM/manager -force xmlparserv2.jar
For each class, it has the following error message:
resolving: oracle/xml/async/DOMBuilderErrorListener
Error while resolving class oracle/xml/async/DOMBuilderErrorListener
ORA-04043: object oracle/xml/async/DOMBuilderErrorListener does not exist
resolving: oracle/xml/comp/CXMLParser
Error while resolving class oracle/xml/comp/CXMLParser
ORA-04043: object oracle/xml/comp/CXMLParser does not exist
How can I solve this problem?
Thanks in advance.Do you mean you use 8.1.5? You can't directly load the xmlparserv2.jar to it.
-
ORA-29534 when loading Java XML Parser
Hi. I'm trying to install the Java and PL/SQL parsers into an 8i database, following the instructions in Steve Muench's O'Reilly book.
It looks like loadjava is loading the classes, but when it tries to resolve them I get the ORA-29534 error for each class. We're running 8.1.5 on the database, and the parser is 2.0.10 (I think - I downloaded it from OTN today, and I'm installing the Java parser from the Java XDK not the PL/SQL XDK).
Any help is appreciated.
Thanks in advance,
Craig Drabik
Lead Programmer/Analyst
Univeristy at Buffalo
[email protected]That's 2.0.2.10 not 2.0.10
-Craig
null -
I have a very simple java class as below:
public class Hello
{ public static String world ()
{ return "Hello world.";
$ javac Hello.java
runs successfully
However, when I tried to run
$ loadjava -user userID/password -oci8 -resolve Hello.class
I got this:
errors : class Hello
ORA-29545: badly formed class:
The following operations failed
class Hello: resolution
exiting : Failures occurred during processing
Any ideas?
Thanks!I have a very simple java class as below:
public class Hello
{ public static String world ()
{ return "Hello world.";
$ javac Hello.java
runs successfully
However, when I tried to run
$ loadjava -user userID/password -oci8 -resolve Hello.class
I got this:
errors : class Hello
ORA-29545: badly formed class:
The following operations failed
class Hello: resolution
exiting : Failures occurred during processing
Any ideas?
Thanks! -
Encountering ORA-01152 when implementing DataGuard
Working of a 2-node cluster hosting 11.1.0.7 on a Linux RH4 platform, and attempting to implement DataGuard on a single node with same OS and same DB version, and followed document http://www.oracle.com/technology/deploy/availability/pdf/dataguard11g_rac_maa.pdf
The "duplicate target " command works successfully, and having recreated the sp file on the standby node, when I attempt to startup the standby database I get the following error.
SQL> startup
ORACLE instance started.
Total System Global Area 534462464 bytes
Fixed Size 2161400 bytes
Variable Size 314574088 bytes
Database Buffers 209715200 bytes
Redo Buffers 8011776 bytes
Database mounted.
ORA-10458: standby database requires recovery
ORA-01152: file 1 was not restored from a sufficiently old backup
ORA-01110: data file 1: '+DATA/abcdg/datafile/system.258.697912407'
I have re-tried several times without success - any ideas anybody?I've skimmed the PDF and I think what has happened is that you may have slightly diverged from the sequence shown by issuing "startup" instead of "startup mount", the difference being that "startup" tries to open the standby database in read only mode, which is when ORA-01152 is thrown.
I'm assuming here that the rman duplicate operation does not include a recovery phase, if that is true then the restored datafiles will need recovering to a consistent state before the database can be opened in read-only mode.
In short you probably just need to issue:
recover managed standby database disconnect;and let managed recovery run the archive logs in. Once it is consistent then subsequent "startup" commands should work without error.
If you don't actually want it open read-only then you can just leave it in a mount state and running managed recovery. -
Encounter ORA-01002 when calling OCIStmtFetch2 to fetch blob data
Oracle Version:Release 10.2.0.1.0
Description:
We use these two functions to fetch the content of blob field dynamically in batch mode:
OCIDefineByPos(OCI_DYNAMIC_FETCH)
OCIDefineDynamic(callbackfun->cbf_get_data)
We allocate fixed memory to fetch data in order to using compact memory.
If the size of blob to be fetched is larger than the allocated memory size, the fetch can not be done in one call, which need to be interrupted.
Those records would remain in cache and can only be fetched until calling OCIStmtFetch2 next time.
The callback function:cbf_get_data, achieves this by returning OCI_ROWCBK_DONE, which marks current fetch interrupted.
It would not return OCI_CONTINUE, because OCI_CONTINUE can not interrupt current fetch procedure in time.
We made a sample code test, and found this logic only works when fetching small rows (nearly 800 rows). Exceptions occurred when fetching more rows(>=1000 rows).
For example, among these 2 cases,
1.(OCIStmtFetch2(m_stmthp,m_errhp,(ub4)800,OCI_FETCH_NEXT,(sb4)OCI_FETCH_RELATIVE,OCI_DEFAULT)
2.(OCIStmtFetch2(m_stmthp,m_errhp,(ub4)1000,OCI_FETCH_NEXT,(sb4)OCI_FETCH_RELATIVE,OCI_DEFAULT)
only the 1st one work, but the 2nd.
After function cbf_get_data returns OCI_ROWCBK_DONE, calling OCIStmtFetch2 did not enter into callback function cbf_get_data.
And OCIErrorGet showed such error:
ORA-01002: fetch out of sequence
the total number of result set is about 100,000.
We tried to set PREFETCH to a larger value in this way::
OCIAttrSet(m_stmthp,OCI_HTYPE_STMT,(dvoid *)&rnum,0,OCI_ATTR_PREFETCH_ROWS,m_errhp);
rtn=OCIAttrSet((dvoid *)m_stmthp, (ub4) OCI_HTYPE_STMT,(dvoid *)&preFetch, (ub4)sizeof(preFetch), OCI_ATTR_PREFETCH_MEMORY,m_errhp);
but it did not help.
Waiting for you guidance.
Thanks in advance!
-Andy
Edited by: Andy Tong on 2010-10-22 上午12:29Here is our testing Code:
#include "oci.h"
#include<stdio.h>
#include<stdlib.h>
#include<string.h>
#pragma comment(lib,"oci.lib")
char buf1[5000];
char buf2[5000];
long datalen=5000;
ub4 outpos=1;
ub4 outpos2=2;
int sum=0;
int sum2=0;
OCIError *m_errhp;
OCIStmt *m_stmthp;
char LOBBuf[8006];
long LOBLen=8006;
long gindpp=0;
ub2 grcpp=0;
#define MAX_ROW_NUM 56338
/* Fetch callback to specify buffers. */
sb4 cbf_get_data( dvoid* ctxp,
OCIDefine* dfnhp,
ub4 iter,
dvoid** bufpp,
ub4** alenpp,
ub1* piecep,
dvoid** indpp,
ub2** rcpp)
if(iter==0)
sum=0;
else if(iter>=858) //857 exception
//LOBBuf,LOBLen
// sum+=LOBLen;
// if(sum>1057552-100*1024)
sum=0;
bufpp=(dvoid)0;
alenpp=(ub4)0;
*piecep = (ub1)OCI_ONE_PIECE;
indpp = (dvoid ) 0;
rcpp = (ub2 ) 0;
return(OCI_ROWCBK_DONE);
LOBLen=8006;
bufpp=(dvoid)LOBBuf;
alenpp=(ub4)&LOBLen;
*piecep = (ub1)OCI_ONE_PIECE;
indpp = (dvoid )&gindpp;
rcpp = (ub2 )&grcpp;
return(OCI_CONTINUE);
BOOL CTest_ociApp::InitInstance()
OCIEnv * m_envhp;
OCIServer * m_srvhp;
OCISvcCtx * m_svchp;
sword rtn;
char sqlState[256];
int nativeErr;
char errTxt[256];
unsigned long bufLen=256;
OCIDefine hDefine = (OCIDefine ) 0;
OCIDefine hDefine1 = (OCIDefine ) 0;
OCIDefine hDefine2 = (OCIDefine ) 0;
OCIDefine hDefine3 = (OCIDefine ) 0;
OCIDefine hDefine4 = (OCIDefine ) 0;
int i;
OCILobLocator** lob_array;
char username[255];
char password[30];
char dbname[30];
char szSqlStr[255];
ub4 preFetch= 10*1024*16;
strcpy(username,"dlg25w");
strcpy(password,"sa");
strcpy(dbname,"WIN10G");
OCIEnvCreate(&m_envhp, OCI_DEFAULT | OCI_OBJECT, 0, 0, 0, 0, 0, 0);
OCIHandleAlloc( (dvoid *)m_envhp, (dvoid **)&m_errhp,OCI_HTYPE_ERROR,(size_t) 0, (dvoid **) 0);
OCIHandleAlloc( (dvoid *)m_envhp, (dvoid **)&m_srvhp,OCI_HTYPE_SERVER,(size_t) 0, (dvoid **) 0);
OCIHandleAlloc( (dvoid *)m_envhp, (dvoid **)&m_svchp,OCI_HTYPE_SVCCTX,(size_t) 0, (dvoid **) 0);
OCIHandleAlloc( (dvoid *)m_envhp, (dvoid **)&m_stmthp,OCI_HTYPE_STMT,(size_t) 0, (dvoid **)0);
OCIServerAttach(m_srvhp, m_errhp,(text *)dbname, strlen(dbname),(ub4) OCI_DEFAULT);
OCILogon(m_envhp,m_errhp,&m_svchp,(text *)username,strlen(username),(text *)password,strlen(password),(text *)dbname,strlen(dbname));
ub4 rnum=0;
unsigned int len=0;
//rtn=OCIAttrGet(m_envhp,OCI_HTYPE_ENV,(dvoid *)&rnum,&len,OCI_ATTR_CACHE_MAX_SIZE,m_errhp);
OCIErrorGet((dvoid *) m_errhp,(ub4)1,(OraText *)sqlState,&nativeErr,(unsigned char*)errTxt,bufLen,(ub4) OCI_HTYPE_ERROR);
len=4;
rnum=83886080;
rtn=OCIAttrSet(m_envhp,OCI_HTYPE_ENV,(dvoid *)&rnum,len,OCI_ATTR_CACHE_OPT_SIZE,m_errhp);
rtn=OCIAttrGet(m_envhp,OCI_HTYPE_ENV,(dvoid *)&rnum,&len,OCI_ATTR_CACHE_OPT_SIZE,m_errhp);
OCIErrorGet((dvoid *) m_errhp,(ub4)1,(OraText *)sqlState,&nativeErr,(unsigned char*)errTxt,bufLen,(ub4) OCI_HTYPE_ERROR);
rnum=2000;
sprintf( szSqlStr,"%s", "SELECT DATA FROM MF4");
OCIStmtPrepare(m_stmthp, m_errhp, (text*)szSqlStr, (ub4)strlen(szSqlStr),(ub4) OCI_NTV_SYNTAX, (ub4)OCI_DEFAULT);
OCIAttrSet(m_stmthp,OCI_HTYPE_STMT,(dvoid *)&rnum,0,OCI_ATTR_PREFETCH_ROWS,m_errhp);
/* initialize array of locators */
OCIDefineByPos(m_stmthp, &hDefine2, m_errhp, (ub4)1,(dvoid *)0,(sb4)8006,SQLT_BIN,(dvoid *)0, (ub2 *)0, (ub2 *)0,(ub4) OCI_DYNAMIC_FETCH);//OCI_DYNAMIC_FETCH
OCIDefineDynamic(hDefine2, m_errhp, (dvoid *)&outpos,(OCICallbackDefine)cbf_get_data);
OCIStmtExecute(m_svchp, m_stmthp, m_errhp,(ub4)0, (ub4) 0,(const OCISnapshot*) 0,
(OCISnapshot*)0,(ub4)OCI_DEFAULT);//OCI_STMT_SCROLLABLE_READONLY
rtn=OCIAttrSet((dvoid *)m_stmthp, (ub4) OCI_HTYPE_STMT,(dvoid *)&preFetch, (ub4)sizeof(preFetch), OCI_ATTR_PREFETCH_MEMORY,m_errhp);
while(1)
rtn=OCIStmtFetch2(m_stmthp,m_errhp,(ub4)1000,OCI_FETCH_NEXT,(sb4)OCI_FETCH_RELATIVE,OCI_DEFAULT);
OCIErrorGet((dvoid *) m_errhp,(ub4)1,(OraText *)sqlState,&nativeErr,(unsigned char*)errTxt,bufLen,(ub4) OCI_HTYPE_ERROR);
if(rtn==OCI_NO_DATA)
break;
else
t0=GetTickCount()-t0;
t0=0;
OCIAttrGet((CONST void *)m_stmthp,OCI_HTYPE_STMT,(void *)&rows_fetched,(ub4 *)sizeof(rows_fetched),OCI_ATTR_ROW_COUNT ,m_errhp);
printf("\n Total number of records:%d",rows_fetched);
OCILogoff( m_svchp, m_errhp );
OCIServerDetach( m_srvhp, m_errhp, OCI_DEFAULT );
OCIHandleFree((dvoid *) m_stmthp, OCI_HTYPE_STMT);
OCIHandleFree((dvoid *) m_svchp, OCI_HTYPE_SVCCTX);
OCIHandleFree((dvoid *) m_srvhp, OCI_HTYPE_SERVER);
OCIHandleFree((dvoid *) m_errhp, OCI_HTYPE_ERROR);
getchar();
return FALSE;
} -
Error Loading xmlparserv2.jar
Platform: NT4 SP5
Database: 8.1.6
When loading xmlparserv2.jar via loadjava, I'm getting an ORA-01401: inserted value too large for column.
Command:
loadjava -user eclipse/eclipse@bugs -r -v xmlparserv2.jar
Errors:
loading : oracle/xml/parser/v2/mesg/XMLErrorMesg_zh_CN.properties
creating : oracle/xml/parser/v2/mesg/XMLErrorMesg_zh_CN.properties
Error while creating resource oracle/xml/parser/v2/mesg/XMLErrorMesg_zh_CN.prope
rties
ORA-00604: error occurred at recursive SQL level 1
ORA-01401: inserted value too large for column
ORA-06512: at line 2
loading : oracle/xml/parser/v2/mesg/XMLErrorMesg_cs_CZ.properties
creating : oracle/xml/parser/v2/mesg/XMLErrorMesg_cs_CZ.properties
Error while creating resource oracle/xml/parser/v2/mesg/XMLErrorMesg_cs_CZ.prope
rties
ORA-00604: error occurred at recursive SQL level 1
ORA-01401: inserted value too large for column
ORA-06512: at line 2
I just manually upgraded to 8.1.6 from an 8.1.5 database. I also ran jvmu815.sql to upgrade the JVM.
I noticed that there is a patch out for 8.1.6, would this be helpful to install?
Thanks.
nullChristine,
I apologize for the delay.
I verified that the system is OK so I believe that the solution is a good work around.
1.) Export the schema that you want to utilize the XML Parser and all the schema constraints, procedures, etc.
2.) Drop the user/schema and cascade all of the user's objects.
3.) Recreate the user with the same priveledges and with the same default and temp storage locations.
4.) Load the xmlparserv2.jar and the xmlplsql.jar files with loadjava as the user you just recreated.
5.) Run the sql script to create the java packages as the same user.
6.) Now, import the schema that you exported in step 1.
7.) After the import, I had to recompile three xml package bodies. They were: XMLDOM, XMLPARSER and XMLPROCESSOR. Check them to see if they are invalid in your user's shema.
Good luck,
Eric -
I encounter ORA 01012 WHEN execute "SELECT DBMS_FLASHBACK.GET_SYSTEM_CHANGE_NUMBER FROM DUAL;" in my ProC program, but under SQLPLUS it is ok. The whole scenarios are:
1. My platform is Solaris 10, Oracle 10.2g / 64bit
2. "alter system archive log current" failure, Oracle complaint about flash_recovery_area full, so I run
delete obsolete;
crosscheck backup;
delete expired backup;
3. Later I issued command "shutdown", oralce had no reponse after long time, so I issued command "shutdown abort" to shutdown the database, and then "startup" the database successfully to "READ WRITE", user application can also accessed the database.
4. One of my ProC program get ORA-01012 when execute SELECT DBMS_FLASHBACK.GET_SYSTEM_CHANGE_NUMBER FROM DUAL;
5. But I got no error if I execute "SELECT DBMS_FLASHBACK.GET_SYSTEM_CHANGE_NUMBER FROM DUAL; " using SQLPLUS.
Any suggestion about this problem? blow is my ProC function call.
u_int32_t
proc_GetLastSCN()
char buf[300];
u_int32_t scn=0;
if (proc_ConnectDB() == APP_ERROR)
return APP_ERROR;
memset(buf, 0, sizeof(buf));
snprintf(buf, sizeof(buf),
"select DBMS_FLASHBACK.GET_SYSTEM_CHANGE_NUMBER from DUAL");
oraca.orastxtf = ORASTFERR;
EXEC SQL WHENEVER SQLERROR GOTO ora_sqlerror;
EXEC SQL WHENEVER NOT FOUND DO break;
EXEC SQL WHENEVER SQLWARNING CONTINUE;
EXEC SQL PREPARE S5 FROM :buf;
EXEC SQL DECLARE C5 CURSOR FOR S5;
EXEC SQL OPEN C5;
for (;;) {
EXEC SQL FETCH C5 INTO :scn;
EXEC SQL CLOSE C5;
proc_DisconnectDB();
return scn;
ora_sqlerror:
dyn_error("ORACLE error --proc_GetLastSCN\n");
EXEC SQL CLOSE C5;
proc_DisconnectDB();
return 0;
int32_t
proc_ConnectDB()
/* Declare variables. No declare section is needed if MODE=ORACLE. */
VARCHAR username[DB_MAX_NAME_LEN];
/* VARCHAR is an Oracle-supplied struct */
VARCHAR password[DB_MAX_NAME_LEN];
int32_t ret = APP_OK;
strncpy((char *) username.arr, gateinfo.szSrvLogin, sizeof(gateinfo.szSrvLogin));
username.len = (unsigned short) strlen((char *) username.arr);
strncpy((char *) password.arr, gateinfo.szSrvPassword, strlen(gateinfo.szSrvPassword));
password.len = (unsigned short) strlen((char *) password.arr);
EX_SCREEN_INIT();
EXEC SQL WHENEVER SQLERROR GOTO ora_sqlerror;
EXEC SQL CONNECT :gateinfo.szSrvLogin IDENTIFIED BY :gateinfo.szSrvPassword;
return ret;
ora_sqlerror:
errlog(ELOG_ERROR, "proc_ConnectDB@Failed to connect to %s!", gateinfo.szHistSrv);
sql_error("ORACLE error proc_ConnectDB --\n");
ret = APP_ERROR;
return ret;
}01012, 00000, "not logged on"
// *Cause:
// *Action:use COPY & PASTE so we can see what you do & how Oracle responds. -
Hi all,
I'm trying to load dbws-callout-utility in a oracle9i Enterprise Edition Realease 9.2.0.5.0 data base.
To do that, I've follow these instructions "http://www.oracle.com/technology/sample_code/tech/java/jsp/callout_users_guide.htm" step by step:
- I've set shared_pool_size to 96M (then, even to 150M) in my spfile.
- I've set java_pool_size to 80M in my spfile.
- I've tested this changes were well done.
- Then, I've download oc4j_extended 10.1.2 version, as said the link.
- manual says that I must load this jar files:
jssl-1_2.jar, soap.jar, dms.jar, servlet.jar, ejb.jar, mail.jar
- I've could to load these jars without any error using these commands:
cd $ORACLE_HOME/lib
dropjava -u wsuser/pass mail.jar
dropjava -u wsuser/pass activation.jar
cd $ORACLE_HOME/oc4j_extended/j2ee/home/lib
loadjava -resolve -verbose -synonym -grant PUBLIC -user wsuser/pass ejb.jar
cd $ORACLE_HOME/lib
loadjava -resolve -verbose -synonym -grant PUBLIC -user wsuser/pass activation.jar
loadjava -resolve -verbose -synonym -grant PUBLIC -user wsuser/pass mail.jar
cd ${ORACLE_HOME}/oc4j_extended/j2ee/home/lib
loadjava -resolve -verbose -synonym -grant PUBLIC -user wsuser/pass servlet.jar
cd ${ORACLE_HOME}/jlib
loadjava -resolve -verbose -synonym -grant PUBLIC -user wsuser/pass jssl-1_2.jar
but when I try to load dms.jar with this command:
cd ${ORACLE_HOME}/oc4j_extended/lib
loadjava -resolve -verbose -synonym -grant PUBLIC -user wsuser/pass dms.jar
loadjava's process hangs just compiling (resolving) this class: "oracle/dms/address/Optic", so I've got to kill process.
Then, I try to load dms.jar with the same command but without "-resolve" option. This way, I've been able to load all class from
this jar including the named before "oracle/dms/address/Optic". Then I compile all java class by hand except "oracle/dms/address/Optic"
because everytime I try to compile (-resolve) this class, it hangs. So this is my first question: why?.
As I've could to load almost all java class, I said, I'm going to try to load last jar: soap.jar
cd ${ORACLE_HOME}/oc4j_extended/soap/lib
loadjava -resolve -verbose -synonym -grant PUBLIC -user wsuser/pass soap.jar
but when this command finish, it shows me these errors:
errors : class org/apache/soap/messaging/Message
ORA-29534: el objeto WSUSER.oracle/soap/transport/http/OracleSOAPHTTPConnection al que se hace referencia no se ha podido resolver
synonym : org/apache/soap/messaging/Message
The following operations failed
class oracle/soap/client/ProviderManagerClient: resolution
class oracle/soap/client/ServiceManagerClient: resolution
class oracle/soap/server/http/SOAPServlet: resolution
class oracle/soap/providers/JavaProvider: resolution
class oracle/soap/providers/ejbprov/EntityEJBProvider: resolution
class oracle/soap/providers/ejbprov/StatefulEJBProvider: resolution
class oracle/soap/providers/ejbprov/StatelessEJBProvider: resolution
class oracle/soap/providers/sp/SpProvider: resolution
class oracle/soap/transport/http/OracleSOAPHTTPConnection$1: resolution
class oracle/soap/transport/http/OracleSOAPHTTPConnection: resolution
class org/apache/soap/rpc/Call: resolution
class org/apache/soap/rpc/RPCMessage: resolution
class org/apache/soap/rpc/Response: resolution
class org/apache/soap/messaging/Message: resolution
exiting : Failures occurred during processing
but this has no sense, because this class oracle/soap/transport/http/OracleSOAPHTTPConnection do exists in the jar file and it can be loaded.
so I don't understand..... I try to load class by class to see dependencies or whatever using this command:
I choose this class to begin:
loadjava -resolve -verbose -synonym -grant PUBLIC -user wsuser/pass org/apache/soap/rpc/Call.class
it shows me:
creating : class org/apache/soap/rpc/Call
loading : class org/apache/soap/rpc/Call
granting : execute on class org/apache/soap/rpc/Call to PUBLIC
resolving: class org/apache/soap/rpc/Call
errors : class org/apache/soap/rpc/Call
ORA-29534: el objeto WSARR.oracle/soap/transport/http/OracleSOAPHTTPConnection al que se hace referencia no se ha podido resolver
synonym : org/apache/soap/rpc/Call
The following operations failed
class org/apache/soap/rpc/Call: resolution
exiting : Failures occurred during processing
so I try to load the class which it had could not find:
loadjava -resolve -verbose -synonym -grant PUBLIC -user wsarr/wsarr oracle/soap/transport/http/OracleSOAPHTTPConnection.class
it shows me:
creating : class oracle/soap/transport/http/OracleSOAPHTTPConnection
loading : class oracle/soap/transport/http/OracleSOAPHTTPConnection
granting : execute on class oracle/soap/transport/http/OracleSOAPHTTPConnection to PUBLIC
resolving: class oracle/soap/transport/http/OracleSOAPHTTPConnection
errors : class oracle/soap/transport/http/OracleSOAPHTTPConnection
ORA-29545: clase especificada incorrectamente: at offset 445 of oracle.soap.transport.http.OracleSOAPHTTPConnection.getHTTPConnection expecting a class-oracle.security.ssl.OracleSSLCredential but encountered a class-oracle.security.ssl.OracleSSLCredential.
synonym : oracle/soap/transport/http/OracleSOAPHTTPConnection
The following operations failed
class oracle/soap/transport/http/OracleSOAPHTTPConnection: resolution
exiting : Failures occurred during processing
o_o ...... but this could be endless!!!!!
Is there someone in this planet who had could to load this jars files without errors?????? :´(
Please, I need help!!!! it's urgent!
Thanks in advance!
MaríaThe error messages you are getting means that the JAR you loaded into the database is invalid.
ORA-29534: referenced object string.string could not be resolved
Cause: Name resolution determined that the indicated object is referenced but could not be resolved.
Action: Correct name resolver or address resolution problems in the referenced class, or correct compilation problems in its source.
Oracle extracts all classes from the jar file by the time you load the jar file and processes each class individually. I suggest you to run this query against the user_objects or dba_objects view to determine the status of your classes
select DBMS_JAVA.LONGNAME(OBJECT_NAME) as OBJECT_NAME
,STATUS
from USER_OBJECTS
where OBJECT_TYPE like 'JAVA%'
On the other hand, I see you are at 9.2.0.5.0, in order for you to avoid hitting known bugs, I suggest you to apply, if possible, the latest 9.2.0.8.0 + July CPU patch
~ Madrid -
Ora 29534 while using loadjava for jar files
I am trying to load activation/pop3/mail.jar in oracle 9.2.0.1 database.
command : loadjava -user maxsb/maxsb@q71d -resolve -verbose -genmissing activation.jar
but its giving me following error :
resolving: class com/sun/mail/pop3/DefaultFolder
errors : class com/sun/mail/pop3/DefaultFolder
ORA-29534: referenced object MAXSB.com/sun/mail/pop3/POP3Store could not be
resolved
errors : class com/sun/mail/pop3/POP3Folder
ORA-29534: referenced object MAXSB.com/sun/mail/pop3/DefaultFolder could not
be resolved
errors : class com/sun/mail/pop3/POP3Message
ORA-29534: referenced object MAXSB.com/sun/mail/pop3/POP3Folder could not be
resolved.....
have already gave grant permissions to user..still giving me similar errors at the time of loading jar file nito oracle database.
pl provide the solution..
KetsOracle is saying
Cause: Name resolution determined that the indicated object is referenced but could not be resolved.
Action: Correct name resolver or address resolution problems in the referenced class, or correct compilation problems in its source.
-aijaz -
ORA-29534 object could not be resolved (loadjava db2jcc.jar)
Hi,
getting frustraded ... :(
I cannot load the IBM JDBC driver for DB2 using loadjava (Oracle 10g on Solaris).
Is it because my version (downloaded from IBM webpage) needs jre1.5??? Any ideal with jdbc is working for DB2?
Cheers Aron
Message was edited by:
user583720Hi,
Many things can lead to ORA-29534 such as class compiled with an incompatible JDk/JRE version. For 10g, make sure the db2jcc.jar has been compiled with JDK 1.4.
Kuassi http://db360.blogspot.com -
Loadjava... xmlparserv2.jar (ver.2.1)
When i try to load javaclass into oracle ie.
loadjava -user system/manager -r -v xmlparserv2.jar
i get massages like:
Errors in oracle/xml/parser/v2/XMLCDATA: ORA-29534: referenced object SYSTEM.oracle/xml/parser/v2/XMLNode could not be resolved ORA-29545: badly formed class: java.lang.NullPointerException
I have Ora 8.1.6 Stnd.Ed. installed on RH 6.2.
Any ideas?
KailGot the problem sorted out. Apparently it was because I had Oracle 8.1.5 which used Java 1.1.7, whereas the version of xmlparserv2.jar I had was compiled using a more recent version of Java.
Migrated to Oracle 8.1.7, and that solved the problem. -
How to load External Resources such as Jar's? Help in resolving ORA-29534
Agenda: FTP files on Oracle 11g version 11.1.0.6.0 database server on Windows 2003 to another server. These files are generate using PL/SQL and Java Stored procedure
Implementation Details: I wrote java stored procedure for FTPing files. Protocol is FTPS and I’m using Apache common’s library commons-net-ftp-2.0.jar.
Now trying to load my project jar file using loadjava and it results into ORA-29534 error. I added location of commons-net-ftp-2.0.jar in the system class path and rebooted database server.
Question:+ How do I tell oracle location of external_ JAR files? I also tried dropping external jar to jlib and jdk lib. No Luck!
I will really appreciate your help…. Need to resolve it urgently for delivery
See the details
C:\TEMP>call loadjava -r -f -o -user <SCHEMA_NAME>/<PASSWORD>@ORCL projectFTPS.jar
errors : class ftp/DibrsFTP
ORA-29534: referenced object SFMIS5_2.ftp/DibrsFTPClient coul
d not be resolved
errors : class ftp/DibrsFTPClient
ORA-29521: referenced name org/apache/commons/net/ftp/FTPSClient could not b
e found
ORA-29521: referenced name org/apache/commons/net/ftp/FTPClient could not be
found
The following operations failed
class ftp/DibrsFTP: resolution
class ftp/DibrsFTPClient: resolution
exiting : Failures occurred during processing
Thanks,
Madan
Edited by: MadanShah on Aug 8, 2009 8:00 AMusing loadjava I can load commons-net-ftp-2.0.jar and my jar. When i execute pl/sql wrapper for defined java stored procedure it results into exception.
retval=-29532;ORA-29532: Java call terminated by uncaught Java exception: java.lang.NullPointerException
Same code works as Java application. I also granted socket permissions
DBMS_JAVA.GRANT_PERMISSION(
'SCHEMANAME', 'java.net.SocketPermission', REPLACEWITHHOST||':'|| REPLACEWITHPORT, 'connect,resolve');
This did not resolve the error. Since i do not have control external java library and it works as standalone application....
do you know any workarounds? Any ideas on implementing FTP functionality in plsql on oracle 11g database?
Thanks
Madan
Edited by: MadanShah on Aug 8, 2009 11:15 AM -
Loadjava error resolving xmlparserv2.jar
I was having problems loading the JVM on our 8.1.6 database, so I upgraded to 8.1.7 then migrated the database across. The JVM loads fine on this database. However, when I try and load the xmlparserv2.jar file using loadjava -v -r -u <uname>/<passwd> xmlparserv2.jar, I get ORA-04043 errors when it starts resolving. It seems to happen for every class. I've checked metalink for hits and checked the JVM installation according to Note:102717.1 and all seems fine. Any ideas?
check the javavm read me file or the java developer's guide sections dealing with memory usage.
"ava Memory Usage" is documented at :
http://otn.oracle.com/docs/products/oracle8i/doc_library/817_doc/java.817/a83728/perf2.htm#1005628
You're probably running into a "too small" shared_pool, java_pool or large_pool.
They're defined in the init.ora file.
Maybe you are looking for
-
Experts, I am getting the following error, while clicking on a button to load crystal report. Could not load file or assembly 'CrystalDecisions.CrystalReports.Engine, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of it
-
I just updated my 4S with iOS 8.1.1 and now my screens are not proportioned correctly - just a bit to long and wide. Is there a way to adjust? Or go back to 8.1?
-
Imovie 8 project library thumbnails not showing up after import
I have imovie 8 on my mac at home and I edited some footage and then wanted to bring it into work. I copied all the necessary event libraries and project libraries and I'm having a problem viewing them in my imovie 8 at work. I stored the Event libra
-
Usage meter counts while charging
This is my second iphone. My first one would not reach full charge and the usage meter never showed any statistics after a week of use. This phone has been great with a few things wrong, one continues to be the battery meter. When charging sometimes
-
What are all major process in SD?
Hai Guys, Do help me out in getting informations about the following. What are all major process in SD? detailed answers or links for this pls... Thanku Regards Jino