And a follow up ...

We have two webapps in the same host that use hessian.  If we disabled
logging in both webapps, all is fine.  It seems like they are somehow
contending for use of the same logging facilities? Only one webapp seemed to
be allowed to log at once.


tweihs wrote:
> 
> One more nugget.  Here's our configuration in web.xml:
> 
> <log name="com.caucho.hessian.server" level="finest"
> path="${host.root}/data/store/logs/hessian.log" rollover-period="1W"/>
> 
> -tyson
> 
> 
> tweihs wrote:
>> 
>> We're seeing two possibly related issues with the Hessian Debug
>> facilities in our production environment.  The first is the exception
>> pasted below.  The second is that hessian debug will run for a few hours
>> after we restart the web app, then just die.  We are running 3.1.19.  Any
>> ideas?
>> 
>> java.lang.ClassCastException: java.util.Date cannot be cast to
>> java.lang.Integer
>>         at
>> com.caucho.hessian.io.HessianDebugState$ObjectState.shift(HessianDebugState.java:1186)
>>         at
>> com.caucho.hessian.io.HessianDebugState$DateState.next(HessianDebugState.java:649)
>>         at
>> com.caucho.hessian.io.HessianDebugState.next(HessianDebugState.java:93)
>>         at
>> com.caucho.hessian.io.HessianDebugOutputStream.write(HessianDebugOutputStream.java:96)
>>         at java.io.OutputStream.write(OutputStream.java:99)
>>         at
>> com.caucho.hessian.io.Hessian2Output.flushBuffer(Hessian2Output.java:1541)
>>         at
>> com.caucho.hessian.io.Hessian2Output.flush(Hessian2Output.java:1522)
>>         at
>> com.caucho.hessian.io.Hessian2Output.printString(Hessian2Output.java:1450)
>>         at
>> com.caucho.hessian.io.Hessian2Output.writeString(Hessian2Output.java:1060)
>>         at
>> com.caucho.hessian.io.JavaSerializer$StringFieldSerializer.serialize(JavaSerializer.java:346)
>>         at
>> com.caucho.hessian.io.JavaSerializer.writeInstance(JavaSerializer.java:213)
>>         at
>> com.caucho.hessian.io.JavaSerializer.writeObject(JavaSerializer.java:177)
>>         at
>> com.caucho.hessian.io.Hessian2Output.writeObject(Hessian2Output.java:490)
>>         at
>> com.caucho.hessian.io.CollectionSerializer.writeObject(CollectionSerializer.java:102)
>>         at
>> com.caucho.hessian.io.Hessian2Output.writeObject(Hessian2Output.java:490)
>>         at
>> com.caucho.hessian.io.JavaSerializer$FieldSerializer.serialize(JavaSerializer.java:256)
>>         at
>> com.caucho.hessian.io.JavaSerializer.writeInstance(JavaSerializer.java:213)
>>         at
>> com.caucho.hessian.io.JavaSerializer.writeObject(JavaSerializer.java:177)
>>         at
>> com.caucho.hessian.io.Hessian2Output.writeObject(Hessian2Output.java:490)
>>         at
>> com.caucho.hessian.io.MapSerializer.writeObject(MapSerializer.java:100)
>>         at
>> com.caucho.hessian.io.Hessian2Output.writeObject(Hessian2Output.java:490)
>>         at
>> com.caucho.hessian.server.HessianSkeleton.invoke(HessianSkeleton.java:199)
>>         at
>> com.caucho.hessian.server.HessianSkeleton.invoke(HessianSkeleton.java:109)
>>         at
>> com.caucho.hessian.server.HessianServlet.service(HessianServlet.java:396)
>>         at
>> com.caucho.server.dispatch.WebServiceFilterChain.doFilter(WebServiceFilterChain.java:101)
>>         at com.caucho.filters.GzipFilter.doFilter(GzipFilter.java:169)
>>         at
>> com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:87)
>>         at
>> com.caucho.server.cache.CacheFilterChain.doFilter(CacheFilterChain.java:162)
>>         at
>> com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:187)
>>         at
>> com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:265)
>>         at
>> com.caucho.server.hmux.HmuxRequest.handleRequest(HmuxRequest.java:436)
>>         at
>> com.caucho.server.port.TcpConnection.run(TcpConnection.java:682)
>>         at com.caucho.util.ThreadPool$Item.runTasks(ThreadPool.java:743)
>>         at com.caucho.util.ThreadPool$Item.run(ThreadPool.java:662)
>>         at java.lang.Thread.run(Thread.java:619)
>> 
> 
> 

-- 
View this message in context: 
http://old.nabble.com/Hessian-Debug-Exception-in-Production-tp27026698p27026702.html
Sent from the Resin mailing list archive at Nabble.com.



_______________________________________________
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest

Reply via email to