Tuesday, May 10, 2016

HANGANALYZE and SYSTEMSTATE Dumps.

sqlplus -prelim “/as sysdba”
SQL> ORADEBUG SETORAPNAME DIAG
ORACLE PID: 7, UNIX PROCESS PID: 24593, IMAGE: ORACLE@MRPGTESTDB01 (DIAG)
SQL> ORADEBUG SETOSPID 24593
SQL> ORADEBUG DUMP HANGANALYZE 3
SQL> ORADEBUG TRACEFILE_NAME
/u01/app/oracle/diag/rdbms/tstrms/tstrms/trace/tstrms_diag_24593.trc
SQL> OORADEBUG SETMYPID
SQL> OORADEBUG UNLIMIT
SQL> OORADEBUG DUMP SYSTEMSTATE 266
SQL> OORADEBUG DUMP SYSTEMSTATE 266
SQL> OORADEBUG TRACEFILE_NAME
SQL> exit
Disconnected from ORACLE

Saturday, February 13, 2016

BEA-149205 Failed to initialize the application 'reports

weblogic.management.DeploymentException:
        at weblogic.application.internal.flow.BaseLifecycleFlow$CreateListenerAction.run(BaseLifecycleFlow.java:184)
        at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
        at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
        at weblogic.application.internal.flow.BaseLifecycleFlow$BaseAction.invoke(BaseLifecycleFlow.java:112)
        at weblogic.application.internal.flow.HeadLifecycleFlow.createListener(HeadLifecycleFlow.java:117)
        Truncated. see log file for complete stacktrace
Caused By: java.lang.ClassNotFoundException: oracle.reports.admin.runtime.lifecycle.ReportsVersionLifecycleListener
        at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:297)
        at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:270)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
        at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:179)
        Truncated. see log file for complete stacktrace


If this error is observed during the starup of weblogic server,the reason is of incorrect CLASSPATH. Validate the classpath from the log and try to re-start the application