| Author |
NO Line Numbers in Exception!!!
|
Santhosh Kumar
Ranch Hand
Joined: Nov 07, 2000
Posts: 242
|
|
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. thanks in advance, Santhosh
|
 |
Michael Ernest
High Plains Drifter
Sheriff
Joined: Oct 25, 2000
Posts: 7292
|
|
|
Moving this to the BEA/WebLogic forum.
|
 |
Barry Andrews
Ranch Hand
Joined: Sep 05, 2000
Posts: 523
|
|
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. Barry
|
 |
Dave Landers
Ranch Hand
Joined: Jul 24, 2002
Posts: 401
|
|
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.
|
 |
 |
|
|
subject: NO Line Numbers in Exception!!!
|
|
|