Re: [Resin-interest] Hessian Debug Exception in Production

2010-01-06 Thread Scott Ferguson
Tyson Weihs wrote:
 I know you guys want the base to move to 4, but can we get these two
 fixed in 3.1.9?  It's going to be a while before we upgrade to 4. The
 hessian issue stopped one of our remote services cold and we'd like to
 leave debugging in place.  The scheduled task issue means we have to
 patch resin.jar with our own hand-modified ScheduledTask.java.  Maybe
 we have a couple of magic beans to use up under our small allocation
 of license maintenance (we'll be needing more pro licenses soon
 anyway)?
   
The HessianDebugState may not be fixable in 3.1.9, but we can certainly 
fix the ScheduledTask back in 3.1.x.

The HessianDebugState is a huge, complicated state machine and 4.0.x has 
a large number of fixes. I just checked the code and it's not as simple 
as patching back the 4.0.x fixes back to 3.1.x.

-- Scott

 On Tue, Jan 5, 2010 at 4:04 PM, Alex a...@caucho.com wrote:
   
 So, grab the 3.1.9 trunk?
   
 Actually it's only fixed on the trunk (4.0), the 3.1 branch still has that 
 issue.

 
 There was another issue we reported about
 ScheduledTasks not running until 1 week after the server started (at
 least when started on Sunday). Know if that one is fixed as well (e.g.
 3.1.8 would run scheduled tasks immedately after start, 3.1.9 would
 start running them a week after start - same app config).
   
 This is the one I believe – an open issue:
 http://bugs.caucho.com/view.php?id=3736

 Thanks,
 Alex


 
 -tyson

 On Tue, Jan 5, 2010 at 2:59 PM, Alex a...@caucho.com wrote:
   
 This looks like a bug (checked 3.1.9). The code on the trunk looks valid – 
 testing instanceof before casting.

 Thanks,
 Alex


 
 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 

[Resin-interest] Hessian Debug Exception in Production

2010-01-05 Thread tweihs

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-tp27026698p27026698.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


Re: [Resin-interest] Hessian Debug Exception in Production

2010-01-05 Thread tweihs

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-tp27026698p27026699.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


Re: [Resin-interest] Hessian Debug Exception in Production

2010-01-05 Thread tweihs

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


Re: [Resin-interest] Hessian Debug Exception in Production

2010-01-05 Thread Alex
This looks like a bug (checked 3.1.9). The code on the trunk looks valid – 
testing instanceof before casting. 

Thanks,
Alex


 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-tp27026698p27026698.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




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


Re: [Resin-interest] Hessian Debug Exception in Production

2010-01-05 Thread Alex
Tyson

I've reported the bug against 3.1.9: http://bugs.caucho.com/view.php?id=3836

Thanks,
Alex

 This looks like a bug (checked 3.1.9). The code on the trunk looks valid – 
 testing instanceof before casting. 
 
 Thanks,
 Alex
 
 
 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-tp27026698p27026698.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
 
 
 
 
 ___
 resin-interest mailing list
 resin-interest@caucho.com
 http://maillist.caucho.com/mailman/listinfo/resin-interest




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


Re: [Resin-interest] Hessian Debug Exception in Production

2010-01-05 Thread Tyson Weihs
So, grab the 3.1.9 trunk?  There was another issue we reported about
ScheduledTasks not running until 1 week after the server started (at
least when started on Sunday). Know if that one is fixed as well (e.g.
3.1.8 would run scheduled tasks immedately after start, 3.1.9 would
start running them a week after start - same app config).

-tyson

On Tue, Jan 5, 2010 at 2:59 PM, Alex a...@caucho.com wrote:
 This looks like a bug (checked 3.1.9). The code on the trunk looks valid – 
 testing instanceof before casting.

 Thanks,
 Alex


 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-tp27026698p27026698.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




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



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


Re: [Resin-interest] Hessian Debug Exception in Production

2010-01-05 Thread Alex
 So, grab the 3.1.9 trunk?  

Actually it's only fixed on the trunk (4.0), the 3.1 branch still has that 
issue.

 There was another issue we reported about
 ScheduledTasks not running until 1 week after the server started (at
 least when started on Sunday). Know if that one is fixed as well (e.g.
 3.1.8 would run scheduled tasks immedately after start, 3.1.9 would
 start running them a week after start - same app config).

This is the one I believe – an open issue:
http://bugs.caucho.com/view.php?id=3736

Thanks,
Alex


 
 -tyson
 
 On Tue, Jan 5, 2010 at 2:59 PM, Alex a...@caucho.com wrote:
 This looks like a bug (checked 3.1.9). The code on the trunk looks valid – 
 testing instanceof before casting.
 
 Thanks,
 Alex
 
 
 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-tp27026698p27026698.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
 
 
 
 
 ___
 resin-interest mailing list
 resin-interest@caucho.com
 http://maillist.caucho.com/mailman/listinfo/resin-interest
 
 
 
 ___
 resin-interest mailing list
 resin-interest@caucho.com
 http://maillist.caucho.com/mailman/listinfo/resin-interest




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


Re: [Resin-interest] Hessian Debug Exception in Production

2010-01-05 Thread Tyson Weihs
I know you guys want the base to move to 4, but can we get these two
fixed in 3.1.9?  It's going to be a while before we upgrade to 4. The
hessian issue stopped one of our remote services cold and we'd like to
leave debugging in place.  The scheduled task issue means we have to
patch resin.jar with our own hand-modified ScheduledTask.java.  Maybe
we have a couple of magic beans to use up under our small allocation
of license maintenance (we'll be needing more pro licenses soon
anyway)?

On Tue, Jan 5, 2010 at 4:04 PM, Alex a...@caucho.com wrote:
 So, grab the 3.1.9 trunk?

 Actually it's only fixed on the trunk (4.0), the 3.1 branch still has that 
 issue.

 There was another issue we reported about
 ScheduledTasks not running until 1 week after the server started (at
 least when started on Sunday). Know if that one is fixed as well (e.g.
 3.1.8 would run scheduled tasks immedately after start, 3.1.9 would
 start running them a week after start - same app config).

 This is the one I believe – an open issue:
 http://bugs.caucho.com/view.php?id=3736

 Thanks,
 Alex



 -tyson

 On Tue, Jan 5, 2010 at 2:59 PM, Alex a...@caucho.com wrote:
 This looks like a bug (checked 3.1.9). The code on the trunk looks valid – 
 testing instanceof before casting.

 Thanks,
 Alex


 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-tp27026698p27026698.html
 Sent from the Resin mailing list archive at Nabble.com.



 ___
 resin-interest mailing list
 resin-interest@caucho.com