Hi All, We are using Weblogic 7.0 as app server. When we get some exception, we are seeing that weblogic is not giving the line numbers for the applicatin code but giving for Java and Weblogic code. Sample exception is below. Please let me know how we can make weblogic display the line numbers.
If Weblogic compiled their code with the -g:none option then you may not be able to display the line numbers. Someone else may no better than me.
Joined: Jul 24, 2002
I don't understand. I see line numbers for all weblogic code in your stack trace. The things without line numbers are "com.lbx.*" which I don't recognize. Java prints stack traces, and uses whatever information is in the class files. Older versions of hotspot and JITs were not able to preserve line numbers on runtime-optimized code, so you'd loose line numbers there, but that rarely happens with JDK >= 1.3. Another possibility is that "lbx" striped the line number tables from the class files (-g:none or something) when they compilee (or in a post-compile obsfucator or whatever). In that case, java has no information to print line numbers in stack traces so it doesn't.