Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

load jar to oracle throw errors

834682Jul 15 2011 — edited Jul 20 2011
hi,
I tried to load jar to to oracle 11g Release 1 using command
loadjava.bat -user sys/password -resolve -synonym D:\javaToOracle\NEW\LIB\commons-jexl-2.0.1.jar
loadjava.bat -user sys/password -resolve -synonym D:\javaToOracle\NEW\LIB\commons-jexl-2.0.1-sources.jar
loadjava.bat -user sys/password -resolve -synonym D:\javaToOracle\NEW\LIB\commons-jexl.jar
loadjava.bat -user sys/password -resolve -synonym D:\javaToOracle\NEW\LIB\commons-logging-1.1.1.jar
loadjava.bat -user sys/password -resolve -synonym D:\javaToOracle\NEW\LIB\commons-jexl-2.0.1.jar

I got the following error
============================================================================================================================

loadjava.bat -user sys/password -resolve -synonym D:\javaToOracle\NEW\LIB\commons-jexl-2.0.1.jar



errors : class org/apache/commons/jexl2/scripting/JexlScriptEngine$1
ORA-29534: referenced object SYSTEM.org/apache/commons/jexl2/scripting/JexlScriptEngine could not be resolved
errors : class org/apache/commons/jexl2/scripting/JexlScriptEngine$EngineSingletonHolder$1
ORA-29534: referenced object SYSTEM.org/apache/commons/jexl2/scripting/JexlScriptEngine could not be resolved
errors : class org/apache/commons/jexl2/scripting/JexlScriptEngine$EngineSingletonHolder
ORA-29534: referenced object SYSTEM.org/apache/commons/jexl2/scripting/JexlScriptEngine could not be resolved
errors : class org/apache/commons/jexl2/scripting/JexlScriptEngine$FactorySingletonHolder
ORA-29534: referenced object SYSTEM.org/apache/commons/jexl2/scripting/JexlScriptEngineFactory could not be resolved
errors : class org/apache/commons/jexl2/scripting/JexlScriptEngine$JexlCompiledScript
ORA-29521: referenced name javax/script/ScriptException could not be found


===============================================================================================================================
loadjava.bat -user sys/password -resolve -synonym D:\javaToOracle\NEW\LIB\commons-jexl-2.0.1-sources.jar


Error while creating source org/apache/commons/jexl2/Debugger
ORA-29533: attempt to overwrite class or resource org/apache/commons/jexl2/Debugger while defining or compiling SYSTEM.org/apache/commons/jexl2/Debugger
ORA-06512: at line 1

Error while creating source org/apache/commons/jexl2/DebugInfo
ORA-29533: attempt to overwrite class or resource org/apache/commons/jexl2/DebugInfo while defining or compiling SYSTEM.org/apache/commons/jexl2/DebugInfo
ORA-06512: at line 1

Error while creating source org/apache/commons/jexl2/Expression
ORA-29533: attempt to overwrite class or resource org/apache/commons/jexl2/Expression while defining or compiling SYSTEM.org/apache/commons/jexl2/Expression
ORA-06512: at line 1

====================================================================================================================
loadjava.bat -user sys/password -resolve -synonym D:\javaToOracle\NEW\LIB\commons-jexl.jar

errors : class org/apache/commons/jexl/junit/Asserter
ORA-29521: referenced name junit/framework/Assert could not be found
The following operations failed
class org/apache/commons/jexl/junit/Asserter: resolution
exiting : Failures occurred during processing

==========================================================================================================================

loadjava.bat -user system@qtest -resolve -synonym D:\javaToOracle\NEW\LIB\commons-logging-1.1.1.jar

errors : class org/apache/commons/logging/impl/AvalonLogger
ORA-29521: referenced name org/apache/avalon/framework/logger/Logger could not be found
errors : class org/apache/commons/logging/impl/LogKitLogger
ORA-29521: referenced name org/apache/log/Hierarchy could not be found
ORA-29521: referenced name org/apache/log/Logger could not be found
errors : class org/apache/commons/logging/impl/ServletContextCleaner
ORA-29521: referenced name javax/servlet/ServletContextListener could not be found
ORA-29521: referenced name javax/servlet/ServletContextEvent could not be found
The following operations failed
class org/apache/commons/logging/impl/AvalonLogger: resolution
class org/apache/commons/logging/impl/LogKitLogger: resolution
class org/apache/commons/logging/impl/ServletContextCleaner: resolution
exiting : Failures occurred during processing
====================================================================

can u plese help to resolve this problem,
Regrds
nalananda

Comments

Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Aug 17 2011
Added on Jul 15 2011
3 comments
644 views