Cannot Create XML File from the Forms Trace File (Doc ID 879903.1)

Last updated on FEBRUARY 11, 2013

Applies to:

Oracle Forms - Version 10.1.2 and later
Information in this document applies to any platform.
Checked for relevance on 21-Mar-2011

Symptoms

When trying to generate the forms traces into XML file, using the following steps:

- Unix

>PATH=$PATH:$ORACLE_HOME/jdk/bin ; export PATH 
>CLASSPATH=$CLASSPATH:$ORACLE_HOME/forms/java/frmxlate.jar ; export CLASSPATH  
> java oracle.forms.diagnostics.Xlate datafile=TraceFile.trc xmlfile=TraceOut.xml OutputClass=WriteOut 

- Windows

>set PATH=%PATH%;%ORACLE_HOME%/jdk/bin
>set CLASSPATH=%CLASSPATH%;%ORACLE_HOME%/forms/java/frmxlate.jar 
>java oracle.forms.diagnostics.Xlate datafile=TraceFile.trc xmlfile=TraceOut.xml OutputClass=WriteOut

 

It fails with the error:

Exception in thread "main" java.lang.NoClassDefFoundError: while resolving class: oracle.forms.diagnostics.Xlate
   at java.lang.VMClassLoader.resolveClass(java.lang.Class) (/usr/lib64/libgcj.so.5.0.0)
   at java.lang.Class.initializeClass() (/usr/lib64/libgcj.so.5.0.0)
   at java.lang.Class.forName(java.lang.String, boolean, java.lang.ClassLoader) (/usr/lib64/libgcj.so.5.0.0)
   at gnu.gcj.runtime.FirstThread.run() (/usr/lib64/libgcj.so.5.0.0)
   at _Jv_ThreadRun(java.lang.Thread) (/usr/lib64/libgcj.so.5.0.0) 
...

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms