« Return to Thread: Clueless about error

Re: Clueless about error

by davidmarginian :: Rate this Message:

Reply to Author | View in Thread

Yes, you need to look at the server logs. 
 
"I've already added a converter which works for some other methods."

This doesn't make sense.  Converters are not specific to methods, they are used to marshal return types and parameters into and out of JavaScript.  If the server is throwing an Exception, DWR will not marshal that exception unless you give DWR permission to (by specifying a converter for exception).  Please take the time to read the documentation links I provided.

On Mon, Jun 15, 2009 at 9:35 AM, luke_saluti <luke_saluti@...> wrote:

you mean the server logs writen by java methods?
I've already added a converter which works for some other methods.


David Marginian-3 wrote:
>
> Luke,
>    I would check the server logs, if there is nothing in the logs than I
> would make sure logging is enabled:
> http://directwebremoting.org/dwr/server/servlet/logging.html.  DWR does
> not
> provide details on Java exceptions unless you have chosen to add a
> converter
> for the exception.  So it is possible that a server exception is being
> thrown - http://directwebremoting.org/dwr/other/errors.html.
>

>
>
>
>
>
> On Mon, Jun 15, 2009 at 8:51 AM, luke_saluti
> <luke_saluti@...>wrote:
>
>>
>> Hello friends,
>>
>> I've been logging the thrown javascript ajax errors into a table. Every
>> day
>> i check that a method keeps throwing a error which the only descriptive
>> message says "Error". The count goes daily to 40. What could this message
>> probably mean?
>> --
>> View this message in context:
>> http://www.nabble.com/Clueless-about-error-tp24035958p24035958.html
>> Sent from the DWR - Users mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@...
>> For additional commands, e-mail: users-help@...
>>
>>
>
>

--
View this message in context: http://www.nabble.com/Clueless-about-error-tp24035958p24037019.html
Sent from the DWR - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


 « Return to Thread: Clueless about error