<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:old.nabble.com,2006:forum-13934</id>
	<title>Nabble - DWR - Users</title>
	<updated>2009-11-25T16:28:55Z</updated>
	<link rel="self" type="application/atom+xml" href="http://old.nabble.com/DWR---Users-f13934.xml" />
	<link rel="alternate" type="text/html" href="http://old.nabble.com/DWR---Users-f13934.html" />
	<subtitle type="html"></subtitle>
	
<entry>
	<id>tag:old.nabble.com,2006:post-26522690</id>
	<title>Package Creaters and converters</title>
	<published>2009-11-25T16:28:55Z</published>
	<updated>2009-11-25T16:28:55Z</updated>
	<author>
		<name>Dhafir Moussa</name>
	</author>
	<content type="html">&lt;div&gt;&lt;br clear=&quot;all&quot;&gt;I know in &lt;span class=&quot;J-JK9eJ-PJVNOc&quot; style=&quot;BACKGROUND: yellow&quot;&gt;DWR&lt;/span&gt; we have package bean converter defined like this:&lt;/div&gt;&amp;lt;convert converter=&amp;quot;bean&amp;quot; match=&amp;quot;com.example.*&amp;quot;/&amp;gt; 
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;1- Can we have a similar - package scoped - &lt;span class=&quot;J-JK9eJ-PJVNOc&quot; style=&quot;BACKGROUND: yellow&quot;&gt;enum&lt;/span&gt; converter?&lt;/div&gt;
&lt;div&gt;2- Can we have a similar - package scoped - remote class &lt;span class=&quot;J-JK9eJ-PJVNOc&quot; style=&quot;BACKGROUND: yellow&quot;&gt;creater&lt;/span&gt;? say:&lt;/div&gt;
&lt;div&gt;&lt;font color=&quot;#0000ff&quot; size=&quot;2&quot;&gt;&lt;font color=&quot;#0000ff&quot; size=&quot;2&quot;&gt;
&lt;p align=&quot;left&quot;&gt;&amp;lt;&lt;/p&gt;&lt;/font&gt;&lt;/font&gt;&lt;font color=&quot;#a31515&quot; size=&quot;2&quot;&gt;&lt;font color=&quot;#a31515&quot; size=&quot;2&quot;&gt;create&lt;/font&gt;&lt;/font&gt;&lt;font size=&quot;2&quot;&gt; &lt;/font&gt;&lt;font color=&quot;#ff0000&quot; size=&quot;2&quot;&gt;&lt;font color=&quot;#ff0000&quot; size=&quot;2&quot;&gt;creator&lt;/font&gt;&lt;/font&gt;&lt;font size=&quot;2&quot;&gt;=&amp;quot;&lt;/font&gt;&lt;font color=&quot;#0000ff&quot; size=&quot;2&quot;&gt;&lt;font color=&quot;#0000ff&quot; size=&quot;2&quot;&gt;new&lt;/font&gt;&lt;/font&gt;&lt;font size=&quot;2&quot;&gt;&amp;quot; &lt;/font&gt;&lt;font color=&quot;#0000ff&quot; size=&quot;2&quot;&gt;&lt;font color=&quot;#0000ff&quot; size=&quot;2&quot;&gt;&amp;gt;&lt;/font&gt;&lt;/font&gt;&lt;font size=&quot;2&quot;&gt;
&lt;p align=&quot;left&quot;&gt;&lt;/p&gt;&lt;/font&gt;&lt;font color=&quot;#0000ff&quot; size=&quot;2&quot;&gt;&lt;font color=&quot;#0000ff&quot; size=&quot;2&quot;&gt;   &amp;lt;&lt;/font&gt;&lt;/font&gt;&lt;font color=&quot;#a31515&quot; size=&quot;2&quot;&gt;&lt;font color=&quot;#a31515&quot; size=&quot;2&quot;&gt;&lt;span class=&quot;J-JK9eJ-PJVNOc&quot; style=&quot;BACKGROUND: yellow&quot;&gt;param&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;font size=&quot;2&quot;&gt; &lt;/font&gt;&lt;font color=&quot;#ff0000&quot; size=&quot;2&quot;&gt;&lt;font color=&quot;#ff0000&quot; size=&quot;2&quot;&gt;name&lt;/font&gt;&lt;/font&gt;&lt;font size=&quot;2&quot;&gt;=&amp;quot;&lt;/font&gt;&lt;font color=&quot;#0000ff&quot; size=&quot;2&quot;&gt;&lt;font color=&quot;#0000ff&quot; size=&quot;2&quot;&gt;class&lt;/font&gt;&lt;/font&gt;&lt;font size=&quot;2&quot;&gt;&amp;quot; &lt;/font&gt;&lt;font color=&quot;#ff0000&quot; size=&quot;2&quot;&gt;&lt;font color=&quot;#ff0000&quot; size=&quot;2&quot;&gt;value&lt;/font&gt;&lt;/font&gt;&lt;font size=&quot;2&quot;&gt;=&amp;quot;&lt;/font&gt;&lt;font color=&quot;#0000ff&quot; size=&quot;2&quot;&gt;&lt;font color=&quot;#0000ff&quot; size=&quot;2&quot;&gt;&lt;span class=&quot;J-JK9eJ-PJVNOc&quot; style=&quot;BACKGROUND: yellow&quot;&gt;hnz&lt;/span&gt;.remote.*&lt;/font&gt;&lt;/font&gt;&lt;font size=&quot;2&quot;&gt;&amp;quot; &lt;/font&gt;&lt;font color=&quot;#0000ff&quot; size=&quot;2&quot;&gt;&lt;font color=&quot;#0000ff&quot; size=&quot;2&quot;&gt;/&amp;gt;&lt;/font&gt;&lt;/font&gt;&lt;font size=&quot;2&quot;&gt;
&lt;p&gt;&lt;/p&gt;&lt;/font&gt;&lt;font color=&quot;#0000ff&quot; size=&quot;2&quot;&gt;&lt;font color=&quot;#0000ff&quot; size=&quot;2&quot;&gt;&amp;lt;/&lt;/font&gt;&lt;/font&gt;&lt;font color=&quot;#a31515&quot; size=&quot;2&quot;&gt;&lt;font color=&quot;#a31515&quot; size=&quot;2&quot;&gt;&lt;/font&gt;&lt;/font&gt;&lt;font color=&quot;#0000ff&quot; size=&quot;2&quot;&gt;&lt;font color=&quot;#0000ff&quot; size=&quot;2&quot;&gt;&amp;gt;&lt;/font&gt;&lt;/font&gt;&lt;/div&gt;

&lt;div&gt;3- Can we get the package converter to include sub-packages as well? Currently it converts all the beans in the declared package level only.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;&lt;br&gt;Daniel&lt;/div&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Package-Creaters-and-converters-tp26522690p26522690.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26519698</id>
	<title>Re: How to stop DWR swallowing exceptions</title>
	<published>2009-11-25T12:23:34Z</published>
	<updated>2009-11-25T12:23:34Z</updated>
	<author>
		<name>Dhafir Moussa</name>
	</author>
	<content type="html">&lt;div&gt;Exactly that.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;The field DWR tries to serialize is in the include list but it is a calculated value  on demand (dynamic) and not a straight bean in fact (similar to the Date class). &lt;br&gt;&lt;/div&gt;
&lt;div&gt;Thanks,&lt;br&gt;-Daniel&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div class=&quot;gmail_quote&quot;&gt;On Thu, Nov 26, 2009 at 9:03 AM, David Marginian &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26519698&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;david@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid&quot;&gt;
&lt;div class=&quot;im&quot;&gt;&amp;quot;No converter found for &amp;#39;java.lang.Class&amp;quot; 
&lt;div&gt;&lt;br&gt;&lt;/div&gt;
&lt;div&gt; &amp;quot;How do I know which &amp;quot;Class&amp;quot; is missing a converter?&amp;quot;&lt;/div&gt;
&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;/div&gt;
&lt;div&gt;The error message tells you that - java.lang.Class.  I think what you really want to know is what class the field that is being converted exists in.  I will look into seeing if I can add some more details into the log.  BUT, keep in mind I think what you are doing is no good practice.  You should really be aware of what fields are being serialized and you should be specifying includes/excludes for your converters.&lt;/div&gt;

&lt;div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div class=&quot;h5&quot;&gt;
&lt;div&gt;&lt;br&gt;&lt;/div&gt;
&lt;div&gt;&lt;br&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div class=&quot;gmail_quote&quot;&gt;On Wed, Nov 25, 2009 at 12:43 PM, Dhafir Moussa &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26519698&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dhafir.moussa@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid&quot;&gt;
&lt;div&gt;Re: &amp;quot;This is not bogus.  From the message it is quite clear what the error means&amp;quot;&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;Sorry, I still can&amp;#39;t see what this error means:  (No converter found for &amp;#39;java.lang.Class&amp;#39;)? How do I know which &amp;quot;Class&amp;quot; is missing a converter? Can we get it to spell it out? The message suggests that we missed to define a converter for a &amp;quot;Class&amp;quot; but which one? There is a converter for the class I know, but one of its getxxx() methods crashes upon invocation, I can&amp;#39;t see how this is related to the message above?&lt;/div&gt;

