Hi,
I am difficulty in loading jar files into Oracle 9.2.0.8 database. The following are the details:
I have successfully loaded log4j.jar apache's logging utility jar file into oracle using the following loadjava command:
loadjava -user guest/dev2tcgu3st -resolve -genmissing log4j-1.2.14.jar
I have built up my own common.jar file containing classes/methods that i have written. I am trying to load this too into Oracle using the following loadjava command, however it is unsuccessful:
loadjava -user guest/dev2tcgu3st -resolve common.jar
the following is the error message i receive:
ERROR MESSAGE IN CMD
-----------------------------------
C:\>loadjava -user guest/dev2tcgu3st -resolve common.jar
errors : class com/tenix/common/utilities/App
ORA-29534: referenced object GUEST.com/tenix/common/utilities/LogProxy could
not be resolved
errors : class com/tenix/common/utilities/DirectoryNotFoundException
ORA-29521: referenced name java/lang/StringBuilder could not be found
ORA-29521: referenced name java/lang/StringBuilder could not be found
errors : class com/tenix/common/utilities/FileCopy
ORA-29545: badly formed class:
errors : class com/tenix/common/utilities/FileWriter
ORA-29545: badly formed class:
errors : class com/tenix/common/utilities/IllegalFormatException
ORA-29545: badly formed class:
errors : class com/tenix/common/utilities/ItemUnselectedException
ORA-29521: referenced name java/lang/StringBuilder could not be found
ORA-29521: referenced name java/lang/StringBuilder could not be found
errors : class com/tenix/common/utilities/LogProxy
ORA-29534: referenced object GUEST.com/tenix/common/utilities/ResourceManage
r could not be resolved
errors : class com/tenix/common/utilities/MissingArgumentException
ORA-29521: referenced name java/lang/StringBuilder could not be found
ORA-29521: referenced name java/lang/StringBuilder could not be found
errors : class com/tenix/common/utilities/OffsetPatternLayout
ORA-29534: referenced object GUEST.com/tenix/common/utilities/OffsetPatternP
arser could not be resolved
errors : class com/tenix/common/utilities/OffsetPatternParser$OffsetLocationPa
tternConverter
ORA-29534: referenced object GUEST.com/tenix/common/utilities/LogProxy could
not be resolved
errors : class com/tenix/common/utilities/OffsetPatternParser
ORA-29534: referenced object GUEST.com/tenix/common/utilities/OffsetPatternP
arser$OffsetLocationPatternConverter could not be resolved
errors : class com/tenix/common/utilities/RecordNotFoundException
ORA-29521: referenced name java/lang/StringBuilder could not be found
ORA-29521: referenced name java/lang/StringBuilder could not be found
errors : class com/tenix/common/utilities/ResourceManager
ORA-29521: referenced name java/lang/StringBuilder could not be found
errors : class com/tenix/common/utilities/TenixDb
ORA-29521: referenced name java/lang/StringBuilder could not be found
ORA-29521: referenced name java/lang/CharSequence could not be found
errors : class com/tenix/common/utilities/TenixException
ORA-29545: badly formed class:
errors : class com/tenix/common/utilities/TenixRuntimeException
ORA-29545: badly formed class:
errors : class com/tenix/common/utilities/TenixUnsupportedException
ORA-29534: referenced object GUEST.com/tenix/common/utilities/TenixException
could not be resolved
ORA-29545: badly formed class:
Is this because my common.jar has been developed using JRE 1.5 and my oracle jvm is 1.4.2 or something else?
Also is it possible to update/force my Oracle DB at 9.2.0.8 with JRE 1.5 if this is the case??? I mean to say install the latest version of java and point the PATH variable to the bin folder of this new JRE???
Thanks very much.
rohan
Edited by: Rowann on Sep 29, 2009 6:41 PM