• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

loading log4J jar into oracle

 
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I want to load the jar file for my program into oracle.

The program depends on log4j.

I am using loadjava command.

loadjava -user user/password@database -oci8 -resolve so.jar lib\*.jar config\*.properties

but i get this error
errors : class org/apache/log4j/jmx/AbstractDynamicMBean
ORA-29521: referenced name javax/management/RuntimeOperationsException could not be found
ORA-29521: referenced name javax/management/AttributeList could not be found
ORA-29521: referenced name javax/management/Attribute could not be found
ORA-29521: referenced name javax/management/DynamicMBean could not be found
ORA-29521: referenced name javax/management/MBeanRegistration could not be found
ORA-29521: referenced name javax/management/MBeanException could not be found
ORA-29521: referenced name javax/management/ReflectionException could not be found
ORA-29521: referenced name javax/management/AttributeNotFoundException could not be found
ORA-29521: referenced name javax/management/InvalidAttributeValueException could not be found
ORA-29521: referenced name javax/management/MBeanServer could not be found
ORA-29521: referenced name javax/management/ObjectName could not be found
ORA-29521: referenced name javax/management/MBeanInfo could not be found

what i could figure out is that the jvm on oracle server is 1.4 and hence this class has problems there. Is there a way to make this work without sacrificing log4j?
[ June 19, 2008: Message edited by: Suryakumar Surendran ]
 
Sheriff
Posts: 28411
102
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I don't see any question about JDBC here. And we do have an Oracle forum...
 
Marshal
Posts: 80754
486
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Not sure, but Oracle is supposed to have the habit of installing older versions of Java and adding them to the PATH. Have a look in your PATH, see whether that has happened, and consider editing the PATH to put the version you want first.

I presume you have the CLASSPATH correct.

I looked in the API for one of your non-existent classes, MBeanException, and it said "since 1.5" so the PATH thing may well be the cause of your problem. Good luck with it.
 
reply
    Bookmark Topic Watch Topic
  • New Topic