&lt;div&gt; &lt;/div&gt;
&lt;div&gt;Re: &amp;quot;The conversion exception is thrown trying to get or invoke the read method, so we can&amp;#39;t log it.&amp;quot;&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;Yes I agree, this is why I suggested logging it in BaseCallHandler.marshallOutbound(...)&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;Thanks,&lt;/div&gt;
&lt;div&gt;-Daniel,&lt;br&gt; &lt;/div&gt;
&lt;div class=&quot;gmail_quote&quot;&gt;
&lt;div&gt;On Wed, Nov 25, 2009 at 5:52 PM, David Marginian &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26519698&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;david@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;/div&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid&quot;&gt;
&lt;div&gt;
&lt;div&gt;&amp;quot;In the ERROR line there is this bogus message (No converter found for &amp;#39;java.lang.Class&amp;#39;). What does it mean?&amp;quot;&lt;br&gt;&lt;br&gt;&lt;/div&gt;&lt;/div&gt;This is not bogus.  From the message it is quite clear what the error means.  When you specify a converter DWR will attempt to convert EVERY field in the class unless you use includes/excludes. &lt;br&gt;

&lt;div&gt;
&lt;div&gt;&amp;quot;I can see it catches InvocationTargetException in  PropertyDescriptorProperty.getValue(...)[line:76]. I understand the exception itself is useless with no information or stack, but it would have made huge help if it can spit out what went wrong by logging the offending function. I can see we can get it in that function from descriptor.getReadMethod().getName(). That would give us a clue to where to look to intercept this swallowen crash.&lt;br&gt;
&lt;br&gt;Do you agree with this small change in PropertyDescriptorProperty.getValue(...)? If so, how we can grab a Logger object from there (if any)?&amp;quot;&lt;br&gt;&lt;br&gt;&lt;/div&gt;&lt;/div&gt;No, what you are saying doesn&amp;#39;t make sense.  The conversion exception is thrown trying to get or invoke the read method, so we can&amp;#39;t log it.  We could probably log something about the descriptor but really I don&amp;#39;t see this being an issue.&lt;br&gt;
&lt;br&gt;      try&lt;br&gt;      {&lt;br&gt;          return descriptor.getReadMethod().invoke(bean);&lt;br&gt;      }&lt;br&gt;      catch (InvocationTargetException ex)&lt;br&gt;      {&lt;br&gt;          throw new ConversionException(bean.getClass(), ex.getTargetException());&lt;br&gt;
      }&lt;br&gt;      catch (Exception ex)&lt;br&gt;      {&lt;br&gt;          throw new ConversionException(bean.getClass(), ex); 
&lt;div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;&lt;br&gt;      }&lt;br&gt;&lt;br&gt;Dhafir Moussa wrote:&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid&quot;&gt;
&lt;div&gt;Thanks David,&lt;br&gt; That didn&amp;#39;t quite help. I have the follwoing in my dwr.xml:&lt;br&gt; &lt;br&gt;&amp;lt;convert match=&amp;quot;java.lang.StackTraceElement&amp;quot; converter=&amp;quot;bean&amp;quot;/&amp;gt;&lt;br&gt;&lt;br&gt;&amp;lt;&lt;br&gt;&lt;br&gt;convert match=&amp;quot;java.lang.Exception&amp;quot; converter=&amp;quot;exception&amp;quot;/&amp;gt; &amp;lt;filter class=&amp;quot;org.directwebremoting.filter.AuditLogAjaxFilter&amp;quot;/&amp;gt;&lt;br&gt;
&lt;br&gt;My bean crashed on one of its get methods (getText ) .&lt;br&gt;&lt;br&gt;I got the following JS pop up :&lt;br&gt;&amp;quot;Error Marshalling data. See the logs for more details&amp;quot;&lt;br&gt; The logs didn&amp;#39;t reveal much other than the remote call which I already know. There were two lines, an INFO and ERROR&lt;br&gt;
 log start .....&lt;br&gt;&lt;br&gt;15:15:05,866 INFO AuditLogAjaxFilter : ToDoRemote.getToDoDetails(&amp;quot;hnz.core.engine.bean.PageInfoBean@2d7...&amp;quot;, 2109008, false, &amp;quot;hnz.biz.modules.crm.bean.CrmOptionsRe...&amp;quot;) = &amp;quot;hnz.util.bean.HNZResponse@2b7bd9&amp;quot;&lt;br&gt;
&lt;br&gt;15:15:06,007 ERROR DefaultConverterManager : No converter found for &amp;#39;java.lang.Class&amp;#39;&lt;br&gt;log end.....&lt;br&gt; In the ERROR line there is this bogus message (No converter found for &amp;#39;java.lang.Class&amp;#39;). What does it mean?&lt;br&gt;
 Debugging dwr, I can see it catches InvocationTargetException in  PropertyDescriptorProperty.getValue(...)[line:76]. I understand the exception itself is useless with no information or stack, but it would have made huge help if it can spit out what went wrong by logging the offending function. I can see we can get it in that function from descriptor.getReadMethod().getName(). That would give us a clue to where to look to intercept this swallowen crash.&lt;br&gt;
 Do you agree with this small change in PropertyDescriptorProperty.getValue(...)? If so, how we can grab a Logger object from there (if any)?&lt;br&gt; Thanks,&lt;br&gt;  Daniel,&lt;br&gt; &lt;br&gt;&lt;/div&gt;
&lt;div&gt; On Wed, Nov 25, 2009 at 2:05 PM, David Marginian &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26519698&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;david@...&lt;/a&gt; &amp;lt;mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26519698&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;david@...&lt;/a&gt;&amp;gt;&amp;gt; wrote:&lt;br&gt;
&lt;br&gt;   &lt;a href=&quot;http://directwebremoting.org/dwr/server/servlet/logging.html&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://directwebremoting.org/dwr/server/servlet/logging.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;   Dhafir Moussa wrote:&lt;br&gt;&lt;br&gt;       I get a JavaScript pop-up alert message &amp;quot;Error&amp;quot; in tow cases:&lt;br&gt;
       1- When the DWR doesn&amp;#39;t know how to convert a JS object to&lt;br&gt;       Java a object (missing bean declaration in dwr.xml, or wrong&lt;br&gt;       object type)&lt;br&gt;       2- When DWR encounters a Runtime exception upon converting a&lt;br&gt;
       Java bean to JS object.&lt;br&gt;        In both cases we get no detail (or stack trace) in the logs&lt;br&gt;       as if DWr swallows the exceptions and marshaling a generic&lt;br&gt;       error message. I know we can get more details by adding&lt;br&gt;
       exception converter :  &amp;lt;convert match=&amp;quot;java.lang.Exception&amp;quot;&lt;br&gt;       converter=&amp;quot;exception&amp;quot;/&amp;gt;  but that will only tell the user what&lt;br&gt;       is the problem. We want to see more details about what failed&lt;br&gt;
       to convert from JS to Java or which bit crashed in the bean&lt;br&gt;       converter.&lt;br&gt;        Is there a setting in dwr to expose those crashes in the&lt;br&gt;       logs, or can we catch them in a different way?&lt;br&gt;        Cheers!&lt;br&gt;
         Daniel&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;   __________ Information from ESET NOD32 Antivirus, version of virus&lt;br&gt;   signature database 4634 (20091124) __________&lt;br&gt;&lt;br&gt;   The message was checked by ESET NOD32 Antivirus.&lt;br&gt;&lt;br&gt;
&lt;/div&gt;   &lt;a href=&quot;http://www.eset.com/&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://www.eset.com&lt;/a&gt; &amp;lt;&lt;a href=&quot;http://www.eset.com/&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://www.eset.com/&lt;/a&gt;&amp;gt; 
&lt;div&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;   ---------------------------------------------------------------------&lt;br&gt;   To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26519698&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;&lt;br&gt;
&lt;/div&gt;   &amp;lt;mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26519698&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;&amp;gt; 
&lt;div&gt;&lt;br&gt;   For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26519698&amp;i=7&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;&lt;br&gt;&lt;/div&gt;   &amp;lt;mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26519698&amp;i=8&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;&amp;gt;&lt;br&gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-- &lt;br&gt;&lt;br&gt;Dhafir Moussa&lt;br&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;
&lt;div&gt;__________ Information from ESET NOD32 Antivirus, version of virus signature database 4634 (20091124) __________&lt;br&gt;&lt;br&gt;The message was checked by ESET NOD32 Antivirus.&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://www.eset.com/&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://www.eset.com&lt;/a&gt;&lt;br&gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26519698&amp;i=9&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26519698&amp;i=10&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;&lt;br&gt;
&lt;br&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;br clear=&quot;all&quot;&gt;&lt;br&gt;-- &lt;br&gt;&lt;font color=&quot;#888888&quot;&gt;&lt;br&gt;Dhafir Moussa&lt;br&gt;&lt;/font&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;br clear=&quot;all&quot;&gt;&lt;br&gt;-- &lt;br&gt;&lt;br&gt;Dhafir Moussa&lt;br&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/How-to-stop-DWR-swallowing-exceptions-tp26505554p26519698.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26519409</id>
	<title>Re: How to stop DWR swallowing exceptions</title>
	<published>2009-11-25T12:03:49Z</published>
	<updated>2009-11-25T12:03:49Z</updated>
	<author>
		<name>davidmarginian</name>
	</author>
	<content type="html">&amp;quot;No converter found for &amp;#39;java.lang.Class&amp;quot;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt; &amp;quot;How do I know which &amp;quot;Class&amp;quot; is missing a converter?&amp;quot;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;The error message tells you that - java.lang.Class.  I think what you really want to know is what class the field that is being converted exists in.  I will look into seeing if I can add some more details into the log.  BUT, keep in mind I think what you are doing is no good practice.  You should really be aware of what fields are being serialized and you should be specifying includes/excludes for your converters.&lt;/div&gt;
&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Wed, Nov 25, 2009 at 12:43 PM, Dhafir Moussa &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26519409&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dhafir.moussa@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;&quot;&gt;
&lt;div&gt;Re: &amp;quot;This is not bogus.  From the message it is quite clear what the error means&amp;quot;&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;Sorry, I still can&amp;#39;t see what this error means:  (No converter found for &amp;#39;java.lang.Class&amp;#39;)? How do I know which &amp;quot;Class&amp;quot; is missing a converter? Can we get it to spell it out? The message suggests that we missed to define a converter for a &amp;quot;Class&amp;quot; but which one? There is a converter for the class I know, but one of its getxxx() methods crashes upon invocation, I can&amp;#39;t see how this is related to the message above?&lt;/div&gt;


&lt;div&gt; &lt;/div&gt;
&lt;div&gt;Re: &amp;quot;The conversion exception is thrown trying to get or invoke the read method, so we can&amp;#39;t log it.&amp;quot;&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;Yes I agree, this is why I suggested logging it in BaseCallHandler.marshallOutbound(...)&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;Thanks,&lt;/div&gt;
&lt;div&gt;-Daniel,&lt;br&gt; &lt;/div&gt;
&lt;div class=&quot;gmail_quote&quot;&gt;&lt;div class=&quot;im&quot;&gt;On Wed, Nov 25, 2009 at 5:52 PM, David Marginian &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26519409&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;david@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;
&lt;/div&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;padding-left:1ex;margin:0px 0px 0px 0.8ex;border-left:#ccc 1px solid&quot;&gt;&lt;div class=&quot;im&quot;&gt;
&lt;div&gt;&amp;quot;In the ERROR line there is this bogus message (No converter found for &amp;#39;java.lang.Class&amp;#39;). What does it mean?&amp;quot;&lt;br&gt;&lt;br&gt;&lt;/div&gt;&lt;/div&gt;This is not bogus.  From the message it is quite clear what the error means.  When you specify a converter DWR will attempt to convert EVERY field in the class unless you use includes/excludes. &lt;br&gt;
&lt;div class=&quot;im&quot;&gt;

&lt;div&gt;&amp;quot;I can see it catches InvocationTargetException in  PropertyDescriptorProperty.getValue(...)[line:76]. I understand the exception itself is useless with no information or stack, but it would have made huge help if it can spit out what went wrong by logging the offending function. I can see we can get it in that function from descriptor.getReadMethod().getName(). That would give us a clue to where to look to intercept this swallowen crash.&lt;br&gt;

&lt;br&gt;Do you agree with this small change in PropertyDescriptorProperty.getValue(...)? If so, how we can grab a Logger object from there (if any)?&amp;quot;&lt;br&gt;&lt;br&gt;&lt;/div&gt;&lt;/div&gt;No, what you are saying doesn&amp;#39;t make sense.  The conversion exception is thrown trying to get or invoke the read method, so we can&amp;#39;t log it.  We could probably log something about the descriptor but really I don&amp;#39;t see this being an issue.&lt;br&gt;

&lt;br&gt;      try&lt;br&gt;      {&lt;br&gt;          return descriptor.getReadMethod().invoke(bean);&lt;br&gt;      }&lt;br&gt;      catch (InvocationTargetException ex)&lt;br&gt;      {&lt;br&gt;          throw new ConversionException(bean.getClass(), ex.getTargetException());&lt;br&gt;

      }&lt;br&gt;      catch (Exception ex)&lt;br&gt;      {&lt;br&gt;          throw new ConversionException(bean.getClass(), ex);&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class=&quot;h5&quot;&gt;&lt;br&gt;      }&lt;br&gt;&lt;br&gt;Dhafir Moussa wrote:&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;padding-left:1ex;margin:0px 0px 0px 0.8ex;border-left:#ccc 1px solid&quot;&gt;
&lt;div&gt;Thanks David,&lt;br&gt; That didn&amp;#39;t quite help. I have the follwoing in my dwr.xml:&lt;br&gt; &lt;br&gt;&amp;lt;convert match=&amp;quot;java.lang.StackTraceElement&amp;quot; converter=&amp;quot;bean&amp;quot;/&amp;gt;&lt;br&gt;&lt;br&gt;&amp;lt;&lt;br&gt;&lt;br&gt;convert match=&amp;quot;java.lang.Exception&amp;quot; converter=&amp;quot;exception&amp;quot;/&amp;gt; &amp;lt;filter class=&amp;quot;org.directwebremoting.filter.AuditLogAjaxFilter&amp;quot;/&amp;gt;&lt;br&gt;

&lt;br&gt;My bean crashed on one of its get methods (getText ) .&lt;br&gt;&lt;br&gt;I got the following JS pop up :&lt;br&gt;&amp;quot;Error Marshalling data. See the logs for more details&amp;quot;&lt;br&gt; The logs didn&amp;#39;t reveal much other than the remote call which I already know. There were two lines, an INFO and ERROR&lt;br&gt;

 log start .....&lt;br&gt;&lt;br&gt;15:15:05,866 INFO AuditLogAjaxFilter : ToDoRemote.getToDoDetails(&amp;quot;hnz.core.engine.bean.PageInfoBean@2d7...&amp;quot;, 2109008, false, &amp;quot;hnz.biz.modules.crm.bean.CrmOptionsRe...&amp;quot;) = &amp;quot;hnz.util.bean.HNZResponse@2b7bd9&amp;quot;&lt;br&gt;

&lt;br&gt;15:15:06,007 ERROR DefaultConverterManager : No converter found for &amp;#39;java.lang.Class&amp;#39;&lt;br&gt;log end.....&lt;br&gt; In the ERROR line there is this bogus message (No converter found for &amp;#39;java.lang.Class&amp;#39;). What does it mean?&lt;br&gt;

 Debugging dwr, I can see it catches InvocationTargetException in  PropertyDescriptorProperty.getValue(...)[line:76]. I understand the exception itself is useless with no information or stack, but it would have made huge help if it can spit out what went wrong by logging the offending function. I can see we can get it in that function from descriptor.getReadMethod().getName(). That would give us a clue to where to look to intercept this swallowen crash.&lt;br&gt;

 Do you agree with this small change in PropertyDescriptorProperty.getValue(...)? If so, how we can grab a Logger object from there (if any)?&lt;br&gt; Thanks,&lt;br&gt;  Daniel,&lt;br&gt; &lt;br&gt;&lt;/div&gt;
&lt;div&gt; On Wed, Nov 25, 2009 at 2:05 PM, David Marginian &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26519409&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;david@...&lt;/a&gt; &amp;lt;mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26519409&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;david@...&lt;/a&gt;&amp;gt;&amp;gt; wrote:&lt;br&gt;

&lt;br&gt;   &lt;a href=&quot;http://directwebremoting.org/dwr/server/servlet/logging.html&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://directwebremoting.org/dwr/server/servlet/logging.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;   Dhafir Moussa wrote:&lt;br&gt;&lt;br&gt;       I get a JavaScript pop-up alert message &amp;quot;Error&amp;quot; in tow cases:&lt;br&gt;

       1- When the DWR doesn&amp;#39;t know how to convert a JS object to&lt;br&gt;       Java a object (missing bean declaration in dwr.xml, or wrong&lt;br&gt;       object type)&lt;br&gt;       2- When DWR encounters a Runtime exception upon converting a&lt;br&gt;

       Java bean to JS object.&lt;br&gt;        In both cases we get no detail (or stack trace) in the logs&lt;br&gt;       as if DWr swallows the exceptions and marshaling a generic&lt;br&gt;       error message. I know we can get more details by adding&lt;br&gt;

       exception converter :  &amp;lt;convert match=&amp;quot;java.lang.Exception&amp;quot;&lt;br&gt;       converter=&amp;quot;exception&amp;quot;/&amp;gt;  but that will only tell the user what&lt;br&gt;       is the problem. We want to see more details about what failed&lt;br&gt;

       to convert from JS to Java or which bit crashed in the bean&lt;br&gt;       converter.&lt;br&gt;        Is there a setting in dwr to expose those crashes in the&lt;br&gt;       logs, or can we catch them in a different way?&lt;br&gt;        Cheers!&lt;br&gt;

         Daniel&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;   __________ Information from ESET NOD32 Antivirus, version of virus&lt;br&gt;   signature database 4634 (20091124) __________&lt;br&gt;&lt;br&gt;   The message was checked by ESET NOD32 Antivirus.&lt;br&gt;&lt;br&gt;

&lt;/div&gt;   &lt;a href=&quot;http://www.eset.com/&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://www.eset.com&lt;/a&gt; &amp;lt;&lt;a href=&quot;http://www.eset.com/&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://www.eset.com/&lt;/a&gt;&amp;gt; 
&lt;div&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;   ---------------------------------------------------------------------&lt;br&gt;   To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26519409&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;&lt;br&gt;

&lt;/div&gt;   &amp;lt;mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26519409&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;&amp;gt; 
&lt;div&gt;&lt;br&gt;   For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26519409&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;&lt;br&gt;&lt;/div&gt;   &amp;lt;mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26519409&amp;i=7&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;&amp;gt;&lt;br&gt;

&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-- &lt;br&gt;&lt;br&gt;Dhafir Moussa&lt;br&gt;&lt;/blockquote&gt;
&lt;/div&gt;&lt;/div&gt;&lt;div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;div class=&quot;im&quot;&gt;__________ Information from ESET NOD32 Antivirus, version of virus signature database 4634 (20091124) __________&lt;br&gt;&lt;br&gt;The message was checked by ESET NOD32 Antivirus.&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://www.eset.com/&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://www.eset.com&lt;/a&gt;&lt;br&gt;

&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26519409&amp;i=8&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26519409&amp;i=9&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;&lt;br&gt;

&lt;br&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;br clear=&quot;all&quot;&gt;&lt;br&gt;-- &lt;br&gt;&lt;font color=&quot;#888888&quot;&gt;&lt;br&gt;Dhafir Moussa&lt;br&gt;
&lt;/font&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;/div&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/How-to-stop-DWR-swallowing-exceptions-tp26505554p26519409.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26519084</id>
	<title>Re: How to stop DWR swallowing exceptions</title>
	<published>2009-11-25T11:44:13Z</published>
	<updated>2009-11-25T11:44:13Z</updated>
	<author>
		<name>davidmarginian</name>
	</author>
	<content type="html">Ok, good deal.  Thanks.&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Wed, Nov 25, 2009 at 12:33 PM, Dhafir Moussa &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26519084&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dhafir.moussa@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;&quot;&gt;
&lt;div&gt;I downloaded a source jar from the release. That change will certainly help, thanks.&lt;br&gt;&lt;/div&gt;
&lt;div&gt;Daniel,&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class=&quot;h5&quot;&gt;
&lt;div&gt;&lt;br&gt; &lt;/div&gt;
&lt;div class=&quot;gmail_quote&quot;&gt;On Thu, Nov 26, 2009 at 8:30 AM, David Marginian &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26519084&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;david@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;padding-left:1ex;margin:0px 0px 0px 0.8ex;border-left:#ccc 1px solid&quot;&gt;I meant WHERE are you pulling the source.  Obviously you told me what class but you didn&amp;#39;t say if you were pulling it from trunk or if you downloaded a source jar from a release.  I uncommented out that line and it is checked in.  I am assuming with that change you are happy? 
&lt;div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;&lt;br&gt;&lt;br&gt;
&lt;div class=&quot;gmail_quote&quot;&gt;On Wed, Nov 25, 2009 at 12:24 PM, Dhafir Moussa &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26519084&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dhafir.moussa@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;padding-left:1ex;margin:0px 0px 0px 0.8ex;border-left:#ccc 1px solid&quot;&gt;
&lt;div&gt;&amp;quot;Not sure what source you are looking at.&amp;quot;&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;BaseCallHandler.marshallOutbound(...) when catching *ConversionException *in line 339.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;Class is &lt;b&gt;&lt;font color=&quot;#7f0055&quot; size=&quot;2&quot;&gt;&lt;font color=&quot;#7f0055&quot; size=&quot;2&quot;&gt;abstract&lt;/font&gt;&lt;/font&gt;&lt;/b&gt;&lt;font size=&quot;2&quot;&gt; &lt;/font&gt;&lt;b&gt;&lt;font color=&quot;#7f0055&quot; size=&quot;2&quot;&gt;&lt;font color=&quot;#7f0055&quot; size=&quot;2&quot;&gt;class&lt;/font&gt;&lt;/font&gt;&lt;/b&gt; BaseCallHandler.java, method is marshallOutbound(...) , line number is 339&lt;/div&gt;


&lt;div&gt;&lt;br&gt;&amp;quot;I can uncomment it (the log is at the warn level).&amp;quot;&lt;/div&gt;
&lt;div&gt;Yes, that would be helpful. I don&amp;#39;t know why it is commented out.&lt;/div&gt;
&lt;div&gt;&lt;font size=&quot;2&quot;&gt;
&lt;p align=&quot;left&quot;&gt;&lt;/p&gt;&lt;/font&gt;&lt;b&gt;&lt;font color=&quot;#7f0055&quot; size=&quot;2&quot;&gt;&lt;font color=&quot;#7f0055&quot; size=&quot;2&quot;&gt;catch&lt;/font&gt;&lt;/font&gt;&lt;/b&gt;&lt;font size=&quot;2&quot;&gt; (ConversionException ex) 
&lt;p align=&quot;left&quot;&gt;{&lt;/p&gt;
&lt;p align=&quot;left&quot;&gt;ScriptBuffer script = EnginePrivate.&lt;i&gt;getRemoteHandleExceptionScript&lt;/i&gt;(batchId, callId, ex);&lt;/p&gt;
&lt;p align=&quot;left&quot;&gt;addScriptHandleExceptions(conduit, script);&lt;/p&gt;
&lt;p align=&quot;left&quot;&gt;&lt;/p&gt;&lt;/font&gt;&lt;font color=&quot;#3f7f5f&quot; size=&quot;2&quot;&gt;&lt;font color=&quot;#3f7f5f&quot; size=&quot;2&quot;&gt;//log.warn(&amp;quot;--ConversionException: batchId=&amp;quot; + batchId + &amp;quot; class=&amp;quot; + ex.getConversionType().getName(), ex);&lt;/font&gt;&lt;/font&gt;&lt;font size=&quot;2&quot;&gt; 
&lt;p align=&quot;left&quot;&gt;}&lt;/p&gt;
&lt;p align=&quot;left&quot;&gt; &lt;/p&gt;&lt;/font&gt;&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div class=&quot;gmail_quote&quot;&gt;On Wed, Nov 25, 2009 at 5:42 PM, David Marginian &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26519084&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;david@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;padding-left:1ex;margin:0px 0px 0px 0.8ex;border-left:#ccc 1px solid&quot;&gt;Not sure what source you are looking at.  In the lastest from svn trunk we have a log line commented out where the conversionexception is thrown.  I can uncomment it (the log is at the warn level).&lt;br&gt;

&lt;br&gt;Dhafir Moussa wrote:&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;padding-left:1ex;margin:0px 0px 0px 0.8ex;border-left:#ccc 1px solid&quot;&gt;
&lt;div&gt;Actually,  better place to log this is in:&lt;br&gt;BaseCallHandler.marshallOutbound(...) when catching *ConversionException *in line 339.&lt;br&gt; Thoughts?&lt;br&gt; Daniel&lt;br&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;On Wed, Nov 25, 2009 at 4:43 PM, Dhafir Moussa &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26519084&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dhafir.moussa@...&lt;/a&gt; &amp;lt;mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26519084&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dhafir.moussa@...&lt;/a&gt;&amp;gt;&amp;gt; wrote:&lt;br&gt;

&lt;br&gt;   Thanks David,&lt;br&gt;       That didn&amp;#39;t quite help. I have the follwoing in my dwr.xml:&lt;br&gt;    &lt;br&gt;   &amp;lt;convert match=&amp;quot;java.lang.StackTraceElement&amp;quot; converter=&amp;quot;bean&amp;quot;/&amp;gt;&lt;br&gt;&lt;br&gt;   &amp;lt;&lt;br&gt;&lt;br&gt;

   convert match=&amp;quot;java.lang.Exception&amp;quot; converter=&amp;quot;exception&amp;quot;/&amp;gt;&lt;br&gt;   &amp;lt;filter class=&amp;quot;org.directwebremoting.filter.AuditLogAjaxFilter&amp;quot;/&amp;gt;&lt;br&gt;&lt;br&gt;   My bean crashed on one of its get methods (getText ) .&lt;br&gt;

&lt;br&gt;   I got the following JS pop up :&lt;br&gt;   &amp;quot;Error Marshalling data. See the logs for more details&amp;quot;&lt;br&gt;       The logs didn&amp;#39;t reveal much other than the remote call which I&lt;br&gt;   already know. There were two lines, an INFO and ERROR&lt;br&gt;

       log start .....&lt;br&gt;&lt;br&gt;   15:15:05,866 INFO AuditLogAjaxFilter :&lt;br&gt;   ToDoRemote.getToDoDetails(&amp;quot;hnz.core.engine.bean.PageInfoBean@2d7...&amp;quot;,&lt;br&gt;   2109008, false, &amp;quot;hnz.biz.modules.crm.bean.CrmOptionsRe...&amp;quot;) =&lt;br&gt;

   &amp;quot;hnz.util.bean.HNZResponse@2b7bd9&amp;quot;&lt;br&gt;&lt;br&gt;   15:15:06,007 ERROR DefaultConverterManager : No converter found&lt;br&gt;   for &amp;#39;java.lang.Class&amp;#39;&lt;br&gt;   log end.....&lt;br&gt;       In the ERROR line there is this bogus message (No converter found&lt;br&gt;

   for &amp;#39;java.lang.Class&amp;#39;). What does it mean?&lt;br&gt;       Debugging dwr, I can see it catches InvocationTargetException in    PropertyDescriptorProperty.getValue(...)[line:76]. I understand&lt;br&gt;   the exception itself is useless with no information or stack, but&lt;br&gt;

   it would have made huge help if it can spit out what went wrong by&lt;br&gt;   logging the offending function. I can see we can get it in that&lt;br&gt;   function from descriptor.getReadMethod().getName(). That would&lt;br&gt;   give us a clue to where to look to intercept this swallowen crash.&lt;br&gt;

       Do you agree with this small change in&lt;br&gt;   PropertyDescriptorProperty.getValue(...)? If so, how we can grab a&lt;br&gt;   Logger object from there (if any)?&lt;br&gt;       Thanks,&lt;br&gt;           Daniel,&lt;br&gt;    &lt;br&gt;       On Wed, Nov 25, 2009 at 2:05 PM, David Marginian&lt;br&gt;

&lt;/div&gt;&lt;/div&gt;
&lt;div&gt;   &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26519084&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;david@...&lt;/a&gt; &amp;lt;mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26519084&amp;i=7&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;david@...&lt;/a&gt;&amp;gt;&amp;gt; wrote:&lt;br&gt;&lt;br&gt;       &lt;a href=&quot;http://directwebremoting.org/dwr/server/servlet/logging.html&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://directwebremoting.org/dwr/server/servlet/logging.html&lt;/a&gt;&lt;br&gt;

&lt;br&gt;&lt;br&gt;       Dhafir Moussa wrote:&lt;br&gt;&lt;br&gt;           I get a JavaScript pop-up alert message &amp;quot;Error&amp;quot; in tow cases:&lt;br&gt;           1- When the DWR doesn&amp;#39;t know how to convert a JS object to&lt;br&gt;           Java a object (missing bean declaration in dwr.xml, or&lt;br&gt;

           wrong object type)&lt;br&gt;           2- When DWR encounters a Runtime exception upon converting&lt;br&gt;           a Java bean to JS object.&lt;br&gt;            In both cases we get no detail (or stack trace) in the&lt;br&gt;           logs as if DWr swallows the exceptions and marshaling a&lt;br&gt;

           generic error message. I know we can get more details by&lt;br&gt;           adding exception converter :  &amp;lt;convert&lt;br&gt;           match=&amp;quot;java.lang.Exception&amp;quot; converter=&amp;quot;exception&amp;quot;/&amp;gt;  but&lt;br&gt;

           that will only tell the user what is the problem. We want&lt;br&gt;           to see more details about what failed to convert from JS&lt;br&gt;           to Java or which bit crashed in the bean converter.&lt;br&gt;            Is there a setting in dwr to expose those crashes in the&lt;br&gt;

           logs, or can we catch them in a different way?&lt;br&gt;            Cheers!&lt;br&gt;             Daniel&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;       __________ Information from ESET NOD32 Antivirus, version of&lt;br&gt;       virus signature database 4634 (20091124) __________&lt;br&gt;

&lt;br&gt;       The message was checked by ESET NOD32 Antivirus.&lt;br&gt;&lt;br&gt;&lt;/div&gt;       &lt;a href=&quot;http://www.eset.com/&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://www.eset.com&lt;/a&gt; &amp;lt;&lt;a href=&quot;http://www.eset.com/&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://www.eset.com/&lt;/a&gt;&amp;gt; 
&lt;div&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;       ---------------------------------------------------------------------&lt;br&gt;       To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26519084&amp;i=8&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;&lt;br&gt;

&lt;/div&gt;       &amp;lt;mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26519084&amp;i=9&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;&amp;gt; 
&lt;div&gt;&lt;br&gt;       For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26519084&amp;i=10&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;&lt;br&gt;&lt;/div&gt;       &amp;lt;mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26519084&amp;i=11&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;&amp;gt;&lt;br&gt;

&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;   -- &lt;br&gt;   Dhafir Moussa&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-- &lt;br&gt;&lt;br&gt;Dhafir Moussa&lt;br&gt;&lt;/blockquote&gt;
&lt;div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;__________ Information from ESET NOD32 Antivirus, version of virus signature database 4634 (20091124) __________&lt;br&gt;&lt;br&gt;The message was checked by ESET NOD32 Antivirus.&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://www.eset.com/&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://www.eset.com&lt;/a&gt;&lt;br&gt;

&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26519084&amp;i=12&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26519084&amp;i=13&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;&lt;br&gt;

&lt;br&gt;&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;br clear=&quot;all&quot;&gt;&lt;br&gt;-- &lt;br&gt;&lt;font color=&quot;#888888&quot;&gt;&lt;br&gt;Dhafir Moussa&lt;br&gt;&lt;/font&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;br clear=&quot;all&quot;&gt;&lt;br&gt;&lt;/div&gt;&lt;/div&gt;-- &lt;br&gt;&lt;font color=&quot;#888888&quot;&gt;&lt;br&gt;
Dhafir Moussa&lt;br&gt;
&lt;/font&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/How-to-stop-DWR-swallowing-exceptions-tp26505554p26519084.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26519077</id>
	<title>Re: How to stop DWR swallowing exceptions</title>
	<published>2009-11-25T11:43:56Z</published>
	<updated>2009-11-25T11:43:56Z</updated>
	<author>
		<name>Dhafir Moussa</name>
	</author>
	<content type="html">&lt;div&gt;Re: &amp;quot;This is not bogus.  From the message it is quite clear what the error means&amp;quot;&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;Sorry, I still can&amp;#39;t see what this error means:  (No converter found for &amp;#39;java.lang.Class&amp;#39;)? How do I know which &amp;quot;Class&amp;quot; is missing a converter? Can we get it to spell it out? The message suggests that we missed to define a converter for a &amp;quot;Class&amp;quot; but which one? There is a converter for the class I know, but one of its getxxx() methods crashes upon invocation, I can&amp;#39;t see how this is related to the message above?&lt;/div&gt;

&lt;div&gt; &lt;/div&gt;
&lt;div&gt;Re: &amp;quot;The conversion exception is thrown trying to get or invoke the read method, so we can&amp;#39;t log it.&amp;quot;&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;Yes I agree, this is why I suggested logging it in BaseCallHandler.marshallOutbound(...)&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;Thanks,&lt;/div&gt;
&lt;div&gt;-Daniel,&lt;br&gt; &lt;/div&gt;
&lt;div class=&quot;gmail_quote&quot;&gt;On Wed, Nov 25, 2009 at 5:52 PM, David Marginian &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26519077&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;david@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid&quot;&gt;
&lt;div class=&quot;im&quot;&gt;&amp;quot;In the ERROR line there is this bogus message (No converter found for &amp;#39;java.lang.Class&amp;#39;). What does it mean?&amp;quot;&lt;br&gt;&lt;br&gt;&lt;/div&gt;This is not bogus.  From the message it is quite clear what the error means.  When you specify a converter DWR will attempt to convert EVERY field in the class unless you use includes/excludes. &lt;br&gt;

&lt;div class=&quot;im&quot;&gt;&amp;quot;I can see it catches InvocationTargetException in  PropertyDescriptorProperty.getValue(...)[line:76]. I understand the exception itself is useless with no information or stack, but it would have made huge help if it can spit out what went wrong by logging the offending function. I can see we can get it in that function from descriptor.getReadMethod().getName(). That would give us a clue to where to look to intercept this swallowen crash.&lt;br&gt;
&lt;br&gt;Do you agree with this small change in PropertyDescriptorProperty.getValue(...)? If so, how we can grab a Logger object from there (if any)?&amp;quot;&lt;br&gt;&lt;br&gt;&lt;/div&gt;No, what you are saying doesn&amp;#39;t make sense.  The conversion exception is thrown trying to get or invoke the read method, so we can&amp;#39;t log it.  We could probably log something about the descriptor but really I don&amp;#39;t see this being an issue.&lt;br&gt;
&lt;br&gt;      try&lt;br&gt;      {&lt;br&gt;          return descriptor.getReadMethod().invoke(bean);&lt;br&gt;      }&lt;br&gt;      catch (InvocationTargetException ex)&lt;br&gt;      {&lt;br&gt;          throw new ConversionException(bean.getClass(), ex.getTargetException());&lt;br&gt;
      }&lt;br&gt;      catch (Exception ex)&lt;br&gt;      {&lt;br&gt;          throw new ConversionException(bean.getClass(), ex);&lt;br&gt;      }&lt;br&gt;&lt;br&gt;Dhafir Moussa wrote:&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid&quot;&gt;
&lt;div class=&quot;im&quot;&gt;Thanks David,&lt;br&gt; That didn&amp;#39;t quite help. I have the follwoing in my dwr.xml:&lt;br&gt; &lt;br&gt;&amp;lt;convert match=&amp;quot;java.lang.StackTraceElement&amp;quot; converter=&amp;quot;bean&amp;quot;/&amp;gt;&lt;br&gt;&lt;br&gt;&amp;lt;&lt;br&gt;&lt;br&gt;convert match=&amp;quot;java.lang.Exception&amp;quot; converter=&amp;quot;exception&amp;quot;/&amp;gt; &amp;lt;filter class=&amp;quot;org.directwebremoting.filter.AuditLogAjaxFilter&amp;quot;/&amp;gt;&lt;br&gt;
&lt;br&gt;My bean crashed on one of its get methods (getText ) .&lt;br&gt;&lt;br&gt;I got the following JS pop up :&lt;br&gt;&amp;quot;Error Marshalling data. See the logs for more details&amp;quot;&lt;br&gt; The logs didn&amp;#39;t reveal much other than the remote call which I already know. There were two lines, an INFO and ERROR&lt;br&gt;
 log start .....&lt;br&gt;&lt;br&gt;15:15:05,866 INFO AuditLogAjaxFilter : ToDoRemote.getToDoDetails(&amp;quot;hnz.core.engine.bean.PageInfoBean@2d7...&amp;quot;, 2109008, false, &amp;quot;hnz.biz.modules.crm.bean.CrmOptionsRe...&amp;quot;) = &amp;quot;hnz.util.bean.HNZResponse@2b7bd9&amp;quot;&lt;br&gt;
&lt;br&gt;15:15:06,007 ERROR DefaultConverterManager : No converter found for &amp;#39;java.lang.Class&amp;#39;&lt;br&gt;log end.....&lt;br&gt; In the ERROR line there is this bogus message (No converter found for &amp;#39;java.lang.Class&amp;#39;). What does it mean?&lt;br&gt;
 Debugging dwr, I can see it catches InvocationTargetException in  PropertyDescriptorProperty.getValue(...)[line:76]. I understand the exception itself is useless with no information or stack, but it would have made huge help if it can spit out what went wrong by logging the offending function. I can see we can get it in that function from descriptor.getReadMethod().getName(). That would give us a clue to where to look to intercept this swallowen crash.&lt;br&gt;
 Do you agree with this small change in PropertyDescriptorProperty.getValue(...)? If so, how we can grab a Logger object from there (if any)?&lt;br&gt; Thanks,&lt;br&gt;  Daniel,&lt;br&gt; &lt;br&gt;&lt;/div&gt;
&lt;div class=&quot;im&quot;&gt; On Wed, Nov 25, 2009 at 2:05 PM, David Marginian &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26519077&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;david@...&lt;/a&gt; &amp;lt;mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26519077&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;david@...&lt;/a&gt;&amp;gt;&amp;gt; wrote:&lt;br&gt;
&lt;br&gt;   &lt;a href=&quot;http://directwebremoting.org/dwr/server/servlet/logging.html&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://directwebremoting.org/dwr/server/servlet/logging.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;   Dhafir Moussa wrote:&lt;br&gt;&lt;br&gt;       I get a JavaScript pop-up alert message &amp;quot;Error&amp;quot; in tow cases:&lt;br&gt;
       1- When the DWR doesn&amp;#39;t know how to convert a JS object to&lt;br&gt;       Java a object (missing bean declaration in dwr.xml, or wrong&lt;br&gt;       object type)&lt;br&gt;       2- When DWR encounters a Runtime exception upon converting a&lt;br&gt;
       Java bean to JS object.&lt;br&gt;        In both cases we get no detail (or stack trace) in the logs&lt;br&gt;       as if DWr swallows the exceptions and marshaling a generic&lt;br&gt;       error message. I know we can get more details by adding&lt;br&gt;
       exception converter :  &amp;lt;convert match=&amp;quot;java.lang.Exception&amp;quot;&lt;br&gt;       converter=&amp;quot;exception&amp;quot;/&amp;gt;  but that will only tell the user what&lt;br&gt;       is the problem. We want to see more details about what failed&lt;br&gt;
       to convert from JS to Java or which bit crashed in the bean&lt;br&gt;       converter.&lt;br&gt;        Is there a setting in dwr to expose those crashes in the&lt;br&gt;       logs, or can we catch them in a different way?&lt;br&gt;        Cheers!&lt;br&gt;
         Daniel&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;   __________ Information from ESET NOD32 Antivirus, version of virus&lt;br&gt;   signature database 4634 (20091124) __________&lt;br&gt;&lt;br&gt;   The message was checked by ESET NOD32 Antivirus.&lt;br&gt;&lt;br&gt;
&lt;/div&gt;   &lt;a href=&quot;http://www.eset.com/&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://www.eset.com&lt;/a&gt; &amp;lt;&lt;a href=&quot;http://www.eset.com/&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://www.eset.com/&lt;/a&gt;&amp;gt; 
&lt;div class=&quot;im&quot;&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;   ---------------------------------------------------------------------&lt;br&gt;   To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26519077&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;&lt;br&gt;
&lt;/div&gt;   &amp;lt;mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26519077&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;&amp;gt; 
&lt;div class=&quot;im&quot;&gt;&lt;br&gt;   For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26519077&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;&lt;br&gt;&lt;/div&gt;   &amp;lt;mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26519077&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;&amp;gt;&lt;br&gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-- &lt;br&gt;&lt;br&gt;Dhafir Moussa&lt;br&gt;&lt;/blockquote&gt;
&lt;div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div class=&quot;h5&quot;&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;__________ Information from ESET NOD32 Antivirus, version of virus signature database 4634 (20091124) __________&lt;br&gt;&lt;br&gt;The message was checked by ESET NOD32 Antivirus.&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://www.eset.com/&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://www.eset.com&lt;/a&gt;&lt;br&gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26519077&amp;i=7&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26519077&amp;i=8&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;&lt;br&gt;
&lt;br&gt;&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;br clear=&quot;all&quot;&gt;&lt;br&gt;-- &lt;br&gt;&lt;br&gt;Dhafir Moussa&lt;br&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/How-to-stop-DWR-swallowing-exceptions-tp26505554p26519077.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26518916</id>
	<title>Re: How to stop DWR swallowing exceptions</title>
	<published>2009-11-25T11:33:57Z</published>
	<updated>2009-11-25T11:33:57Z</updated>
	<author>
		<name>Dhafir Moussa</name>
	</author>
	<content type="html">&lt;div&gt;I downloaded a source jar from the release. That change will certainly help, thanks.&lt;br&gt;&lt;/div&gt;
&lt;div&gt;Daniel,&lt;/div&gt;
&lt;div&gt;&lt;br&gt; &lt;/div&gt;
&lt;div class=&quot;gmail_quote&quot;&gt;On Thu, Nov 26, 2009 at 8:30 AM, David Marginian &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26518916&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;david@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid&quot;&gt;I meant WHERE are you pulling the source.  Obviously you told me what class but you didn&amp;#39;t say if you were pulling it from trunk or if you downloaded a source jar from a release.  I uncommented out that line and it is checked in.  I am assuming with that change you are happy? 
&lt;div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div class=&quot;h5&quot;&gt;&lt;br&gt;&lt;br&gt;
&lt;div class=&quot;gmail_quote&quot;&gt;On Wed, Nov 25, 2009 at 12:24 PM, Dhafir Moussa &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26518916&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dhafir.moussa@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid&quot;&gt;
&lt;div&gt;&amp;quot;Not sure what source you are looking at.&amp;quot;&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;BaseCallHandler.marshallOutbound(...) when catching *ConversionException *in line 339.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;Class is &lt;b&gt;&lt;font color=&quot;#7f0055&quot; size=&quot;2&quot;&gt;&lt;font color=&quot;#7f0055&quot; size=&quot;2&quot;&gt;abstract&lt;/font&gt;&lt;/font&gt;&lt;/b&gt;&lt;font size=&quot;2&quot;&gt; &lt;/font&gt;&lt;b&gt;&lt;font color=&quot;#7f0055&quot; size=&quot;2&quot;&gt;&lt;font color=&quot;#7f0055&quot; size=&quot;2&quot;&gt;class&lt;/font&gt;&lt;/font&gt;&lt;/b&gt; BaseCallHandler.java, method is marshallOutbound(...) , line number is 339&lt;/div&gt;

&lt;div&gt;&lt;br&gt;&amp;quot;I can uncomment it (the log is at the warn level).&amp;quot;&lt;/div&gt;
&lt;div&gt;Yes, that would be helpful. I don&amp;#39;t know why it is commented out.&lt;/div&gt;
&lt;div&gt;&lt;font size=&quot;2&quot;&gt;
&lt;p align=&quot;left&quot;&gt;&lt;/p&gt;&lt;/font&gt;&lt;b&gt;&lt;font color=&quot;#7f0055&quot; size=&quot;2&quot;&gt;&lt;font color=&quot;#7f0055&quot; size=&quot;2&quot;&gt;catch&lt;/font&gt;&lt;/font&gt;&lt;/b&gt;&lt;font size=&quot;2&quot;&gt; (ConversionException ex) 
&lt;p align=&quot;left&quot;&gt;{&lt;/p&gt;
&lt;p align=&quot;left&quot;&gt;ScriptBuffer script = EnginePrivate.&lt;i&gt;getRemoteHandleExceptionScript&lt;/i&gt;(batchId, callId, ex);&lt;/p&gt;
&lt;p align=&quot;left&quot;&gt;addScriptHandleExceptions(conduit, script);&lt;/p&gt;
&lt;p align=&quot;left&quot;&gt;&lt;/p&gt;&lt;/font&gt;&lt;font color=&quot;#3f7f5f&quot; size=&quot;2&quot;&gt;&lt;font color=&quot;#3f7f5f&quot; size=&quot;2&quot;&gt;//log.warn(&amp;quot;--ConversionException: batchId=&amp;quot; + batchId + &amp;quot; class=&amp;quot; + ex.getConversionType().getName(), ex);&lt;/font&gt;&lt;/font&gt;&lt;font size=&quot;2&quot;&gt; 
&lt;p align=&quot;left&quot;&gt;}&lt;/p&gt;
&lt;p align=&quot;left&quot;&gt; &lt;/p&gt;&lt;/font&gt;&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div class=&quot;gmail_quote&quot;&gt;On Wed, Nov 25, 2009 at 5:42 PM, David Marginian &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26518916&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;david@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid&quot;&gt;Not sure what source you are looking at.  In the lastest from svn trunk we have a log line commented out where the conversionexception is thrown.  I can uncomment it (the log is at the warn level).&lt;br&gt;
&lt;br&gt;Dhafir Moussa wrote:&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid&quot;&gt;
&lt;div&gt;Actually,  better place to log this is in:&lt;br&gt;BaseCallHandler.marshallOutbound(...) when catching *ConversionException *in line 339.&lt;br&gt; Thoughts?&lt;br&gt; Daniel&lt;br&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;On Wed, Nov 25, 2009 at 4:43 PM, Dhafir Moussa &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26518916&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dhafir.moussa@...&lt;/a&gt; &amp;lt;mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26518916&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dhafir.moussa@...&lt;/a&gt;&amp;gt;&amp;gt; wrote:&lt;br&gt;
&lt;br&gt;   Thanks David,&lt;br&gt;       That didn&amp;#39;t quite help. I have the follwoing in my dwr.xml:&lt;br&gt;    &lt;br&gt;   &amp;lt;convert match=&amp;quot;java.lang.StackTraceElement&amp;quot; converter=&amp;quot;bean&amp;quot;/&amp;gt;&lt;br&gt;&lt;br&gt;   &amp;lt;&lt;br&gt;&lt;br&gt;
   convert match=&amp;quot;java.lang.Exception&amp;quot; converter=&amp;quot;exception&amp;quot;/&amp;gt;&lt;br&gt;   &amp;lt;filter class=&amp;quot;org.directwebremoting.filter.AuditLogAjaxFilter&amp;quot;/&amp;gt;&lt;br&gt;&lt;br&gt;   My bean crashed on one of its get methods (getText ) .&lt;br&gt;
&lt;br&gt;   I got the following JS pop up :&lt;br&gt;   &amp;quot;Error Marshalling data. See the logs for more details&amp;quot;&lt;br&gt;       The logs didn&amp;#39;t reveal much other than the remote call which I&lt;br&gt;   already know. There were two lines, an INFO and ERROR&lt;br&gt;
       log start .....&lt;br&gt;&lt;br&gt;   15:15:05,866 INFO AuditLogAjaxFilter :&lt;br&gt;   ToDoRemote.getToDoDetails(&amp;quot;hnz.core.engine.bean.PageInfoBean@2d7...&amp;quot;,&lt;br&gt;   2109008, false, &amp;quot;hnz.biz.modules.crm.bean.CrmOptionsRe...&amp;quot;) =&lt;br&gt;
   &amp;quot;hnz.util.bean.HNZResponse@2b7bd9&amp;quot;&lt;br&gt;&lt;br&gt;   15:15:06,007 ERROR DefaultConverterManager : No converter found&lt;br&gt;   for &amp;#39;java.lang.Class&amp;#39;&lt;br&gt;   log end.....&lt;br&gt;       In the ERROR line there is this bogus message (No converter found&lt;br&gt;
   for &amp;#39;java.lang.Class&amp;#39;). What does it mean?&lt;br&gt;       Debugging dwr, I can see it catches InvocationTargetException in    PropertyDescriptorProperty.getValue(...)[line:76]. I understand&lt;br&gt;   the exception itself is useless with no information or stack, but&lt;br&gt;
   it would have made huge help if it can spit out what went wrong by&lt;br&gt;   logging the offending function. I can see we can get it in that&lt;br&gt;   function from descriptor.getReadMethod().getName(). That would&lt;br&gt;   give us a clue to where to look to intercept this swallowen crash.&lt;br&gt;
       Do you agree with this small change in&lt;br&gt;   PropertyDescriptorProperty.getValue(...)? If so, how we can grab a&lt;br&gt;   Logger object from there (if any)?&lt;br&gt;       Thanks,&lt;br&gt;           Daniel,&lt;br&gt;    &lt;br&gt;       On Wed, Nov 25, 2009 at 2:05 PM, David Marginian&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;div&gt;   &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26518916&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;david@...&lt;/a&gt; &amp;lt;mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26518916&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;david@...&lt;/a&gt;&amp;gt;&amp;gt; wrote:&lt;br&gt;&lt;br&gt;       &lt;a href=&quot;http://directwebremoting.org/dwr/server/servlet/logging.html&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://directwebremoting.org/dwr/server/servlet/logging.html&lt;/a&gt;&lt;br&gt;
&lt;br&gt;&lt;br&gt;       Dhafir Moussa wrote:&lt;br&gt;&lt;br&gt;           I get a JavaScript pop-up alert message &amp;quot;Error&amp;quot; in tow cases:&lt;br&gt;           1- When the DWR doesn&amp;#39;t know how to convert a JS object to&lt;br&gt;           Java a object (missing bean declaration in dwr.xml, or&lt;br&gt;
           wrong object type)&lt;br&gt;           2- When DWR encounters a Runtime exception upon converting&lt;br&gt;           a Java bean to JS object.&lt;br&gt;            In both cases we get no detail (or stack trace) in the&lt;br&gt;           logs as if DWr swallows the exceptions and marshaling a&lt;br&gt;
           generic error message. I know we can get more details by&lt;br&gt;           adding exception converter :  &amp;lt;convert&lt;br&gt;           match=&amp;quot;java.lang.Exception&amp;quot; converter=&amp;quot;exception&amp;quot;/&amp;gt;  but&lt;br&gt;
           that will only tell the user what is the problem. We want&lt;br&gt;           to see more details about what failed to convert from JS&lt;br&gt;           to Java or which bit crashed in the bean converter.&lt;br&gt;            Is there a setting in dwr to expose those crashes in the&lt;br&gt;
           logs, or can we catch them in a different way?&lt;br&gt;            Cheers!&lt;br&gt;             Daniel&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;       __________ Information from ESET NOD32 Antivirus, version of&lt;br&gt;       virus signature database 4634 (20091124) __________&lt;br&gt;
&lt;br&gt;       The message was checked by ESET NOD32 Antivirus.&lt;br&gt;&lt;br&gt;&lt;/div&gt;       &lt;a href=&quot;http://www.eset.com/&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://www.eset.com&lt;/a&gt; &amp;lt;&lt;a href=&quot;http://www.eset.com/&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://www.eset.com/&lt;/a&gt;&amp;gt; 
&lt;div&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;       ---------------------------------------------------------------------&lt;br&gt;       To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26518916&amp;i=7&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;&lt;br&gt;
&lt;/div&gt;       &amp;lt;mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26518916&amp;i=8&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;&amp;gt; 
&lt;div&gt;&lt;br&gt;       For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26518916&amp;i=9&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;&lt;br&gt;&lt;/div&gt;       &amp;lt;mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26518916&amp;i=10&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;&amp;gt;&lt;br&gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;   -- &lt;br&gt;   Dhafir Moussa&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-- &lt;br&gt;&lt;br&gt;Dhafir Moussa&lt;br&gt;&lt;/blockquote&gt;
&lt;div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;__________ Information from ESET NOD32 Antivirus, version of virus signature database 4634 (20091124) __________&lt;br&gt;&lt;br&gt;The message was checked by ESET NOD32 Antivirus.&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://www.eset.com/&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://www.eset.com&lt;/a&gt;&lt;br&gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26518916&amp;i=11&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26518916&amp;i=12&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;&lt;br&gt;
&lt;br&gt;&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;br clear=&quot;all&quot;&gt;&lt;br&gt;-- &lt;br&gt;&lt;font color=&quot;#888888&quot;&gt;&lt;br&gt;Dhafir Moussa&lt;br&gt;&lt;/font&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;br clear=&quot;all&quot;&gt;&lt;br&gt;-- &lt;br&gt;&lt;br&gt;Dhafir Moussa&lt;br&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/How-to-stop-DWR-swallowing-exceptions-tp26505554p26518916.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26518870</id>
	<title>Re: How to stop DWR swallowing exceptions</title>
	<published>2009-11-25T11:30:50Z</published>
	<updated>2009-11-25T11:30:50Z</updated>
	<author>
		<name>davidmarginian</name>
	</author>
	<content type="html">I meant WHERE are you pulling the source.  Obviously you told me what class but you didn&amp;#39;t say if you were pulling it from trunk or if you downloaded a source jar from a release.  I uncommented out that line and it is checked in.  I am assuming with that change you are happy?&lt;br&gt;
&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Wed, Nov 25, 2009 at 12:24 PM, Dhafir Moussa &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26518870&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dhafir.moussa@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;&quot;&gt;
&lt;div&gt;&amp;quot;Not sure what source you are looking at.&amp;quot;&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;BaseCallHandler.marshallOutbound(...) when catching *ConversionException *in line 339.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;Class is &lt;b&gt;&lt;font color=&quot;#7f0055&quot; size=&quot;2&quot;&gt;&lt;font color=&quot;#7f0055&quot; size=&quot;2&quot;&gt;abstract&lt;/font&gt;&lt;/font&gt;&lt;/b&gt;&lt;font size=&quot;2&quot;&gt; &lt;/font&gt;&lt;b&gt;&lt;font color=&quot;#7f0055&quot; size=&quot;2&quot;&gt;&lt;font color=&quot;#7f0055&quot; size=&quot;2&quot;&gt;class&lt;/font&gt;&lt;/font&gt;&lt;/b&gt; BaseCallHandler.java, method is marshallOutbound(...) , line number is 339&lt;/div&gt;


&lt;div&gt;&lt;br&gt;&amp;quot;I can uncomment it (the log is at the warn level).&amp;quot;&lt;/div&gt;
&lt;div&gt;Yes, that would be helpful. I don&amp;#39;t know why it is commented out.&lt;/div&gt;
&lt;div&gt;&lt;font size=&quot;2&quot;&gt;
&lt;p align=&quot;left&quot;&gt;&lt;/p&gt;&lt;/font&gt;&lt;b&gt;&lt;font color=&quot;#7f0055&quot; size=&quot;2&quot;&gt;&lt;font color=&quot;#7f0055&quot; size=&quot;2&quot;&gt;catch&lt;/font&gt;&lt;/font&gt;&lt;/b&gt;&lt;font size=&quot;2&quot;&gt; (ConversionException ex)
&lt;p align=&quot;left&quot;&gt;{&lt;/p&gt;
&lt;p align=&quot;left&quot;&gt;ScriptBuffer script = EnginePrivate.&lt;i&gt;getRemoteHandleExceptionScript&lt;/i&gt;(batchId, callId, ex);&lt;/p&gt;
&lt;p align=&quot;left&quot;&gt;addScriptHandleExceptions(conduit, script);&lt;/p&gt;
&lt;p align=&quot;left&quot;&gt;&lt;/p&gt;&lt;/font&gt;&lt;font color=&quot;#3f7f5f&quot; size=&quot;2&quot;&gt;&lt;font color=&quot;#3f7f5f&quot; size=&quot;2&quot;&gt;//log.warn(&amp;quot;--ConversionException: batchId=&amp;quot; + batchId + &amp;quot; class=&amp;quot; + ex.getConversionType().getName(), ex);&lt;/font&gt;&lt;/font&gt;&lt;font size=&quot;2&quot;&gt;
&lt;p align=&quot;left&quot;&gt;}&lt;/p&gt;
&lt;p align=&quot;left&quot;&gt; &lt;/p&gt;&lt;/font&gt;&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div class=&quot;gmail_quote&quot;&gt;On Wed, Nov 25, 2009 at 5:42 PM, David Marginian &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26518870&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;david@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;padding-left:1ex;margin:0px 0px 0px 0.8ex;border-left:#ccc 1px solid&quot;&gt;Not sure what source you are looking at.  In the lastest from svn trunk we have a log line commented out where the conversionexception is thrown.  I can uncomment it (the log is at the warn level).&lt;br&gt;

&lt;br&gt;Dhafir Moussa wrote:&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;padding-left:1ex;margin:0px 0px 0px 0.8ex;border-left:#ccc 1px solid&quot;&gt;
&lt;div&gt;Actually,  better place to log this is in:&lt;br&gt;BaseCallHandler.marshallOutbound(...) when catching *ConversionException *in line 339.&lt;br&gt; Thoughts?&lt;br&gt; Daniel&lt;br&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;On Wed, Nov 25, 2009 at 4:43 PM, Dhafir Moussa &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26518870&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dhafir.moussa@...&lt;/a&gt; &amp;lt;mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26518870&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dhafir.moussa@...&lt;/a&gt;&amp;gt;&amp;gt; wrote:&lt;br&gt;

&lt;br&gt;   Thanks David,&lt;br&gt;       That didn&amp;#39;t quite help. I have the follwoing in my dwr.xml:&lt;br&gt;    &lt;br&gt;   &amp;lt;convert match=&amp;quot;java.lang.StackTraceElement&amp;quot; converter=&amp;quot;bean&amp;quot;/&amp;gt;&lt;br&gt;&lt;br&gt;   &amp;lt;&lt;br&gt;&lt;br&gt;

   convert match=&amp;quot;java.lang.Exception&amp;quot; converter=&amp;quot;exception&amp;quot;/&amp;gt;&lt;br&gt;   &amp;lt;filter class=&amp;quot;org.directwebremoting.filter.AuditLogAjaxFilter&amp;quot;/&amp;gt;&lt;br&gt;&lt;br&gt;   My bean crashed on one of its get methods (getText ) .&lt;br&gt;

&lt;br&gt;   I got the following JS pop up :&lt;br&gt;   &amp;quot;Error Marshalling data. See the logs for more details&amp;quot;&lt;br&gt;       The logs didn&amp;#39;t reveal much other than the remote call which I&lt;br&gt;   already know. There were two lines, an INFO and ERROR&lt;br&gt;

       log start .....&lt;br&gt;&lt;br&gt;   15:15:05,866 INFO AuditLogAjaxFilter :&lt;br&gt;   ToDoRemote.getToDoDetails(&amp;quot;hnz.core.engine.bean.PageInfoBean@2d7...&amp;quot;,&lt;br&gt;   2109008, false, &amp;quot;hnz.biz.modules.crm.bean.CrmOptionsRe...&amp;quot;) =&lt;br&gt;

   &amp;quot;hnz.util.bean.HNZResponse@2b7bd9&amp;quot;&lt;br&gt;&lt;br&gt;   15:15:06,007 ERROR DefaultConverterManager : No converter found&lt;br&gt;   for &amp;#39;java.lang.Class&amp;#39;&lt;br&gt;   log end.....&lt;br&gt;       In the ERROR line there is this bogus message (No converter found&lt;br&gt;

   for &amp;#39;java.lang.Class&amp;#39;). What does it mean?&lt;br&gt;       Debugging dwr, I can see it catches InvocationTargetException in    PropertyDescriptorProperty.getValue(...)[line:76]. I understand&lt;br&gt;   the exception itself is useless with no information or stack, but&lt;br&gt;

   it would have made huge help if it can spit out what went wrong by&lt;br&gt;   logging the offending function. I can see we can get it in that&lt;br&gt;   function from descriptor.getReadMethod().getName(). That would&lt;br&gt;   give us a clue to where to look to intercept this swallowen crash.&lt;br&gt;

       Do you agree with this small change in&lt;br&gt;   PropertyDescriptorProperty.getValue(...)? If so, how we can grab a&lt;br&gt;   Logger object from there (if any)?&lt;br&gt;       Thanks,&lt;br&gt;           Daniel,&lt;br&gt;    &lt;br&gt;       On Wed, Nov 25, 2009 at 2:05 PM, David Marginian&lt;br&gt;

&lt;/div&gt;&lt;/div&gt;
&lt;div&gt;   &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26518870&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;david@...&lt;/a&gt; &amp;lt;mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26518870&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;david@...&lt;/a&gt;&amp;gt;&amp;gt; wrote:&lt;br&gt;&lt;br&gt;       &lt;a href=&quot;http://directwebremoting.org/dwr/server/servlet/logging.html&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://directwebremoting.org/dwr/server/servlet/logging.html&lt;/a&gt;&lt;br&gt;

&lt;br&gt;&lt;br&gt;       Dhafir Moussa wrote:&lt;br&gt;&lt;br&gt;           I get a JavaScript pop-up alert message &amp;quot;Error&amp;quot; in tow cases:&lt;br&gt;           1- When the DWR doesn&amp;#39;t know how to convert a JS object to&lt;br&gt;           Java a object (missing bean declaration in dwr.xml, or&lt;br&gt;

           wrong object type)&lt;br&gt;           2- When DWR encounters a Runtime exception upon converting&lt;br&gt;           a Java bean to JS object.&lt;br&gt;            In both cases we get no detail (or stack trace) in the&lt;br&gt;           logs as if DWr swallows the exceptions and marshaling a&lt;br&gt;

           generic error message. I know we can get more details by&lt;br&gt;           adding exception converter :  &amp;lt;convert&lt;br&gt;           match=&amp;quot;java.lang.Exception&amp;quot; converter=&amp;quot;exception&amp;quot;/&amp;gt;  but&lt;br&gt;

           that will only tell the user what is the problem. We want&lt;br&gt;           to see more details about what failed to convert from JS&lt;br&gt;           to Java or which bit crashed in the bean converter.&lt;br&gt;            Is there a setting in dwr to expose those crashes in the&lt;br&gt;

           logs, or can we catch them in a different way?&lt;br&gt;            Cheers!&lt;br&gt;             Daniel&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;       __________ Information from ESET NOD32 Antivirus, version of&lt;br&gt;       virus signature database 4634 (20091124) __________&lt;br&gt;

