Re: passing servletRunner web.xml as stream

Adam Hardy <[email protected]>
Newsgroups gmane.comp.web.httpunit.devel
Message-ID <[email protected]>
Russell Gold on 11/04/08 00:51, wrote:
> On Apr 9, 2008, at 5:01 AM, Adam Hardy wrote:
> 
>> Do you mean that httpunit is substituting the actual exception for  
>> the one below?
>>
>> In other words, ServletUnitClient.java line 121 is a catch block?
> 
> Yes.
>>
>> Is there any logging I can turn on to see more of the original  
>> exception?
>> (Ideally, a stacktrace could be printed at that point, or exception  
>> chaining).
> 
> Not built-in, although that would be sensible to add. For now, the  
> simplest thing to do would be to edit the source code to print out the  
> stack trace.
> 

Hi Guys,

it debugs nicely now with the latest code changes. Now I can see who the real 
culprit is - Struts - bizarrely reading the web.xml for reasons unknown.

Thanks for the changes, much appreciated.


Regards
Adam

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.