This discussion is archived
4 Replies Latest reply: Sep 1, 2013 9:55 PM by Anand Krishnan RSS

Could not load Logmanager "oracle.core.ojdl.logging.ODLLogManager" error while starting the Admin server

Anand Krishnan Newbie
Currently Being Moderated

Hi,

 

          I installed weblogic 12.1.2.0.0 with RHEL5.6.  After the installation, I tried to post the following class path in setDomainEnv.sh file under the domain home directory,

 

POST_CLASSPATH="/prosun/jasper/jasperreports-3.6.0.jar:/prosun/jasper/commons-digester-1.7.jar:/prosun/jasper/log4j-1.2.15.jar:/prosun/jasper/org.apache.commons.beanutils_1.6.jar:/prosun/jasper/org.apache.commons.collections_3.1.jar:/prosun/jasper/org.apache.commons.logging_1.0.4.jar:/prosun/jasper/iText-2.1.0.jar:/prosun/jasper/groovy-all-1.5.5.jar"

 

While i am  trying to start the Admin server, the server didn't started and following exception is reported in nohup.out file.  Please help me to resolve this issue.

 

The above library jars are required for our applications.

 

Could not load Logmanager "oracle.core.ojdl.logging.ODLLogManager"

java.lang.ClassNotFoundException: oracle.core.ojdl.logging.ODLLogManager

java.lang.ClassNotFoundException: oracle.core.ojdl.logging.ODLLogManager

at java.net.URLClassLoader$1.run(URLClassLoader.java:366)

at java.net.URLClassLoader$1.run(URLClassLoader.java:355)

at java.security.AccessController.doPrivileged(Native Method)

at java.net.URLClassLoader.findClass(URLClassLoader.java:354)

at java.lang.ClassLoader.loadClass(ClassLoader.java:423)

at java.net.URLClassLoader$1.run(URLClassLoader.java:366)

at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)

at java.net.URLClassLoader$1.run(URLClassLoader.java:355)

at java.lang.ClassLoader.loadClass(ClassLoader.java:356)       
at java.security.AccessController.doPrivileged(Native Method)

 

at java.util.logging.LogManager$1.run(LogManager.java:186)

at java.net.URLClassLoader.findClass(URLClassLoader.java:354)

at java.security.AccessController.doPrivileged(Native Method)

at java.lang.ClassLoader.loadClass(ClassLoader.java:423)

at java.util.logging.LogManager.<clinit>(LogManager.java:176)

at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)

at java.util.logging.Logger.getAnonymousLogger(Logger.java:483)

at java.lang.ClassLoader.loadClass(ClassLoader.java:356)

at java.util.logging.Logger.getAnonymousLogger(Logger.java:452)

at java.util.logging.LogManager$1.run(LogManager.java:186)

at weblogic.kernel.KernelLogManager.createClientLogger(KernelLogManager.java:44)

at java.security.AccessController.doPrivileged(Native Method)

at weblogic.kernel.KernelLogManager.access$000(KernelLogManager.java:17)       
at java.util.logging.LogManager.<clinit>(LogManager.java:176)

 


at weblogic.kernel.KernelLogManager$LoggerMaker.<clinit>(KernelLogManager.java:20)

at java.util.logging.Logger.getAnonymousLogger(Logger.java:483)

at weblogic.kernel.KernelLogManager.getLogger(KernelLogManager.java:26)

at java.util.logging.Logger.getAnonymousLogger(Logger.java:452)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at weblogic.kernel.KernelLogManager.createClientLogger(KernelLogManager.java:44)       
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

 

at weblogic.kernel.KernelLogManager.access$000(KernelLogManager.java:17)       
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

 

at weblogic.kernel.KernelLogManager$LoggerMaker.<clinit>(KernelLogManager.java:20)     
at java.lang.reflect.Method.invoke(Method.java:601)

 

at weblogic.kernel.KernelLogManager.getLogger(KernelLogManager.java:26)
at weblogic.logging.MessageLogger.log(MessageLogger.java:96)

 

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
at weblogic.logging.MessageLogger.log(MessageLogger.java:111)

 

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

at weblogic.logging.WLMessageLogger.log(WLMessageLogger.java:52)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)       

at weblogic.security.SecurityLogger.logDisallowingCryptoJDefaultJCEVerification(SecurityLogger.java:13444)


at java.lang.reflect.Method.invoke(Method.java:601)

at weblogic.security.utils.SecurityUtils.turnOffCryptoJDefaultJCEVerification(SecurityUtils.java:81)   
at weblogic.logging.MessageLogger.log(MessageLogger.java:96)

 

at weblogic.Server.main(Server.java:70)at weblogic.logging.MessageLogger.log(MessageLogger.java:111)

 

at weblogic.logging.WLMessageLogger.log(WLMessageLogger.java:52)

 

Could not load Logmanager "oracle.core.ojdl.logging.ODLLogManager"