&lt;br&gt;       The message was checked by ESET NOD32 Antivirus.&lt;br&gt;&lt;br&gt;&lt;/div&gt;       &lt;a href=&quot;http://www.eset.com/&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://www.eset.com&lt;/a&gt; &amp;lt;&lt;a href=&quot;http://www.eset.com/&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://www.eset.com/&lt;/a&gt;&amp;gt; 
&lt;div&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;       ---------------------------------------------------------------------&lt;br&gt;       To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26518870&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;&lt;br&gt;

&lt;/div&gt;       &amp;lt;mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26518870&amp;i=7&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;&amp;gt; 
&lt;div&gt;&lt;br&gt;       For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26518870&amp;i=8&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;&lt;br&gt;&lt;/div&gt;       &amp;lt;mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26518870&amp;i=9&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;&amp;gt;&lt;br&gt;

&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;   -- &lt;br&gt;   Dhafir Moussa&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-- &lt;br&gt;&lt;br&gt;Dhafir Moussa&lt;br&gt;&lt;/blockquote&gt;
&lt;div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;__________ Information from ESET NOD32 Antivirus, version of virus signature database 4634 (20091124) __________&lt;br&gt;&lt;br&gt;The message was checked by ESET NOD32 Antivirus.&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://www.eset.com/&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://www.eset.com&lt;/a&gt;&lt;br&gt;

&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26518870&amp;i=10&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26518870&amp;i=11&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;&lt;br&gt;

&lt;br&gt;&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;br clear=&quot;all&quot;&gt;&lt;br&gt;-- &lt;br&gt;&lt;font color=&quot;#888888&quot;&gt;&lt;br&gt;Dhafir Moussa&lt;br&gt;
&lt;/font&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/How-to-stop-DWR-swallowing-exceptions-tp26505554p26518870.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26518767</id>
	<title>Re: How to stop DWR swallowing exceptions</title>
	<published>2009-11-25T11:24:07Z</published>
	<updated>2009-11-25T11:24:07Z</updated>
	<author>
		<name>Dhafir Moussa</name>
	</author>
	<content type="html">&lt;div&gt;&amp;quot;Not sure what source you are looking at.&amp;quot;&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;BaseCallHandler.marshallOutbound(...) when catching *ConversionException *in line 339.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;Class is &lt;b&gt;&lt;font color=&quot;#7f0055&quot; size=&quot;2&quot;&gt;&lt;font color=&quot;#7f0055&quot; size=&quot;2&quot;&gt;abstract&lt;/font&gt;&lt;/font&gt;&lt;/b&gt;&lt;font size=&quot;2&quot;&gt; &lt;/font&gt;&lt;b&gt;&lt;font color=&quot;#7f0055&quot; size=&quot;2&quot;&gt;&lt;font color=&quot;#7f0055&quot; size=&quot;2&quot;&gt;class&lt;/font&gt;&lt;/font&gt;&lt;/b&gt; BaseCallHandler.java, method is marshallOutbound(...) , line number is 339&lt;/div&gt;

&lt;div&gt;&lt;br&gt;&amp;quot;I can uncomment it (the log is at the warn level).&amp;quot;&lt;/div&gt;
&lt;div&gt;Yes, that would be helpful. I don&amp;#39;t know why it is commented out.&lt;/div&gt;
&lt;div&gt;&lt;font size=&quot;2&quot;&gt;
&lt;p align=&quot;left&quot;&gt;&lt;/p&gt;&lt;/font&gt;&lt;b&gt;&lt;font color=&quot;#7f0055&quot; size=&quot;2&quot;&gt;&lt;font color=&quot;#7f0055&quot; size=&quot;2&quot;&gt;catch&lt;/font&gt;&lt;/font&gt;&lt;/b&gt;&lt;font size=&quot;2&quot;&gt; (ConversionException ex)
&lt;p align=&quot;left&quot;&gt;{&lt;/p&gt;
&lt;p align=&quot;left&quot;&gt;ScriptBuffer script = EnginePrivate.&lt;i&gt;getRemoteHandleExceptionScript&lt;/i&gt;(batchId, callId, ex);&lt;/p&gt;
&lt;p align=&quot;left&quot;&gt;addScriptHandleExceptions(conduit, script);&lt;/p&gt;
&lt;p align=&quot;left&quot;&gt;&lt;/p&gt;&lt;/font&gt;&lt;font color=&quot;#3f7f5f&quot; size=&quot;2&quot;&gt;&lt;font color=&quot;#3f7f5f&quot; size=&quot;2&quot;&gt;//log.warn(&amp;quot;--ConversionException: batchId=&amp;quot; + batchId + &amp;quot; class=&amp;quot; + ex.getConversionType().getName(), ex);&lt;/font&gt;&lt;/font&gt;&lt;font size=&quot;2&quot;&gt;
&lt;p align=&quot;left&quot;&gt;}&lt;/p&gt;
&lt;p align=&quot;left&quot;&gt; &lt;/p&gt;&lt;/font&gt;&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div class=&quot;gmail_quote&quot;&gt;On Wed, Nov 25, 2009 at 5:42 PM, David Marginian &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26518767&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;david@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid&quot;&gt;Not sure what source you are looking at.  In the lastest from svn trunk we have a log line commented out where the conversionexception is thrown.  I can uncomment it (the log is at the warn level).&lt;br&gt;
&lt;br&gt;Dhafir Moussa wrote:&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid&quot;&gt;
&lt;div class=&quot;im&quot;&gt;Actually,  better place to log this is in:&lt;br&gt;BaseCallHandler.marshallOutbound(...) when catching *ConversionException *in line 339.&lt;br&gt; Thoughts?&lt;br&gt; Daniel&lt;br&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div class=&quot;h5&quot;&gt;On Wed, Nov 25, 2009 at 4:43 PM, Dhafir Moussa &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26518767&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dhafir.moussa@...&lt;/a&gt; &amp;lt;mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26518767&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dhafir.moussa@...&lt;/a&gt;&amp;gt;&amp;gt; wrote:&lt;br&gt;
&lt;br&gt;   Thanks David,&lt;br&gt;       That didn&amp;#39;t quite help. I have the follwoing in my dwr.xml:&lt;br&gt;    &lt;br&gt;   &amp;lt;convert match=&amp;quot;java.lang.StackTraceElement&amp;quot; converter=&amp;quot;bean&amp;quot;/&amp;gt;&lt;br&gt;&lt;br&gt;   &amp;lt;&lt;br&gt;&lt;br&gt;
   convert match=&amp;quot;java.lang.Exception&amp;quot; converter=&amp;quot;exception&amp;quot;/&amp;gt;&lt;br&gt;   &amp;lt;filter class=&amp;quot;org.directwebremoting.filter.AuditLogAjaxFilter&amp;quot;/&amp;gt;&lt;br&gt;&lt;br&gt;   My bean crashed on one of its get methods (getText ) .&lt;br&gt;
&lt;br&gt;   I got the following JS pop up :&lt;br&gt;   &amp;quot;Error Marshalling data. See the logs for more details&amp;quot;&lt;br&gt;       The logs didn&amp;#39;t reveal much other than the remote call which I&lt;br&gt;   already know. There were two lines, an INFO and ERROR&lt;br&gt;
       log start .....&lt;br&gt;&lt;br&gt;   15:15:05,866 INFO AuditLogAjaxFilter :&lt;br&gt;   ToDoRemote.getToDoDetails(&amp;quot;hnz.core.engine.bean.PageInfoBean@2d7...&amp;quot;,&lt;br&gt;   2109008, false, &amp;quot;hnz.biz.modules.crm.bean.CrmOptionsRe...&amp;quot;) =&lt;br&gt;
   &amp;quot;hnz.util.bean.HNZResponse@2b7bd9&amp;quot;&lt;br&gt;&lt;br&gt;   15:15:06,007 ERROR DefaultConverterManager : No converter found&lt;br&gt;   for &amp;#39;java.lang.Class&amp;#39;&lt;br&gt;   log end.....&lt;br&gt;       In the ERROR line there is this bogus message (No converter found&lt;br&gt;
   for &amp;#39;java.lang.Class&amp;#39;). What does it mean?&lt;br&gt;       Debugging dwr, I can see it catches InvocationTargetException in    PropertyDescriptorProperty.getValue(...)[line:76]. I understand&lt;br&gt;   the exception itself is useless with no information or stack, but&lt;br&gt;
   it would have made huge help if it can spit out what went wrong by&lt;br&gt;   logging the offending function. I can see we can get it in that&lt;br&gt;   function from descriptor.getReadMethod().getName(). That would&lt;br&gt;   give us a clue to where to look to intercept this swallowen crash.&lt;br&gt;
       Do you agree with this small change in&lt;br&gt;   PropertyDescriptorProperty.getValue(...)? If so, how we can grab a&lt;br&gt;   Logger object from there (if any)?&lt;br&gt;       Thanks,&lt;br&gt;           Daniel,&lt;br&gt;    &lt;br&gt;       On Wed, Nov 25, 2009 at 2:05 PM, David Marginian&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;div class=&quot;im&quot;&gt;   &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26518767&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;david@...&lt;/a&gt; &amp;lt;mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26518767&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;david@...&lt;/a&gt;&amp;gt;&amp;gt; wrote:&lt;br&gt;&lt;br&gt;       &lt;a href=&quot;http://directwebremoting.org/dwr/server/servlet/logging.html&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://directwebremoting.org/dwr/server/servlet/logging.html&lt;/a&gt;&lt;br&gt;
&lt;br&gt;&lt;br&gt;       Dhafir Moussa wrote:&lt;br&gt;&lt;br&gt;           I get a JavaScript pop-up alert message &amp;quot;Error&amp;quot; in tow cases:&lt;br&gt;           1- When the DWR doesn&amp;#39;t know how to convert a JS object to&lt;br&gt;           Java a object (missing bean declaration in dwr.xml, or&lt;br&gt;
           wrong object type)&lt;br&gt;           2- When DWR encounters a Runtime exception upon converting&lt;br&gt;           a Java bean to JS object.&lt;br&gt;            In both cases we get no detail (or stack trace) in the&lt;br&gt;           logs as if DWr swallows the exceptions and marshaling a&lt;br&gt;
           generic error message. I know we can get more details by&lt;br&gt;           adding exception converter :  &amp;lt;convert&lt;br&gt;           match=&amp;quot;java.lang.Exception&amp;quot; converter=&amp;quot;exception&amp;quot;/&amp;gt;  but&lt;br&gt;
           that will only tell the user what is the problem. We want&lt;br&gt;           to see more details about what failed to convert from JS&lt;br&gt;           to Java or which bit crashed in the bean converter.&lt;br&gt;            Is there a setting in dwr to expose those crashes in the&lt;br&gt;
           logs, or can we catch them in a different way?&lt;br&gt;            Cheers!&lt;br&gt;             Daniel&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;       __________ Information from ESET NOD32 Antivirus, version of&lt;br&gt;       virus signature database 4634 (20091124) __________&lt;br&gt;
&lt;br&gt;       The message was checked by ESET NOD32 Antivirus.&lt;br&gt;&lt;br&gt;&lt;/div&gt;       &lt;a href=&quot;http://www.eset.com/&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://www.eset.com&lt;/a&gt; &amp;lt;&lt;a href=&quot;http://www.eset.com/&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://www.eset.com/&lt;/a&gt;&amp;gt; 
&lt;div class=&quot;im&quot;&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;       ---------------------------------------------------------------------&lt;br&gt;       To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26518767&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;&lt;br&gt;
&lt;/div&gt;       &amp;lt;mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26518767&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;&amp;gt; 
&lt;div class=&quot;im&quot;&gt;&lt;br&gt;       For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26518767&amp;i=7&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;&lt;br&gt;&lt;/div&gt;       &amp;lt;mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26518767&amp;i=8&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;&amp;gt;&lt;br&gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;   -- &lt;br&gt;   Dhafir Moussa&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-- &lt;br&gt;&lt;br&gt;Dhafir Moussa&lt;br&gt;&lt;/blockquote&gt;
&lt;div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div class=&quot;h5&quot;&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;__________ Information from ESET NOD32 Antivirus, version of virus signature database 4634 (20091124) __________&lt;br&gt;&lt;br&gt;The message was checked by ESET NOD32 Antivirus.&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://www.eset.com/&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://www.eset.com&lt;/a&gt;&lt;br&gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26518767&amp;i=9&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26518767&amp;i=10&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;&lt;br&gt;
&lt;br&gt;&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;br clear=&quot;all&quot;&gt;&lt;br&gt;-- &lt;br&gt;&lt;br&gt;Dhafir Moussa&lt;br&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/How-to-stop-DWR-swallowing-exceptions-tp26505554p26518767.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26511301</id>
	<title>Re: dwr &amp; namespace in javascript</title>
	<published>2009-11-25T03:43:18Z</published>
	<updated>2009-11-25T03:43:18Z</updated>
	<author>
		<name>XMaNIaC</name>
	</author>
	<content type="html">Are you using Spring? I&amp;#39;ve checked the relevant code and see:&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;String javascript = &lt;a href=&quot;http://proxy.name&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;proxy.name&lt;/a&gt;();&lt;/div&gt;&lt;div&gt;DwrAnnotationPostProcessor.registerCreator(definitionHolder, registry, beanDefinitionClass, javascript);&lt;/div&gt;
&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;And later:&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;beanCreator.addPropertyValue(&amp;quot;javascript&amp;quot;, javascript);&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;So everything looks well. Could you put a breakpoint at DwrClassPathBeanDefinitionScanner line 86 and continue from there?&lt;/div&gt;
&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Regards&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Wed, Nov 25, 2009 at 12:18 PM, Selim Ober &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26511301&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;selim.ober@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;&quot;&gt;
I think the annotaion version is&lt;br&gt;@RemoteProxy(name = &amp;quot;foo.Bar&amp;quot;)&lt;br&gt;right?&lt;br&gt;&lt;br&gt;But nope, it&amp;#39;s still created as Bar&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class=&quot;h5&quot;&gt;&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Wed, Nov 25, 2009 at 12:59 PM, Selim Ober &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26511301&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;selim.ober@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;

&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left:1px solid rgb(204, 204, 204);margin:0pt 0pt 0pt 0.8ex;padding-left:1ex&quot;&gt;thanks&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Wed, Nov 25, 2009 at 12:49 PM, Jose Noheda &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26511301&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jose.noheda@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;

&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left:1px solid rgb(204, 204, 204);margin:0pt 0pt 0pt 0.8ex;padding-left:1ex&quot;&gt;
Have you tried javascript=&amp;quot;foo.Bar&amp;quot;?&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Regards&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Wed, Nov 25, 2009 at 10:41 AM, Selim Ober &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26511301&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;selim.ober@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;



&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left:1px solid rgb(204, 204, 204);margin:0pt 0pt 0pt 0.8ex;padding-left:1ex&quot;&gt;Hello,&lt;br&gt;&lt;br&gt;I have several classes in Java which I export them using annotations.&lt;br&gt;The problem is they are created in the global namespace.&lt;br&gt;



&lt;br&gt;Is it possible to configure the module in which the javascript counterparts of java classes are populated in the browser?&lt;br&gt;
Like myapp.dwr.RemoteBean for example?&lt;br&gt;&lt;br&gt;&lt;br&gt;ps: using dwr 3.0.rc1&lt;br&gt;
&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;
&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;/div&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/dwr---namespace-in-javascript-tp26509865p26511301.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26511026</id>
	<title>Re: dwr &amp; namespace in javascript</title>
	<published>2009-11-25T03:18:27Z</published>
	<updated>2009-11-25T03:18:27Z</updated>
	<author>
		<name>Selim Ober</name>
	</author>
	<content type="html">I think the annotaion version is&lt;br&gt;@RemoteProxy(name = &amp;quot;foo.Bar&amp;quot;)&lt;br&gt;right?&lt;br&gt;&lt;br&gt;But nope, it&amp;#39;s still created as Bar&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Wed, Nov 25, 2009 at 12:59 PM, Selim Ober &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26511026&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;selim.ober@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;thanks&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class=&quot;h5&quot;&gt;&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Wed, Nov 25, 2009 at 12:49 PM, Jose Noheda &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26511026&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jose.noheda@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
Have you tried javascript=&amp;quot;foo.Bar&amp;quot;?&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Regards&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Wed, Nov 25, 2009 at 10:41 AM, Selim Ober &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26511026&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;selim.ober@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;


&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;Hello,&lt;br&gt;&lt;br&gt;I have several classes in Java which I export them using annotations.&lt;br&gt;The problem is they are created in the global namespace.&lt;br&gt;


&lt;br&gt;Is it possible to configure the module in which the javascript counterparts of java classes are populated in the browser?&lt;br&gt;
Like myapp.dwr.RemoteBean for example?&lt;br&gt;&lt;br&gt;&lt;br&gt;ps: using dwr 3.0.rc1&lt;br&gt;
&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;
&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/dwr---namespace-in-javascript-tp26509865p26511026.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26510829</id>
	<title>Re: dwr &amp; namespace in javascript</title>
	<published>2009-11-25T02:59:43Z</published>
	<updated>2009-11-25T02:59:43Z</updated>
	<author>
		<name>Selim Ober</name>
	</author>
	<content type="html">thanks&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Wed, Nov 25, 2009 at 12:49 PM, Jose Noheda &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26510829&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jose.noheda@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
Have you tried javascript=&amp;quot;foo.Bar&amp;quot;?&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Regards&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class=&quot;h5&quot;&gt;&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Wed, Nov 25, 2009 at 10:41 AM, Selim Ober &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26510829&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;selim.ober@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;

&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;Hello,&lt;br&gt;&lt;br&gt;I have several classes in Java which I export them using annotations.&lt;br&gt;The problem is they are created in the global namespace.&lt;br&gt;

&lt;br&gt;Is it possible to configure the module in which the javascript counterparts of java classes are populated in the browser?&lt;br&gt;
Like myapp.dwr.RemoteBean for example?&lt;br&gt;&lt;br&gt;&lt;br&gt;ps: using dwr 3.0.rc1&lt;br&gt;
&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;
&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/dwr---namespace-in-javascript-tp26509865p26510829.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26510714</id>
	<title>Re: dwr &amp; namespace in javascript</title>
	<published>2009-11-25T02:49:21Z</published>
	<updated>2009-11-25T02:49:21Z</updated>
	<author>
		<name>XMaNIaC</name>
	</author>
	<content type="html">Have you tried javascript=&amp;quot;foo.Bar&amp;quot;?&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Regards&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Wed, Nov 25, 2009 at 10:41 AM, Selim Ober &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26510714&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;selim.ober@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;&quot;&gt;Hello,&lt;br&gt;&lt;br&gt;I have several classes in Java which I export them using annotations.&lt;br&gt;The problem is they are created in the global namespace.&lt;br&gt;
&lt;br&gt;Is it possible to configure the module in which the javascript counterparts of java classes are populated in the browser?&lt;br&gt;
Like myapp.dwr.RemoteBean for example?&lt;br&gt;&lt;br&gt;&lt;br&gt;ps: using dwr 3.0.rc1&lt;br&gt;
&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;/div&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/dwr---namespace-in-javascript-tp26509865p26510714.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26509865</id>
	<title>dwr &amp; namespace in javascript</title>
	<published>2009-11-25T01:41:56Z</published>
	<updated>2009-11-25T01:41:56Z</updated>
	<author>
		<name>Selim Ober</name>
	</author>
	<content type="html">Hello,&lt;br&gt;&lt;br&gt;I have several classes in Java which I export them using annotations.&lt;br&gt;The problem is they are created in the global namespace.&lt;br&gt;&lt;br&gt;Is it possible to configure the module in which the javascript counterparts of java classes are populated in the browser?&lt;br&gt;
Like myapp.dwr.RemoteBean for example?&lt;br&gt;&lt;br&gt;&lt;br&gt;ps: using dwr 3.0.rc1&lt;br&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/dwr---namespace-in-javascript-tp26509865p26509865.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26508097</id>
	<title>应收账款催收实务及风险</title>
	<published>2009-11-24T22:24:56Z</published>
	<updated>2009-11-24T22:24:56Z</updated>
	<author>
		<name>请转人事-78</name>
	</author>
	<content type="html">应收账款催收实务及全面信用风险和信用管理体系建立
&lt;br&gt;&lt;br&gt;时间地点：2009年11月28-29日---上 海
&lt;br&gt;时间地点：2009年12月5-6日 --- 深 圳 
&lt;br&gt;参课对象：董事长、CEO、总经理、副总经理、分公司经理、财务总监、营销总监、营销经理、营销人
&lt;br&gt;员、销售经理、区域经理、商务总监、商务经理、企管部经理、高级财会人员、信用管理人员、私营
&lt;br&gt;企业老板及法律或清欠人员等。
&lt;br&gt;标准费用：2500元/人（含培训、指定培训教材、午餐、茶点费等）
&lt;br&gt;&lt;br&gt;咨询电话：020-80560638；020-85917945 &amp;nbsp;谢小姐（不需要此类信件请回复电邮至chinammc21@126.com退信）
&lt;br&gt;认证费用：500元／人（不参加认证考试的学员无须交纳此费用）
&lt;br&gt;====================================================================================== 
&lt;br&gt;课程背景：当前，我国绝大多数企业都面临“销售难、收款更难”的双重困境。一方面，市场竞争日益
&lt;br&gt;激烈，为争取客户订单，企业提供几近苛刻的优惠条件，利润越来越薄；另一方面，客户拖欠账款，销
&lt;br&gt;售人员催收不力，产生了大量呆帐、坏帐，使本已单薄的利润更被严重侵蚀……。这一切，都源于企业
&lt;br&gt;经营管理上的一项严重缺陷――缺乏适当的信用风险管理。信用风险和信用管理问题越来越成为影响和
&lt;br&gt;制约我国企业发展的一个突出问题。
&lt;br&gt;◆如何处理“销售难、收款更难”的两难问题？
&lt;br&gt;◆如何实现销售最大化、回款最快化和坏帐最小化？
&lt;br&gt;◆如何选择分销商和大客户才能避免赊销风险并如何建立客户的赊销档案？
&lt;br&gt;◆如何应对客户拖延付款的理由？如何制定催帐策略？如何让呆帐起死回生？
&lt;br&gt;◆如何提高信用意识和信用管理水平，以实现快速收款、增加现金流量？
&lt;br&gt;世界级企业的实际操作方法已经证明，建立一套切合公司实际需要的信用管理体系能够有效地减少公司
&lt;br&gt;的呆帐、坏帐,保障企业健康持续稳定发展。 
&lt;br&gt;================================================================================== 
&lt;br&gt;培训收益
&lt;br&gt;&amp;nbsp; &amp;nbsp; 清晰逾期应收账款的回收流程，加快欠款催收，挽回企业呆帐、坏帐损失；加强销售流程中各环节
&lt;br&gt;的信用管理，规范合同及票据；了解完整的信用管理流程，培养营销人员的风险意识，协调财务人员与
&lt;br&gt;营销人员之间的矛盾。
&lt;br&gt;◆帮助您制订合理的赊销政策，准确评估客户赊销风险，合理确定赊销额度；
&lt;br&gt;◆掌握客户付款心理、区分客户付款习惯和类型；
&lt;br&gt;◆迅速掌握各种预防呆帐和欠款催收实战技能；
&lt;br&gt;◆熟悉应收帐款监控和催收的规范化操作流程；
&lt;br&gt;◆通过研讨，解决本企业面临的应收帐款管理特殊问题；
&lt;br&gt;◆掌握实用的信用控制措施和实战技能； 
&lt;br&gt;◆懂得如何运用各种信用工具转嫁信用风险； 
&lt;br&gt;◆懂得如何在大量赊销的同时有效控制信用风险； 
&lt;br&gt;◆懂得如何建立一套科学完善的全面信用风险和信用管理体系...... 
&lt;br&gt;====================================================================================== 
&lt;br&gt;主讲专家：王强先生，中国杰出实战型信用风险和信用管理顾问、成功的培训专家。上海财经大学信用
&lt;br&gt;管理硕士专业客座导师；中国商业技师协会全国职业培训与资格认证授权讲师；中国首批财商教育专家，
&lt;br&gt;原国内知名的信用管理顾问公司首席顾问师，高级咨询顾问；曾就职于广州市商业银行及香港润轩首饰
&lt;br&gt;有限公司，涉足系统建设、信贷控制、财务管理、公司全面管理等领域，均有建树。作为顾问式培训专
&lt;br&gt;家，王先生通过对数百家各类企业的销售、信用、评估、商帐管理的咨询和接触，深刻剖析企业的信用
&lt;br&gt;管理案例，总结了非常丰富的企业信用管理实际操作经验和培训经验，在企业信用分析和风险管理方面
&lt;br&gt;以及个人理财和财商教育方面有着深入的研究。同时，也参与了各级政府的区域信用体系建设咨询工作、
&lt;br&gt;数十家大型上市公司信用管理体系建立的咨询工作、银行体系的贷款评估体系建设工作。截止2009年6月，
&lt;br&gt;王强老师已主讲过超过120场《应收账催收实务及全面信用风险和信用管理体系建立》专题公开课程,受
&lt;br&gt;训人员超过3000余人，满意率平均97%以上，接受过王先生培训指导的部分客户有：太古可口可乐、百事
&lt;br&gt;可乐、松下万宝、三菱电机、日立（中国）、汽巴精化（中国）、中国网通、中石化集团、长安铃木汽
&lt;br&gt;车、宇通重工、中兴通讯等等超过2000家大中型企业，均受到客户的一致赞扬，实实在在为企业解决了
&lt;br&gt;应收账催收及全面信用风险和信用管理难题。
&lt;br&gt;======================================================================================
&lt;br&gt;课程大纲
&lt;br&gt;一、信用风险对企业的影响
&lt;br&gt;1．信用风险的产生
&lt;br&gt;成熟信用交易的前提
&lt;br&gt;中国商业信用环境现状
&lt;br&gt;信用风险的概念
&lt;br&gt;2．信用风险的影响
&lt;br&gt;呆坏账的影响（案例分析）
&lt;br&gt;拖欠货款的影响（案例分析）
&lt;br&gt;3．信用管理的目标
&lt;br&gt;信用管理如何扩大销售收入
&lt;br&gt;信用管理如何规避风险产生
&lt;br&gt;&lt;br&gt;二、逾期账款的催收思路和技巧
&lt;br&gt;1．企业债务的特性
&lt;br&gt;企业为什么会产生欠款
&lt;br&gt;企业的债务存在怎样的矛盾
&lt;br&gt;2．赊销客户的分析
&lt;br&gt;欠款客户的分类
&lt;br&gt;客户欠款的两大根本要素
&lt;br&gt;客户拒绝付款的借口
&lt;br&gt;3．企业催收政策
&lt;br&gt;企业如何自行催收拖欠的款项
&lt;br&gt;企业催收的各种方法：电话、信函、面访等
&lt;br&gt;4．欠款成功回收的因素
&lt;br&gt;增加催收效果的方法
&lt;br&gt;怎样才能令客户按时付款
&lt;br&gt;5．企业追账的原则
&lt;br&gt;四项追账原则
&lt;br&gt;商业追账的各种手段
&lt;br&gt;企业追账的法律手段
&lt;br&gt;&lt;br&gt;三、应收账款管理的方法及实施
&lt;br&gt;1．应收账款跟踪管理方法
&lt;br&gt;发货前的准备工作
&lt;br&gt;库存管理、送货和发货控制
&lt;br&gt;账单管理系统
&lt;br&gt;2．应收账款管理具体操作
&lt;br&gt;RPM过程监控制度
&lt;br&gt;DSO法：影响DSO的因素、计算DSO的三种方法、如何改善你的DSO
&lt;br&gt;A/R的总量控制法：使企业的应收账款处于合理水平
&lt;br&gt;A/R帐龄管理法：制作帐龄记录表、帐龄结构分析、帐龄二维象限图法、帐龄分级管理
&lt;br&gt;3．账款难以回收的危险信号
&lt;br&gt;客户拖欠十大危险信号
&lt;br&gt;&lt;br&gt;四、合同管理及票据管理
&lt;br&gt;1．如何保障公司债权
&lt;br&gt;保障公司债权的各种文书有哪些
&lt;br&gt;保障公司债权的三大重要文件
&lt;br&gt;2．合同管理注意的细节
&lt;br&gt;怎么样的合同才有效
&lt;br&gt;签订合同时需要注意的细节
&lt;br&gt;3．票据管理系统
&lt;br&gt;发票的管理
&lt;br&gt;月结单的管理
&lt;br&gt;4．授权委托书的管理
&lt;br&gt;授权委托书的作用
&lt;br&gt;什么情况下需要签订授权委托书
&lt;br&gt;5．其他管理工具介绍
&lt;br&gt;&lt;br&gt;五、客户信息的获得渠道及使用 
&lt;br&gt;&amp;nbsp;1．预防商业欺诈
&lt;br&gt;常见的商业欺诈手段
&lt;br&gt;如何防范商业欺诈
&lt;br&gt;2．信用管理客户的分类
&lt;br&gt;不同的管理角度对客户分类依据不同
&lt;br&gt;信用管理客户分类的依据
&lt;br&gt;3．新客户所关注的信息点
&lt;br&gt;体现合法性的信息
&lt;br&gt;体现资本实力的信息
&lt;br&gt;体现业务发展潜力的信息
&lt;br&gt;4．老客户所关注的信息点
&lt;br&gt;体现各种变动状况的信息
&lt;br&gt;体现资本周转状况的信息
&lt;br&gt;体现交易记录的信息
&lt;br&gt;5．核心客户所关注的信息点
&lt;br&gt;核心客户的特点
&lt;br&gt;管理核心客户的要诀
&lt;br&gt;6．各种信息的来源和使用
&lt;br&gt;如何建立企业内部信息管理系统
&lt;br&gt;如何有效利用第三方征信资源
&lt;br&gt;&lt;br&gt;六、信用评估技术与方法
&lt;br&gt;1．信用评估分析框架
&lt;br&gt;可比性
&lt;br&gt;信用评估的三阶段十步骤
&lt;br&gt;2．财务分析
&lt;br&gt;财务报表体系构成
&lt;br&gt;经营活动在资产负债表的体现
&lt;br&gt;经营活动在损益表的体现
&lt;br&gt;经营活动在现金流量表的体现
&lt;br&gt;三张报表的勾稽关系
&lt;br&gt;客户偿债能力分析运用
&lt;br&gt;影响客户偿债能力的因素
&lt;br&gt;客户营运能力分析运用
&lt;br&gt;有效分析客户营运能力的方法
&lt;br&gt;客户获利能力分析运用
&lt;br&gt;有效分析客户获利能力的方法
&lt;br&gt;3．信用评估的综合运用
&lt;br&gt;对赊销客户合理分类管理
&lt;br&gt;营运资产评估模型
&lt;br&gt;营运资产评估模型的用途
&lt;br&gt;特征分析评估模型
&lt;br&gt;特征分析评估模型的用途
&lt;br&gt;合理信用额度的估算公式
&lt;br&gt;合理信用期限的考虑因素
&lt;br&gt;4．信用评估演练
&lt;br&gt;信息量化的手段
&lt;br&gt;客观评价加主观评价的运用
&lt;br&gt;&lt;br&gt;七、信用管理流程的思路和体系建设
&lt;br&gt;1．全程信用管理模式
&lt;br&gt;企业信用管理的三大误区
&lt;br&gt;信用管理职能的合理设置
&lt;br&gt;2．信用管理人员的职责
&lt;br&gt;信用管理人员的素质要求
&lt;br&gt;信用管理人员的技能要求
&lt;br&gt;3．信用管理体系的建立
&lt;br&gt;如何建立适合不同类型企业的信用管理体系
&lt;br&gt;不同类型企业信用管理的特点
&lt;br&gt;4．信用管理制度制订的方法
&lt;br&gt;信用管理制度制订的方法和步骤 
&lt;br&gt;-------------------------------------------------------------------------
&lt;br&gt;《应收账款催收实务及全面信用风险和信用管理体系建立》报名回执表（请传真020-62351156）
&lt;br&gt;参 会 单 位 名 称：_______________________________________________________
&lt;br&gt;参 加 地 点：口上海 &amp;nbsp; &amp;nbsp;口深圳
&lt;br&gt;联系人：______________电话:________________传真:________________
&lt;br&gt;邮件：______________ 参 会 人 数:_________人 费 用 ￥：_________元
&lt;br&gt;参 会 人：___________所 任 职 务：____________移 动 电 话：_____________
&lt;br&gt;参 会 人：___________所 任 职 务：____________移 动 电 话：_____________
&lt;br&gt;参 会 人：___________所 任 职 务：____________移 动 电 话：_____________
&lt;br&gt;参 会 人：___________所 任 职 务：____________移 动 电 话：_____________
&lt;br&gt;付款方式（请选择打“√”）： □1、现金 □2、转帐 □3、电汇
&lt;br&gt;====================================================================================
&lt;br&gt;备注:请您把报名回执回传我司，为确保您报名无误,请您再次电话（020-80560638）确认!
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26508097&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26508097&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/%E5%BA%94%E6%94%B6%E8%B4%A6%E6%AC%BE%E5%82%AC%E6%94%B6%E5%AE%9E%E5%8A%A1%E5%8F%8A%E9%A3%8E%E9%99%A9-tp26508097p26508097.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26507767</id>
	<title>Reverse Ajax poor performance on IE ?</title>
	<published>2009-11-24T21:34:17Z</published>
	<updated>2009-11-24T21:34:17Z</updated>
	<author>
		<name>Ade Mahfud-2</name>
	</author>
	<content type="html">&lt;html xmlns:v=&quot;urn:schemas-microsoft-com:vml&quot; xmlns:o=&quot;urn:schemas-microsoft-com:office:office&quot; xmlns:w=&quot;urn:schemas-microsoft-com:office:word&quot; xmlns:m=&quot;http://schemas.microsoft.com/office/2004/12/omml&quot; xmlns=&quot;http://www.w3.org/TR/REC-html40&quot;&gt;

