Stack Trace Shows Unknown Source

Hi,

Need Help....

I am using JDK 1.3 and the stack trace for my application shows unusual behaviour. I have changed my PC and using a new one and I got the stack trace which shows (UNKNOWN SOURCE) instead of line number. The line numbers are shown for all other code!!! I am having the same set up as before.

javax.servlet.ServletException: ORA-12154: TNS:could not resolve service name /edaot/common/logicbean/ExceptionHandlerServlet

at edaot.ppd2.formhandler.PriceBookCreateViewHandler.handleQuery(Unknown Source)

at java.lang.reflect.Method.invoke(Native Method)

at atg.droplet.DropletDescriptor.setPropertyValue(DropletDescriptor.java:810)

at _doc_3._edaot._PriceBookGenerateView._jspService(_PriceBookGenerateView.java:1191)

at atg.servlet.jsp.DynamoJspPageServlet.service(DynamoJspPageServlet.java:138)

at atg.servlet.DynamoPageServlet.service(DynamoPageServlet.java:119)

at atg.servlet.pagecompile.PageCompileServlet.service(PageCompileServlet.java:442)

at atg.servlet.DynamoServlet.service(DynamoServlet.java:122)

How should I avoid this UNKNOWN source issue.

thanks and regards

Prashant

[1186 byte] By [kumashi] at [2007-9-30 22:05:15]
# 1
I think "unknown source" means that the source code could not be found in the folder with the class. I am, not sure however, and that would make sense(if it can't find the source, i can see why it would say so).
Zebediah at 2007-7-7 11:18:21 > top of Java-index,Administration Tools,Sun Connection...
# 2
I found the mistake. I was compiling the source code with ANT build and found that debug="true" was missing in the <javac/> tag. After adding that its working...Thanks...
kumashi at 2007-7-7 11:18:21 > top of Java-index,Administration Tools,Sun Connection...