jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adam Krieg <akr...@marketaxess.com>
Subject RE: Missing line numbers in JBoss
Date Mon, 03 Feb 2003 17:34:23 GMT
I've seen this behavior in other servlets (non-unit test stuff), so it looks
like it's JBoss that's the culprit and not Cactus.  I will investigate
further and post any answers that I may find.

Thanks,
Adam

-----Original Message-----
From: Glenn Kidd [mailto:GKidd@placeware.com]
Sent: 03 February 2003 17:31
To: 'Cactus Users List'
Subject: RE: Missing line numbers in JBoss


Looks like Fred Loney's idea is the write thing to investigate.  Sorry I
can't be of more help.  Don't have experience on JBoss, just WebLogic.


Glenn Kidd

-----Original Message-----
From: Adam Krieg [mailto:akrieg@marketaxess.com]
Sent: Monday, February 03, 2003 1:37 AM
To: 'cactus-user@jakarta.apache.org'
Subject: RE: Missing line numbers in JBoss


I'm using just the default (not -O option) with sun jdk1.4.  Here's a sample
stack trace that shows the problem.

at com.me.testMyTest(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
at
org.apache.cactus.AbstractTestCase.runServerTest(AbstractTestCase.java:332)
at
org.apache.cactus.AbstractTestCase.runBareServerTest(AbstractTestCase.java:2
35)
at
org.apache.cactus.server.AbstractWebTestCaller.doTest(AbstractWebTestCaller.
java:149)
at
org.apache.cactus.server.AbstractWebTestController.dispatch87_handleRequest(
AbstractWebTestController.java;org/apache/cactus/util/log/LogAspect.aj(1k):1
25)
at
org.apache.cactus.server.AbstractWebTestController.around87_handleRequest(Ab
stractWebTestController.java;org/apache/cactus/util/log/LogAspect.aj(1k):115
6)
at
org.apache.cactus.server.AbstractWebTestController.handleRequest(AbstractWeb
TestController.java;org/apache/cactus/util/log/LogAspect.aj(1k):101)
at
org.apache.cactus.server.ServletTestRedirector.dispatch113_doPost(ServletTes
tRedirector.java;org/apache/cactus/util/log/LogAspect.aj(1k):123)
at
org.apache.cactus.server.ServletTestRedirector.around113_doPost(ServletTestR
edirector.java;org/apache/cactus/util/log/LogAspect.aj(1k):1156)
at
org.apache.cactus.server.ServletTestRedirector.doPost(ServletTestRedirector.
java;org/apache/cactus/util/log/LogAspect.aj(1k):109)
at
org.apache.cactus.server.ServletTestRedirector.dispatch112_doGet(ServletTest
Redirector.java;org/apache/cactus/util/log/LogAspect.aj(1k):96)
at
org.apache.cactus.server.ServletTestRedirector.around112_doGet(ServletTestRe
director.java;org/apache/cactus/util/log/LogAspect.aj(1k):1156)
at
org.apache.cactus.server.ServletTestRedirector.doGet(ServletTestRedirector.j
ava;org/apache/cactus/util/log/LogAspect.aj(1k):92)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
......

The aspect stuff seems to show up fine, it's just when the reflection
implementation gets going that we lose the line numbers.  Again, this test
is in a war file running under Jboss 3.0.3 with Tomcat bundled.

-----Original Message-----
From: Glenn Kidd [mailto:GKidd@placeware.com]
Sent: 31 January 2003 21:29
To: 'Cactus Users List'
Cc: Adam Krieg
Subject: RE: Missing line numbers in JBoss


The only time I have seen this is when you compile with optimize (javac -O
optimize), but it depends on the compiler.  Can you send us what options you
are using to compile the code with, and also what compiler you are using?


Glenn Kidd

-----Original Message-----
From: Vincent Massol [mailto:vmassol@octo.com]
Sent: Friday, January 31, 2003 12:21 PM
To: 'Cactus Users List'
Cc: akrieg@marketaxess.com
Subject: RE: Missing line numbers in JBoss


Hi Adam,

I have personally no idea! There is nothing that I know of in Cactus
that prevents line numbers from appearing in stack traces (even our use
of AspectJ should not prevent this). 

I'm not much of help but at least you have my sympathy... :-)

-Vincent

PS: It's a nice idea to use Cactus to test MBeans. We should definitely
add this somewhere on the web site! 

> -----Original Message-----
> From: Adam Krieg [mailto:akrieg@marketaxess.com]
> Sent: 29 January 2003 20:52
> To: 'Cactus Users List'
> Subject: Missing line numbers in JBoss
> 
> I'm running Cactus on JBoss 3.0.3 to test some server side components
> (MBeans).  Anyway, my stack traces are coming up with "Source
Unknown".
> I'm
> not using a JITC and my server.log is showing line numbers.  Anybody
> experiencing this problem?
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: cactus-user-help@jakarta.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: cactus-user-help@jakarta.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: cactus-user-help@jakarta.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: cactus-user-help@jakarta.apache.org

Mime
View raw message