&lt;head&gt;
&lt;meta http-equiv=Content-Type content=&quot;text/html; charset=us-ascii&quot;&gt;
&lt;meta name=Generator content=&quot;Microsoft Word 12 (filtered medium)&quot;&gt;

&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;o:shapedefaults v:ext=&quot;edit&quot; spidmax=&quot;1026&quot; /&gt;
&lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;o:shapelayout v:ext=&quot;edit&quot;&gt;
  &lt;o:idmap v:ext=&quot;edit&quot; data=&quot;1&quot; /&gt;
 &lt;/o:shapelayout&gt;&lt;/xml&gt;&lt;![endif]--&gt;
&lt;/head&gt;

&lt;body lang=EN-US link=blue vlink=purple&gt;

&lt;div class=Section1&gt;

&lt;p class=MsoNormal&gt;Hi All,&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;I have download and compile dwr from TRUNK (HEAD) and deploy
it to glassfish 2.1 with comet enabled&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;I have try java chat and java script chat with FireFox 3.0.5,
Internet Explorer 8 (8.0.7100) and IE 6 (6.0.2900)&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;The chat sample running well with the Firefox but slow
response in IE. It seems IE cache all of the chat message and flush it all
every period of time. &lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;Why was that ?&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;I have looked the same problem in the archive but nothing I came
up with.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;Is there more setting in web.xml or dwr.xml that needed to
be add / change ? or the code it self ? or is it a bugs ?&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;Thanks,&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;Ade&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;/body&gt;

&lt;/html&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Reverse-Ajax-poor-performance-on-IE---tp26507767p26507767.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26507548</id>
	<title>Re: How to stop DWR swallowing exceptions</title>
	<published>2009-11-24T20:52:45Z</published>
	<updated>2009-11-24T20:52:45Z</updated>
	<author>
		<name>davidmarginian</name>
	</author>
	<content type="html">&amp;quot;In the ERROR line there is this bogus message (No converter found for 
&lt;br&gt;'java.lang.Class'). What does it mean?&amp;quot;
&lt;br&gt;&lt;br&gt;This is not bogus. &amp;nbsp;From the message it is quite clear what the error 
&lt;br&gt;means. &amp;nbsp;When you specify a converter DWR will attempt to convert EVERY 
&lt;br&gt;field in the class unless you use includes/excludes. 
&lt;br&gt;&lt;br&gt;&amp;quot;I can see it catches InvocationTargetException in &amp;nbsp;
&lt;br&gt;PropertyDescriptorProperty.getValue(...)[line:76]. I understand the 
&lt;br&gt;exception itself is useless with no information or stack, but it would 
&lt;br&gt;have made huge help if it can spit out what went wrong by logging the 
&lt;br&gt;offending function. I can see we can get it in that function from 
&lt;br&gt;descriptor.getReadMethod().getName(). That would give us a clue to where 
&lt;br&gt;to look to intercept this swallowen crash.
&lt;br&gt;&lt;br&gt;Do you agree with this small change in 
&lt;br&gt;PropertyDescriptorProperty.getValue(...)? If so, how we can grab a 
&lt;br&gt;Logger object from there (if any)?&amp;quot;
&lt;br&gt;&lt;br&gt;No, what you are saying doesn't make sense. &amp;nbsp;The conversion exception is 
&lt;br&gt;thrown trying to get or invoke the read method, so we can't log it. &amp;nbsp;We 
&lt;br&gt;could probably log something about the descriptor but really I don't see 
&lt;br&gt;this being an issue.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; try
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return descriptor.getReadMethod().invoke(bean);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; catch (InvocationTargetException ex)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; throw new ConversionException(bean.getClass(), 
&lt;br&gt;ex.getTargetException());
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; catch (Exception ex)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; throw new ConversionException(bean.getClass(), ex);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;Dhafir Moussa wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Thanks David,
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; That didn't quite help. I have the follwoing in my dwr.xml:
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;convert match=&amp;quot;java.lang.StackTraceElement&amp;quot; converter=&amp;quot;bean&amp;quot;/&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; convert match=&amp;quot;java.lang.Exception&amp;quot; converter=&amp;quot;exception&amp;quot;/&amp;gt; &amp;lt;filter 
&lt;br&gt;&amp;gt; class=&amp;quot;org.directwebremoting.filter.AuditLogAjaxFilter&amp;quot;/&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; My bean crashed on one of its get methods (getText ) .
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I got the following JS pop up :
&lt;br&gt;&amp;gt; &amp;quot;Error Marshalling data. See the logs for more details&amp;quot;
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; The logs didn't reveal much other than the remote call which I already 
&lt;br&gt;&amp;gt; know. There were two lines, an INFO and ERROR
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; log start .....
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; 15:15:05,866 INFO AuditLogAjaxFilter : 
&lt;br&gt;&amp;gt; ToDoRemote.getToDoDetails(&amp;quot;hnz.core.engine.bean.PageInfoBean@2d7...&amp;quot;, 
&lt;br&gt;&amp;gt; 2109008, false, &amp;quot;hnz.biz.modules.crm.bean.CrmOptionsRe...&amp;quot;) = 
&lt;br&gt;&amp;gt; &amp;quot;hnz.util.bean.HNZResponse@2b7bd9&amp;quot;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; 15:15:06,007 ERROR DefaultConverterManager : No converter found for 
&lt;br&gt;&amp;gt; 'java.lang.Class'
&lt;br&gt;&amp;gt; log end.....
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; In the ERROR line there is this bogus message (No converter found for 
&lt;br&gt;&amp;gt; 'java.lang.Class'). What does it mean?
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; Debugging dwr, I can see it catches InvocationTargetException in &amp;nbsp;
&lt;br&gt;&amp;gt; PropertyDescriptorProperty.getValue(...)[line:76]. I understand the 
&lt;br&gt;&amp;gt; exception itself is useless with no information or stack, but it would 
&lt;br&gt;&amp;gt; have made huge help if it can spit out what went wrong by logging the 
&lt;br&gt;&amp;gt; offending function. I can see we can get it in that function from 
&lt;br&gt;&amp;gt; descriptor.getReadMethod().getName(). That would give us a clue to 
&lt;br&gt;&amp;gt; where to look to intercept this swallowen crash.
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; Do you agree with this small change in 
&lt;br&gt;&amp;gt; PropertyDescriptorProperty.getValue(...)? If so, how we can grab a 
&lt;br&gt;&amp;gt; Logger object from there (if any)?
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; Thanks,
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; Daniel,
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; On Wed, Nov 25, 2009 at 2:05 PM, David Marginian &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26507548&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;david@...&lt;/a&gt; 
&lt;br&gt;&amp;gt; &amp;lt;mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26507548&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;david@...&lt;/a&gt;&amp;gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://directwebremoting.org/dwr/server/servlet/logging.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://directwebremoting.org/dwr/server/servlet/logging.html&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; Dhafir Moussa wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; I get a JavaScript pop-up alert message &amp;quot;Error&amp;quot; in tow cases:
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1- When the DWR doesn't know how to convert a JS object to
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Java a object (missing bean declaration in dwr.xml, or wrong
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; object type)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 2- When DWR encounters a Runtime exception upon converting a
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Java bean to JS object.
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;In both cases we get no detail (or stack trace) in the logs
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; as if DWr swallows the exceptions and marshaling a generic
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; error message. I know we can get more details by adding
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; exception converter : &amp;nbsp;&amp;lt;convert match=&amp;quot;java.lang.Exception&amp;quot;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; converter=&amp;quot;exception&amp;quot;/&amp;gt; &amp;nbsp;but that will only tell the user what
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; is the problem. We want to see more details about what failed
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; to convert from JS to Java or which bit crashed in the bean
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; converter.
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Is there a setting in dwr to expose those crashes in the
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; logs, or can we catch them in a different way?
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Cheers!
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Daniel
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; __________ Information from ESET NOD32 Antivirus, version of virus
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; signature database 4634 (20091124) __________
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; The message was checked by ESET NOD32 Antivirus.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://www.eset.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.eset.com&lt;/a&gt;&amp;nbsp;&amp;lt;&lt;a href=&quot;http://www.eset.com/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.eset.com/&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26507548&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;lt;mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26507548&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26507548&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;lt;mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26507548&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; -- 
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Dhafir Moussa
&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;__________ Information from ESET NOD32 Antivirus, version of virus signature database 4634 (20091124) __________
&lt;br&gt;&lt;br&gt;The message was checked by ESET NOD32 Antivirus.
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://www.eset.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.eset.com&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26507548&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26507548&amp;i=7&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/How-to-stop-DWR-swallowing-exceptions-tp26505554p26507548.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26507490</id>
	<title>Re: How to stop DWR swallowing exceptions</title>
	<published>2009-11-24T20:42:26Z</published>
	<updated>2009-11-24T20:42:26Z</updated>
	<author>
		<name>davidmarginian</name>
	</author>
	<content type="html">Not sure what source you are looking at. &amp;nbsp;In the lastest from svn trunk 
&lt;br&gt;we have a log line commented out where the conversionexception is 
&lt;br&gt;thrown. &amp;nbsp;I can uncomment it (the log is at the warn level).
&lt;br&gt;&lt;br&gt;Dhafir Moussa wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Actually, &amp;nbsp;better place to log this is in:
&lt;br&gt;&amp;gt; BaseCallHandler.marshallOutbound(...) when catching 
&lt;br&gt;&amp;gt; *ConversionException *in line 339.
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; Thoughts?
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; Daniel
&lt;br&gt;&amp;gt; On Wed, Nov 25, 2009 at 4:43 PM, Dhafir Moussa 
&lt;br&gt;&amp;gt; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26507490&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dhafir.moussa@...&lt;/a&gt; &amp;lt;mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26507490&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dhafir.moussa@...&lt;/a&gt;&amp;gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; Thanks David,
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; That didn't quite help. I have the follwoing in my dwr.xml:
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;lt;convert match=&amp;quot;java.lang.StackTraceElement&amp;quot; converter=&amp;quot;bean&amp;quot;/&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;lt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; convert match=&amp;quot;java.lang.Exception&amp;quot; converter=&amp;quot;exception&amp;quot;/&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;lt;filter class=&amp;quot;org.directwebremoting.filter.AuditLogAjaxFilter&amp;quot;/&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; My bean crashed on one of its get methods (getText ) .
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; I got the following JS pop up :
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;quot;Error Marshalling data. See the logs for more details&amp;quot;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; The logs didn't reveal much other than the remote call which I
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; already know. There were two lines, an INFO and ERROR
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; log start .....
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; 15:15:05,866 INFO AuditLogAjaxFilter :
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; ToDoRemote.getToDoDetails(&amp;quot;hnz.core.engine.bean.PageInfoBean@2d7...&amp;quot;,
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; 2109008, false, &amp;quot;hnz.biz.modules.crm.bean.CrmOptionsRe...&amp;quot;) =
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;quot;hnz.util.bean.HNZResponse@2b7bd9&amp;quot;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; 15:15:06,007 ERROR DefaultConverterManager : No converter found
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; for 'java.lang.Class'
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; log end.....
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; In the ERROR line there is this bogus message (No converter found
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; for 'java.lang.Class'). What does it mean?
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; Debugging dwr, I can see it catches InvocationTargetException in 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; PropertyDescriptorProperty.getValue(...)[line:76]. I understand
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; the exception itself is useless with no information or stack, but
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; it would have made huge help if it can spit out what went wrong by
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; logging the offending function. I can see we can get it in that
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; function from descriptor.getReadMethod().getName(). That would
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; give us a clue to where to look to intercept this swallowen crash.
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; Do you agree with this small change in
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; PropertyDescriptorProperty.getValue(...)? If so, how we can grab a
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; Logger object from there (if any)?
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; Thanks,
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; Daniel,
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; On Wed, Nov 25, 2009 at 2:05 PM, David Marginian
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26507490&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;david@...&lt;/a&gt; &amp;lt;mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26507490&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;david@...&lt;/a&gt;&amp;gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://directwebremoting.org/dwr/server/servlet/logging.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://directwebremoting.org/dwr/server/servlet/logging.html&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Dhafir Moussa wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; I get a JavaScript pop-up alert message &amp;quot;Error&amp;quot; in tow cases:
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1- When the DWR doesn't know how to convert a JS object to
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Java a object (missing bean declaration in dwr.xml, or
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; wrong object type)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 2- When DWR encounters a Runtime exception upon converting
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; a Java bean to JS object.
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;In both cases we get no detail (or stack trace) in the
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; logs as if DWr swallows the exceptions and marshaling a
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; generic error message. I know we can get more details by
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; adding exception converter : &amp;nbsp;&amp;lt;convert
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; match=&amp;quot;java.lang.Exception&amp;quot; converter=&amp;quot;exception&amp;quot;/&amp;gt; &amp;nbsp;but
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; that will only tell the user what is the problem. We want
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; to see more details about what failed to convert from JS
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; to Java or which bit crashed in the bean converter.
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Is there a setting in dwr to expose those crashes in the
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; logs, or can we catch them in a different way?
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Cheers!
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Daniel
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; __________ Information from ESET NOD32 Antivirus, version of
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; virus signature database 4634 (20091124) __________
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; The message was checked by ESET NOD32 Antivirus.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://www.eset.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.eset.com&lt;/a&gt;&amp;nbsp;&amp;lt;&lt;a href=&quot;http://www.eset.com/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.eset.com/&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26507490&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26507490&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26507490&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26507490&amp;i=7&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; -- 
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; Dhafir Moussa
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; -- 
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Dhafir Moussa
&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;__________ Information from ESET NOD32 Antivirus, version of virus signature database 4634 (20091124) __________
&lt;br&gt;&lt;br&gt;The message was checked by ESET NOD32 Antivirus.
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://www.eset.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.eset.com&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26507490&amp;i=8&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26507490&amp;i=9&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/How-to-stop-DWR-swallowing-exceptions-tp26505554p26507490.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26507195</id>
	<title>Re: How to stop DWR swallowing exceptions</title>
	<published>2009-11-24T19:54:59Z</published>
	<updated>2009-11-24T19:54:59Z</updated>
	<author>
		<name>Dhafir Moussa</name>
	</author>
	<content type="html">&lt;div&gt;Actually,  better place to log this is in:&lt;/div&gt;
&lt;div&gt;BaseCallHandler.&lt;font size=&quot;2&quot;&gt;marshallOutbound(...) when catching &lt;font size=&quot;2&quot;&gt;&lt;strong&gt;ConversionException &lt;/strong&gt;in line 339.&lt;/font&gt;&lt;/font&gt;&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;Thoughts?&lt;br&gt;&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;Daniel&lt;br&gt;&lt;/div&gt;
&lt;div class=&quot;gmail_quote&quot;&gt;On Wed, Nov 25, 2009 at 4:43 PM, Dhafir Moussa &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26507195&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dhafir.moussa@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid&quot;&gt;
&lt;div&gt;Thanks David,&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;That didn&amp;#39;t quite help. I have the follwoing in my dwr.xml:&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;
&lt;p align=&quot;left&quot;&gt;&lt;font color=&quot;#0000ff&quot; size=&quot;2&quot;&gt;&lt;font color=&quot;#0000ff&quot; size=&quot;2&quot;&gt;&amp;lt;&lt;/font&gt;&lt;/font&gt;&lt;font color=&quot;#a31515&quot; size=&quot;2&quot;&gt;&lt;font color=&quot;#a31515&quot; size=&quot;2&quot;&gt;convert&lt;/font&gt;&lt;/font&gt;&lt;font size=&quot;2&quot;&gt; &lt;/font&gt;&lt;font color=&quot;#ff0000&quot; size=&quot;2&quot;&gt;&lt;font color=&quot;#ff0000&quot; size=&quot;2&quot;&gt;match&lt;/font&gt;&lt;/font&gt;&lt;font size=&quot;2&quot;&gt;=&amp;quot;&lt;/font&gt;&lt;font color=&quot;#0000ff&quot; size=&quot;2&quot;&gt;&lt;font color=&quot;#0000ff&quot; size=&quot;2&quot;&gt;java.lang.StackTraceElement&lt;/font&gt;&lt;/font&gt;&lt;font size=&quot;2&quot;&gt;&amp;quot; &lt;/font&gt;&lt;font color=&quot;#ff0000&quot; size=&quot;2&quot;&gt;&lt;font color=&quot;#ff0000&quot; size=&quot;2&quot;&gt;converter&lt;/font&gt;&lt;/font&gt;&lt;font size=&quot;2&quot;&gt;=&amp;quot;&lt;/font&gt;&lt;font color=&quot;#0000ff&quot; size=&quot;2&quot;&gt;&lt;font color=&quot;#0000ff&quot; size=&quot;2&quot;&gt;bean&lt;/font&gt;&lt;/font&gt;&lt;font size=&quot;2&quot;&gt;&amp;quot;&lt;/font&gt;&lt;font color=&quot;#0000ff&quot; size=&quot;2&quot;&gt;&lt;font color=&quot;#0000ff&quot; size=&quot;2&quot;&gt;/&amp;gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;

&lt;div class=&quot;im&quot;&gt;&lt;font color=&quot;#0000ff&quot; size=&quot;2&quot;&gt;&lt;font color=&quot;#0000ff&quot; size=&quot;2&quot;&gt;
&lt;p align=&quot;left&quot;&gt;&amp;lt;&lt;/p&gt;&lt;/font&gt;&lt;/font&gt;&lt;font color=&quot;#a31515&quot; size=&quot;2&quot;&gt;&lt;font color=&quot;#a31515&quot; size=&quot;2&quot;&gt;convert&lt;/font&gt;&lt;/font&gt;&lt;font size=&quot;2&quot;&gt; &lt;/font&gt;&lt;font color=&quot;#ff0000&quot; size=&quot;2&quot;&gt;&lt;font color=&quot;#ff0000&quot; size=&quot;2&quot;&gt;match&lt;/font&gt;&lt;/font&gt;&lt;font size=&quot;2&quot;&gt;=&amp;quot;&lt;/font&gt;&lt;font color=&quot;#0000ff&quot; size=&quot;2&quot;&gt;&lt;font color=&quot;#0000ff&quot; size=&quot;2&quot;&gt;java.lang.Exception&lt;/font&gt;&lt;/font&gt;&lt;font size=&quot;2&quot;&gt;&amp;quot; &lt;/font&gt;&lt;font color=&quot;#ff0000&quot; size=&quot;2&quot;&gt;&lt;font color=&quot;#ff0000&quot; size=&quot;2&quot;&gt;converter&lt;/font&gt;&lt;/font&gt;&lt;font size=&quot;2&quot;&gt;=&amp;quot;&lt;/font&gt;&lt;font color=&quot;#0000ff&quot; size=&quot;2&quot;&gt;&lt;font color=&quot;#0000ff&quot; size=&quot;2&quot;&gt;exception&lt;/font&gt;&lt;/font&gt;&lt;font size=&quot;2&quot;&gt;&amp;quot;&lt;/font&gt;&lt;font color=&quot;#0000ff&quot; size=&quot;2&quot;&gt;&lt;font color=&quot;#0000ff&quot; size=&quot;2&quot;&gt;/&amp;gt;&lt;/font&gt;&lt;/font&gt;&lt;font size=&quot;2&quot;&gt; 
&lt;p align=&quot;left&quot;&gt;&lt;/p&gt;&lt;/font&gt;&lt;/div&gt;&lt;font color=&quot;#0000ff&quot; size=&quot;2&quot;&gt;&lt;font color=&quot;#0000ff&quot; size=&quot;2&quot;&gt;&amp;lt;&lt;/font&gt;&lt;/font&gt;&lt;font color=&quot;#a31515&quot; size=&quot;2&quot;&gt;&lt;font color=&quot;#a31515&quot; size=&quot;2&quot;&gt;filter&lt;/font&gt;&lt;/font&gt;&lt;font size=&quot;2&quot;&gt; &lt;/font&gt;&lt;font color=&quot;#ff0000&quot; size=&quot;2&quot;&gt;&lt;font color=&quot;#ff0000&quot; size=&quot;2&quot;&gt;class&lt;/font&gt;&lt;/font&gt;&lt;font size=&quot;2&quot;&gt;=&amp;quot;&lt;/font&gt;&lt;font color=&quot;#0000ff&quot; size=&quot;2&quot;&gt;&lt;font color=&quot;#0000ff&quot; size=&quot;2&quot;&gt;org.directwebremoting.filter.AuditLogAjaxFilter&lt;/font&gt;&lt;/font&gt;&lt;font size=&quot;2&quot;&gt;&amp;quot;&lt;/font&gt;&lt;font color=&quot;#0000ff&quot; size=&quot;2&quot;&gt;&lt;font color=&quot;#0000ff&quot; size=&quot;2&quot;&gt;/&amp;gt;&lt;/font&gt;&lt;/font&gt;&lt;font size=&quot;2&quot;&gt; 
&lt;p align=&quot;left&quot;&gt;My bean crashed on one of its get methods (getText ) .&lt;/p&gt;&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;I got the following JS pop up :&lt;/div&gt;
&lt;div&gt;&amp;quot;Error Marshalling data. See the logs for more details&amp;quot;&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;
&lt;div&gt;The logs didn&amp;#39;t reveal much other than the remote call which I already know. There were two lines, an INFO and ERROR&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;log start .....&lt;/div&gt;&lt;/div&gt;&lt;font size=&quot;2&quot;&gt;
&lt;p align=&quot;left&quot;&gt;15:15:05,866 INFO AuditLogAjaxFilter : ToDoRemote.getToDoDetails(&amp;quot;hnz.core.engine.bean.PageInfoBean@2d7...&amp;quot;, 2109008, false, &amp;quot;hnz.biz.modules.crm.bean.CrmOptionsRe...&amp;quot;) = &amp;quot;hnz.util.bean.HNZResponse@2b7bd9&amp;quot;&lt;/p&gt;

