This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
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.
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.