java.lang.ClassNotFoundException: oracle.core.ojdl.logging.ODLLogManager

at java.net.URLClassLoader$1.run(URLClassLoader.java:366)

at java.net.URLClassLoader$1.run(URLClassLoader.java:355)

at java.security.AccessController.doPrivileged(Native Method)

at java.net.URLClassLoader.findClass(URLClassLoader.java:354)

at java.lang.ClassLoader.loadClass(ClassLoader.java:423)

at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)

at java.lang.ClassLoader.loadClass(ClassLoader.java:356)

at java.util.logging.LogManager$1.run(LogManager.java:186)

at java.security.AccessController.doPrivileged(Native Method)

at java.util.logging.LogManager.<clinit>(LogManager.java:176)

at java.util.logging.Logger.getAnonymousLogger(Logger.java:483)

at java.util.logging.Logger.getAnonymousLogger(Logger.java:452)

at weblogic.kernel.KernelLogManager.createClientLogger(KernelLogManager.java:44)

at weblogic.kernel.KernelLogManager.access$000(KernelLogManager.java:17)

at weblogic.kernel.KernelLogManager$LoggerMaker.<clinit>(KernelLogManager.java:20)

at weblogic.kernel.KernelLogManager.getLogger(KernelLogManager.java:26)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

 

 

Regards,

Anand Krishnan

  • 1. Re: Could not load Logmanager "oracle.core.ojdl.logging.ODLLogManager" error while starting the Admin server
    HDeiby Oracle ACE
    Currently Being Moderated

    Please verify that your .jar files has the correct permission oracle:oinstall

     

    $ls -ltr <file>.jar

     

    if you need change the permission:

     

    chown oracle:oinstall <file>.jar

     

    restart AdminServer.

  • 2. Re: Could not load Logmanager "oracle.core.ojdl.logging.ODLLogManager" error while starting the Admin server
    Anand Krishnan Newbie
    Currently Being Moderated

    Hi,

     

             I checked the JAR file permission as suggested.  It will be as oracle:oinstall.

     

             I tried to start the Admin server from root user as well as oracle user and reported the same exception.

     

    Regards,

    Ananda Krishnan       

  • 3. Re: Could not load Logmanager "oracle.core.ojdl.logging.ODLLogManager" error while starting the Admin server
    HDeiby Oracle ACE
    Currently Being Moderated

    hi, you should not do nothing with user root.

    please, don't use root again for weblogic administration.

     

    • list all files with root permissions:
      • move to Middleware Home, example: cd /u01/app/oracle/Middleware
      • find . -user root
      • if there are files with root permissions, change it to oracle:oinstall

     

    I saw this:

    Could not load Logmanager "oracle.core.ojdl.logging.ODLLogManager"

    java.lang.ClassNotFoundException: oracle.core.ojdl.logging.ODLLogManager

     

    Please check in DOMAIN_HOME/bin/setDomainEnv.sh file if exist this:

    JAVA_OPTIONS="-Djava.util.logging.manager=oracle.core.ojdl.logging.ODLLogManager ${JAVA_OPTIONS}"

    export JAVA_OPTIONS

    MWCONFIG_CLASSPATH=${FMWCONFIG_CLASSPATH}${CLASSPATHSEP}${COMMON_COMPONENTS_HOME}/modules/oracle.odl_11.1.1/ojdl.jar

    export FMWCONFIG_CLASSPATH

     

    if exist, replace for:

    JAVA_OPTIONS="${JAVA_OPTIONS}"

    export JAVA_OPTIONS

     

    if not existe, its necesary for you to use /prosun/jasper/org.apache.commons.logging_1.0.4.jar in your classpath?. If it isn't necesary delete it, and restart the AdminServer.

  • 4. Re: Could not load Logmanager "oracle.core.ojdl.logging.ODLLogManager" error while starting the Admin server
    Anand Krishnan Newbie
    Currently Being Moderated

    Hi,

            I have done as per your suggestion and cant able to start the Admin server.

            I tried to posting the class path by appending "${POST_CLASSPATH}" as follows and the issue has been resolved.

            Thank a lot for responding to my query.

     

    POST_CLASSPATH="${POST_CLASSPATH}:/oracle/Middleware_1212/jasper/jasperreports-3.6.0.jar:/oracle/Middleware_1212/jasper/commons-digester-1.7.jar:/oracle/Middleware_1212/jasper/log4j-1.2.15.jar:/oracle/Middleware_1212/jasper/org.apache.commons.beanutils_1.6.jar:/oracle/Middleware_1212/jasper/org.apache.commons.collections_3.1.jar:/oracle/Middleware_1212/jasper/org.apache.commons.logging_1.0.4.jar:/oracle/Middleware_1212/jasper/iText-2.1.0.jar:/oracle/Middleware_1212/jasper/groovy-all-1.5.5.jar:/oracle/Middleware_1212/jasper/poi-3.2-FINAL-20081019.jar".

     

    Regards,

    Anand Krishnan

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points