&lt;div align=&quot;left&quot;&gt;15:15:06,007 ERROR DefaultConverterManager : No converter found for &amp;#39;java.lang.Class&amp;#39;&lt;/div&gt;
&lt;div align=&quot;left&quot;&gt;log end.....&lt;/div&gt;
&lt;div align=&quot;left&quot;&gt; &lt;/div&gt;
&lt;div&gt;&lt;/div&gt;&lt;/font&gt;In the ERROR line there is this bogus message (No converter found for &amp;#39;java.lang.Class&amp;#39;). What does it mean? 
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;Debugging dwr, I can see it catches &lt;font size=&quot;2&quot;&gt;InvocationTargetException in  &lt;font size=&quot;2&quot;&gt;PropertyDescriptorProperty.getValue(...)[line:76]. I understand the exception itself is useless with no information or stack, but it would have made huge help if it can spit out what went wrong by logging the offending function. I can see we can get it in that function from &lt;font color=&quot;#0000c0&quot; size=&quot;2&quot;&gt;&lt;font color=&quot;#0000c0&quot; size=&quot;2&quot;&gt;descriptor&lt;/font&gt;&lt;/font&gt;&lt;font size=&quot;2&quot;&gt;.getReadMethod().getName(). That would give us a clue to where to look to intercept this swallowen crash.&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/div&gt;

&lt;div&gt; &lt;/div&gt;
&lt;div&gt;Do you agree with this small change in PropertyDescriptorProperty.getValue(...)? If so, how we can grab a Logger object from there (if any)?&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;Thanks,&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;Daniel,&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div class=&quot;h5&quot;&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;&lt;br&gt; &lt;/div&gt;
&lt;div class=&quot;gmail_quote&quot;&gt;On Wed, Nov 25, 2009 at 2:05 PM, David Marginian &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26507195&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;david@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid&quot;&gt;&lt;a href=&quot;http://directwebremoting.org/dwr/server/servlet/logging.html&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://directwebremoting.org/dwr/server/servlet/logging.html&lt;/a&gt; 
&lt;div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;&lt;br&gt;&lt;br&gt;Dhafir Moussa wrote:&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid&quot;&gt;I get a JavaScript pop-up alert message &amp;quot;Error&amp;quot; in tow cases:&lt;br&gt;1- When the DWR doesn&amp;#39;t know how to convert a JS object to Java a object (missing bean declaration in dwr.xml, or wrong object type)&lt;br&gt;
2- When DWR encounters a Runtime exception upon converting a Java bean to JS object.&lt;br&gt; In both cases we get no detail (or stack trace) in the logs as if DWr swallows the exceptions and marshaling a generic error message. I know we can get more details by adding exception converter :  &amp;lt;convert match=&amp;quot;java.lang.Exception&amp;quot; converter=&amp;quot;exception&amp;quot;/&amp;gt;  but that will only tell the user what is the problem. We want to see more details about what failed to convert from JS to Java or which bit crashed in the bean converter.&lt;br&gt;
 Is there a setting in dwr to expose those crashes in the logs, or can we catch them in a different way?&lt;br&gt; Cheers!&lt;br&gt;  Daniel&lt;br&gt;&lt;/blockquote&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;/div&gt;&lt;/div&gt;__________ Information from ESET NOD32 Antivirus, version of virus signature database 4634 (20091124) __________&lt;br&gt;
&lt;br&gt;The message was checked by ESET NOD32 Antivirus.&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://www.eset.com/&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://www.eset.com&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26507195&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;&lt;br&gt;
For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26507195&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;br clear=&quot;all&quot;&gt;&lt;br&gt;&lt;/div&gt;&lt;/div&gt;-- &lt;br&gt;&lt;font color=&quot;#888888&quot;&gt;&lt;br&gt;
Dhafir Moussa&lt;br&gt;&lt;/font&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;br clear=&quot;all&quot;&gt;&lt;br&gt;-- &lt;br&gt;&lt;br&gt;Dhafir Moussa&lt;br&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/How-to-stop-DWR-swallowing-exceptions-tp26505554p26507195.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26507131</id>
	<title>Re: How to stop DWR swallowing exceptions</title>
	<published>2009-11-24T19:43:58Z</published>
	<updated>2009-11-24T19:43:58Z</updated>
	<author>
		<name>Dhafir Moussa</name>
	</author>
	<content type="html">&lt;div&gt;Thanks David,&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;That didn&amp;#39;t quite help. I have the follwoing in my dwr.xml:&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;
&lt;p align=&quot;left&quot;&gt;&lt;font color=&quot;#0000ff&quot; size=&quot;2&quot;&gt;&lt;font color=&quot;#0000ff&quot; size=&quot;2&quot;&gt;&amp;lt;&lt;/font&gt;&lt;/font&gt;&lt;font color=&quot;#a31515&quot; size=&quot;2&quot;&gt;&lt;font color=&quot;#a31515&quot; size=&quot;2&quot;&gt;convert&lt;/font&gt;&lt;/font&gt;&lt;font size=&quot;2&quot;&gt; &lt;/font&gt;&lt;font color=&quot;#ff0000&quot; size=&quot;2&quot;&gt;&lt;font color=&quot;#ff0000&quot; size=&quot;2&quot;&gt;match&lt;/font&gt;&lt;/font&gt;&lt;font size=&quot;2&quot;&gt;=&amp;quot;&lt;/font&gt;&lt;font color=&quot;#0000ff&quot; size=&quot;2&quot;&gt;&lt;font color=&quot;#0000ff&quot; size=&quot;2&quot;&gt;java.lang.StackTraceElement&lt;/font&gt;&lt;/font&gt;&lt;font size=&quot;2&quot;&gt;&amp;quot; &lt;/font&gt;&lt;font color=&quot;#ff0000&quot; size=&quot;2&quot;&gt;&lt;font color=&quot;#ff0000&quot; size=&quot;2&quot;&gt;converter&lt;/font&gt;&lt;/font&gt;&lt;font size=&quot;2&quot;&gt;=&amp;quot;&lt;/font&gt;&lt;font color=&quot;#0000ff&quot; size=&quot;2&quot;&gt;&lt;font color=&quot;#0000ff&quot; size=&quot;2&quot;&gt;bean&lt;/font&gt;&lt;/font&gt;&lt;font size=&quot;2&quot;&gt;&amp;quot;&lt;/font&gt;&lt;font color=&quot;#0000ff&quot; size=&quot;2&quot;&gt;&lt;font color=&quot;#0000ff&quot; size=&quot;2&quot;&gt;/&amp;gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;
&lt;font color=&quot;#0000ff&quot; size=&quot;2&quot;&gt;&lt;font color=&quot;#0000ff&quot; size=&quot;2&quot;&gt;
&lt;p align=&quot;left&quot;&gt;&amp;lt;&lt;/p&gt;&lt;/font&gt;&lt;/font&gt;&lt;font color=&quot;#a31515&quot; size=&quot;2&quot;&gt;&lt;font color=&quot;#a31515&quot; size=&quot;2&quot;&gt;convert&lt;/font&gt;&lt;/font&gt;&lt;font size=&quot;2&quot;&gt; &lt;/font&gt;&lt;font color=&quot;#ff0000&quot; size=&quot;2&quot;&gt;&lt;font color=&quot;#ff0000&quot; size=&quot;2&quot;&gt;match&lt;/font&gt;&lt;/font&gt;&lt;font size=&quot;2&quot;&gt;=&amp;quot;&lt;/font&gt;&lt;font color=&quot;#0000ff&quot; size=&quot;2&quot;&gt;&lt;font color=&quot;#0000ff&quot; size=&quot;2&quot;&gt;java.lang.Exception&lt;/font&gt;&lt;/font&gt;&lt;font size=&quot;2&quot;&gt;&amp;quot; &lt;/font&gt;&lt;font color=&quot;#ff0000&quot; size=&quot;2&quot;&gt;&lt;font color=&quot;#ff0000&quot; size=&quot;2&quot;&gt;converter&lt;/font&gt;&lt;/font&gt;&lt;font size=&quot;2&quot;&gt;=&amp;quot;&lt;/font&gt;&lt;font color=&quot;#0000ff&quot; size=&quot;2&quot;&gt;&lt;font color=&quot;#0000ff&quot; size=&quot;2&quot;&gt;exception&lt;/font&gt;&lt;/font&gt;&lt;font size=&quot;2&quot;&gt;&amp;quot;&lt;/font&gt;&lt;font color=&quot;#0000ff&quot; size=&quot;2&quot;&gt;&lt;font color=&quot;#0000ff&quot; size=&quot;2&quot;&gt;/&amp;gt;&lt;/font&gt;&lt;/font&gt;&lt;font size=&quot;2&quot;&gt;
&lt;p align=&quot;left&quot;&gt;&lt;/p&gt;&lt;/font&gt;&lt;font color=&quot;#0000ff&quot; size=&quot;2&quot;&gt;&lt;font color=&quot;#0000ff&quot; size=&quot;2&quot;&gt;&amp;lt;&lt;/font&gt;&lt;/font&gt;&lt;font color=&quot;#a31515&quot; size=&quot;2&quot;&gt;&lt;font color=&quot;#a31515&quot; size=&quot;2&quot;&gt;filter&lt;/font&gt;&lt;/font&gt;&lt;font size=&quot;2&quot;&gt; &lt;/font&gt;&lt;font color=&quot;#ff0000&quot; size=&quot;2&quot;&gt;&lt;font color=&quot;#ff0000&quot; size=&quot;2&quot;&gt;class&lt;/font&gt;&lt;/font&gt;&lt;font size=&quot;2&quot;&gt;=&amp;quot;&lt;/font&gt;&lt;font color=&quot;#0000ff&quot; size=&quot;2&quot;&gt;&lt;font color=&quot;#0000ff&quot; size=&quot;2&quot;&gt;org.directwebremoting.filter.AuditLogAjaxFilter&lt;/font&gt;&lt;/font&gt;&lt;font size=&quot;2&quot;&gt;&amp;quot;&lt;/font&gt;&lt;font color=&quot;#0000ff&quot; size=&quot;2&quot;&gt;&lt;font color=&quot;#0000ff&quot; size=&quot;2&quot;&gt;/&amp;gt;&lt;/font&gt;&lt;/font&gt;&lt;font size=&quot;2&quot;&gt;
&lt;p align=&quot;left&quot;&gt;My bean crashed on one of its get methods (getText ) .&lt;/p&gt;&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;I got the following JS pop up :&lt;/div&gt;
&lt;div&gt;&amp;quot;Error Marshalling data. See the logs for more details&amp;quot;&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;
&lt;div&gt;The logs didn&amp;#39;t reveal much other than the remote call which I already know. There were two lines, an INFO and ERROR&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;log start .....&lt;/div&gt;&lt;/div&gt;&lt;font size=&quot;2&quot;&gt;
&lt;p align=&quot;left&quot;&gt;15:15:05,866 INFO AuditLogAjaxFilter : ToDoRemote.getToDoDetails(&amp;quot;hnz.core.engine.bean.PageInfoBean@2d7...&amp;quot;, 2109008, false, &amp;quot;hnz.biz.modules.crm.bean.CrmOptionsRe...&amp;quot;) = &amp;quot;hnz.util.bean.HNZResponse@2b7bd9&amp;quot;&lt;/p&gt;

&lt;div align=&quot;left&quot;&gt;15:15:06,007 ERROR DefaultConverterManager : No converter found for &amp;#39;java.lang.Class&amp;#39;&lt;/div&gt;
&lt;div align=&quot;left&quot;&gt;log end.....&lt;/div&gt;
&lt;div align=&quot;left&quot;&gt; &lt;/div&gt;
&lt;div&gt;&lt;/div&gt;&lt;/font&gt;In the ERROR line there is this bogus message (No converter found for &amp;#39;java.lang.Class&amp;#39;). What does it mean?
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;Debugging dwr, I can see it catches &lt;font size=&quot;2&quot;&gt;InvocationTargetException in  &lt;font size=&quot;2&quot;&gt;PropertyDescriptorProperty.getValue(...)[line:76]. I understand the exception itself is useless with no information or stack, but it would have made huge help if it can spit out what went wrong by logging the offending function. I can see we can get it in that function from &lt;font color=&quot;#0000c0&quot; size=&quot;2&quot;&gt;&lt;font color=&quot;#0000c0&quot; size=&quot;2&quot;&gt;descriptor&lt;/font&gt;&lt;/font&gt;&lt;font size=&quot;2&quot;&gt;.getReadMethod().getName(). That would give us a clue to where to look to intercept this swallowen crash.&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/div&gt;

&lt;div&gt; &lt;/div&gt;
&lt;div&gt;Do you agree with this small change in PropertyDescriptorProperty.getValue(...)? If so, how we can grab a Logger object from there (if any)?&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;Thanks,&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;Daniel,&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;&lt;br&gt; &lt;/div&gt;
&lt;div class=&quot;gmail_quote&quot;&gt;On Wed, Nov 25, 2009 at 2:05 PM, David Marginian &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26507131&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;david@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid&quot;&gt;&lt;a href=&quot;http://directwebremoting.org/dwr/server/servlet/logging.html&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://directwebremoting.org/dwr/server/servlet/logging.html&lt;/a&gt; 
&lt;div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div class=&quot;h5&quot;&gt;&lt;br&gt;&lt;br&gt;Dhafir Moussa wrote:&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid&quot;&gt;I get a JavaScript pop-up alert message &amp;quot;Error&amp;quot; in tow cases:&lt;br&gt;1- When the DWR doesn&amp;#39;t know how to convert a JS object to Java a object (missing bean declaration in dwr.xml, or wrong object type)&lt;br&gt;
2- When DWR encounters a Runtime exception upon converting a Java bean to JS object.&lt;br&gt; In both cases we get no detail (or stack trace) in the logs as if DWr swallows the exceptions and marshaling a generic error message. I know we can get more details by adding exception converter :  &amp;lt;convert match=&amp;quot;java.lang.Exception&amp;quot; converter=&amp;quot;exception&amp;quot;/&amp;gt;  but that will only tell the user what is the problem. We want to see more details about what failed to convert from JS to Java or which bit crashed in the bean converter.&lt;br&gt;
 Is there a setting in dwr to expose those crashes in the logs, or can we catch them in a different way?&lt;br&gt; Cheers!&lt;br&gt;  Daniel&lt;br&gt;&lt;/blockquote&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;/div&gt;&lt;/div&gt;__________ Information from ESET NOD32 Antivirus, version of virus signature database 4634 (20091124) __________&lt;br&gt;
&lt;br&gt;The message was checked by ESET NOD32 Antivirus.&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://www.eset.com/&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://www.eset.com&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26507131&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;&lt;br&gt;
For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26507131&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;br clear=&quot;all&quot;&gt;&lt;br&gt;-- &lt;br&gt;&lt;br&gt;Dhafir Moussa&lt;br&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/How-to-stop-DWR-swallowing-exceptions-tp26505554p26507131.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26505983</id>
	<title>Re: How to stop DWR swallowing exceptions</title>
	<published>2009-11-24T17:05:14Z</published>
	<updated>2009-11-24T17:05:14Z</updated>
	<author>
		<name>davidmarginian</name>
	</author>
	<content type="html">&lt;a href=&quot;http://directwebremoting.org/dwr/server/servlet/logging.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://directwebremoting.org/dwr/server/servlet/logging.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;Dhafir Moussa wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; I get a JavaScript pop-up alert message &amp;quot;Error&amp;quot; in tow cases:
&lt;br&gt;&amp;gt; 1- When the DWR doesn't know how to convert a JS object to Java a 
&lt;br&gt;&amp;gt; object (missing bean declaration in dwr.xml, or wrong object type)
&lt;br&gt;&amp;gt; 2- When DWR encounters a Runtime exception upon converting a Java bean 
&lt;br&gt;&amp;gt; to JS object.
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; In both cases we get no detail (or stack trace) in the logs as if DWr 
&lt;br&gt;&amp;gt; swallows the exceptions and marshaling a generic error message. I know 
&lt;br&gt;&amp;gt; we can get more details by adding exception converter : &amp;nbsp;&amp;lt;convert 
&lt;br&gt;&amp;gt; match=&amp;quot;java.lang.Exception&amp;quot; converter=&amp;quot;exception&amp;quot;/&amp;gt; &amp;nbsp;but that will 
&lt;br&gt;&amp;gt; only tell the user what is the problem. We want to see more details 
&lt;br&gt;&amp;gt; about what failed to convert from JS to Java or which bit crashed in 
&lt;br&gt;&amp;gt; the bean converter.
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; Is there a setting in dwr to expose those crashes in the logs, or can 
&lt;br&gt;&amp;gt; we catch them in a different way?
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; Cheers!
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; Daniel
&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;__________ Information from ESET NOD32 Antivirus, version of virus signature database 4634 (20091124) __________
&lt;br&gt;&lt;br&gt;The message was checked by ESET NOD32 Antivirus.
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://www.eset.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.eset.com&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26505983&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26505983&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/How-to-stop-DWR-swallowing-exceptions-tp26505554p26505983.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26505554</id>
	<title>How to stop DWR swallowing exceptions</title>
	<published>2009-11-24T16:13:40Z</published>
	<updated>2009-11-24T16:13:40Z</updated>
	<author>
		<name>Dhafir Moussa</name>
	</author>
	<content type="html">&lt;div&gt;I get a JavaScript pop-up alert message &amp;quot;Error&amp;quot; in tow cases:&lt;/div&gt;
&lt;div&gt;1- When the DWR doesn&amp;#39;t know how to convert a JS object to Java a object (missing bean declaration in dwr.xml, or wrong object type)&lt;/div&gt;
&lt;div&gt;2- When DWR encounters a Runtime exception upon converting a Java bean to JS object.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;In both cases we get no detail (or stack trace) in the logs as if DWr swallows the exceptions and marshaling a generic error message. I know we can get more details by adding exception converter &lt;font color=&quot;#0000ff&quot; size=&quot;2&quot;&gt;&lt;font color=&quot;#0000ff&quot; size=&quot;2&quot;&gt;:  &amp;lt;&lt;/font&gt;&lt;/font&gt;&lt;font color=&quot;#a31515&quot; size=&quot;2&quot;&gt;&lt;font color=&quot;#a31515&quot; size=&quot;2&quot;&gt;convert&lt;/font&gt;&lt;/font&gt;&lt;font size=&quot;2&quot;&gt; &lt;/font&gt;&lt;font color=&quot;#ff0000&quot; size=&quot;2&quot;&gt;&lt;font color=&quot;#ff0000&quot; size=&quot;2&quot;&gt;match&lt;/font&gt;&lt;/font&gt;&lt;font size=&quot;2&quot;&gt;=&amp;quot;&lt;/font&gt;&lt;font color=&quot;#0000ff&quot; size=&quot;2&quot;&gt;&lt;font color=&quot;#0000ff&quot; size=&quot;2&quot;&gt;java.lang.Exception&lt;/font&gt;&lt;/font&gt;&lt;font size=&quot;2&quot;&gt;&amp;quot; &lt;/font&gt;&lt;font color=&quot;#ff0000&quot; size=&quot;2&quot;&gt;&lt;font color=&quot;#ff0000&quot; size=&quot;2&quot;&gt;converter&lt;/font&gt;&lt;/font&gt;&lt;font size=&quot;2&quot;&gt;=&amp;quot;&lt;/font&gt;&lt;font color=&quot;#0000ff&quot; size=&quot;2&quot;&gt;&lt;font color=&quot;#0000ff&quot; size=&quot;2&quot;&gt;exception&lt;/font&gt;&lt;/font&gt;&lt;font size=&quot;2&quot;&gt;&amp;quot;/&lt;/font&gt;&lt;font color=&quot;#0000ff&quot; size=&quot;2&quot;&gt;&lt;font color=&quot;#0000ff&quot; size=&quot;2&quot;&gt;&amp;gt;  &lt;/font&gt;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;but that will only tell the user what is the problem. We want to see more details about what failed to convert from JS to Java or which bit crashed in the bean converter.&lt;/font&gt;&lt;/div&gt;

&lt;div&gt; &lt;/div&gt;
&lt;div&gt;Is there a setting in dwr to expose those crashes in the logs, or can we catch them in a different way?&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;Cheers!&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;Daniel&lt;/div&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/How-to-stop-DWR-swallowing-exceptions-tp26505554p26505554.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26466896</id>
	<title>Re: Accessing localeResolver in DWR</title>
	<published>2009-11-22T10:46:23Z</published>
	<updated>2009-11-22T10:46:23Z</updated>
	<author>
		<name>dawez</name>
	</author>
	<content type="html">&lt;br&gt;Hey,
&lt;br&gt;&lt;br&gt;&amp;nbsp;The DWR bean is created in this way:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;create creator=&amp;quot;spring&amp;quot; javascript=&amp;quot;RoomGroupAjax&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;param name=&quot;beanName&quot; value=&quot;RoomsGroupService&quot; /&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;include method=&amp;quot;saveJSON&amp;quot; /&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/create&amp;gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;at the moment I am retrieving the language in method by doing this:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; WebContext ctx = WebContextFactory.get();
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; HttpServletRequest request = ctx.getHttpServletRequest();
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; LocaleResolver localeResolver = RequestContextUtils.getLocaleResolver(request);
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; if (localeResolver != null) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// get current locale
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;locale = localeResolver.resolveLocale(request);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; } else {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;//fallback use cookies
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Cookie[] cookies = request.getCookies();
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;for (Cookie cookie : cookies) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (cookie.getName().equals(&amp;quot;language&amp;quot;)) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;locale = new Locale(cookie.getValue());
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;XMaNIaC wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message shrinkable-quote&quot;&gt;How are you configuring DWR? If you're using Spring MVC (hence
&lt;br&gt;LocaleResolver) you should be using DWR controller and not the servlet.
&lt;br&gt;&lt;br&gt;Regards
&lt;br&gt;&lt;br&gt;On Sun, Nov 22, 2009 at 3:10 PM, dawez &amp;lt;dawez1@gmail.com&amp;gt; wrote:
&lt;br&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; HI all,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I am using DWR 2.0.5 and I would like to retrieve the locale used in the
&lt;br&gt;&amp;gt; webapp.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; The localeResolver is a bean defined in my xml config like:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;lt;bean id=&amp;quot;localeResolver&amp;quot;
&lt;br&gt;&amp;gt; class=&amp;quot;org.springframework.web.servlet.i18n.CookieLocaleResolver&amp;quot;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; p:cookieName=&amp;quot;language&amp;quot;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; p:cookieMaxAge=&amp;quot;3600&amp;quot;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; p:defaultLocale=&amp;quot;en&amp;quot; /&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; The locale switcher is workign as expected. In the DWR Servlet I am
&lt;br&gt;&amp;gt; accessign it by using:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;WebContext ctx = WebContextFactory.get();
&lt;br&gt;&amp;gt; &amp;nbsp;HttpServletRequest request = ctx.getHttpServletRequest();
&lt;br&gt;&amp;gt; &amp;nbsp;LocaleResolver localeResolver =
&lt;br&gt;&amp;gt; RequestContextUtils.getLocaleResolver(request);
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; but it gives back localeResolver == null
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I can access the locale by using
&lt;br&gt;&amp;gt; &amp;nbsp;Locale locale = LocaleContextHolder.getLocale();
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; but this one is giving me all the times &amp;quot;english&amp;quot; as language. &amp;nbsp;THe funny
&lt;br&gt;&amp;gt; part is that the locale when entering the page with get is &amp;quot;italian&amp;quot; in the
&lt;br&gt;&amp;gt; controller and then in the DWR requests it become &amp;quot;english&amp;quot;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; So far the only way I fount to retrieve the correct language set is by
&lt;br&gt;&amp;gt; going
&lt;br&gt;&amp;gt; through the cookies by doing:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;WebContext ctx = WebContextFactory.get();
&lt;br&gt;&amp;gt; &amp;nbsp;HttpServletRequest request = ctx.getHttpServletRequest();
&lt;br&gt;&amp;gt; &amp;nbsp;ctx.getHttpServletRequest().getCookies()
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Is there a better way to do this ? I can also pass the current locale from
&lt;br&gt;&amp;gt; the JSP in the DWR request but is seems a bit overkill. I guess that there
&lt;br&gt;&amp;gt; should be a clean way to retrieve the current Locale set.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Davide.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; View this message in context:
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/Accessing-localeResolver-in-DWR-tp26464176p26464176.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://old.nabble.com/Accessing-localeResolver-in-DWR-tp26464176p26464176.html&lt;/a&gt;&lt;br&gt;&amp;gt; Sent from the DWR - Users mailing list archive at Nabble.com.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt; To unsubscribe, e-mail: users-unsubscribe@dwr.dev.java.net
&lt;br&gt;&amp;gt; For additional commands, e-mail: users-help@dwr.dev.java.net
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Accessing-localeResolver-in-DWR-tp26464176p26466896.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26466497</id>
	<title>Re: Accessing localeResolver in DWR</title>
	<published>2009-11-22T07:59:50Z</published>
	<updated>2009-11-22T07:59:50Z</updated>
	<author>
		<name>XMaNIaC</name>
	</author>
	<content type="html">How are you configuring DWR? If you&amp;#39;re using Spring MVC (hence LocaleResolver) you should be using DWR controller and not the servlet.&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Regards&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Sun, Nov 22, 2009 at 3:10 PM, dawez &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26466497&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dawez1@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;&quot;&gt;&lt;br&gt;
HI all,&lt;br&gt;
&lt;br&gt;
I am using DWR 2.0.5 and I would like to retrieve the locale used in the&lt;br&gt;
webapp.&lt;br&gt;
&lt;br&gt;
The localeResolver is a bean defined in my xml config like:&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
   &amp;lt;bean id=&amp;quot;localeResolver&amp;quot;&lt;br&gt;
class=&amp;quot;org.springframework.web.servlet.i18n.CookieLocaleResolver&amp;quot;&lt;br&gt;
         p:cookieName=&amp;quot;language&amp;quot;&lt;br&gt;
         p:cookieMaxAge=&amp;quot;3600&amp;quot;&lt;br&gt;
         p:defaultLocale=&amp;quot;en&amp;quot; /&amp;gt;&lt;br&gt;
&lt;br&gt;
The locale switcher is workign as expected. In the DWR Servlet I am&lt;br&gt;
accessign it by using:&lt;br&gt;
&lt;br&gt;
  WebContext ctx = WebContextFactory.get();&lt;br&gt;
  HttpServletRequest request = ctx.getHttpServletRequest();&lt;br&gt;
  LocaleResolver localeResolver =&lt;br&gt;
RequestContextUtils.getLocaleResolver(request);&lt;br&gt;
&lt;br&gt;
but it gives back localeResolver == null&lt;br&gt;
&lt;br&gt;
I can access the locale by using&lt;br&gt;
  Locale locale = LocaleContextHolder.getLocale();&lt;br&gt;
&lt;br&gt;
but this one is giving me all the times &amp;quot;english&amp;quot; as language.  THe funny&lt;br&gt;
part is that the locale when entering the page with get is &amp;quot;italian&amp;quot; in the&lt;br&gt;
controller and then in the DWR requests it become &amp;quot;english&amp;quot;&lt;br&gt;
&lt;br&gt;
So far the only way I fount to retrieve the correct language set is by going&lt;br&gt;
through the cookies by doing:&lt;br&gt;
&lt;br&gt;
  WebContext ctx = WebContextFactory.get();&lt;br&gt;
  HttpServletRequest request = ctx.getHttpServletRequest();&lt;br&gt;
  ctx.getHttpServletRequest().getCookies()&lt;br&gt;
&lt;br&gt;
Is there a better way to do this ? I can also pass the current locale from&lt;br&gt;
the JSP in the DWR request but is seems a bit overkill. I guess that there&lt;br&gt;
should be a clean way to retrieve the current Locale set.&lt;br&gt;
&lt;br&gt;
Davide.&lt;br&gt;
&lt;font color=&quot;#888888&quot;&gt;&lt;br&gt;
&lt;br&gt;
--&lt;br&gt;
View this message in context: &lt;a href=&quot;http://old.nabble.com/Accessing-localeResolver-in-DWR-tp26464176p26464176.html&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://old.nabble.com/Accessing-localeResolver-in-DWR-tp26464176p26464176.html&lt;/a&gt;&lt;br&gt;

Sent from the DWR - Users mailing list archive at Nabble.com.&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
---------------------------------------------------------------------&lt;br&gt;
To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26466497&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;&lt;br&gt;
For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26466497&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
&lt;/font&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;/div&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Accessing-localeResolver-in-DWR-tp26464176p26466497.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26465726</id>
	<title>研发人员的考核与激励</title>
	<published>2009-11-22T06:26:38Z</published>
	<updated>2009-11-22T06:26:38Z</updated>
	<author>
		<name>请转人事-75</name>
	</author>
	<content type="html">研发人员的考核与激励 
&lt;br&gt;&lt;br&gt;时间地点：2009年11月23-24日 &amp;nbsp; &amp;nbsp;北京
&lt;br&gt;时间地点：2009年11月26-27日 &amp;nbsp; &amp;nbsp;深圳
&lt;br&gt;时间地点：2009年11月30-12月1日 上海 
&lt;br&gt;培训费用：3200元/人（含两天中餐、指定教材、证书、茶点）*买一赠一.不再打折*
&lt;br&gt;培训方式：案例分享、实务分析、互动讨论、项目模拟、培训游戏
&lt;br&gt;参加对象：企业CEO/总经理、研发总经理/副总、公司总工/技术总监、产品经理/研发项目经理、研发职
&lt;br&gt;能部门经理、研发骨干、测试经理、QA经理、技术部门主管、人力资源经理等。
&lt;br&gt;&lt;br&gt;咨询电话：020-80560638；020-85917945谢小姐（不需要此类信件请回复电邮至chinammc21@126.com退信）
&lt;br&gt;============================================================================================
&lt;br&gt;课程背景：研发人员的考核与激励是企业高层领导、研发经理、人力资源经理最为头疼的问题之一，高层
&lt;br&gt;领导和研发管理者在进行研发绩效管理时经常遇到以下问题：
&lt;br&gt;1)如何通过绩效管理的方法引导开发人员为公司市场目标的达成而努力？
&lt;br&gt;2)研发体系是否应该有严格的考核制度，这样会不会挫伤研发人员的积极性？
&lt;br&gt;3)研发的KPI指标体系如何进行分解，KPI指标如何进行量化和过程跟踪？
&lt;br&gt;4)技术工作如何进行量化，不能量化的工作是否可以考核？
&lt;br&gt;5)绩效目标制定和考核结果反馈的过程中如何与员工进行沟通？
&lt;br&gt;6)研发绩效管理中如何处理好考核的结果与过程并重的特点？
&lt;br&gt;7)如何平衡研发结果的滞后和研发人员的及时激励之间的关系？
&lt;br&gt;8)在激励不足的情况下如何达到预期目标并不至于产生负面作用？
&lt;br&gt;9)研发内部如何针对不同的职位进行分类的考核（部门主管、项目经理、员工……）？
&lt;br&gt;……本课程在过去4年讲授的基础上作了大量的更新，结合企业主管面临的这些问题总结出适合不同发展阶
&lt;br&gt;段的企业研发人员绩效管理的解决之道，非常强调从业务的角度来进行研发的绩效管理，通过多年的总结得
&lt;br&gt;出的一些理论及实践来指导研发及人力资源部门的主管对于研发绩效管理有一个明确的、理论与实践结合的、
&lt;br&gt;可操作的方法，从而提高研发的管理效率，提高投入产出比。
&lt;br&gt;===========================================================================================
&lt;br&gt;培训收益
&lt;br&gt;1.分享讲师数百多研发管理培训的专业经验，通过现场的互动帮助学员理清适合自己企业的研发绩效管理方案
&lt;br&gt;2.分析并了解业界公司在研发人员考核和激励方面存在的主要要问题及解决办法
&lt;br&gt;3.掌握研发的价值链，研发价值创造、价值评价和价值分配的各环节的重点
&lt;br&gt;4.掌握研发中高层管理者述职管理的制度、方法和操作技巧
&lt;br&gt;5.掌握如何从整个企业的价值链来分解企业的KPI指标，从源头理清研发的价值链
&lt;br&gt;6.掌握研发团队和个人的绩效目标制定的方法（PBC）
&lt;br&gt;7.掌握研发团队和个人的绩效辅导的方法和行之有效的操作技巧
&lt;br&gt;8.掌握绩效管理的PDCA循环，绩效的评价和反馈的技巧
&lt;br&gt;9.掌握研发绩效管理结果的应用和研发体系的奖金分配方法，结合企业的自身情况设计激励措施
&lt;br&gt;10.分享讲师30多个咨询项目的绩效管理的案例资料（模板、表格、样例……），帮助学员制定Action Plan，
&lt;br&gt;使得学员参训后回到自己的公司能够很好实践
&lt;br&gt;=============================================================================================
&lt;br&gt;课程大纲
&lt;br&gt;一、案例分析
&lt;br&gt;1.分析角色A（主管）和角色B（跨部门工作的员工）在该案例中各承担哪些职责？
&lt;br&gt;2.造成绩效考核结果无法达成共识的原因是什么？
&lt;br&gt;3.这个案例中体现了哪些研发绩效管理的特点？
&lt;br&gt;4.思考：这种情况在自己的公司是否普遍存在？
&lt;br&gt;&lt;br&gt;二、研发人员的考核与激励概述
&lt;br&gt;1.研发绩效管理面临的主要问题
&lt;br&gt;1)研发绩效管理流于形式、没有标准、秋后算帐
&lt;br&gt;2)研发人员的“幼稚”、盲目创新
&lt;br&gt;3)研发团队的激励手段缺乏和滞后
&lt;br&gt;4)研发的计划太具有挑战性，导致绩效目标无法达成，造成考核困难
&lt;br&gt;5)……
&lt;br&gt;2.针对以上问题业界最佳实践的解决之道
&lt;br&gt;3.研发的价值链分析
&lt;br&gt;4.研发绩效管理的独特性
&lt;br&gt;1)创新型工作的特点
&lt;br&gt;2)研发人员的特点
&lt;br&gt;3)研发绩效管理的原则
&lt;br&gt;5.研发绩效管理的PDCA循环（计划、辅导、考核与评价、反馈）
&lt;br&gt;6.如何利用绩效管理对产品开发进行牵引
&lt;br&gt;7.研发人员激励要素的构成
&lt;br&gt;8.研发人员激励措施的设计
&lt;br&gt;1)物资激励
&lt;br&gt;2)非物资激励
&lt;br&gt;3)激励手段的灵活运用－》如何低成本达到良好的效果
&lt;br&gt;9.研发人员绩效管理的总体思路
&lt;br&gt;1)研发中高层的绩效管理
&lt;br&gt;2)产品经理＆职能部门经理的绩效管理
&lt;br&gt;3)基层员工的绩效管理
&lt;br&gt;10.实例讲解：
&lt;br&gt;1)爱立信及IBM公司的研发绩效管理的PDCA循环
&lt;br&gt;2)某案例公司研发人员常用的激励手段
&lt;br&gt;11.咨询案例分享：
&lt;br&gt;1)某案例公司研发绩效管理体系的建立过程及关键点
&lt;br&gt;2)在建立研发绩效管理体系过程中需要注意的问题（业务部门承担什么职责、人力资源管理部门承担什么职责）
&lt;br&gt;12.演练与问题讨论
&lt;br&gt;&lt;br&gt;三、研发中高层领导的述职管理
&lt;br&gt;1.如何理解研发绩效管理要从源头来抓
&lt;br&gt;2.业界优秀公司管理研发中高层绩效管理的思路
&lt;br&gt;3.研发中高层领导述职管理的误区
&lt;br&gt;1)述职会成为故事会
&lt;br&gt;2)述职报告没有形成规范（述职报告本身就将研发的业务定义清晰了）
&lt;br&gt;3)每个述职者述职均非常优秀，但是公司业绩不行
&lt;br&gt;4)没有述职评议的标准
&lt;br&gt;4.研发高层领导述职管理的原则
&lt;br&gt;5.研发高层述职管理的模型
&lt;br&gt;6.研发高层述职管理的内容
&lt;br&gt;1)述职报告的构成及关键内容
&lt;br&gt;2)研发中高层的关键绩效指标（KPI）
&lt;br&gt;7.研发高层述职管理的操作
&lt;br&gt;1)操作的流程
&lt;br&gt;2)述职评议的过程
&lt;br&gt;8.研发中高层领导的任职资格管理
&lt;br&gt;1)任职资格标准
&lt;br&gt;2)任职资格中如何关注行为规范
&lt;br&gt;3)任职资格如何进行评议
&lt;br&gt;9.实例讲解：
&lt;br&gt;1)Microsoft公司和IBM公司的述职报告模板
&lt;br&gt;2)某案例公司的研发中高层领导的任职资格标准分析
&lt;br&gt;3)某案例公司年度任职资格评议的过程分析
&lt;br&gt;10.行动计划：
&lt;br&gt;1)如何形成贵公司的研发中高层述职报告的模板
&lt;br&gt;2)贵公司研发中高层述职中的关键点
&lt;br&gt;11.演练与问题讨论
&lt;br&gt;&lt;br&gt;四、基于价值链的研发KPI指标设计
&lt;br&gt;1.业界公司KPI指标制定过程中的误区
&lt;br&gt;2.如何从端到端的流程的角度来设计研发的KPI指标
&lt;br&gt;3.研发体系KPI指标制定的原则
&lt;br&gt;4.研发体系KPI制定的方法
&lt;br&gt;1)平衡计分卡的方法
&lt;br&gt;2)鱼骨图的方法
&lt;br&gt;5.设定研发KPI需要考虑哪些因素（I、T、Q、C、S）
&lt;br&gt;6.研发体系的KPI指标库
&lt;br&gt;1)产品线的KPI指标 的制定（产品线总监、产品经理、项目经理……）
&lt;br&gt;2)资源线的KPI指标的制定（软件、硬件、测试、工艺、QA……）
&lt;br&gt;3)职能管理部门的KPI指标的制定（HR、项目管理、配置管理……）
&lt;br&gt;7.研发体系KPI的应用
&lt;br&gt;8.研发绩效的量化管理
&lt;br&gt;1)研发绩效量化管理中存在的问题
&lt;br&gt;2)研发绩效量化管理的原则
&lt;br&gt;3)量化不了结果的KPI指标怎么办？
&lt;br&gt;4)研发绩效量化管理如何操作（考核绩效、考核改进）
&lt;br&gt;9.咨询案例讲解：
&lt;br&gt;1)某案例公司的研发体系KPI指标库（指标与部门的对应、标准定义、示例……）
&lt;br&gt;2)某案例公司KPI指标的量化管理的经验数据�D�D》过程能力基线PCB
&lt;br&gt;10.行动计划：
&lt;br&gt;1)构建贵公司研发体系的KPI指标库
&lt;br&gt;11.演练与问题讨论
&lt;br&gt;&lt;br&gt;五、研发绩效的目标管理
&lt;br&gt;1.研发绩效目标迷茫的原因分析
&lt;br&gt;2.研发绩效目标的分层体系
&lt;br&gt;1)研发高层的绩效目标
&lt;br&gt;2)研发体系、各职能部门、产品开发团队、研发人员的绩效目标
&lt;br&gt;3.研发绩效目标的来源
&lt;br&gt;1)项目团队
&lt;br&gt;2)资源部门
&lt;br&gt;3)个人发展和成长
&lt;br&gt;4.研发绩效目标制定的方法�D�D个人绩效承诺PBC
&lt;br&gt;1)赢的承诺（WINNING
&lt;br&gt;2)执行承诺（EXECUTION）
&lt;br&gt;3)团队承诺（TEAMWORK）
&lt;br&gt;5.采用个人绩效承诺PBC方式的优点分析
&lt;br&gt;6.如何根据业务特点制定个人绩效承诺PBC
&lt;br&gt;7.研发人员制定绩效目标存在的问题分析
&lt;br&gt;1)目标太具有挑战性如何把握
&lt;br&gt;2)工作经常发生变化或需求不确定绩效目标如何制定
&lt;br&gt;3)计划发生较大延迟时绩效目标是否需要调整？
&lt;br&gt;8.绩效承诺目标的跟踪与修改（PIP）
&lt;br&gt;9.实例讲解：
&lt;br&gt;1)某案例公司的个人绩效承诺PBC模板分析
&lt;br&gt;2)某案例公司几个典型职位的个人绩效承诺（软件工程师、硬件工程师、测试工程师……）
&lt;br&gt;10.演练与问题讨论
&lt;br&gt;&lt;br&gt;六、研发团队/个人的绩效辅导
&lt;br&gt;1.研发管理中各种团队的构成
&lt;br&gt;1)产品决策团队PAC
&lt;br&gt;2)产品开发团队PDT
&lt;br&gt;3)职能部门FT
&lt;br&gt;2.研发团队中各种角色的职责
&lt;br&gt;3.研发团队的各种考核模式
&lt;br&gt;1)功能部门与项目考评相结合
&lt;br&gt;2)项目考评方式
&lt;br&gt;3)功能部门考评方式
&lt;br&gt;4.研发个人绩效辅导的方式
&lt;br&gt;5.研发人员工作太忙怎么辅导？
&lt;br&gt;6.研发管理人员太忙怎么辅导？
&lt;br&gt;7.针对不同类型的员工如何进行绩效辅导
&lt;br&gt;1)指挥倾向型
&lt;br&gt;2)关系倾向型
&lt;br&gt;3)思考倾向型
&lt;br&gt;4)听命行事型
&lt;br&gt;8.实例讲解：
&lt;br&gt;1)某案例公司的研发绩效辅导的要求和具体操作模板
&lt;br&gt;9.演练与问题讨论
&lt;br&gt;&lt;br&gt;七、研发绩效的评价与反馈管理
&lt;br&gt;1.研发绩效评价到底谁说了算（资源线、产品线、HR……）？
&lt;br&gt;2.绩效评价的原则（程序公正、过程与结果并重）
&lt;br&gt;3.绩效评价的结果是否公开（不公开、公开、部分公开……）
&lt;br&gt;4.绩效评价方法
&lt;br&gt;1)人与人比还是人与标准比
&lt;br&gt;2)考核比例的控制（要不要比例、如何控制比例、如何避免轮流坐庄）
&lt;br&gt;3)如何进行跨部门人员的绩效评价
&lt;br&gt;4)新员工如何评价（经常是垫背的……）
&lt;br&gt;5.绩效沟通反馈要注意的问题
&lt;br&gt;1)绩效管理诊断箱
&lt;br&gt;2)研发人员有效沟通的障碍
&lt;br&gt;3)绩效反馈的方法（如何针对不同的人采用不同的反馈方式、场合、地点……）
&lt;br&gt;6.如何面对员工质疑或投诉
&lt;br&gt;1)可不可以民告官
&lt;br&gt;2)如何处理打小报告、越级报告
&lt;br&gt;7.绩效反馈的“一个中心、两个基本点和四项基本原则”
&lt;br&gt;8.如何处理绩效反馈中的冲突
&lt;br&gt;9.如何与研发系统的几类“特殊人员”进行反馈沟通
&lt;br&gt;1)明星员工
&lt;br&gt;2)问题员工
&lt;br&gt;3)如何激活休克鱼？
&lt;br&gt;10.实例讲解：
&lt;br&gt;1)某案例公司的研发绩效反馈的操作表格和模板
&lt;br&gt;11.案例讨论
&lt;br&gt;&lt;br&gt;八、研发绩效结果的应用及奖金分配
&lt;br&gt;1.绩效考核结果运用的领域
&lt;br&gt;2.如何根据绩效及任职资格调整薪酬（加薪、降薪）
&lt;br&gt;3.研发奖金分配的价值导向
&lt;br&gt;4.研发奖金的构成
&lt;br&gt;1)个人奖/团队奖
&lt;br&gt;2)项目奖
&lt;br&gt;3)绩效奖
&lt;br&gt;4)季度奖
&lt;br&gt;5)年终奖
&lt;br&gt;5.研发奖金分配的原则
&lt;br&gt;6.研发季度、年度奖金的分配思路（蓄水池）
&lt;br&gt;7.研发的薪酬与职位、任职资格、绩效之间的操作
&lt;br&gt;8.实例讲解：
&lt;br&gt;1)某案例公司研发体系奖金计算的公式及分配思路
&lt;br&gt;2)某案例公司研发体系长期激励措施的设计和实践经验
&lt;br&gt;9.案例讨论
&lt;br&gt;=================================================================
&lt;br&gt;授课讲师：Jay 研发管理资深顾问 &amp;nbsp;
&lt;br&gt;专业背景：多年高科技企业研发管理实践，具有丰富的研发创新及产品规划管理、研发项目管理、研
&lt;br&gt;发人力资源管理的理论与实战经验。在国内某大型知名企业工作期间，成功担任了多个产品线的研发
&lt;br&gt;项目管理工作；长期与国际顶尖咨询顾问一起工作，全程参与并协助推动该公司研发管理变革项目（
&lt;br&gt;IPD项目），同时兼任该公司高级讲师。后任某知名软件企业信息安全事业部研发总监，很好的将研发
&lt;br&gt;管理变革的理论和实际经验与公司的现状相结合，全面建立产品研发管理体系，具有丰富的研发管理
&lt;br&gt;经验。在进行的各类公开课、内训培训中，广泛受到客户的一致好评和肯定。
&lt;br&gt;咨询背景：从事研发管理咨询工作以来，成功的主持了国内最大的某网络安全厂商、国内最大的某建
&lt;br&gt;筑软件厂商、某大型自动控制设备生产厂商、某大型电信运营商的研发中心、某大型系统集成公司(上
&lt;br&gt;市公司)等数十家企业的产品战略规划、产品开发管理（产品开发流程、研发项目管理、研发的创新管
&lt;br&gt;理等）、组织设计、研发人力资源管理及CMM/CMMI等方面的管理咨询项目。
&lt;br&gt;培训背景：曾在各地多次举办产品经理管理、研发项目管理、研发绩效考核、新产品开发流程优化与
&lt;br&gt;管理等公开课，为数千家企业提供了研发管理公开课的培训，为数百家企业进行了研发管理的内训；
&lt;br&gt;从事研发管理咨询工作以来，作为咨询项目总监和项目经理成功完成了数十个研发管理咨询项目体系
&lt;br&gt;的建设&amp;lt;产品战略规划、产品开发管理（产品开发流程、研发项目管理、研发的创新管理等）、组织设
&lt;br&gt;计、研发人力资源管理及CMM/CMMI等方面&amp;gt;，有着丰富的研发管理咨询经验，涉及的行业包括通信、软
&lt;br&gt;件、家电、电信运营商、芯片、医疗器械、交通运输等，帮助这些企业建立高效、完备的研发管理体系。
&lt;br&gt;≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡
&lt;br&gt;《研发人员的考核与激励 》报名回执表（请传真020-62351156）
&lt;br&gt;&lt;br&gt;参 会 单 位 名 称：_______________________________________________________
&lt;br&gt;&lt;br&gt;参 加 地 点： 口上海 &amp;nbsp; 口深圳 &amp;nbsp;口北京
&lt;br&gt;&lt;br&gt;联系人：______________电话:________________传真:________________
&lt;br&gt;&lt;br&gt;邮件：______________ 参 会 人 数:_________人 费 用 ￥：_________元 
&lt;br&gt;&lt;br&gt;参 会 人：___________所 任 职 务：____________移 动 电 话：_____________ 
&lt;br&gt;&lt;br&gt;参 会 人：___________所 任 职 务：____________移 动 电 话：_____________ 
&lt;br&gt;&lt;br&gt;参 会 人：___________所 任 职 务：____________移 动 电 话：_____________ 
&lt;br&gt;&lt;br&gt;参 会 人：___________所 任 职 务：____________移 动 电 话：_____________ 
&lt;br&gt;&lt;br&gt;付款方式（请选择打“√”）： □1、现金 □2、转帐 □3、电汇 
&lt;br&gt;====================================================================================
&lt;br&gt;备注:请您把报名回执回传我司，为确保您报名无误,请您再次电话（020-80560638）确认!
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26465726&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26465726&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/%E7%A0%94%E5%8F%91%E4%BA%BA%E5%91%98%E7%9A%84%E8%80%83%E6%A0%B8%E4%B8%8E%E6%BF%80%E5%8A%B1-tp26465726p26465726.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26464176</id>
	<title>Accessing localeResolver in DWR</title>
	<published>2009-11-22T06:10:11Z</published>
	<updated>2009-11-22T06:10:11Z</updated>
	<author>
		<name>dawez</name>
	</author>
	<content type="html">HI all,
