Errors loading xsu111.jar
When I run the oraclexmlsqlload.bat file and it gets to the 'call loadjava -r -v -g PUBLIC -u %USER_PASSWORD% xsu111.jar' line and in the phase where it tries to resolve references I get the following Errors:
ORA-29534: referenced object SYS.oracle/xml/sql/dml/OracleXMLSave could not be resolved
ORA-29534: referenced object SYS.oracle/xml/sql/query/OracleXMLQuery could not be resolved
ORA-29534: referenced object SYS.oracle/xml/sql/dml/OracleXMLStaticSave could not be resolved
ORA-29534: referenced object SYS.oracle/xml/sql/query/OracleXMLStaticQuery could not be resolved
ORA-29521: referenced name oracle/jdbc2/Clob could not be found
Does any one know what's the problem? I followed the installation instructions to the letter. Help!
see if the classes111.zip is in your classpath env. variable.... It looks as though it is trying to find the classes referenced in your message above.
Other than that, I do not know.
Similar Messages
-
Error loading dbwsclient.jar
I downloaded the dbws-callout-utility-10R2.zip to install the dbwsclient.jar as instructed in the readme file.
The database version is 10.1.0.4.2
The command used is:
loadjava -user sys/vector -r -v -f -s -grant public -noverify -genmissing dbwsclient.jar
I get the following response with error message:
arguments: '-user' 'sys/vector' '-r' '-v' '-f' '-s' '-grant' 'public' '-noverify' '-genmissing' 'dbwsclient.jar'
genmissing: com/sun/msv/datatype/xsd/UnsignedIntType
Exception in thread "main" java.lang.UnsatisfiedLinkError: t2cParseExecuteDescribe
at oracle.jdbc.driver.T2CStatement.t2cParseExecuteDescribe(Native Method)
at oracle.jdbc.driver.T2CCallableStatement.executeForDescribe(T2CCallableStatement.java:519)
at oracle.jdbc.driver.T2CCallableStatement.executeForRows(T2CCallableStatement.java:764)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1159)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3284)
at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3389)
at oracle.jdbc.driver.OracleCallableStatement.execute(OracleCallableStatement.java:4222)
at oracle.aurora.server.tools.loadjava.GenMissing.lookFor(GenMissing.java:528)
at oracle.aurora.server.tools.loadjava.GenMissing.classReference(GenMissing.java:503)
at oracle.aurora.server.tools.loadjava.GenMissing.add(GenMissing.java:436)
at oracle.aurora.server.tools.loadjava.GenMissing.add(GenMissing.java:398)
at oracle.aurora.server.tools.loadjava.CommonClassObject.genMissing(CommonClassObject.java:137)
at oracle.aurora.server.tools.loadjava.ClientClassObject.genMissing(ClientClassObject.java:120)
at oracle.aurora.server.tools.loadjava.SchemaObject.process1(SchemaObject.java:205)
at oracle.aurora.server.tools.loadjava.LoadJava.add(LoadJava.java:532)
at oracle.aurora.server.tools.loadjava.LoadJava.addClass(LoadJava.java:586)
at oracle.aurora.server.tools.loadjava.LoadJava.add(LoadJava.java:436)
at oracle.aurora.server.tools.loadjava.LoadJava.add(LoadJava.java:380)
at oracle.aurora.server.tools.loadjava.LoadJava.addJar(LoadJava.java:727)
at oracle.aurora.server.tools.loadjava.LoadJava.add(LoadJava.java:432)
at oracle.aurora.server.tools.loadjava.LoadJava.add(LoadJava.java:380)
at oracle.aurora.server.tools.loadjava.LoadJava.add(LoadJava.java:349)
at oracle.aurora.server.tools.loadjava.LoadJava.add(LoadJava.java:652)
at oracle.aurora.server.tools.loadjava.LoadJava.processDeferredFiles(LoadJava.java:617)
at oracle.aurora.server.tools.loadjava.LoadJava.process(LoadJava.java:818)
at oracle.aurora.server.tools.loadjava.LoadJava.command(LoadJava.java:251)
at oracle.aurora.server.tools.loadjava.LoadJavaMain.run(LoadJavaMain.java:103)
at oracle.aurora.server.tools.loadjava.LoadJavaMain.main(LoadJavaMain.java:28)
Any suggestions as for what's going wrong?
Regards, RobWhen I try to follow the Readme.Callout.htm instructions on a 10gR1 instance, I get an error on running jpub to generate the proxy. All previous objects were loaded into SCOTT rather than SYS (if that makes a difference). The error is:
C:\Projects\_RESEARCH\WebServices\oracle\javacallout>jpub -u scott/tiger -sysuser sys/oracle -proxywsdl="http://localhost:8888/javacallout/javacallout?WSDL"
tmp\src\genproxy\HttpSoap11ClientJPub.java
plsql_wrapper.sql
plsql_dropper.sql
plsql_grant.sql
plsql_revoke.sql
Executing plsql_dropper.sql
Executing plsql_wrapper.sql
Executing plsql_grant.sql
Loading sqlj/lib/dbwsclient.jar (about 5 minutes)...
Error loading dbwsclient.jar, please check the database trace file and make sure dbwsclient.jar exists in ORACLE_HOME/sqlj/lib.
Loading plsql_proxy.jarI'm really not sure what dbwsclient.jar it's talking about since this is NOT included with the latest callout utility. There is a dbwsclientws.jar which I placed into that same folder and RENAMED it.
If I examine the trace file location for my local 10gR1 instance, there is a ~1300K trace file in the folder: C:\Oracle\product\10.1.0\admin\orcl\udump. This file contains NUMEROUS ORA-29534 errors, i.e. ORA-29534: referenced object SYS.com/evermind/util/OpmnHelper could not be resolved. Later, the same trace file says: The following operations failed, and lists about 500+ entries followed by an error:
exiting : Failures occurred during processing
oracle.aurora.server.tools.loadjava.ToolsError: Error during loadjava: Failures occurred during processing. Check trace file for details
at oracle.aurora.server.tools.loadjava.LoadJavaMain.serverMain(LoadJavaMain.java:68)
at oracle.aurora.server.tools.loadjava.LoadJavaMain.serverMain(LoadJavaMain.java:42)I don't know what else I'm to examine.
It does appear to work when logged in as SCOTT in sql*plus:
scott@localhost> select jpub_plsql_wrapper.sayhello('hey there') from dual;
JPUB_PLSQL_WRAPPER.SAYHELLO('HEYTHERE')
HELLO!! You just said :hey there
1 row selected.Can these errors be ignored?
Eric -
Error Loading xerces.jar file
Hi,
I am getting the following errors while loading the Apache xercesImpl.jar file.
ORA-29534: referenced object SIRIUS.org/apache/xml/serialize/HTMLSerializer
could not be resolved
errors : class org/apache/xml/serialize/XML11Serializer
ORA-29534: referenced object SIRIUS.org/apache/xml/serialize/XMLSerializer c
ould not be resolved
errors : class org/apache/xml/serialize/XMLSerializer
ORA-29534: referenced object SIRIUS.org/apache/xml/serialize/OutputFormat co
uld not be resolved
errors : class org/w3c/dom/html/HTMLDOMImplementation
ORA-29521: referenced name org/w3c/dom/html/HTMLDocument could not be found
I am loading the jar file using the following command
loadjava -user demo/demo@userdemo -resolve xercesImpl.jar
Any help will be really appricated.
Thanks in advance
MohammadHi,
Check whether the file is open? close the file and try to pull once again.
Fields are matching with the data source? check it once. it should be in sync with MData fields.
and may be the problem with data...I think some Extra permitted chars / lower case is there in flat file. this can be solved by RSKC -
Error Loading PLSQL.jar
I am getting a java error when trying to load plsql.jar on Oracle 8.1.7
"Exception: java.util.zip.ZipException: invalid END header format"
the command i used is loadjava -user sys/passw plsql.jar
Thank you for your helpBrief search on My Oracle Support indicates that you need to raise an SR for this with Oracle support. However, since you are running an obsolete version of Oracle, you cannot raise an SR for the same.
Not sure if it would help but you can create a new Oracle home with your installable and try copying the JAR file from there. -
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 -
Error loading servlet.jar
I deployed a web application in tomcat server. I'm getting following error when starting the server
WebappClassLoader: validateJarFile(D:\jakarta-tomcat-4.1.27\webapps\registeruser
\WEB-INF\lib\servlet.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2.
Offending class: javax/servlet/Servlet.classI am trying to deploy a web application using Netbeans 6.1 but when I am running it I am getting the following errors:
deployed with moduleid = S
validateJarFile(/home/aadhya/sanju/S/build/web/WEB-INF/lib/servlet.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
##### Error java.lang.ClassNotFoundException: com.mysql.Driver
##### Error java.lang.ClassNotFoundException: com.mysql.Driver
Can any body please tell me how to solve this problem???
I tried even by deleting servlet.jar from my application but still the same problem exists.
Thanks & Regards,
Sanjeev K
Edited by: sanjeev.pk on Sep 2, 2008 3:35 PM -
Loadjava error - loading JAR file
Hi,
I am trying to load a JAR file into the DB and am getting these errors:
$ loadjava -force -user user/pass javaTelnet.jar
Error while creating class javaTelnet/ScriptHandler
ORA-29537: class or resource cannot be created or dropped directly
Error while creating class javaTelnet/TelnetClient$ReaderThread
ORA-29537: class or resource cannot be created or dropped directly
Error while creating class javaTelnet/TelnetClient
ORA-29537: class or resource cannot be created or dropped directly
Error while creating class javaTelnet/TelnetWrapper
ORA-29537: class or resource cannot be created or dropped directly
Error while creating class javaTelnet/TelnetProtocolHandler
ORA-29537: class or resource cannot be created or dropped directly
The following operations failed
class javaTelnet/ScriptHandler: creation
class javaTelnet/TelnetClient$ReaderThread: creation
class javaTelnet/TelnetClient: creation
class javaTelnet/TelnetWrapper: creation
class javaTelnet/TelnetProtocolHandler: creation
exiting : Failures occurred during processing
These are the only other Java class I have in the DB.
SQL> select dbms_java.longname(object_name),status
2 from user_objects
3 where object_type='JAVA CLASS'
4 /
DBMS_JAVA.LONGNAME(OBJECT_NAME)
STATUS
PBoot
VALIDThe JAR contains all class files within a package named javaTelnet.
I am able to execute the JAR successfully from command line.
ThanksHi,
I am not able to load a simple java source/class(either one, not both) file into the DB.
$ dropjava -user user/pass -v A.java
dropping: source A
$ loadjava -user user/[email protected] -v -resolve A.java
arguments: '-user' 'user/[email protected]' '-v' '-resolve' 'A.java'
creating : source A
loading : source A
creating : A
resolving: source A
$
SQL> select dbms_java.longname(object_name),status
2 from user_objects
3 where object_type like 'JAVA %'
4 /
DBMS_JAVA.LONGNAME(OBJECT_NAME)
STATUS
PBoot
VALIDAny guess how I may be able to resolve this issue?.
Any trace files about loadjava written anywhere ?
Thanks -
Error while loading the jar file using loadjava
Hi,
I'm trying to load a jar file in to a database through the loadjava utility. First time when i loaded a jar file it created few public synonyms with /'s. like /5b3d7f97_BeanInfoIndexer.
Now i want to drop these synonyms before i reload the jar file with loadjava.
If i use DROP PUBLIC SYNONYM /5b3d7f97_BeanInfoIndexer; it gives the following error...
ERROR at line 1:
ORA-00933: SQL command not properly ended
I wonder how to drop these synonyms. I have to drop all these synonyms to freshly load the jar file.
Thanks
ShivaYou can include the synonym names in double quotes in the drop synonym command. But it is not a good idea to drop the synonyms(which have been created by loadjava) using drop synonym command. Instead, you can use dropjava command which will automatically drop all the synonyms created by the loadjava command.
-
Error while Loading Mail.jar in Database
Hi,
I am trying to load mail.jar in Oracle 8i Database(ver. 8.1.5.0.0). It is giving error insufficient previleges. Then I extracted mail.jar and tried to load class PasswordAuthentication of mail.jar in user scott. It gave me same error. But I could load the same class in user SYS.
Does it mean that, scott needs some special previleges for the classes in mail.jar. If so, How can I set those previleges ?
Thanking You.
Mrinal.
nullrdbms 8.1.5 had very tight restrictions on loading "system classes.
check the java doc for 8.1.5 on this.
check out the following
"protected packages" in the following
http://otn.oracle.com/doc/server.815/a64682/04jserve.htm#1001015
Protected Packages
You cannot replace system classes (those that CREATE JAVA SYSTEM installs, which you invoke with initjvm.sql at database initialization time). In addition, classes in any package (or sub-package) in which system classes reside, can be created only in the SYS schema. Protected packages include those starting with the patterns:
java
javax
oracle.aurora
oracle.jdbc
oracle.rdbms
oracle.sqlj
oracle.sqlnet
oracle.vm
oracle.weak
sun.tools
sun.misc
sun.net
com.visigenic.vbroker
com.sun.jndi
org.omg
sqlj
by the way 8.1.5 went out of support on dec 31, 2000. you need to consider moving to 8.1.7.
null -
Im using this command to load a jar file.
loadjava -u CRAMER/CRAMER@CRAM51AS -r -v api-private.jar
But, getting the following error....
arguments: '-u' 'CRAMER/CRAMER@CRAM51AS' '-r' '-v' 'api-private.jar'
Error while connecting with oci8 driver to CRAM51AS: oracle.aurora.server.tools.loadjava.ToolsException: The JDBC OCI8 Driver is not installed properly, use -thin to try the JDBC Thin driver: make_c_state
exiting : could not open connection
What does this mean and how to rectify this? Pls help...
My database version is 9.2.0.4.0
ManojFor your information, there are already XML parsers loaded into the database. If you haven't already done so, I suggest running the following query:
select
DBMS_JAVA.LONGNAME(OBJECT_NAME) as Object_Name
,OBJECT_TYPE
,OWNER
,STATUS
from
ALL_OBJECTS
where
upper(DBMS_JAVA.LONGNAME(OBJECT_NAME)) like '%XML%'
and
OBJECT_TYPE like 'JAVA %'Good Luck,
Avi. -
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 -
Unable to load "ejb.jar" to database
Hi All,
I am trying to load ejb.jar to database by using the following syntax.
loadjava -verbose -force -resolve -oracleresolver -user <uname>/<password>@<server>:<port>:<sid> -t ejb.jar
But it is showing error :
ksh: loadjava : not found.
In the server when i type loadjava it is showing the options, means loadjava will work i think. Is there any configuration needs to change to load ejb.jar to database ?
Machine details :
AIX 64 Bit 5.3
DB : Oracle 11g 11.2.0.2.0
Appreciated your help in this.
Thanks,
PrakashPrakash wrote:
Hi,
I did the following
export PATH=$ORACLE_HOME/bin
Then
loadjava -verbose -force -resolve -oracleresolver -user <Uname>/<Pwd>@<Server>:<Port>:<Sid> -t ejb.jar
But still i m facing the same issue.
Even the .profile also we have defined : export PATH=$PATH:$ORACLE_HOME/bin/
Can you please point me what is missing in the above steps i followed.
Thanks,
Prakash
PLEASE use COPY & PASTE so we can see exactly what you do & response from OS/Oracle
what is "-t" arguement?
bcm@bcm-laptop:~$ loadjava
loadjava: Usage: loadjava [-definer] [-encoding encoding] [-force] [-genmissing] [-genmissingjar jar] [-grant grants] [-help] [-nousage] [-noverify] [-oci8] [-order] [-resolve] [-nativecompile] [-resolver resolver] [-schema schema] [-synonym] [-thin] [-tableschema schema] [-user user/password@database] [-verbose] [-edition edition] classes..jars..resources..properties...
bcm@bcm-laptop:~$ -
Loading all jars in a folder at runtime
Hi...
Suppose , i have a folder in which there are many jars which depends upon each others....
I need to load all the jars at one go ....
I am using below code
public URLClassLoader loaderNEW(String jarFileName) {
File file = new File("D:\\ESTED JAR\\");
String libDir="D:\\ESTED JAR\\";
try {
File dependencyDirectory = new File(libDir);
File[] files = dependencyDirectory.listFiles();
URL[] urls = new URL[20];
for (int i = 0; i < files.length; i++) {
if (files.getName().endsWith(".jar")) {
urls[i]=(files[i].toURL());
//urls.add(files[i].toURI().toURL());
// Convert File to a URL
// Create a new class loader with the directory
ClassLoader loader = new URLClassLoader(urls);
// Load in the class; Class.childclass should be located in
// the directory file:/c:/class/user/information
Class cls = loader.loadClass("user.informatin.Class");
} catch (MalformedURLException e) {
return loader;
its is giving error
Exception in thread "main" java.lang.NullPointerException
at sun.misc.URLClassPath$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.misc.URLClassPath.getLoader(Unknown Source)
at sun.misc.URLClassPath.getLoader(Unknown Source)
at sun.misc.URLClassPath.getResource(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at LoadClass.loaderNEW(LoadClass.java:33)
at LoadClass.main(LoadClass.java:10)
Please help me out......
Thanks in advanceUse code tags to post codes -- [code]CODE[/code] will display asCODEOr click the CODE button and paste your code between the {code} tags that appear.
} catch (MalformedURLException e) {
}Never swallow exceptions.
at LoadClass.loaderNEW(LoadClass.java:33)Something is null that shouldn't be at line 33 of LoadClass.java
Better go through some beginner tutorials before you play around with ClassLoaders and the like. Identifying the cause of a NullPointerException is much more fundamental than
Loading all jars in a folder at runtimedb -
URLClassLoader + dynamically loading signed jar files
I have an applet that does not know all of the jar files it will need to load at startup.
I would like to dynamically load these signed jar files using the URLClassLoader, however it does not recognize these jar files as being signed and I get java.security.AccessControlException: access denied errors.
Any suggestions?
Thanks!Try this classloader for loading the jars, it should to the trick:
import java.net.URL;
import java.net.URLClassLoader;
import java.net.URLStreamHandlerFactory;
import java.security.AllPermission;
import java.security.CodeSource;
import java.security.PermissionCollection;
import java.security.Permissions;
public class AllPermissionsClassLoader extends URLClassLoader {
public AllPermissionsClassLoader (URL[] urls) {
super(urls);
public AllPermissionsClassLoader (URL[] urls, ClassLoader parent) {
super(urls, parent);
System.out.println(parent);
public AllPermissionsClassLoader (URL[] urls, ClassLoader parent, URLStreamHandlerFactory factory) {
super(urls, parent, factory);
protected PermissionCollection getPermissions (CodeSource codesource) {
Permissions permissions = new Permissions();
permissions.add(new AllPermission());
return permissions;
} -
I started using JasperReports for my web application report generation. I'm using JSPs for web development.
I created a .jrxml file using iReport and used the following code to generate the report.
try {
JasperDesign jasperDesign = JRXmlLoader.load("C:\\tomcat\\webapps\\web\\JSP\\reports\\samples\\pmm-final.jrxml");
JasperReport jasperReport = JasperCompileManager.compileReport(jasperDesign);
// Second, create a map of parameters to pass to the report.
Map parameters = new HashMap();
parameters.put("Title", "JasperReport");
// Third, get a database connection
Connection conn = null;
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
conn=DriverManager.getConnection("jdbc:odbc:driver={Microsoft Access Driver (*.mdb)};DBQ=C:/tomcat/webapps/db1/db1.mdb");
// Fourth, create JasperPrint using fillReport() method
JasperPrint jasperPrint = JasperFillManager.fillReport(jasperReport,
parameters, conn);
// You can use JasperPrint to create PDF
//JasperExportManager.exportReportToPdfFile(jasperPrint, "C:\\tomcat\\webapps\\web\\JSP\\reports\\TestReport.pdf");
JasperExportManager.exportReportToHtmlFile(jasperPrint, "C:\\tomcat\\webapps\\web\\JSP\\reports\\TestPMM.html");
JRXlsExporter exporter = new JRXlsExporter();
exporter.setParameter(JRExporterParameter.JASPER_PRINT, jasperPrint);
exporter.setParameter(JRExporterParameter.OUTPUT_FILE_NAME, "C:\\tomcat\\webapps\\web\\JSP\\reports\\TestPMM.xls");
exporter.exportReport();
// Or to view report in the JasperViewer
//JasperViewer.viewReport(jasperPrint);
} catch (JRException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (SQLException e) {
// TODO Auto-generated catch block
e.printStackTrace();
The above pmm-final.jrxml uses a subreport 'top.jasper'. Error being thrown while loading top.jasper file. Error is as follows.
java.io.InvalidClassException: net.sf.jasperreports.engine.base.JRBaseReport; lo
cal class incompatible: stream classdesc serialVersionUID = 604, local class ser
ialVersionUID = 606
at java.io.ObjectStreamClass.initNonProxy(Unknown Source)
at java.io.ObjectInputStream.readNonProxyDesc(Unknown Source)
at java.io.ObjectInputStream.readClassDesc(Unknown Source)
at java.io.ObjectInputStream.readNonProxyDesc(Unknown Source)
at java.io.ObjectInputStream.readClassDesc(Unknown Source)
at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
at java.io.ObjectInputStream.readObject0(Unknown Source)
at java.io.ObjectInputStream.readObject(Unknown Source)
at net.sf.jasperreports.engine.util.JRLoader.loadObject(JRLoader.java:86
at net.sf.jasperreports.engine.util.JRLoader.loadObjectFromLocation(JRLo
ader.java:236)
at net.sf.jasperreports.engine.fill.JRFillSubreport.evaluate(JRFillSubre
port.java:295)
at net.sf.jasperreports.engine.fill.JRFillBand.evaluate(JRFillBand.java:
340)
at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillPageBand(JRVert
icalFiller.java:1224)
at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillPageHeader(JRVe
rticalFiller.java:353)
at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReportStart(JRV
erticalFiller.java:205)
at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReport(JRVertic
alFiller.java:119)
at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:
613)
at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:
483)
at net.sf.jasperreports.engine.fill.JRFiller.fillReport(JRFiller.java:77
at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillMa
nager.java:248)
at org.apache.jsp.JSP.UserGuide_jsp._jspService(org.apache.jsp.JSP.UserG
uide_jsp:74)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:99)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper
.java:325)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:2
95)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:245)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:214)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:178)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
a:148)
at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:306)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:385)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:745)
at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.ja
va:675)
at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:868)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
ool.java:684)
at java.lang.Thread.run(Unknown Source)
NESTED BY :
java.io.InvalidClassException: net.sf.jasperreports.engine.base.JRBaseReport; lo
cal class incompatible: stream classdesc serialVersionUID = 604, local class ser
ialVersionUID = 606
at java.io.ObjectStreamClass.initNonProxy(Unknown Source)
at java.io.ObjectInputStream.readNonProxyDesc(Unknown Source)
at java.io.ObjectInputStream.readClassDesc(Unknown Source)
at java.io.ObjectInputStream.readNonProxyDesc(Unknown Source)
at java.io.ObjectInputStream.readClassDesc(Unknown Source)
at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
at java.io.ObjectInputStream.readObject0(Unknown Source)
at java.io.ObjectInputStream.readObject(Unknown Source)
at net.sf.jasperreports.engine.util.JRLoader.loadObject(JRLoader.java:86
at net.sf.jasperreports.engine.util.JRLoader.loadObjectFromLocation(JRLo
ader.java:236)
at net.sf.jasperreports.engine.fill.JRFillSubreport.evaluate(JRFillSubre
port.java:295)
at net.sf.jasperreports.engine.fill.JRFillBand.evaluate(JRFillBand.java:
340)
at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillPageBand(JRVert
icalFiller.java:1224)
at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillPageHeader(JRVe
rticalFiller.java:353)
at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReportStart(JRV
erticalFiller.java:205)
at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReport(JRVertic
alFiller.java:119)
at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:
613)
at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:
483)
at net.sf.jasperreports.engine.fill.JRFiller.fillReport(JRFiller.java:77
at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillMa
nager.java:248)
at org.apache.jsp.JSP.UserGuide_jsp._jspService(org.apache.jsp.JSP.UserG
uide_jsp:74)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:99)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper
.java:325)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:2
95)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:245)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:214)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:178)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
a:148)
at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:306)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:385)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:745)
at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.ja
va:675)
at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:868)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
ool.java:684)
at java.lang.Thread.run(Unknown Source)
NESTED BY :
net.sf.jasperreports.engine.JRException: Error loading object from file : C:\tom
cat\webapps\web\JSP\reports\samples\top.jasper
at net.sf.jasperreports.engine.util.JRLoader.loadObject(JRLoader.java:90
at net.sf.jasperreports.engine.util.JRLoader.loadObjectFromLocation(JRLo
ader.java:236)
at net.sf.jasperreports.engine.fill.JRFillSubreport.evaluate(JRFillSubre
port.java:295)
at net.sf.jasperreports.engine.fill.JRFillBand.evaluate(JRFillBand.java:
340)
at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillPageBand(JRVert
icalFiller.java:1224)
at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillPageHeader(JRVe
rticalFiller.java:353)
at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReportStart(JRV
erticalFiller.java:205)
at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReport(JRVertic
alFiller.java:119)
at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:
613)
at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:
483)
at net.sf.jasperreports.engine.fill.JRFiller.fillReport(JRFiller.java:77
at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillMa
nager.java:248)
at org.apache.jsp.JSP.UserGuide_jsp._jspService(org.apache.jsp.JSP.UserG
uide_jsp:74)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:99)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper
.java:325)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:2
95)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:245)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:214)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:178)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
a:148)
at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:306)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:385)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:745)
at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.ja
va:675)
at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:868)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
ool.java:684)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.InvalidClassException: net.sf.jasperreports.engine.base.JRBas
eReport; local class incompatible: stream classdesc serialVersionUID = 604, loca
l class serialVersionUID = 606
at java.io.ObjectStreamClass.initNonProxy(Unknown Source)
at java.io.ObjectInputStream.readNonProxyDesc(Unknown Source)
at java.io.ObjectInputStream.readClassDesc(Unknown Source)
at java.io.ObjectInputStream.readNonProxyDesc(Unknown Source)
at java.io.ObjectInputStream.readClassDesc(Unknown Source)
at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
at java.io.ObjectInputStream.readObject0(Unknown Source)
at java.io.ObjectInputStream.readObject(Unknown Source)
at net.sf.jasperreports.engine.util.JRLoader.loadObject(JRLoader.java:86
... 33 more
Anyone pls help. It's bit urgent. Thanks.I was using iReport v0.5.0 and it uses jasperreports-0.6.7.jar (v0.6.7) of
JasperReports. I compiled and i deployed my application in BEA weblogic server. I got the error listed below. Only after i saw your
response explaining that iReport was the issue, i checked the iReport lib directory and found this version of jasperreport jar.
iReport creates a java source file which is used to a jasper file.
iReport will link in the v0.6.7 version of jasperReports. When you
deploy your web application it will recognize this version through the compiled jasper file and give you the InvalidClassException, even
though you only have one jasperReport jar deployed with your war file.
The way i fixed this problem was to create my web application with the
jasperreport jar comes with iReport.
Thanks for mentioning iReport.
Christopher
Error:
Caused by: java.io.InvalidClassException: net.sf.jasperreports.engine.base.JRBas
eReport; local class incompatible: stream classdesc serialVersionUID = 607, local class serialVersionUID = 10002
at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:463)
at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1521)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1435)
at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1521)
...
Maybe you are looking for
-
How can I set Entourage as default program to email pictures from Preview?
I'm a PC-to-Mac convert and am really enjoying my iMac, except for a few little nuisances. Here's one: I have set Entourage as my default email program, both in (Mac) Mail and in Entourage. Everything works smoothly when clicking on an email link on
-
On my iphone 4, safari always opens at the last page viewed. Does anyone know how I can set it to always open at google?
-
Flash Player 10 not working in some sites, working fine in others
Lately I've been having problems viewing videos with Flash Player on many sites in which they viewed fine previously. What I see is a solid black rectangle the size of the video screen. No Player controls. Nothing. I have looked at the page code, but
-
Hello! I am working on a new project using the CS4 Master Collection and experiencing some issues using Premier Pro CS4. I've created a new project in Adobe After Effects CS4 and exported a quicktime movie with high quality "animation" settings appli
-
How to fetch from cursor into plsql collection
Dear Friends, I am trying to understand PLSQL collections. I am trying with the following example. CREATE OR REPLACE TYPE emp_obj AS OBJECT ( empname VARCHAR2(100), empjob VARCHAR2(50), empsal NUMBER); CREATE OR