About Me

My photo
San Fransisco, Bay Area, California, United States
• SIX years of extensive experience in ERP development and Enterprise Applications Practice with proven experience in Developing and customizing Oracle Financials 11i and R12 and Fusion Application Development (FCH, GL, EPF and EPB modules) on AOL of Oracle E-business Suite. • Worked for the Oracle Financials Applications Technology Team and Financial Consolidation Hub (FCH) Application Development group. • Expertise in Oracle Fusion Technologies like Hyperion Essbase, ADF and BPEL • Expertise in development and maintenance of Self-Service Applications using Oracle Application Framework (OAF), Web ADI, XML Publisher based products and frameworks for integration capabilities of the Oracle e-Business Suite. • Excellent track record demonstrating strong analytical and problem solving skills, computer proficiency, and ability to follow through with projects from inception to completion. • Competent in preparing and delivering presentations to both technical and executive positions.

Thursday, November 12, 2009

Weblogic Server :: java.lang.InternalError: erroneous handlers

While debugging one issue on Drop8 Build2C based Standalone WLS, I've encountered one tricky/puzzling error stack:
java.lang.InternalError: erroneous handlers
at oracle.apps.financials.
generalLedger.ledgers.ledgerDefinitions.ess.program.createCubes.execute(createCubes.java:231)
at oracle.as.scheduler.cp.exec.
ExecutableWrapper.execute(ExecutableWrapper.java:135)
at oracle.as.scheduler.rp.
JavaSysExecWrapper$1.run(JavaSysExecWrapper.java:308)
at javax.security.auth.Subject.
doAsPrivileged(Subject.java:517)
at oracle.security.jps.internal.
jaas.AccActionExecutor.execute(AccActionExecutor.java:47)
The above error stack is clueless and doesn't give any clear explanation of the issue. It just have the error - "java.lang.InternalError: erroneous handlers"
After little research, its been found that - 'There is a "real" error behind this error but the BEA JRockit version of java is not showing it.'

To find the real error you need to switch WLS JVM settings to use Sun's Java instead of default Oracle JVM.
If any one of you encounter the above error stack, to get the actual error stack, you need to do the following steps:
  • Modify the setDomainEnv.sh file, to include following parameters:
    1. Include a new environment variable JAVA_VENDOR="Sun" and export it.
    2. Try starting the WLS server now.
    3. If you are hitting "OutOf MemoryException: PermGen error", then :
      1. override the USER_MEM_ARGS param to value = "-Xms256m -Xmx512m -XX:PermSize=512m -XX:MaxPermSize=512m"
    4. Now bounce the WLS
    5. Try reproducing the issue, you should be able to get the exact error stack (and not the above clueless error - "java.lang.InternalError: erroneous handlers")
I'm attaching sample modified setDomainEnv.sh file for your reference.

1 comment:

Anonymous said...

Solved my error .. thanks ..