&lt;br&gt;&lt;br&gt;I am using DWR 2.0.5 and I would like to retrieve the locale used in the webapp.
&lt;br&gt;&lt;br&gt;The localeResolver is a bean defined in my xml config like:
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;&amp;lt;bean id=&amp;quot;localeResolver&amp;quot; class=&amp;quot;org.springframework.web.servlet.i18n.CookieLocaleResolver&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;p:cookieName=&amp;quot;language&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;p:cookieMaxAge=&amp;quot;3600&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;p:defaultLocale=&amp;quot;en&amp;quot; /&amp;gt;
&lt;br&gt;&lt;br&gt;The locale switcher is workign as expected. In the DWR Servlet I am accessign it by using:
&lt;br&gt;&lt;br&gt;&amp;nbsp; WebContext ctx = WebContextFactory.get();
&lt;br&gt;&amp;nbsp; HttpServletRequest request = ctx.getHttpServletRequest();
&lt;br&gt;&amp;nbsp; LocaleResolver localeResolver = RequestContextUtils.getLocaleResolver(request);
&lt;br&gt;&lt;br&gt;but it gives back localeResolver == null
&lt;br&gt;&lt;br&gt;I can access the locale by using 
&lt;br&gt;&amp;nbsp; Locale locale = LocaleContextHolder.getLocale();
&lt;br&gt;&lt;br&gt;but this one is giving me all the times &amp;quot;english&amp;quot; as language. &amp;nbsp;THe funny part is that the locale when entering the page with get is &amp;quot;italian&amp;quot; in the controller and then in the DWR requests it become &amp;quot;english&amp;quot;
&lt;br&gt;&lt;br&gt;So far the only way I fount to retrieve the correct language set is by going through the cookies by doing:
&lt;br&gt;&lt;br&gt;&amp;nbsp; WebContext ctx = WebContextFactory.get();
&lt;br&gt;&amp;nbsp; HttpServletRequest request = ctx.getHttpServletRequest();
&lt;br&gt;&amp;nbsp; ctx.getHttpServletRequest().getCookies()
&lt;br&gt;&lt;br&gt;Is there a better way to do this ? I can also pass the current locale from the JSP in the DWR request but is seems a bit overkill. I guess that there should be a clean way to retrieve the current Locale set.
&lt;br&gt;&lt;br&gt;Davide.
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Accessing-localeResolver-in-DWR-tp26464176p26464176.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26459834</id>
	<title>办理产地证/薰蒸证书/植检</title>
	<published>2009-11-21T12:11:05Z</published>
	<updated>2009-11-21T12:11:05Z</updated>
	<author>
		<name>fgrfvd</name>
	</author>
	<content type="html">&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;深圳市三原贸易有限公司 
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; 我公司代理货物进出口报关、运输、仓储、订仓为主的企业,办理产地证(CO、F/A、F/E、F/F、F/M)
&lt;br&gt;薰蒸证书/植检/植物检疫证书/健康证书/卫生证书/兽医证书等。
&lt;br&gt;　　1.一般原产地证(CO) ((1个工作日即可办妥,量大可优惠).
&lt;br&gt;　　2.专业提供产地证，合同证明书等.
&lt;br&gt;　　3.普惠制产地证（F/A及F/E、F/F、F/M）。(1-2个工作日即可办妥).
&lt;br&gt;　　4.熏蒸证明书（C OF F）.(1个工作日即可办妥).
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;联系手机：137-9848-6631 黄先生
&lt;br&gt;&amp;nbsp; &amp;nbsp;QQ：417453641
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26459834&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26459834&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/%E5%8A%9E%E7%90%86%E4%BA%A7%E5%9C%B0%E8%AF%81-%E8%96%B0%E8%92%B8%E8%AF%81%E4%B9%A6-%E6%A4%8D%E6%A3%80-tp26459834p26459834.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26459209</id>
	<title>研发质量管理</title>
	<published>2009-11-21T10:46:57Z</published>
	<updated>2009-11-21T10:46:57Z</updated>
	<author>
		<name>培训-59</name>
	</author>
	<content type="html">研发质量管理
&lt;br&gt;&lt;br&gt;时间地点：2009年11月23-24日上海
&lt;br&gt;时间地点：2009年11月26-27日北京
&lt;br&gt;时间地点：2009年11月30-12月1日深圳
&lt;br&gt;培训费用：3200元/两天（含两天中餐、指定教材、证书、茶点）*买一赠一。不再打折*
&lt;br&gt;培训方式：案例分享、实务分析、互动讨论、项目模拟、培训游戏
&lt;br&gt;参加对象：企业CEO/总经理、研发总经理/副总、质量部经理、项目经理/产品经理、PMO（项目管理办公
&lt;br&gt;室）主任、测试经理、QA经理等
&lt;br&gt;&lt;br&gt;咨询电话：020-80560638；020-85917945谢小姐（不需要此类信件请回复电邮至chinammc21@126.com退信）
&lt;br&gt;--------------------------------------------------------------------------------------------
&lt;br&gt;课程背景
&lt;br&gt;通过产品质量问题的根源分析，发现54％的质量问题源自研发阶段，客户对产品的质量要求越来越高，质
&lt;br&gt;量成为产品在市场竞争中脱颖而出的重要武器：
&lt;br&gt;1.如何培养整个公司的质量意识？
&lt;br&gt;2.如何把质量管理活动变成开发人员的自觉行为？
&lt;br&gt;3.如何避免质量管理体系和实际执行“两张皮”？
&lt;br&gt;4.如何把设计中构建产品质量的理念落实到具体的产品开发活动中去？
&lt;br&gt;5.如何通过全流程的质量管理活动获得产品全生命周期成本的竞争优势？
&lt;br&gt;6.如何构建能很好支撑公司核心业务运作的研发质量管理体系？
&lt;br&gt;7.什么样的人比较适合从事研发质量管理工作，他们的职业发展规划如何？
&lt;br&gt;8.研发质量管理的职能部门如何设置？如何考评？与业务部门如何协同？
&lt;br&gt;…….
&lt;br&gt;这些问题是业界研发管理人员普遍感到困惑的核心问题。本课程通过业界最佳实践的分享、具体的案例研讨
&lt;br&gt;等方式，详细介绍如何构建支撑公司核心业务运作的研发质量管理体系。
&lt;br&gt;--------------------------------------------------------------------------------------------
&lt;br&gt;培训收益
&lt;br&gt;1)了解业界产品研发质量管理的最佳模式与实践
&lt;br&gt;2)了解业务导向的研发管理体系在公司管理体系中的位置
&lt;br&gt;3)掌握研发质量管理组织的架构、职责定位
&lt;br&gt;4)掌握结构化的产品开发流程体系、层次间的接口关系
&lt;br&gt;5)掌握产品质量策划和质量计划的制定方法
&lt;br&gt;6)掌握产品开发过程中技术评审的分层分级与操作方法
&lt;br&gt;7)领悟研发测试管理的核心思想
&lt;br&gt;8)掌握如何建立质量保证体系、开展质量保证工作
&lt;br&gt;9)掌握度量管理的方法及度量结果在过程改进和绩效考核中的应用
&lt;br&gt;10）掌握如何成功在公司内部实施研发质量管理体系优化
&lt;br&gt;----------------------------------------------------------------------------------------------
&lt;br&gt;课程内容
&lt;br&gt;一、问题研讨（学员企业在研发质量管理方面最困惑的问题是什么？）
&lt;br&gt;二、研发质量管理概述
&lt;br&gt;1.质量管理与研发质量管理
&lt;br&gt;1)质量的理解（客户的期望与欲望）
&lt;br&gt;2)质量的两个方面（过程质量与交付质量）
&lt;br&gt;3)研发质量管理体系包含的内容（流程、组织、文件、IT、过程资产……）
&lt;br&gt;2.研发质量管理在企业核心价值链中的定位
&lt;br&gt;1)研发质量管理与公司质量管理体系的关系
&lt;br&gt;2)研发质量管理与研发业务流程、研发项目管理之间的关系
&lt;br&gt;3)研发质量管理与市场、制造、采购、客户服务之间的关系
&lt;br&gt;4)研发质量管理与产品质量管理的关系
&lt;br&gt;3.研发质量管理与产品开发过程
&lt;br&gt;1)结构化的产品开发过程（NPD）简介
&lt;br&gt;2)NPD与CMM/CMMI的关系
&lt;br&gt;3)ISO9000、TL9000、QS9000、16949、GJB对研发质量管理的要求
&lt;br&gt;4)质量检验、质量控制、质量设计、质量规划对研发质量管理的要求
&lt;br&gt;5)研发质量管理的责任主体
&lt;br&gt;三、研发质量管理组织
&lt;br&gt;1.研发质量管理组织的设置
&lt;br&gt;1)研发质量管理组织设计中存在的误区
&lt;br&gt;2)企业在不同发展阶段研发质量管理组织的表现形态
&lt;br&gt;3)研发质量管理部、研发项目管理部、研发流程管理部、研发运作支持部、、、
&lt;br&gt;4)公司级的质量管理组织如何定位
&lt;br&gt;5)产品级的质量管理组织如何定位
&lt;br&gt;6)项目级的质量管理角色如何定位
&lt;br&gt;7)研发质量管理人员的规模确定（业界经验、产品类型、行业竞争……）
&lt;br&gt;8)案例分析：学员企业的研发质量管理组织分析、点评
&lt;br&gt;2.研发质量管理人员的选择
&lt;br&gt;1)QA、QC的角色定位与责任定位
&lt;br&gt;2)什么样的人适合承担QA、QC角色？
&lt;br&gt;3)PQA、SQA、HQA、TQA、MQA……
&lt;br&gt;4)研发质量管理人员的任职资格与职业发展通道（案例）
&lt;br&gt;5)没有人愿意从事QA工作怎么办？
&lt;br&gt;6)专职QA与兼职QA有什么不同？
&lt;br&gt;7)如何培养QA人员?
&lt;br&gt;8)案例分析：学员企业从事研发质量管理的人员分析、点评
&lt;br&gt;四、研发质量管理实务：质量策划
&lt;br&gt;1.质量策划流程
&lt;br&gt;1)质量策划的时机，与产品开发过程的结合
&lt;br&gt;2)质量策划的内容
&lt;br&gt;ü产品开发过程质量策划（模板、指导书、样例、检查表）
&lt;br&gt;ü产品交付质量策划（指标、目标、衡量标准、策略、执行计划）
&lt;br&gt;ü常见产品质量指标的定义（指标设置的意义、计算公式、统计频度、责任部门）
&lt;br&gt;ü质量计划纳入项目管理计划（WBS）
&lt;br&gt;ü实例讲解：某案例公司的产品质量策划模板（产品级、模块级）
&lt;br&gt;2.产品质量计划的管理
&lt;br&gt;1)产品质量计划相关的责任主体（谁制定、谁批准、谁配合、谁实施）
&lt;br&gt;2)产品质量计划与产品开发其他计划的配合关系
&lt;br&gt;3)产品质量计划与各业务部门的关系
&lt;br&gt;4)练习：学员结合企业产品的特点讨论质量策划的关键要素，点评
&lt;br&gt;五、研发质量管理实务：质量控制之技术评审
&lt;br&gt;1.企业在评审操作中常见的问题
&lt;br&gt;1)评审抓壮丁、评审先变科普会、再变批斗会、评审缺少标准靠拍脑袋……
&lt;br&gt;2.业界最佳研发管理企业的评审体系介绍
&lt;br&gt;1)三级评审体系（业务评审、技术评审、正规检视）
&lt;br&gt;2)为什么需要业务评审？（资源分配、项目盈利、市场变化……）
&lt;br&gt;3)技术评审与业务评审的相互配合关系
&lt;br&gt;4)技术评审与正规检视的相互配合关系
&lt;br&gt;3.技术评审（TR）
&lt;br&gt;1)TR的目的、原则
&lt;br&gt;2)TR评审流程（主要活动、输入、输出），与产品开发过程的结合
&lt;br&gt;3)各个角色在评审中的定义和职责（SE、PM、QA、技术专家……）
&lt;br&gt;4)评审专家的是与非（纵向评审还是横向评审？）
&lt;br&gt;5)各TR点的评审要素是如何相互支撑的（产品级、模块级、职能领域……）
&lt;br&gt;6)TR结论，过与不过如何定？
&lt;br&gt;7)谁决定TR是否通过？决策团队、项目经理、QA、还是技术专家？
&lt;br&gt;8)如何避免技术评审流于形式？（任职资格、计划确定、评审标准……）
&lt;br&gt;9)咨询案例讲解：技术评审标准/要素是如何炼成的？
&lt;br&gt;10)练习：针对评审结合公司实际情况思考具体改进行动计划
&lt;br&gt;六、研发质量管理实务：质量控制之产品测试
&lt;br&gt;1.企业在测试操作中常见的问题
&lt;br&gt;1)基于设计测试、测试过分重复、测试人员地位低下……
&lt;br&gt;2.基于产品生命周期的测试策略
&lt;br&gt;1)研发测试与生产测试的不同
&lt;br&gt;2)ALPHA测试与BETA测试的关系
&lt;br&gt;3)产品测试模型分析：渐增测试（IBT）（BUILD划分、集成测试）
&lt;br&gt;4)白盒测试与黑盒测试的是与非
&lt;br&gt;3.可测试性设计（DFT）
&lt;br&gt;1)客户化测试思维
&lt;br&gt;2)缺陷引入阶段分析
&lt;br&gt;3)市场需求、产品需求、设计需求、DFT需求
&lt;br&gt;4.练习：分析学员企业在产品测试方面如何改进，点评
&lt;br&gt;七、研发质量管理实务：质量保证
&lt;br&gt;1.研发质量保证（QA）的理念
&lt;br&gt;1)QA的独立性
&lt;br&gt;2)QA与QC的区别
&lt;br&gt;2.QA工作关系与汇报关系（PQA、SQA、HQA、TQA……）
&lt;br&gt;3.QA主要活动
&lt;br&gt;1)主要活动之一：产品质量计划
&lt;br&gt;2)主要活动之二：引导培训
&lt;br&gt;3)主要活动之三：产品质量度量
&lt;br&gt;4)主要活动之四：技术评审（TR）
&lt;br&gt;5)主要活动之五：审计
&lt;br&gt;6)主要活动之六：质量活动协调
&lt;br&gt;7)主要活动之七：产品质量回溯
&lt;br&gt;8)主要活动之八：质量报告
&lt;br&gt;9)主要活动之九：准备PHB
&lt;br&gt;10)主要活动之十：收集体系改进建议
&lt;br&gt;4.练习：分析企业在质量保证方面如何改进
&lt;br&gt;八、研发质量管理实务：质量改进
&lt;br&gt;1.企业在质量改进中常见的问题
&lt;br&gt;1)缺少量化数据，管理拍脑袋、数据堆积如山但缺少分析……
&lt;br&gt;2.度量是研发质量改进的基础（没有度量就没有改进，也无法考核）
&lt;br&gt;3.度量的基本概念（定义、作用和目的、度量与测量、驾驶窗、度量模型……）
&lt;br&gt;1)过程度量、交付件度量
&lt;br&gt;2)度量模型、度量流程
&lt;br&gt;3)实例讲解：某业界最佳的某公司研发过程能力基线（PCB）
&lt;br&gt;4.度量指标的定义
&lt;br&gt;1)度量目标的分解（逻辑分解、物理分解）
&lt;br&gt;2)实例讲解：某案例公司级度量指标定义
&lt;br&gt;3)实例讲解：某案例公司产品级度量指标定义
&lt;br&gt;4)实例讲解：某案例公司项目级度量指标定义
&lt;br&gt;5.度量结果的应用
&lt;br&gt;1)度量结果应用的常见误区
&lt;br&gt;2)不考核度量工作无法开展，考核又导致造假、如何处理？
&lt;br&gt;3)哪些度量指标用于过程改进？
&lt;br&gt;4)哪些度量指标用于绩效考核？
&lt;br&gt;6.度量管理成败核心要素分析
&lt;br&gt;7.练习：结合企业的实际情况思考度量工作如何开展？
&lt;br&gt;九、研发质量管理实务：平台建设
&lt;br&gt;1.全员质量的意识
&lt;br&gt;2.技术商人与工程商人
&lt;br&gt;3.产品化设计（并行工程、DFX、FMEA）
&lt;br&gt;4.常用研发质量管理工具
&lt;br&gt;5.质量战略工作组、质量管理委员会
&lt;br&gt;咨询案例分享：如何建立并持续优化研发质量管理体系（流程、组织、IT）
&lt;br&gt;--------------------------------------------------------------------------------------
&lt;br&gt;讲师资质：董奎老师，研发咨询资深顾问CMM/CMMI领域专家
&lt;br&gt;专业背景：十多年高科技企业的研发与管理实践经验，具有丰富的项目管理、产品研发管理、质量管理、
&lt;br&gt;研发咨询的经验。在国内某大型知名企业工作期间，
&lt;br&gt;先后担当项目经理、系统工程师、产品经理、测试部经理、质量部经理、软件部经理；参与并领导了多
&lt;br&gt;个大型项目（固网、NGN等）的研发工作，
&lt;br&gt;具备丰富的技术背景和技术管理经验。长期与国际顶尖咨询顾问一起工作，全程参与并协助推动该公司
&lt;br&gt;研发管理变革项目。曾驻海外工作，负责合作项目的实施，全程参与海外研究所CMM四级认证过程；担任
&lt;br&gt;测试部经理期间，主持了公司级测试平台的规划和建设。
&lt;br&gt;研发管理咨询经验：作为项目总监、带领咨询团队，成功为国内某知名手机厂商、国内最大的手机半导
&lt;br&gt;体厂商、国内某知名安全软件商、国内最大的网络安全厂商、某大型系统集成公司(上市公司)等数十个
&lt;br&gt;企业进行了有关产品开发流程体系、支撑流程体系、项目管理体系、研发绩效管理体系、CMMIL4以及针
&lt;br&gt;对CMMIL2过程域的诊断、设计、推行实施过程，帮助这些企业建立高效、完备的研发管理体系，对中国
&lt;br&gt;企业研发管理体系及创新体制有着深刻的研究和理解，受到客户的高度评价。
&lt;br&gt;研发管理培训经验：曾在各地多次举办产品需求分析与需求管理、产品测试管理、研发质量管理等公开
&lt;br&gt;课，为数千家企业提供了研发管理公开课的培训，为数百家企业进行了研发管理的内训；从事研发管理
&lt;br&gt;咨询工作以来，作为项目总监成功的主持完成了数十个研发管理咨询项目体系的建设&amp;lt;产品开发流程体系、
&lt;br&gt;支撑流程体系、项目管理体系、研发绩效管理体系、CMMIL4以及针对CMMIL2过程域等方面&amp;gt;，有着丰富的
&lt;br&gt;研发管理咨询经验，涉及的行业包括通信、软件、家电、电信运营商、芯片、医疗器械、交通运输等，
&lt;br&gt;帮助这些企业建立高效、完备的研发管理体系，对中国企业研发管理体系及创新体制有着深刻的研究和
&lt;br&gt;理解，受到客户的高度评价。
&lt;br&gt;--------------------------------------------------------------------------
&lt;br&gt;《研发质量管理》报名回执表（请传真020-62351156）
&lt;br&gt;&lt;br&gt;参 会 单 位 名 称：_______________________________________________________
&lt;br&gt;&lt;br&gt;联系人：______________电话:________________传真:________________
&lt;br&gt;&lt;br&gt;邮件：______________ 参 会 人 数:_________人 费 用 ￥：_________元 
&lt;br&gt;&lt;br&gt;参 会 人：___________所 任 职 务：____________移 动 电 话：_____________ 
&lt;br&gt;&lt;br&gt;参 会 人：___________所 任 职 务：____________移 动 电 话：_____________ 
&lt;br&gt;&lt;br&gt;参 会 人：___________所 任 职 务：____________移 动 电 话：_____________ 
&lt;br&gt;&lt;br&gt;参 会 人：___________所 任 职 务：____________移 动 电 话：_____________ 
&lt;br&gt;&lt;br&gt;付款方式（请选择打“√”）： □1、现金 □2、转帐 □3、电汇 
&lt;br&gt;====================================================================================
&lt;br&gt;备注:请您把报名回执回传我司，为确保您报名无误,请您再次电话（020-80560638）确认!
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26459209&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26459209&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/%E7%A0%94%E5%8F%91%E8%B4%A8%E9%87%8F%E7%AE%A1%E7%90%86-tp26459209p26459209.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26424886</id>
	<title>应收账款催收实务及风险</title>
	<published>2009-11-19T22:36:13Z</published>
	<updated>2009-11-19T22:36:13Z</updated>
	<author>
		<name>请转需求人员-65</name>
	</author>
	<content type="html">应收账款催收实务及全面信用风险和信用管理体系建立
&lt;br&gt;&lt;br&gt;时间地点：2009年11月28-29日---上 海
&lt;br&gt;时间地点：2009年12月5-6日 --- 深 圳 
&lt;br&gt;参课对象：董事长、CEO、总经理、副总经理、分公司经理、财务总监、营销总监、营销经理、营销人
&lt;br&gt;员、销售经理、区域经理、商务总监、商务经理、企管部经理、高级财会人员、信用管理人员、私营
&lt;br&gt;企业老板及法律或清欠人员等。
&lt;br&gt;标准费用：2500元/人（含培训、指定培训教材、午餐、茶点费等）
&lt;br&gt;&lt;br&gt;咨询电话：020-80560638；020-85917945 &amp;nbsp;谢小姐（不需要此类信件请回复电邮至chinammc21@126.com退信）
&lt;br&gt;认证费用：500元／人（不参加认证考试的学员无须交纳此费用）
&lt;br&gt;====================================================================================== 
&lt;br&gt;课程背景：当前，我国绝大多数企业都面临“销售难、收款更难”的双重困境。一方面，市场竞争日益
&lt;br&gt;激烈，为争取客户订单，企业提供几近苛刻的优惠条件，利润越来越薄；另一方面，客户拖欠账款，销
&lt;br&gt;售人员催收不力，产生了大量呆帐、坏帐，使本已单薄的利润更被严重侵蚀……。这一切，都源于企业
&lt;br&gt;经营管理上的一项严重缺陷――缺乏适当的信用风险管理。信用风险和信用管理问题越来越成为影响和
&lt;br&gt;制约我国企业发展的一个突出问题。
&lt;br&gt;◆如何处理“销售难、收款更难”的两难问题？
&lt;br&gt;◆如何实现销售最大化、回款最快化和坏帐最小化？
&lt;br&gt;◆如何选择分销商和大客户才能避免赊销风险并如何建立客户的赊销档案？
&lt;br&gt;◆如何应对客户拖延付款的理由？如何制定催帐策略？如何让呆帐起死回生？
&lt;br&gt;◆如何提高信用意识和信用管理水平，以实现快速收款、增加现金流量？
&lt;br&gt;世界级企业的实际操作方法已经证明，建立一套切合公司实际需要的信用管理体系能够有效地减少公司
&lt;br&gt;的呆帐、坏帐,保障企业健康持续稳定发展。 
&lt;br&gt;================================================================================== 
&lt;br&gt;培训收益
&lt;br&gt;&amp;nbsp; &amp;nbsp; 清晰逾期应收账款的回收流程，加快欠款催收，挽回企业呆帐、坏帐损失；加强销售流程中各环节
&lt;br&gt;的信用管理，规范合同及票据；了解完整的信用管理流程，培养营销人员的风险意识，协调财务人员与
&lt;br&gt;营销人员之间的矛盾。
&lt;br&gt;◆帮助您制订合理的赊销政策，准确评估客户赊销风险，合理确定赊销额度；
&lt;br&gt;◆掌握客户付款心理、区分客户付款习惯和类型；
&lt;br&gt;◆迅速掌握各种预防呆帐和欠款催收实战技能；
&lt;br&gt;◆熟悉应收帐款监控和催收的规范化操作流程；
&lt;br&gt;◆通过研讨，解决本企业面临的应收帐款管理特殊问题；
&lt;br&gt;◆掌握实用的信用控制措施和实战技能； 
&lt;br&gt;◆懂得如何运用各种信用工具转嫁信用风险； 
&lt;br&gt;◆懂得如何在大量赊销的同时有效控制信用风险； 
&lt;br&gt;◆懂得如何建立一套科学完善的全面信用风险和信用管理体系...... 
&lt;br&gt;====================================================================================== 
&lt;br&gt;主讲专家：王强先生，中国杰出实战型信用风险和信用管理顾问、成功的培训专家。上海财经大学信用
&lt;br&gt;管理硕士专业客座导师；中国商业技师协会全国职业培训与资格认证授权讲师；中国首批财商教育专家，
&lt;br&gt;原国内知名的信用管理顾问公司首席顾问师，高级咨询顾问；曾就职于广州市商业银行及香港润轩首饰
&lt;br&gt;有限公司，涉足系统建设、信贷控制、财务管理、公司全面管理等领域，均有建树。作为顾问式培训专
&lt;br&gt;家，王先生通过对数百家各类企业的销售、信用、评估、商帐管理的咨询和接触，深刻剖析企业的信用
&lt;br&gt;管理案例，总结了非常丰富的企业信用管理实际操作经验和培训经验，在企业信用分析和风险管理方面
&lt;br&gt;以及个人理财和财商教育方面有着深入的研究。同时，也参与了各级政府的区域信用体系建设咨询工作、
&lt;br&gt;数十家大型上市公司信用管理体系建立的咨询工作、银行体系的贷款评估体系建设工作。截止2009年6月，
&lt;br&gt;王强老师已主讲过超过120场《应收账催收实务及全面信用风险和信用管理体系建立》专题公开课程,受
&lt;br&gt;训人员超过3000余人，满意率平均97%以上，接受过王先生培训指导的部分客户有：太古可口可乐、百事
&lt;br&gt;可乐、松下万宝、三菱电机、日立（中国）、汽巴精化（中国）、中国网通、中石化集团、长安铃木汽
&lt;br&gt;车、宇通重工、中兴通讯等等超过2000家大中型企业，均受到客户的一致赞扬，实实在在为企业解决了
&lt;br&gt;应收账催收及全面信用风险和信用管理难题。
&lt;br&gt;======================================================================================
&lt;br&gt;课程大纲
&lt;br&gt;一、信用风险对企业的影响
&lt;br&gt;1．信用风险的产生
&lt;br&gt;成熟信用交易的前提
&lt;br&gt;中国商业信用环境现状
&lt;br&gt;信用风险的概念
&lt;br&gt;2．信用风险的影响
&lt;br&gt;呆坏账的影响（案例分析）
&lt;br&gt;拖欠货款的影响（案例分析）
&lt;br&gt;3．信用管理的目标
&lt;br&gt;信用管理如何扩大销售收入
&lt;br&gt;信用管理如何规避风险产生
&lt;br&gt;&lt;br&gt;二、逾期账款的催收思路和技巧
&lt;br&gt;1．企业债务的特性
&lt;br&gt;企业为什么会产生欠款
&lt;br&gt;企业的债务存在怎样的矛盾
&lt;br&gt;2．赊销客户的分析
&lt;br&gt;欠款客户的分类
&lt;br&gt;客户欠款的两大根本要素
&lt;br&gt;客户拒绝付款的借口
&lt;br&gt;3．企业催收政策
&lt;br&gt;企业如何自行催收拖欠的款项
&lt;br&gt;企业催收的各种方法：电话、信函、面访等
&lt;br&gt;4．欠款成功回收的因素
&lt;br&gt;增加催收效果的方法
&lt;br&gt;怎样才能令客户按时付款
&lt;br&gt;5．企业追账的原则
&lt;br&gt;四项追账原则
&lt;br&gt;商业追账的各种手段
&lt;br&gt;企业追账的法律手段
&lt;br&gt;&lt;br&gt;三、应收账款管理的方法及实施
&lt;br&gt;1．应收账款跟踪管理方法
&lt;br&gt;发货前的准备工作
&lt;br&gt;库存管理、送货和发货控制
&lt;br&gt;账单管理系统
&lt;br&gt;2．应收账款管理具体操作
&lt;br&gt;RPM过程监控制度
&lt;br&gt;DSO法：影响DSO的因素、计算DSO的三种方法、如何改善你的DSO
&lt;br&gt;A/R的总量控制法：使企业的应收账款处于合理水平
&lt;br&gt;A/R帐龄管理法：制作帐龄记录表、帐龄结构分析、帐龄二维象限图法、帐龄分级管理
&lt;br&gt;3．账款难以回收的危险信号
&lt;br&gt;客户拖欠十大危险信号
&lt;br&gt;&lt;br&gt;四、合同管理及票据管理
&lt;br&gt;1．如何保障公司债权
&lt;br&gt;保障公司债权的各种文书有哪些
&lt;br&gt;保障公司债权的三大重要文件
&lt;br&gt;2．合同管理注意的细节
&lt;br&gt;怎么样的合同才有效
&lt;br&gt;签订合同时需要注意的细节
&lt;br&gt;3．票据管理系统
&lt;br&gt;发票的管理
&lt;br&gt;月结单的管理
&lt;br&gt;4．授权委托书的管理
&lt;br&gt;授权委托书的作用
&lt;br&gt;什么情况下需要签订授权委托书
&lt;br&gt;5．其他管理工具介绍
&lt;br&gt;&lt;br&gt;五、客户信息的获得渠道及使用 
&lt;br&gt;&amp;nbsp;1．预防商业欺诈
&lt;br&gt;常见的商业欺诈手段
&lt;br&gt;如何防范商业欺诈
&lt;br&gt;2．信用管理客户的分类
&lt;br&gt;不同的管理角度对客户分类依据不同
&lt;br&gt;信用管理客户分类的依据
&lt;br&gt;3．新客户所关注的信息点
&lt;br&gt;体现合法性的信息
&lt;br&gt;体现资本实力的信息
&lt;br&gt;体现业务发展潜力的信息
&lt;br&gt;4．老客户所关注的信息点
&lt;br&gt;体现各种变动状况的信息
&lt;br&gt;体现资本周转状况的信息
&lt;br&gt;体现交易记录的信息
&lt;br&gt;5．核心客户所关注的信息点
&lt;br&gt;核心客户的特点
&lt;br&gt;管理核心客户的要诀
&lt;br&gt;6．各种信息的来源和使用
&lt;br&gt;如何建立企业内部信息管理系统
&lt;br&gt;如何有效利用第三方征信资源
&lt;br&gt;&lt;br&gt;六、信用评估技术与方法
&lt;br&gt;1．信用评估分析框架
&lt;br&gt;可比性
&lt;br&gt;信用评估的三阶段十步骤
&lt;br&gt;2．财务分析
&lt;br&gt;财务报表体系构成
&lt;br&gt;经营活动在资产负债表的体现
&lt;br&gt;经营活动在损益表的体现
&lt;br&gt;经营活动在现金流量表的体现
&lt;br&gt;三张报表的勾稽关系
&lt;br&gt;客户偿债能力分析运用
&lt;br&gt;影响客户偿债能力的因素
&lt;br&gt;客户营运能力分析运用
&lt;br&gt;有效分析客户营运能力的方法
&lt;br&gt;客户获利能力分析运用
&lt;br&gt;有效分析客户获利能力的方法
&lt;br&gt;3．信用评估的综合运用
&lt;br&gt;对赊销客户合理分类管理
&lt;br&gt;营运资产评估模型
&lt;br&gt;营运资产评估模型的用途
&lt;br&gt;特征分析评估模型
&lt;br&gt;特征分析评估模型的用途
&lt;br&gt;合理信用额度的估算公式
&lt;br&gt;合理信用期限的考虑因素
&lt;br&gt;4．信用评估演练
&lt;br&gt;信息量化的手段
&lt;br&gt;客观评价加主观评价的运用
&lt;br&gt;&lt;br&gt;七、信用管理流程的思路和体系建设
&lt;br&gt;1．全程信用管理模式
&lt;br&gt;企业信用管理的三大误区
&lt;br&gt;信用管理职能的合理设置
&lt;br&gt;2．信用管理人员的职责
&lt;br&gt;信用管理人员的素质要求
&lt;br&gt;信用管理人员的技能要求
&lt;br&gt;3．信用管理体系的建立
&lt;br&gt;如何建立适合不同类型企业的信用管理体系
&lt;br&gt;不同类型企业信用管理的特点
&lt;br&gt;4．信用管理制度制订的方法
&lt;br&gt;信用管理制度制订的方法和步骤 
&lt;br&gt;-------------------------------------------------------------------------
&lt;br&gt;《应收账款催收实务及全面信用风险和信用管理体系建立》报名回执表（请传真020-62351156）
&lt;br&gt;参 会 单 位 名 称：_______________________________________________________
&lt;br&gt;参 加 地 点：口上海 &amp;nbsp; &amp;nbsp;口深圳
&lt;br&gt;联系人：______________电话:________________传真:________________
&lt;br&gt;邮件：______________ 参 会 人 数:_________人 费 用 ￥：_________元
&lt;br&gt;参 会 人：___________所 任 职 务：____________移 动 电 话：_____________
&lt;br&gt;参 会 人：___________所 任 职 务：____________移 动 电 话：_____________
&lt;br&gt;参 会 人：___________所 任 职 务：____________移 动 电 话：_____________
&lt;br&gt;参 会 人：___________所 任 职 务：____________移 动 电 话：_____________
&lt;br&gt;付款方式（请选择打“√”）： □1、现金 □2、转帐 □3、电汇
&lt;br&gt;====================================================================================
&lt;br&gt;备注:请您把报名回执回传我司，为确保您报名无误,请您再次电话（020-80560638）确认!
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26424886&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26424886&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/%E5%BA%94%E6%94%B6%E8%B4%A6%E6%AC%BE%E5%82%AC%E6%94%B6%E5%AE%9E%E5%8A%A1%E5%8F%8A%E9%A3%8E%E9%99%A9-tp26424886p26424886.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26438158</id>
	<title>仓储管理与高效物料配送</title>
	<published>2009-11-19T20:15:23Z</published>
	<updated>2009-11-19T20:15:23Z</updated>
	<author>
		<name>培训-56</name>
	</author>
	<content type="html">制造业现代仓储管理与高效物料配送―翟光明主讲
&lt;br&gt;&lt;br&gt;时间地点：2009年11月27日-28日 &amp;nbsp; 上海 
&lt;br&gt;时间地点：2009年12月18日-19日 &amp;nbsp; 深圳
&lt;br&gt;时间地点：2009年12月28日-29日 &amp;nbsp; 北京
&lt;br&gt;适应对象：物料计划、仓储物流等部门的主管总经理、部门经理、业务人员及相关人士
&lt;br&gt;培训费用：2800元 /人（含授课费、资料费、会务费、两天午餐费）
&lt;br&gt;赠送附件：某公司ERP环境下《仓储管理细则》/ 某公司《仓库审核条例》/ 某公司《备品、备件管理办法/《在制品仓
&lt;br&gt;库管理办法》/《成品库管理办法》/《外协、外加工物料管理办法》/《仓储实务》国家仓储职业鉴定教材，翟光明主编
&lt;br&gt;&lt;br&gt;咨询电话：020-80560638；020-85917945 &amp;nbsp;谢小姐（不需要此类信件请回复电邮至chinammc21@126.com退信）
&lt;br&gt;-------------------------------------------------------------------------------------------------
&lt;br&gt;认证费用：（含注册国际物流经理人2000 注册高级物流师中级600元，高级800元
&lt;br&gt;&lt;br&gt;培训目标：根据目前制造企业仓储部门面临客户需求周期短、生产计划多变，仓储条件有限，作业效率不高和业
&lt;br&gt;务管理处于被动地位等问题，通过培训和学员参与成功案例讨论，尤其是介绍日本制造业仓储配送管理的最新技
&lt;br&gt;术（07赴日物流考察交流情况分享），使学员获得以下收获：
&lt;br&gt;如何将传统仓储功能向物流服务功能转化
&lt;br&gt;如何加强跨部门协作，防范验收业务中的漏洞和杜绝出库业务中的不规范操作
&lt;br&gt;如何根据ISO-9000、TS16949的要求，使仓储操作的达到可追溯性、先进先出和批次管理要求
&lt;br&gt;如何通过规范业务操作流程和完善ERP系统功能，强化仓储操作执行力
&lt;br&gt;如何根据物料需求特点，进行库区、库位科学规划，提高仓库利用率，降低仓储成本
&lt;br&gt;如何解决借料、退换料业务中操作不规范问题，确保帐物相符
&lt;br&gt;如何发现和防范仓储业务中的舞弊行为，确保仓储物资的安全
&lt;br&gt;如何高效的物料配送体系，仓储部门对物料的全过程管理，强化在线物料配送与服务
&lt;br&gt;了解目前国内外制造业仓储与配送最新成功经验及现代仓储发展趋势。
&lt;br&gt;---------------------------------------------------------------------------------------------------
&lt;br&gt;课程内容
&lt;br&gt;第一部分 仓储管理与跨部门协作
&lt;br&gt;&amp;nbsp;――如何将传统仓储功能向物流现场管理与服务功能转化
&lt;br&gt;一、企业仓储与物流的关系
&lt;br&gt;1、企业物流的概念
&lt;br&gt;2、小批量、多品种生产要求将现代物流理念贯穿于仓储业务管理中
&lt;br&gt;3、如何将传统仓储功能向物流配送管理功能转化，降低物流成本和提升快速反应能力
&lt;br&gt;二、仓储与跨部门协作
&lt;br&gt;1、需求小批量、多品种、变化大的环境下跨部门不协调的种种表现和后果
&lt;br&gt;案例分析：东莞某企业因仓储归属不合理，带来仓储把关不严，管理漏洞等问题的教训
&lt;br&gt;2、跨部门协调性差的原因分析
&lt;br&gt;3、仓储同采购、PMC、销售跨部门协作与沟通
&lt;br&gt;案例分析：长春某汽车制造企业采购订单不到仓储部门，导致仓库盲目收货与积压的教训
&lt;br&gt;4、仓储业务流程及其优化
&lt;br&gt;案例分析：某企业生产线上发现物料短缺与差错所暴露出物流管中种种问题
&lt;br&gt;三、如何解决物料仓储普遍面临的十大问题
&lt;br&gt;四、如何将传统仓储功能向物流现场管理功能转化 
&lt;br&gt;1、传统仓储与现代仓储观念和目标的区别
&lt;br&gt;2、如何根据现代物流管理的要求进行仓储管理职责的再定位
&lt;br&gt;3、如何发挥仓储部门的物料控制、库位规划利用、信息沟通与配送服务的作用。
&lt;br&gt;案例分析：美的空调实业部转化仓储管理功能，全面提升仓储与配送服务水平的成功案例
&lt;br&gt;第二部分 物料入库控制
&lt;br&gt;一、物料入库普遍面临的问题及其解决途径
&lt;br&gt;1、到货信息预报、包装标识与描述存在的问题
&lt;br&gt;2、入库业务操作不规范问题
&lt;br&gt;案例分析：某公司采购与仓储部门沟通不畅，导致验收中存在的漏洞）
&lt;br&gt;3、供应商供货的时间、数量随意性问题
&lt;br&gt;4、如何进行ERP系统操作规范操作
&lt;br&gt;案例分析：某公司ERP系统的收货操作流程
&lt;br&gt;5、如何发挥仓储部门把关作用的问题
&lt;br&gt;案例分析：上海纳铁福汽车传动轴如何仓储部门如何把好验收关，为供应商考核提供依据成功案例
&lt;br&gt;二、物料接运与交接
&lt;br&gt;1、物料接运与交接规范操作
&lt;br&gt;2、我国货运交接与货损货差处理的有关惯例
&lt;br&gt;3、物料接运与交接常见问题与处理方法
&lt;br&gt;三、物料验收入方法
&lt;br&gt;1、计重货物的全检与抽检的验收操作方法
&lt;br&gt;案例分析：某外资企业进口化工物资验收漏洞，造成损失的教训分析
&lt;br&gt;2、计重与非计重物料的理论换算操作方法
&lt;br&gt;案例分析：某汽车线束企业仓管员未掌握导线长度验收科学方法，长期存在漏洞造成重大损失教训
&lt;br&gt;3、物料验收差错的预防与责任追溯 
&lt;br&gt;案例分析：某企业采购人员对物料验收方法和索赔标准的无知，合同条款存在漏洞，缺货无法索赔。
&lt;br&gt;4、仓储部门如何做好验收记录，为对外索赔提供可靠依据
&lt;br&gt;案例分析：上海联合汽车电子如何建立接收、验收、在线物料缺货追述的控制程序
&lt;br&gt;四、ERP系统验收入库操作规范
&lt;br&gt;案例分析：沈阳采埃汽车转向器条形码打印、粘贴、扫描入库操作规范
&lt;br&gt;五、仓储货卡标识的设置方法
&lt;br&gt;1、货货物标识与ISO-9000、16949国际质量认证要求（待检、合格、不合格、待处理、让步接收的定义与标识）
&lt;br&gt;2、如何根据可追溯性与目视化管理的要求进行物料的标识
&lt;br&gt;案例分析：某公司入库标识与批次混乱，发现销售产品质量缺陷无法追溯，造成重大损失
&lt;br&gt;3、计算机系统如何设置符合追溯、批次和先进先出要求的功能
&lt;br&gt;第三部分 货物储存与养护技术
&lt;br&gt;一、仓储物流规划
&lt;br&gt;1、如何根据储存货物的特点，合理设置货架、平库的比例与布局
&lt;br&gt;2、如何进行仓库储存能力规划，确保仓储设施的安全和提高库位利用率。
&lt;br&gt;案例分析：某机器制造企业不顾库房安全，盲目储存，导致库房开裂漏水、货物损失的教训
&lt;br&gt;观看某企业《物流中心仓库管理》视频
&lt;br&gt;3、在ERP系统管理环境下，货位合理规划与编号的方法
&lt;br&gt;4、先进先出、批次管理的有效方法
&lt;br&gt;l色标法、循环货位法、看板法、滑移货架法
&lt;br&gt;案例分析：厦门ABB低压电器仓储物料先进先出的成功案例
&lt;br&gt;二、物料储存管理
&lt;br&gt;1、如何根据物料性质、保管要求和需求特点进行分区分类储存
&lt;br&gt;2、如何根据物料库存周转率，设定A、B、C三种活性状态，规划货位
&lt;br&gt;3、如何发挥仓储主动沟通信息的作用，提高库位利用率
&lt;br&gt;案例分析：广西移动物流中心如何对统一采购物资区分ABC三种活性状态，确定储存地点，避免重复搬运和先进先出的成功案例
&lt;br&gt;4、如何根据产品BOM及的采购周期、体积、重量及消耗的特点合理分配库位、确定周转率。
&lt;br&gt;案例分析：上海采埃汽车转向器“产量增加三倍，仓库未增加”成功经验 
&lt;br&gt;5、仓库利用率与存货周转率的评价
&lt;br&gt;三、库存盘点与盈亏、损耗的处理
&lt;br&gt;1、库存盘点的目的和方法
&lt;br&gt;2、库存盈亏的原因、预防与处理
&lt;br&gt;案例分析：某企业仓储人员弄虚作假，帐物不符导致严重损失的教训
&lt;br&gt;3、如何发现和防范仓储业务中的舞弊行为，确保仓储物资的安全
&lt;br&gt;案例分析：深圳伟康医疗器械如何通过合理分工和规范系统操作，防范仓储业务中的舞弊行为发生的成功案例。
&lt;br&gt;3、仓库帐外料的预防与处理
&lt;br&gt;4、仓库呆料处理的方法
&lt;br&gt;四、货物养护技术
&lt;br&gt;1、引起物料质量变化的原因
&lt;br&gt;2、温湿度原理与控制
&lt;br&gt;3、防潮、防霉与防锈的有效措施
&lt;br&gt;案例分析：某外资企业物料养护教训与成功案例分析
&lt;br&gt;第四部分 出库业务控制
&lt;br&gt;一、出库规范操作的要求
&lt;br&gt;二、出库的规范程序及差错的预防
&lt;br&gt;三、退料与补料的规范操作
&lt;br&gt;1、工废、料废定义与补料处理和退料处理
&lt;br&gt;2、ERP移库与按BOM自动扣料方式下，报废、布料、盘盈和盘亏业务处理
&lt;br&gt;四、非正常领料之处理
&lt;br&gt;1、借料产生的原因及其带来的问题
&lt;br&gt;2、杜绝借料的有效方法
&lt;br&gt;案例分析：TCL通讯利用ERP成本中心功能杜绝借料的经验介绍
&lt;br&gt;第五部分 如何构建高效的物料配送体系
&lt;br&gt;一、领料制与、发料制与配送制的利弊分析
&lt;br&gt;二、为什么要开展物料配送业务 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;三、如何实现物流一体化管理
&lt;br&gt;1、传统仓库物料与生产现场物料管理分别不同部门管理存在的弊病
&lt;br&gt;2、打破仓储与生产部门物料管理界限，将物料管理与仓储配送服务延伸到生产现场。
&lt;br&gt;案例分析：美的中央空调事业部物流部门统一管理仓储与生产现场物料及在制品，实行统一配送配送，大幅减少物料和在制品占用的成功案例。
&lt;br&gt;四、高效物料配送必须解决的几个具体问题
&lt;br&gt;（一）如何建立物料配送管理体系
&lt;br&gt;1、如何打破部门界限， 实现仓储、配送及现场物料管理一体化（仓储、车间物料管理与配送岗位归物流部门统一管理）
&lt;br&gt;视频案例分析：共享赴日考察《日本日产汽车生产旁线喂料配送》案例。
&lt;br&gt;2、如何进行仓储、配送与在线物料管理岗位责职定位
&lt;br&gt;3、如何处理好物流部门与车间的关系
&lt;br&gt;案例分析：三一重机将装配车间的物料员归属物流部门管理，不改变其工作职责和工作地点，实行车间物料与仓储物料管理一体化管理，有效控制在线物料和在制品占用的经验介绍
&lt;br&gt;（二）JIT物料（同步化、排序）、非JIT（VMI）物料分类管理
&lt;br&gt;1、JIT物料的概念及物流运作程序
&lt;br&gt;l供应商JIT物料到货与生产计划衔接
&lt;br&gt;l分装作业与生产进度衔接
&lt;br&gt;l排序、同步化配送物料的概念及其管理要求
&lt;br&gt;案例分析：长安汽车集团民生物流公司RDC仓库排序、同步化物料管理经验介绍
&lt;br&gt;2、非JIT物料的概念及物流运作程序
&lt;br&gt;l库存物料的管理要求
&lt;br&gt;l开架（超市）物料管理要求
&lt;br&gt;lVMI（供应商寄售）物料管理要求
&lt;br&gt;案例分析：美的空调通过JIT与非JIT物料分类管理，对仓库和车间进行物流规划，大幅提高配送效率和降低车间在线物料占用的成功案例。
&lt;br&gt;五、物料配送的具体运作
&lt;br&gt;1、如何确定生产需求与配送的信息传递方式
&lt;br&gt;（1）计划配送运作 
&lt;br&gt;案例分析：博西华制冷三箱周转配送运作三箱周转配送运作实例。
&lt;br&gt;（2）看板配送运作
&lt;br&gt;视频案例：《日本丰田汽车看板管理》视频
&lt;br&gt;（3）电子标签看板配送运作
&lt;br&gt;视频案例：翟光明负责开发的07上海市教委重点投资项目《制造业物流实训中心》“按灯”与电子标签配送系统案例 
&lt;br&gt;（4）ERP拉动供应商JIT配送运作
&lt;br&gt;案例分析：上海通用汽车采用ERP系统（DD方式）拉动供应商JIT配送成功案例
&lt;br&gt;2、如何进行仓储与车间缓冲库存规划
&lt;br&gt;（1）仓储区域功能规划
&lt;br&gt;（2）缓冲区域功能规划
&lt;br&gt;案例分析：上海大众汽车实行排序物料配送去除缓冲库存的成功案例
&lt;br&gt;（3）在线物料规划
&lt;br&gt;视频案例分析：日本日产汽车采用排序配送杜绝在线物料占用成功经验介绍
&lt;br&gt;六、如何有效控制在线物料占用，让物料真正“流起来”
&lt;br&gt;（1）如何发挥配送及在线物流管理人员协调到货与需求的关键作用，提升物流管理对生产需求的快速反映能力
&lt;br&gt;（2）如何设置在线物料最小占用量
&lt;br&gt;（3）如何实行批量配送向排序、配套配送转化，降低在线物料占用
&lt;br&gt;案例分析：江淮汽车装配流水线物料排序、配套配送，实现在线物料零占用的成功案例分析。
&lt;br&gt;（4）如何对JIT物料实行直送工位的配送方式
&lt;br&gt;案例分析：延锋伟世通汽车内饰件对上海大众汽车实行同步化配送的成功案例分析
&lt;br&gt;第六部分 仓储安全管理
&lt;br&gt;一、如何发现和防范仓储业务中的舞弊行为，确保仓储物资的安全
&lt;br&gt;1、目前仓储物资安全存储面临五大风险
&lt;br&gt;2、仓储舞弊行为的种种表现
&lt;br&gt;案例分析：某企业防范不严导致物料失窃的严重后果
&lt;br&gt;3、如何发现仓储业务中的舞弊行为
&lt;br&gt;4、如何防范仓储业务中的舞弊行为的发生
&lt;br&gt;案例分析：上海某公司采用记帐与保管业务分离，保管业务人员轮换岗位等措施杜绝舞弊行为的成功案例
&lt;br&gt;二、危险品安全储存与保管
&lt;br&gt;1、危险品安全储存与保管的规范流程
&lt;br&gt;2、危险品安全储存与保管对仓储设施的要求
&lt;br&gt;三、仓库防火与灭火
&lt;br&gt;第七部分 仓储与配送业绩评估 
&lt;br&gt;一、 仓储管理质量评审内容
&lt;br&gt;二、 仓储与配送业绩评价指标体系
&lt;br&gt;--------------------------------------------------------------------------------------------------------
&lt;br&gt;顾问介绍翟光明：上海交大硕士，国家注册高级咨询师，任某外资企业物流供应链总监多年，兼任中德跨企业培训中心、
&lt;br&gt;上汽集团培训中心高级物流与供应链管理培训师。根据ISO-9000、TS16949、GMP质量体系的要求，为几百家著名跨国公
&lt;br&gt;司和世界500强外资企业提供采购、生产与销售物流一体化、生产企业供应链管理、仓储与配送运作实务、生产计划与物
&lt;br&gt;料控制（PMC）、供应商开发与管理、生产企业战略采购实务、采购成本控制与谈判技巧等课程培训和管理咨询近十年，
&lt;br&gt;在推进外资企业采购、物流管理本土化和国内企业同国际接轨方面具有非常丰富的实战经验，在国内生产型企业采购、
&lt;br&gt;物流与供应链管理培训和咨询界享有很高的知名度。
&lt;br&gt;曾内训服务的部分著名企业：上海大众、上海通用、一汽集团、东风康明斯、宇通客车、施贵宝制药、先灵葆雅制药、罗
&lt;br&gt;氏制药、西安杨森、西门子数字程控通讯、摩托罗拉通信、朗讯科技、东方通信、杭烽火通信、开利空调、长虹集团、德
&lt;br&gt;州仪器、飞利普电器、杭州西子奥迪的斯电梯等。
&lt;br&gt;------------------------------------------------------------------------------------------
&lt;br&gt;《制造业现代仓储管理与高效物料配送》报名回执表（请传真020-62351156）
&lt;br&gt;&lt;br&gt;参 加 地 点：口北京 &amp;nbsp; 口上海 &amp;nbsp; &amp;nbsp;口深圳
&lt;br&gt;&lt;br&gt;参 会 单 位 名 称：_______________________________________________________
&lt;br&gt;&lt;br&gt;联系人：______________电话:________________传真:________________
&lt;br&gt;&lt;br&gt;邮件：______________ 参 会 人 数:_________人 费 用 ￥：_________元 
&lt;br&gt;&lt;br&gt;参 会 人：___________所 任 职 务：____________移 动 电 话：_____________ 
&lt;br&gt;&lt;br&gt;参 会 人：___________所 任 职 务：____________移 动 电 话：_____________ 
&lt;br&gt;&lt;br&gt;参 会 人：___________所 任 职 务：____________移 动 电 话：_____________ 
&lt;br&gt;&lt;br&gt;参 会 人：___________所 任 职 务：____________移 动 电 话：_____________ 
&lt;br&gt;&lt;br&gt;付款方式（请选择打“√”）： □1、现金 □2、转帐 □3、电汇 
&lt;br&gt;====================================================================================
&lt;br&gt;备注:请您把报名回执回传我司，为确保您报名无误,请您再次电话（020-80560638）确认
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26438158&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26438158&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/%E4%BB%93%E5%82%A8%E7%AE%A1%E7%90%86%E4%B8%8E%E9%AB%98%E6%95%88%E7%89%A9%E6%96%99%E9%85%8D%E9%80%81-tp26438158p26438158.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26411976</id>
	<title>仓储管理与高效物料配送</title>
	<published>2009-11-18T09:35:31Z</published>
	<updated>2009-11-18T09:35:31Z</updated>
	<author>
		<name>请转相关人员-58</name>
	</author>
	<content type="html">制造业现代仓储管理与高效物料配送―翟光明主讲
&lt;br&gt;&lt;br&gt;时间地点：2009年11月27日-28日 &amp;nbsp; 上海 
&lt;br&gt;时间地点：2009年12月18日-19日 &amp;nbsp; 深圳
&lt;br&gt;时间地点：2009年12月28日-29日 &amp;nbsp; 北京
&lt;br&gt;适应对象：物料计划、仓储物流等部门的主管总经理、部门经理、业务人员及相关人士
&lt;br&gt;培训费用：2800元 /人（含授课费、资料费、会务费、两天午餐费）
&lt;br&gt;赠送附件：某公司ERP环境下《仓储管理细则》/ 某公司《仓库审核条例》/ 某公司《备品、备件管理办法/《在制品仓
&lt;br&gt;库管理办法》/《成品库管理办法》/《外协、外加工物料管理办法》/《仓储实务》国家仓储职业鉴定教材，翟光明主编
&lt;br&gt;&lt;br&gt;咨询电话：020-80560638；020-85917945 &amp;nbsp;谢小姐（不需要此类信件请回复电邮至chinammc21@126.com退信）
&lt;br&gt;-------------------------------------------------------------------------------------------------
&lt;br&gt;认证费用：（含注册国际物流经理人2000 注册高级物流师中级600元，高级800元
&lt;br&gt;&lt;br&gt;培训目标：根据目前制造企业仓储部门面临客户需求周期短、生产计划多变，仓储条件有限，作业效率不高和业
&lt;br&gt;务管理处于被动地位等问题，通过培训和学员参与成功案例讨论，尤其是介绍日本制造业仓储配送管理的最新技
&lt;br&gt;术（07赴日物流考察交流情况分享），使学员获得以下收获：
&lt;br&gt;如何将传统仓储功能向物流服务功能转化
&lt;br&gt;如何加强跨部门协作，防范验收业务中的漏洞和杜绝出库业务中的不规范操作
&lt;br&gt;如何根据ISO-9000、TS16949的要求，使仓储操作的达到可追溯性、先进先出和批次管理要求
&lt;br&gt;如何通过规范业务操作流程和完善ERP系统功能，强化仓储操作执行力
&lt;br&gt;如何根据物料需求特点，进行库区、库位科学规划，提高仓库利用率，降低仓储成本
&lt;br&gt;如何解决借料、退换料业务中操作不规范问题，确保帐物相符
&lt;br&gt;如何发现和防范仓储业务中的舞弊行为，确保仓储物资的安全
&lt;br&gt;如何高效的物料配送体系，仓储部门对物料的全过程管理，强化在线物料配送与服务
&lt;br&gt;了解目前国内外制造业仓储与配送最新成功经验及现代仓储发展趋势。
&lt;br&gt;---------------------------------------------------------------------------------------------------
&lt;br&gt;课程内容
&lt;br&gt;第一部分 仓储管理与跨部门协作
&lt;br&gt;&amp;nbsp;――如何将传统仓储功能向物流现场管理与服务功能转化
&lt;br&gt;一、企业仓储与物流的关系
&lt;br&gt;1、企业物流的概念
&lt;br&gt;2、小批量、多品种生产要求将现代物流理念贯穿于仓储业务管理中
&lt;br&gt;3、如何将传统仓储功能向物流配送管理功能转化，降低物流成本和提升快速反应能力
&lt;br&gt;二、仓储与跨部门协作
&lt;br&gt;1、需求小批量、多品种、变化大的环境下跨部门不协调的种种表现和后果
&lt;br&gt;案例分析：东莞某企业因仓储归属不合理，带来仓储把关不严，管理漏洞等问题的教训
&lt;br&gt;2、跨部门协调性差的原因分析
&lt;br&gt;3、仓储同采购、PMC、销售跨部门协作与沟通
&lt;br&gt;案例分析：长春某汽车制造企业采购订单不到仓储部门，导致仓库盲目收货与积压的教训
&lt;br&gt;4、仓储业务流程及其优化
&lt;br&gt;案例分析：某企业生产线上发现物料短缺与差错所暴露出物流管中种种问题
&lt;br&gt;三、如何解决物料仓储普遍面临的十大问题
&lt;br&gt;四、如何将传统仓储功能向物流现场管理功能转化 
&lt;br&gt;1、传统仓储与现代仓储观念和目标的区别
&lt;br&gt;2、如何根据现代物流管理的要求进行仓储管理职责的再定位
&lt;br&gt;3、如何发挥仓储部门的物料控制、库位规划利用、信息沟通与配送服务的作用。
&lt;br&gt;案例分析：美的空调实业部转化仓储管理功能，全面提升仓储与配送服务水平的成功案例
&lt;br&gt;第二部分 物料入库控制
&lt;br&gt;一、物料入库普遍面临的问题及其解决途径
&lt;br&gt;1、到货信息预报、包装标识与描述存在的问题
&lt;br&gt;2、入库业务操作不规范问题
&lt;br&gt;案例分析：某公司采购与仓储部门沟通不畅，导致验收中存在的漏洞）
&lt;br&gt;3、供应商供货的时间、数量随意性问题
&lt;br&gt;4、如何进行ERP系统操作规范操作
&lt;br&gt;案例分析：某公司ERP系统的收货操作流程
&lt;br&gt;5、如何发挥仓储部门把关作用的问题
&lt;br&gt;案例分析：上海纳铁福汽车传动轴如何仓储部门如何把好验收关，为供应商考核提供依据成功案例
&lt;br&gt;二、物料接运与交接
&lt;br&gt;1、物料接运与交接规范操作
&lt;br&gt;2、我国货运交接与货损货差处理的有关惯例
&lt;br&gt;3、物料接运与交接常见问题与处理方法
&lt;br&gt;三、物料验收入方法
&lt;br&gt;1、计重货物的全检与抽检的验收操作方法
&lt;br&gt;案例分析：某外资企业进口化工物资验收漏洞，造成损失的教训分析
&lt;br&gt;2、计重与非计重物料的理论换算操作方法
&lt;br&gt;案例分析：某汽车线束企业仓管员未掌握导线长度验收科学方法，长期存在漏洞造成重大损失教训
&lt;br&gt;3、物料验收差错的预防与责任追溯 
&lt;br&gt;案例分析：某企业采购人员对物料验收方法和索赔标准的无知，合同条款存在漏洞，缺货无法索赔。
&lt;br&gt;4、仓储部门如何做好验收记录，为对外索赔提供可靠依据
&lt;br&gt;案例分析：上海联合汽车电子如何建立接收、验收、在线物料缺货追述的控制程序
&lt;br&gt;四、ERP系统验收入库操作规范
&lt;br&gt;案例分析：沈阳采埃汽车转向器条形码打印、粘贴、扫描入库操作规范
&lt;br&gt;五、仓储货卡标识的设置方法
&lt;br&gt;1、货货物标识与ISO-9000、16949国际质量认证要求（待检、合格、不合格、待处理、让步接收的定义与标识）
&lt;br&gt;2、如何根据可追溯性与目视化管理的要求进行物料的标识
&lt;br&gt;案例分析：某公司入库标识与批次混乱，发现销售产品质量缺陷无法追溯，造成重大损失
&lt;br&gt;3、计算机系统如何设置符合追溯、批次和先进先出要求的功能
&lt;br&gt;第三部分 货物储存与养护技术
&lt;br&gt;一、仓储物流规划
&lt;br&gt;1、如何根据储存货物的特点，合理设置货架、平库的比例与布局
&lt;br&gt;2、如何进行仓库储存能力规划，确保仓储设施的安全和提高库位利用率。
&lt;br&gt;案例分析：某机器制造企业不顾库房安全，盲目储存，导致库房开裂漏水、货物损失的教训
&lt;br&gt;观看某企业《物流中心仓库管理》视频
&lt;br&gt;3、在ERP系统管理环境下，货位合理规划与编号的方法
&lt;br&gt;4、先进先出、批次管理的有效方法
&lt;br&gt;l色标法、循环货位法、看板法、滑移货架法
&lt;br&gt;案例分析：厦门ABB低压电器仓储物料先进先出的成功案例
&lt;br&gt;二、物料储存管理
&lt;br&gt;1、如何根据物料性质、保管要求和需求特点进行分区分类储存
&lt;br&gt;2、如何根据物料库存周转率，设定A、B、C三种活性状态，规划货位
&lt;br&gt;3、如何发挥仓储主动沟通信息的作用，提高库位利用率
&lt;br&gt;案例分析：广西移动物流中心如何对统一采购物资区分ABC三种活性状态，确定储存地点，避免重复搬运和先进先出的成功案例
&lt;br&gt;4、如何根据产品BOM及的采购周期、体积、重量及消耗的特点合理分配库位、确定周转率。
&lt;br&gt;案例分析：上海采埃汽车转向器“产量增加三倍，仓库未增加”成功经验 
&lt;br&gt;5、仓库利用率与存货周转率的评价
&lt;br&gt;三、库存盘点与盈亏、损耗的处理
&lt;br&gt;1、库存盘点的目的和方法
&lt;br&gt;2、库存盈亏的原因、预防与处理
&lt;br&gt;案例分析：某企业仓储人员弄虚作假，帐物不符导致严重损失的教训
&lt;br&gt;3、如何发现和防范仓储业务中的舞弊行为，确保仓储物资的安全
&lt;br&gt;案例分析：深圳伟康医疗器械如何通过合理分工和规范系统操作，防范仓储业务中的舞弊行为发生的成功案例。
&lt;br&gt;3、仓库帐外料的预防与处理
&lt;br&gt;4、仓库呆料处理的方法
&lt;br&gt;四、货物养护技术
&lt;br&gt;1、引起物料质量变化的原因
&lt;br&gt;2、温湿度原理与控制
&lt;br&gt;3、防潮、防霉与防锈的有效措施
&lt;br&gt;案例分析：某外资企业物料养护教训与成功案例分析
&lt;br&gt;第四部分 出库业务控制
&lt;br&gt;一、出库规范操作的要求
&lt;br&gt;二、出库的规范程序及差错的预防
&lt;br&gt;三、退料与补料的规范操作
&lt;br&gt;1、工废、料废定义与补料处理和退料处理
&lt;br&gt;2、ERP移库与按BOM自动扣料方式下，报废、布料、盘盈和盘亏业务处理
&lt;br&gt;四、非正常领料之处理
&lt;br&gt;1、借料产生的原因及其带来的问题
&lt;br&gt;2、杜绝借料的有效方法
&lt;br&gt;案例分析：TCL通讯利用ERP成本中心功能杜绝借料的经验介绍
&lt;br&gt;第五部分 如何构建高效的物料配送体系
&lt;br&gt;一、领料制与、发料制与配送制的利弊分析
&lt;br&gt;二、为什么要开展物料配送业务 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;三、如何实现物流一体化管理
&lt;br&gt;1、传统仓库物料与生产现场物料管理分别不同部门管理存在的弊病
&lt;br&gt;2、打破仓储与生产部门物料管理界限，将物料管理与仓储配送服务延伸到生产现场。
&lt;br&gt;案例分析：美的中央空调事业部物流部门统一管理仓储与生产现场物料及在制品，实行统一配送配送，大幅减少物料和在制品占用的成功案例。
&lt;br&gt;四、高效物料配送必须解决的几个具体问题
&lt;br&gt;（一）如何建立物料配送管理体系
&lt;br&gt;1、如何打破部门界限， 实现仓储、配送及现场物料管理一体化（仓储、车间物料管理与配送岗位归物流部门统一管理）
&lt;br&gt;视频案例分析：共享赴日考察《日本日产汽车生产旁线喂料配送》案例。
&lt;br&gt;2、如何进行仓储、配送与在线物料管理岗位责职定位
&lt;br&gt;3、如何处理好物流部门与车间的关系
&lt;br&gt;案例分析：三一重机将装配车间的物料员归属物流部门管理，不改变其工作职责和工作地点，实行车间物料与仓储物料管理一体化管理，有效控制在线物料和在制品占用的经验介绍
&lt;br&gt;（二）JIT物料（同步化、排序）、非JIT（VMI）物料分类管理
&lt;br&gt;1、JIT物料的概念及物流运作程序
&lt;br&gt;l供应商JIT物料到货与生产计划衔接
&lt;br&gt;l分装作业与生产进度衔接
&lt;br&gt;l排序、同步化配送物料的概念及其管理要求
&lt;br&gt;案例分析：长安汽车集团民生物流公司RDC仓库排序、同步化物料管理经验介绍
&lt;br&gt;2、非JIT物料的概念及物流运作程序
&lt;br&gt;l库存物料的管理要求
&lt;br&gt;l开架（超市）物料管理要求
&lt;br&gt;lVMI（供应商寄售）物料管理要求
&lt;br&gt;案例分析：美的空调通过JIT与非JIT物料分类管理，对仓库和车间进行物流规划，大幅提高配送效率和降低车间在线物料占用的成功案例。
&lt;br&gt;五、物料配送的具体运作
&lt;br&gt;1、如何确定生产需求与配送的信息传递方式
&lt;br&gt;（1）计划配送运作 
&lt;br&gt;案例分析：博西华制冷三箱周转配送运作三箱周转配送运作实例。
&lt;br&gt;（2）看板配送运作
&lt;br&gt;视频案例：《日本丰田汽车看板管理》视频
&lt;br&gt;（3）电子标签看板配送运作
&lt;br&gt;视频案例：翟光明负责开发的07上海市教委重点投资项目《制造业物流实训中心》“按灯”与电子标签配送系统案例 
&lt;br&gt;（4）ERP拉动供应商JIT配送运作
&lt;br&gt;案例分析：上海通用汽车采用ERP系统（DD方式）拉动供应商JIT配送成功案例
&lt;br&gt;2、如何进行仓储与车间缓冲库存规划
&lt;br&gt;（1）仓储区域功能规划
&lt;br&gt;（2）缓冲区域功能规划
&lt;br&gt;案例分析：上海大众汽车实行排序物料配送去除缓冲库存的成功案例
&lt;br&gt;（3）在线物料规划
&lt;br&gt;视频案例分析：日本日产汽车采用排序配送杜绝在线物料占用成功经验介绍
&lt;br&gt;六、如何有效控制在线物料占用，让物料真正“流起来”
&lt;br&gt;（1）如何发挥配送及在线物流管理人员协调到货与需求的关键作用，提升物流管理对生产需求的快速反映能力
&lt;br&gt;（2）如何设置在线物料最小占用量
&lt;br&gt;（3）如何实行批量配送向排序、配套配送转化，降低在线物料占用
&lt;br&gt;案例分析：江淮汽车装配流水线物料排序、配套配送，实现在线物料零占用的成功案例分析。
&lt;br&gt;（4）如何对JIT物料实行直送工位的配送方式
&lt;br&gt;案例分析：延锋伟世通汽车内饰件对上海大众汽车实行同步化配送的成功案例分析
&lt;br&gt;第六部分 仓储安全管理
&lt;br&gt;一、如何发现和防范仓储业务中的舞弊行为，确保仓储物资的安全
&lt;br&gt;1、目前仓储物资安全存储面临五大风险
&lt;br&gt;2、仓储舞弊行为的种种表现
&lt;br&gt;案例分析：某企业防范不严导致物料失窃的严重后果
&lt;br&gt;3、如何发现仓储业务中的舞弊行为
&lt;br&gt;4、如何防范仓储业务中的舞弊行为的发生
&lt;br&gt;案例分析：上海某公司采用记帐与保管业务分离，保管业务人员轮换岗位等措施杜绝舞弊行为的成功案例
&lt;br&gt;二、危险品安全储存与保管
&lt;br&gt;1、危险品安全储存与保管的规范流程
&lt;br&gt;2、危险品安全储存与保管对仓储设施的要求
&lt;br&gt;三、仓库防火与灭火
&lt;br&gt;第七部分 仓储与配送业绩评估 
&lt;br&gt;一、 仓储管理质量评审内容
&lt;br&gt;二、 仓储与配送业绩评价指标体系
&lt;br&gt;--------------------------------------------------------------------------------------------------------
&lt;br&gt;顾问介绍翟光明：上海交大硕士，国家注册高级咨询师，任某外资企业物流供应链总监多年，兼任中德跨企业培训中心、
&lt;br&gt;上汽集团培训中心高级物流与供应链管理培训师。根据ISO-9000、TS16949、GMP质量体系的要求，为几百家著名跨国公
&lt;br&gt;司和世界500强外资企业提供采购、生产与销售物流一体化、生产企业供应链管理、仓储与配送运作实务、生产计划与物
&lt;br&gt;料控制（PMC）、供应商开发与管理、生产企业战略采购实务、采购成本控制与谈判技巧等课程培训和管理咨询近十年，
&lt;br&gt;在推进外资企业采购、物流管理本土化和国内企业同国际接轨方面具有非常丰富的实战经验，在国内生产型企业采购、
&lt;br&gt;物流与供应链管理培训和咨询界享有很高的知名度。
&lt;br&gt;曾内训服务的部分著名企业：上海大众、上海通用、一汽集团、东风康明斯、宇通客车、施贵宝制药、先灵葆雅制药、罗
&lt;br&gt;氏制药、西安杨森、西门子数字程控通讯、摩托罗拉通信、朗讯科技、东方通信、杭烽火通信、开利空调、长虹集团、德
&lt;br&gt;州仪器、飞利普电器、杭州西子奥迪的斯电梯等。
&lt;br&gt;------------------------------------------------------------------------------------------
&lt;br&gt;《制造业现代仓储管理与高效物料配送》报名回执表（请传真020-62351156）
&lt;br&gt;&lt;br&gt;参 加 地 点：口北京 &amp;nbsp; 口上海 &amp;nbsp; &amp;nbsp;口深圳
&lt;br&gt;&lt;br&gt;参 会 单 位 名 称：_______________________________________________________
&lt;br&gt;&lt;br&gt;联系人：______________电话:________________传真:________________
&lt;br&gt;&lt;br&gt;邮件：______________ 参 会 人 数:_________人 费 用 ￥：_________元 
&lt;br&gt;&lt;br&gt;参 会 人：___________所 任 职 务：____________移 动 电 话：_____________ 
&lt;br&gt;&lt;br&gt;参 会 人：___________所 任 职 务：____________移 动 电 话：_____________ 
&lt;br&gt;&lt;br&gt;参 会 人：___________所 任 职 务：____________移 动 电 话：_____________ 
&lt;br&gt;&lt;br&gt;参 会 人：___________所 任 职 务：____________移 动 电 话：_____________ 
&lt;br&gt;&lt;br&gt;付款方式（请选择打“√”）： □1、现金 □2、转帐 □3、电汇 
&lt;br&gt;====================================================================================
&lt;br&gt;备注:请您把报名回执回传我司，为确保您报名无误,请您再次电话（020-80560638）确认
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26411976&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26411976&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/%E4%BB%93%E5%82%A8%E7%AE%A1%E7%90%86%E4%B8%8E%E9%AB%98%E6%95%88%E7%89%A9%E6%96%99%E9%85%8D%E9%80%81-tp26411976p26411976.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26402028</id>
	<title>C6:外销团队建设与激励</title>
	<published>2009-11-17T19:40:30Z</published>
	<updated>2009-11-17T19:40:30Z</updated>
	<author>
		<name>请转有关人事-61</name>
	</author>
	<content type="html">外销团队建设与管理暨外销人员的考评与激励
&lt;br&gt;&lt;br&gt;时间地点：2009年11月21-22日　 深 圳
&lt;br&gt;时间地点：2009年11月28-29日　 上 海
&lt;br&gt;费 &amp;nbsp; &amp;nbsp;用：2500元/人（包括资料、午餐及上下午茶点等）
&lt;br&gt;授课对象：外贸人员、涉外财离岸贸易操作、国际避税与保税物流务人员，国际货运代理、私营公司老板，个人外贸SOHO一族
&lt;br&gt;&lt;br&gt;咨询电话：020-80560638；020-85917945谢小姐（不需要此类信件请回复电邮至chinammc21@126.com退信）
&lt;br&gt;--------------------------------------------------------------------------------------
&lt;br&gt;课程背景：今天的出口市场，以出口为导向的中国出口企业，不仅面临着内忧外困的恶劣而复杂的经营环
&lt;br&gt;境，而且面临着团队不稳，外销员出走的不利局面；如何处理外销人员与企业的关系，与团队管理人员的
&lt;br&gt;关系，成为外线团队高管不得不考虑的问题。外销员究竟是前线的“兵”，还是独立运作的“将”；究竟
&lt;br&gt;是出口业务的执行者，还是海外营销市场的策划者；作为外销业务的“帅”或“王”，您究竟应该如何处
&lt;br&gt;理？作为“帅”，作为“王”，您是不是也经常碰到如下令人头痛的问题：
&lt;br&gt;1、外销员为什么总是认为自己的贡献大，而应获得的回报少？
&lt;br&gt;2、为什么已经获得了企业的激励，仍然很难保证外销团队对企业的忠诚？
&lt;br&gt;3、究竟应如何评定外销团队的业务成本？
&lt;br&gt;4、外销团队的业务底线到底是什么？
&lt;br&gt;5、如何衡量外销团队的海外市场的拓展效率和水平？
&lt;br&gt;6、应怎样处理有能力却没有进取心的外线人员？
&lt;br&gt;7、外销员为什么总是抱怨企业的指令不符合实际？应如何处理外销员与企业高管指令的差异而导致的冲突？
&lt;br&gt;8、外销员为什么总是那客户的条件和企业谈判？
&lt;br&gt;9、为什么企业留下的总是“散兵游勇”，而流失的总是“精兵强将”？
&lt;br&gt;10、为什么我们的“无能之辈”，在其他企业总是“高手精英”？
&lt;br&gt;11、外销员为什么总喜欢“单兵作战”，而不愿意“协同作战”？
&lt;br&gt;12、高管和前沿外销员究竟应是什么关系？
&lt;br&gt;13、“飞单”、“炒单”、“卖单”、“兼职”为什么在外线团队中如此流行？
&lt;br&gt;14、外销员为什么宁愿开个自己的小公司，也不愿意成长为一个大公司的外销高管？
&lt;br&gt;15、为什么外销员总是“闲得发慌”“忙得要死”？
&lt;br&gt;16、究竟应怎样激励，才能激发外销员玩命？
&lt;br&gt;17、外销高手是不是应该提拔为外销高管？为什么一个外销高手并不能带出一个高效的外销团队？
&lt;br&gt;18、外销战略究竟是怎样的？
&lt;br&gt;19、怎么没有一个我么可以仿效的外销团队评估体系呢？
&lt;br&gt;20、外贸公司究竟应向何处去？
&lt;br&gt;------------------------------------------------------------------------
&lt;br&gt;课程大纲:
&lt;br&gt;第一讲 &amp;nbsp; &amp;nbsp;影响到外销团队建设的贸易理论评介
&lt;br&gt;一、外销团队建设中的“八二法则” &amp;nbsp; 二、外销团队建设中的“长尾理论”
&lt;br&gt;三、新贸易理论与蓝海战略 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 四、波特的企业“高管背景”理论对外销团队建设的意义
&lt;br&gt;五、本地化营销与本地化团队建设 &amp;nbsp; &amp;nbsp; 六、国际供应链与国际供应链团队
&lt;br&gt;七、以出口为导向的“团队跟单”理论
&lt;br&gt;第二讲 &amp;nbsp; &amp;nbsp;进出口业务与外销团队管理分析
&lt;br&gt;一、外销团队的管理模式 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 二、外销团队管理的误区
&lt;br&gt;三、外贸运营特点对外销团队建设的影响 &amp;nbsp; 四、外销团队管理的总体战略和战术分析
&lt;br&gt;五、团队精神与团队文化 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 六、外贸跟单流程变革与进出口业务分权管理
&lt;br&gt;七、外贸跟单管理中牛鞭效益与处理措施 &amp;nbsp; 八、外销团队的红线管理
&lt;br&gt;第三讲 &amp;nbsp; &amp;nbsp;外销团队激励与绩效评估
&lt;br&gt;一、个别激励 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;二、团队激励 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;三、保障机制
&lt;br&gt;四、补偿机制 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;五、增量机制 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;六、换汇成本与成本激励
&lt;br&gt;七、销售递增与增量激励 &amp;nbsp; &amp;nbsp;八、市场拓展与客户激励 &amp;nbsp; &amp;nbsp;九、创新、创意与意见激励
&lt;br&gt;十、如何激励问题解决者 &amp;nbsp; &amp;nbsp;十一、薪酬与绩效评估
&lt;br&gt;第四讲 &amp;nbsp; &amp;nbsp;外销员的角色定位和外销主管的角色定位
&lt;br&gt;一、外销员与外销主管的关系及定位 &amp;nbsp; &amp;nbsp; 二、外销主管的责任与义务
&lt;br&gt;三、外销员的权利、权力和责任划分 &amp;nbsp; &amp;nbsp; 四、外销员不是外销主管的“兵”
&lt;br&gt;五、职能整合与职能互补 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 六、外销团队的基本素质与心态
&lt;br&gt;七、团队与成员忠诚度探讨 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 八、外销员与团队心态
&lt;br&gt;第五讲 &amp;nbsp; &amp;nbsp;高效管理与外销流程管理
&lt;br&gt;一、外贸业务的透明度解析 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 二、外贸管理的流程化特点
&lt;br&gt;三、跟单是外贸管理的核心与关键 &amp;nbsp; &amp;nbsp; &amp;nbsp; 四、外贸业务的权力和决策中心在哪里？
&lt;br&gt;五、流程化管理的四个关键阶段 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 六、流程管理的核心点确认
&lt;br&gt;七、战略、整合、集成和协调
&lt;br&gt;第六讲 &amp;nbsp; &amp;nbsp;培养企业的外销精英并留住精英
&lt;br&gt;一、激发你的团队
&lt;br&gt;1、思维 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 2、动力 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 3、引导 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;4、梯度与差距
&lt;br&gt;5、内部竞争体系 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 6、财务权利分享与财务费用的出处
&lt;br&gt;二、为你的团队创造理想的环境
&lt;br&gt;1、硬环境 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;2、奖励明确化与激励公开化 &amp;nbsp; 3、竞争表面化与信息透明化
&lt;br&gt;4、制度与红线 &amp;nbsp; &amp;nbsp;5、空杯心态与老板心态 &amp;nbsp; &amp;nbsp; &amp;nbsp; 6、文化与历史传承 &amp;nbsp; &amp;nbsp; &amp;nbsp;7、回报在你的手上
&lt;br&gt;三、千万别学诸葛亮 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;四、流程管理中的外行领导内行
&lt;br&gt;五、外销高管的职责
&lt;br&gt;1、你是谁？ &amp;nbsp; &amp;nbsp; &amp;nbsp;2、聆听与赞美 &amp;nbsp; &amp;nbsp; &amp;nbsp; 3、让下属成功 &amp;nbsp; &amp;nbsp; &amp;nbsp; 4、“管”的界限
&lt;br&gt;5、事务的管理者，而不是人员的管理者 &amp;nbsp; &amp;nbsp; 6、流程缔造的高手，而不是业务的精英
&lt;br&gt;7、抓大放小，职能互补 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 8、强调服务，专业互补 &amp;nbsp; &amp;nbsp;9、紧盯关键，角色互补
&lt;br&gt;10、为一个合适的位置找到一个合适的人选 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 11、你是“炒鱿鱼”的高手吗？
&lt;br&gt;六、个体成功与团队成就的互补
&lt;br&gt;第七讲 &amp;nbsp; &amp;nbsp;外销团队的表格化管理
&lt;br&gt;一、外销看板 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;二、客户档案管理、整理与归纳
&lt;br&gt;三、市场分析表格 &amp;nbsp; &amp;nbsp; &amp;nbsp;四、销售日志、客户跟进与日志回顾
&lt;br&gt;五、客户管理表格 &amp;nbsp; &amp;nbsp; &amp;nbsp;六、物流、支持与服务管理表格 &amp;nbsp; &amp;nbsp; 七、海外营销规划、执行与保障措施
&lt;br&gt;第八讲 &amp;nbsp;外销团队的冲突处理
&lt;br&gt;一、有效与有害冲突 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 二、营造互信的合作气氛，培育团队精神
&lt;br&gt;三、冲突的阶段性分析 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 四、外销团队的冲突分析（区域市场冲突、客户冲突、产品冲突）
&lt;br&gt;五、团队冲突的处理技巧与策略 &amp;nbsp; 六、团队冲突处理的步骤
&lt;br&gt;七、处理外销团队冲突时，不同层级的管理人员所扮演的角色
&lt;br&gt;第九讲 &amp;nbsp;外销团队与外销员的忠诚度
&lt;br&gt;一、忠诚度与期望值 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 二、忠诚度的基石：转换成本与背叛代价
&lt;br&gt;三、认同感与归属感 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 四、忠诚度的基石：既得利益与企业愿景
&lt;br&gt;五、忠诚度的基石：精神归属与情感纽带 &amp;nbsp; &amp;nbsp; &amp;nbsp; 六、忠诚度的基石：团队认同与工作环境
&lt;br&gt;七、如何让脱离雁群的大雁仍然保持对团队的忠诚？
&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;讲师介绍：陈硕老师，双硕士(美国马里兰大学MBA、南开大学经济学硕士)，省外经贸厅贸易顾问，香港国际
&lt;br&gt;经济管理学院客座教授，香港贸易促进会会员，《粤港中小企业贸易论坛》主讲人之一，曾任世界５００强的
&lt;br&gt;中国粮油食品进出口集团公司进出口六部部长，中粮集团驻香港、加拿大商务主办，惠尔普(美)上海有限公司
&lt;br&gt;南区经理和运营总监、深圳某著名商务咨询有限公司总经理、香港IBT国际商务咨询有限公司国 际贸易首席咨
&lt;br&gt;询师，东京丸一综合商社西北区市场总监、珠海威玛石油设备进出口公司总经理，多年来先后在上海、北京、
&lt;br&gt;山东、浙江、江苏、四川等地举行了６００多场国际贸易专题讲座，为近百家企业做过专门内 训或顾 问服务，
&lt;br&gt;受到企业和学员的广泛好评，陈先生具有极深厚的理论知识和实践经验，是典型的实战派讲师，２０多年的外
&lt;br&gt;贸业务管理经验，特别在处理外贸业务疑难问题方面有独到的见解和技巧，具有娴熟的业务技能和极佳的语言
&lt;br&gt;表达能力，对国际贸易术语有极精确的理解，同时陈先生还将传授很多创造性、边缘性的操作手法与心得同大
&lt;br&gt;家交流和分享，每次都令学员意犹未尽，茅塞顿开。
&lt;br&gt;---------------------------------------------------------------------------------------------
&lt;br&gt;《外销团队建设与管理暨外销人员的考评与激励》报名回执表（请传真020-62351156）
&lt;br&gt;&lt;br&gt;参会单位名称：_______________________________________________________
&lt;br&gt;&lt;br&gt;参加地点：口上海 口深圳
&lt;br&gt;&lt;br&gt;联系人：______________电话:________________传真:________________
&lt;br&gt;&lt;br&gt;邮件：______________参会人数:_________人费用￥：_________元
&lt;br&gt;&lt;br&gt;参会人：___________所任职务：____________移动电话：_____________
&lt;br&gt;&lt;br&gt;参会人：___________所任职务：____________移动电话：_____________
&lt;br&gt;&lt;br&gt;参会人：___________所任职务：____________移动电话：_____________
&lt;br&gt;&lt;br&gt;参会人：___________所任职务：____________移动电话：_____________
&lt;br&gt;&lt;br&gt;付款方式（请选择打“√”）：□1、现金□2、转帐□3、电汇
&lt;br&gt;====================================================================================
&lt;br&gt;备注:请您把报名回执回传我司，为确保您报名无误,请您再次电话（020-80560638）确认!
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26402028&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26402028&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/C6%3A%E5%A4%96%E9%94%80%E5%9B%A2%E9%98%9F%E5%BB%BA%E8%AE%BE%E4%B8%8E%E6%BF%80%E5%8A%B1-tp26402028p26402028.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26401249</id>
	<title>Re: How to override dwr.engine._defaultPath?</title>
	<published>2009-11-17T18:01:51Z</published>
	<updated>2009-11-17T18:01:51Z</updated>
	<author>
		<name>davidmarginian</name>
	</author>
	<content type="html">Please take a look at the reverse ajax examples in the dwr.war.
&lt;br&gt;&lt;br&gt;geek.shrek wrote:
&lt;br&gt;&amp;gt; I'm sorry.... I'm not following....
&lt;br&gt;&amp;gt; So how can I call my servlet from my javascript so it's calling
&lt;br&gt;&amp;gt; myservlet.java
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; The reason I want to call my servlet is because I don't want to have all my
&lt;br&gt;&amp;gt; working in javascript.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;__________ Information from ESET NOD32 Antivirus, version of virus signature database 4615 (20091117) __________
&lt;br&gt;&lt;br&gt;The message was checked by ESET NOD32 Antivirus.
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://www.eset.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.eset.com&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26401249&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26401249&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/How-to-override-dwr.engine._defaultPath--tp26383916p26401249.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26401216</id>
	<title>Re: How to override dwr.engine._defaultPath?</title>
	<published>2009-11-17T17:58:25Z</published>
	<updated>2009-11-17T17:58:25Z</updated>
	<author>
		<name>geek.shrek</name>
	</author>
	<content type="html">I'm sorry.... I'm not following....
&lt;br&gt;So how can I call my servlet from my javascript so it's calling myservlet.java
&lt;br&gt;&lt;br&gt;The reason I want to call my servlet is because I don't want to have all my working in javascript.
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/How-to-override-dwr.engine._defaultPath--tp26383916p26401216.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26400139</id>
	<title>Re: How to override dwr.engine._defaultPath?</title>
	<published>2009-11-17T16:01:58Z</published>
	<updated>2009-11-17T16:01:58Z</updated>
	<author>
		<name>davidmarginian</name>
	</author>
	<content type="html">I am not following what you are doing here and why you need the myUtil.js (engine.js will handle this for you in a manner that is a lot more graceful than what you are doing).  What you are doing is not standard and who knows where the error you are having is coming from.  &lt;div&gt;
&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Tue, Nov 17, 2009 at 4:30 PM, geek.shrek &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26400139&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;miss_cool_666@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;&quot;&gt;
&lt;br&gt;
What do you mean by standard request?&lt;br&gt;
&lt;br&gt;
I have fiddler and firebug to see my request and response.&lt;br&gt;
Here is the result&lt;br&gt;
GET /myservlet/dwr/engine.js --- 200 OK&lt;br&gt;
GET /myservlet/dwr/interface/myscript.js -- 200 OK&lt;br&gt;
GET /myservlet/myUtil.js -- 304 Not Modifed&lt;br&gt;
POST /myservlet/dwr/call/plainpoll/ReverseAjax.dwr --- 200 OK&lt;br&gt;
&lt;br&gt;
Do I need to do any trick in my code for reverse proxy?&lt;br&gt;
&lt;br&gt;
myscript.java snippet&lt;br&gt;
&lt;br&gt;
public void methodA()&lt;br&gt;
{&lt;br&gt;
    WebContext wctx = WebContextFactory.get();&lt;br&gt;
    String currentPage = wctx.getCurrentPage();&lt;br&gt;
    Collection sessions = wctx.getScriptSessionsByPage(currentPage);&lt;br&gt;
    Util utilAll = new Util(sessions);&lt;br&gt;
&lt;br&gt;
    utilAll.setValue(&amp;quot;myID&amp;quot;, &amp;quot;hello 123&amp;quot;);&lt;br&gt;
}&lt;br&gt;
&lt;br&gt;
public void methodB(ServerContext context,String value)&lt;br&gt;
{&lt;br&gt;
    Collection sessions =&lt;br&gt;
context.getScriptSessionsByPage(&amp;quot;/myservlet/index.html&amp;quot;);&lt;br&gt;
    Util utilAll = new Util(sessions);&lt;br&gt;
    utilAll.addFunctionCall(&amp;quot;myFuction&amp;quot;, value);&lt;br&gt;
}&lt;br&gt;
&lt;br&gt;
Here is my index.html snippet&lt;br&gt;
&lt;br&gt;
&amp;lt;script type=&amp;#39;text/javascript&amp;#39;&amp;gt;&lt;br&gt;
     function init()&lt;br&gt;
     {&lt;br&gt;
        dwr.engine._defaultPath = location.href+&amp;quot;dwr&amp;quot;;&lt;br&gt;
        DWREngine._defaultPath = location.href+&amp;quot;dwr&amp;quot;;&lt;br&gt;
        myscript._path = location.href+&amp;quot;dwr&amp;quot;;&lt;br&gt;
     }&lt;br&gt;
&amp;lt;/script&amp;gt;&lt;br&gt;
&amp;lt;script type=&amp;#39;text/javascript&amp;#39;&lt;br&gt;
src=&amp;#39;&lt;a href=&quot;http://1.2.3.4:7777/myservlet/dwr/util.js&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://1.2.3.4:7777/myservlet/dwr/util.js&lt;/a&gt;&amp;#39;&amp;gt;&amp;lt;/script&amp;gt;&lt;br&gt;
&amp;lt;script type=&amp;#39;text/javascript&amp;#39;&lt;br&gt;
src=&amp;#39;&lt;a href=&quot;http://1.2.3.4:7777/myservlet/dwr/engine.js&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://1.2.3.4:7777/myservlet/dwr/engine.js&lt;/a&gt;&amp;#39;&amp;gt;&amp;lt;/script&amp;gt;&lt;br&gt;
&amp;lt;script type=&amp;#39;text/javascript&amp;#39;&lt;br&gt;
src=&amp;#39;&lt;a href=&quot;http://1.2.3.4:7777/myservlet/dwr/interface/myscript.js&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://1.2.3.4:7777/myservlet/dwr/interface/myscript.js&lt;/a&gt;&amp;#39;&amp;gt;&amp;lt;/script&amp;gt;&lt;br&gt;
&amp;lt;script type=&amp;#39;text/javascript&amp;#39; src=&amp;#39;myUtil.js&amp;#39;&amp;gt;&amp;lt;/script&amp;gt;&lt;br&gt;
&amp;lt;script type=&amp;quot;text/javascript&amp;quot;&amp;gt;&lt;br&gt;
    function populateData()&lt;br&gt;
    {&lt;br&gt;
       myscript.methodA();&lt;br&gt;
       sendRequest(&amp;#39;myservlet&amp;#39;, null);&lt;br&gt;
    }&lt;br&gt;
&amp;lt;/script&amp;gt;&lt;br&gt;
&amp;lt;link rel=&amp;quot;stylesheet&amp;quot; type=&amp;quot;text/css&amp;quot; href=&amp;quot;generic.css&amp;quot; /&amp;gt;&lt;br&gt;
&amp;lt;/head&amp;gt;&lt;br&gt;
&amp;lt;body onload=&amp;quot;init();dwr.engine.setActiveReverseAjax(true);populateData();&amp;quot;&amp;gt;&lt;br&gt;
&amp;lt;div id=&amp;quot;myID&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br&gt;
&lt;br&gt;
....&lt;br&gt;
&lt;br&gt;
my myUtil.js&lt;br&gt;
function sendRequest(servletName,servletArg)&lt;br&gt;
{&lt;br&gt;
  try&lt;br&gt;
  {&lt;br&gt;
      request = new XMLHttpRequest();&lt;br&gt;
  }&lt;br&gt;
  catch (e)&lt;br&gt;
  {&lt;br&gt;
      try&lt;br&gt;
      {&lt;br&gt;
          request = new ActiveXObject(&amp;quot;Microsoft.XMLHTTP&amp;quot;);&lt;br&gt;
      }&lt;br&gt;
      catch (e)&lt;br&gt;
      {&lt;br&gt;
          alert(&amp;quot;XMLHttpRequest error: &amp;quot; + e);&lt;br&gt;
      }&lt;br&gt;
  }&lt;br&gt;
  request.open(&amp;quot;GET&amp;quot;, req, true);              //prepare the request&lt;br&gt;
  request.send(null);                       //send it&lt;br&gt;
  return request;&lt;br&gt;
}&lt;br&gt;
&lt;br&gt;
myServlet.java&lt;br&gt;
public class myServlet extends HttpServlet implements Servlet&lt;br&gt;
{&lt;br&gt;
   protected void doGet(HttpServletRequest request, HttpServletResponse&lt;br&gt;
response)&lt;br&gt;
                        throws ServletException, IOException&lt;br&gt;
   {&lt;br&gt;
       myscript script= new myscript();&lt;br&gt;
       ServletContext servletContext = this.getServletContext();&lt;br&gt;
       System.out.println(&amp;quot;Servlet Name: &amp;quot; + request.getServletPath());&lt;br&gt;
       ServerContext context = ServerContextFactory.get(servletContext);&lt;br&gt;
       myscript.methodB(context,&amp;quot;myValue&amp;quot;);&lt;br&gt;
   }&lt;br&gt;
}&lt;br&gt;
&lt;br&gt;
For some reason, it doesn&amp;#39;t seems like it&amp;#39;s calling methodB at all.&lt;br&gt;
I&amp;#39;m able to get the value back from methodA, but not when I call methodB&lt;br&gt;
when I call myservlet.&lt;br&gt;
&lt;br&gt;
Thanks in advance to help me with this problem, I really appreciate it :)&lt;br&gt;
&lt;font color=&quot;#888888&quot;&gt;&lt;br&gt;
--&lt;br&gt;
View this message in context: &lt;a href=&quot;http://old.nabble.com/How-to-override-dwr.engine._defaultPath--tp26383916p26399789.html&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://old.nabble.com/How-to-override-dwr.engine._defaultPath--tp26383916p26399789.html&lt;/a&gt;&lt;br&gt;

Sent from the DWR - Users mailing list archive at Nabble.com.&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
---------------------------------------------------------------------&lt;br&gt;
To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26400139&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;&lt;br&gt;
For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26400139&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
&lt;/font&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;/div&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/How-to-override-dwr.engine._defaultPath--tp26383916p26400139.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26399789</id>
	<title>Re: How to override dwr.engine._defaultPath?</title>
	<published>2009-11-17T15:30:54Z</published>
	<updated>2009-11-17T15:30:54Z</updated>
	<author>
		<name>geek.shrek</name>
	</author>
	<content type="html">What do you mean by standard request?
&lt;br&gt;&lt;br&gt;I have fiddler and firebug to see my request and response. 
&lt;br&gt;Here is the result
&lt;br&gt;GET /myservlet/dwr/engine.js --- 200 OK
&lt;br&gt;GET /myservlet/dwr/interface/myscript.js -- 200 OK
&lt;br&gt;GET /myservlet/myUtil.js -- 304 Not Modifed
&lt;br&gt;POST /myservlet/dwr/call/plainpoll/ReverseAjax.dwr --- 200 OK
&lt;br&gt;&lt;br&gt;Do I need to do any trick in my code for reverse proxy?
&lt;br&gt;&lt;br&gt;myscript.java snippet 
&lt;br&gt;&lt;br&gt;public void methodA()
&lt;br&gt;{
&lt;br&gt;&amp;nbsp; &amp;nbsp; WebContext wctx = WebContextFactory.get();
&lt;br&gt;&amp;nbsp; &amp;nbsp; String currentPage = wctx.getCurrentPage();
&lt;br&gt;&amp;nbsp; &amp;nbsp; Collection sessions = wctx.getScriptSessionsByPage(currentPage);
&lt;br&gt;&amp;nbsp; &amp;nbsp; Util utilAll = new Util(sessions);
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; utilAll.setValue(&amp;quot;myID&amp;quot;, &amp;quot;hello 123&amp;quot;);
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;public void methodB(ServerContext context,String value)
&lt;br&gt;{
&lt;br&gt;&amp;nbsp; &amp;nbsp; Collection sessions = context.getScriptSessionsByPage(&amp;quot;/myservlet/index.html&amp;quot;);
&lt;br&gt;&amp;nbsp; &amp;nbsp; Util utilAll = new Util(sessions);
&lt;br&gt;&amp;nbsp; &amp;nbsp; utilAll.addFunctionCall(&amp;quot;myFuction&amp;quot;, value);
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;Here is my index.html snippet
&lt;br&gt;&lt;br&gt;&amp;lt;script type='text/javascript'&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;function init()
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;{
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; dwr.engine._defaultPath = location.href+&amp;quot;dwr&amp;quot;;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; DWREngine._defaultPath = location.href+&amp;quot;dwr&amp;quot;;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; myscript._path = location.href+&amp;quot;dwr&amp;quot;;			
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;&amp;lt;/script&amp;gt;
&lt;br&gt;&amp;lt;script type='text/javascript' src='&lt;a href=&quot;http://1.2.3.4:7777/myservlet/dwr/util.js'&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://1.2.3.4:7777/myservlet/dwr/util.js'&lt;/a&gt;&amp;gt;&amp;lt;/script&amp;gt;
&lt;br&gt;&amp;lt;script type='text/javascript' src='&lt;a href=&quot;http://1.2.3.4:7777/myservlet/dwr/engine.js'&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://1.2.3.4:7777/myservlet/dwr/engine.js'&lt;/a&gt;&amp;gt;&amp;lt;/script&amp;gt;
&lt;br&gt;&amp;lt;script type='text/javascript' src='&lt;a href=&quot;http://1.2.3.4:7777/myservlet/dwr/interface/myscript.js'&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://1.2.3.4:7777/myservlet/dwr/interface/myscript.js'&lt;/a&gt;&amp;gt;&amp;lt;/script&amp;gt;
&lt;br&gt;&amp;lt;script type='text/javascript' src='myUtil.js'&amp;gt;&amp;lt;/script&amp;gt;
&lt;br&gt;&amp;lt;script type=&amp;quot;text/javascript&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; function populateData() 
&lt;br&gt;&amp;nbsp; &amp;nbsp; {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;myscript.methodA();
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;sendRequest('myservlet', null);
&lt;br&gt;&amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;lt;/script&amp;gt;
&lt;br&gt;&amp;lt;link rel=&amp;quot;stylesheet&amp;quot; type=&amp;quot;text/css&amp;quot; href=&amp;quot;generic.css&amp;quot; /&amp;gt;
&lt;br&gt;&amp;lt;/head&amp;gt;
&lt;br&gt;&amp;lt;body onload=&amp;quot;init();dwr.engine.setActiveReverseAjax(true);populateData();&amp;quot;&amp;gt;
&lt;br&gt;&amp;lt;div id=&amp;quot;myID&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;
&lt;br&gt;&lt;br&gt;....
&lt;br&gt;&lt;br&gt;my myUtil.js
&lt;br&gt;function sendRequest(servletName,servletArg)
&lt;br&gt;{
&lt;br&gt;&amp;nbsp; try 
&lt;br&gt;&amp;nbsp; { &amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; request = new XMLHttpRequest();
&lt;br&gt;&amp;nbsp; }
&lt;br&gt;&amp;nbsp; catch (e) 
&lt;br&gt;&amp;nbsp; {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; try
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; { &amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; request = new ActiveXObject(&amp;quot;Microsoft.XMLHTTP&amp;quot;);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; catch (e) 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; { &amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; alert(&amp;quot;XMLHttpRequest error: &amp;quot; + e);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; }
&lt;br&gt;&amp;nbsp; request.open(&amp;quot;GET&amp;quot;, req, true); &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;//prepare the request
&lt;br&gt;&amp;nbsp; request.send(null); &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; //send it
&lt;br&gt;&amp;nbsp; return request; 
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;myServlet.java
&lt;br&gt;public class myServlet extends HttpServlet implements Servlet
&lt;br&gt;{
&lt;br&gt;&amp;nbsp; &amp;nbsp;protected void doGet(HttpServletRequest request, HttpServletResponse response)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; throws ServletException, IOException
&lt;br&gt;&amp;nbsp; &amp;nbsp;{
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;myscript script= new myscript();
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;ServletContext servletContext = this.getServletContext();
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;System.out.println(&amp;quot;Servlet Name: &amp;quot; + request.getServletPath());
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;ServerContext context = ServerContextFactory.get(servletContext);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;myscript.methodB(context,&amp;quot;myValue&amp;quot;);
&lt;br&gt;&amp;nbsp; &amp;nbsp;}
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;For some reason, it doesn't seems like it's calling methodB at all. 
&lt;br&gt;I'm able to get the value back from methodA, but not when I call methodB when I call myservlet.
&lt;br&gt;&lt;br&gt;Thanks in advance to help me with this problem, I really appreciate it :)
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/How-to-override-dwr.engine._defaultPath--tp26383916p26399789.html" />
</entry>

</feed>
