Re: [Resin-interest] hessian-flex SocketTimeoutException

2008-01-10 Thread Vic Cekvenich
Yes, most of the time people are happy to upgrade quick.

There is no streaming comet here, just regular simple call, returns an array of 
maps, strings.
I do not think anything weired going on Hessian flex client at all.
I might upgrade them to the next Hessian flex and .jar nightly when it comes 
up. 

.V

- Original Message 
From: Emil Ong <[EMAIL PROTECTED]>
To: General Discussion for the Resin application server 

Sent: Thursday, January 10, 2008 11:22:14 AM
Subject: Re: [Resin-interest] hessian-flex SocketTimeoutException


On Thu, Jan 10, 2008 at 11:10:15AM -0800, Vic Cekvenich wrote:
> A tomcat 5.5 site is using hessian/flex, like it a lot. It gets
 "random"
> hessian errors, some ex:
> 
> java.net.SocketTimeoutException: Read timed out
>
> or sometimes
> 
> java.io.IOException: expected 'c' in hessian input at -1

Hi Vic,

Can you tell me about the setup?  Is this streaming hessian or
method calls (looks like methods to me)?  Are the clients that
cause this doing anything weird?

The second exception is a result of the socket getting closed.
The error message isn't very handy, but it's saying it got an EOF
instead of what it was looking for.

> Site gets thousand of hits per minute, exceptions are about once an
 hour. Other
> resin sites seem fine, but this site is tc.
> Any suggestion on what to do?

Switch to Resin. ;-)

> .V
> ps: for fun: http://phonezoo.com/PhotosHome.do (the "recent" banner
 on top is
> flex rotating and calling hessian java and generating these
 exceptions.

Cool!

Thanks,
Emil



Emil Ong
Chief Evangelist
Caucho Technology, Inc.
Tel. (858) 456-0300
mailto:[EMAIL PROTECTED]

Caucho: Reliable Open Source
--> Resin: application server
--> Quercus: PHP in Java
--> Hessian Web Services


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





  

Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  
http://tools.search.yahoo.com/newsearch/category.php?category=shopping


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


Re: [Resin-interest] hessian-flex SocketTimeoutException

2008-01-10 Thread Emil Ong
On Thu, Jan 10, 2008 at 11:10:15AM -0800, Vic Cekvenich wrote:
> A tomcat 5.5 site is using hessian/flex, like it a lot. It gets "random"
> hessian errors, some ex:
> 
> java.net.SocketTimeoutException: Read timed out
>
> or sometimes
> 
> java.io.IOException: expected 'c' in hessian input at -1

Hi Vic,

Can you tell me about the setup?  Is this streaming hessian or
method calls (looks like methods to me)?  Are the clients that
cause this doing anything weird?

The second exception is a result of the socket getting closed.
The error message isn't very handy, but it's saying it got an EOF
instead of what it was looking for.

> Site gets thousand of hits per minute, exceptions are about once an hour. 
> Other
> resin sites seem fine, but this site is tc.
> Any suggestion on what to do?

Switch to Resin. ;-)

> .V
> ps: for fun: http://phonezoo.com/PhotosHome.do (the "recent" banner on top is
> flex rotating and calling hessian java and generating these exceptions.

Cool!

Thanks,
Emil



Emil Ong
Chief Evangelist
Caucho Technology, Inc.
Tel. (858) 456-0300
mailto:[EMAIL PROTECTED]

Caucho: Reliable Open Source
--> Resin: application server
--> Quercus: PHP in Java
--> Hessian Web Services


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


[Resin-interest] hessian-flex SocketTimeoutException

2008-01-10 Thread Vic Cekvenich
A tomcat 5.5 site is using hessian/flex, like it a lot. It gets "random" 
hessian errors, some ex:

java.net.SocketTimeoutException: Read
timed out


   
at java.net.SocketInputStream.socketRead0(Native Method)


   
at java.net.SocketInputStream.read(SocketInputStream.java:129)


   
at
org.apache.coyote.http11.InternalInputBuffer.fill(InternalInputBuffer.java:747)


   
at
org.apache.coyote.http11.InternalInputBuffer$InputStreamInputBuffer.doRead(InternalInputBuffer.java:777)


   
at
org.apache.coyote.http11.filters.IdentityInputFilter.doRead(IdentityInputFilter.java:115)


   
at
org.apache.coyote.http11.InternalInputBuffer.doRead(InternalInputBuffer.java:712)


   
at org.apache.coyote.Request.doRead(Request.java:418)


   
at
org.apache.catalina.connector.InputBuffer.realReadBytes(InputBuffer.java:284)


   
at org.apache.tomcat.util.buf.ByteChunk.substract(ByteChunk.java:404)


   
at org.apache.catalina.connector.InputBuffer.read(InputBuffer.java:299)


   
at
org.apache.catalina.connector.CoyoteInputStream.read(CoyoteInputStream.java:192)


   
at com.caucho.hessian.io.Hessian2Input.readBuffer(Hessian2Input.java:2599)


   
at com.caucho.hessian.io.Hessian2Input.read(Hessian2Input.java:2579)


   
at com.caucho.hessian.server.HessianServlet.service(HessianServlet.java:371)


   
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)


   
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)


   
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)


   
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)


   
at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)


   
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)


   
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)


   
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)


   
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)


   
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)


   
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)

or sometimes
java.io.IOException: expected 'c' in hessian
input at -1


   
at com.caucho.hessian.server.HessianServlet.service(HessianServlet.java:375)


   
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)


   
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)


   
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)


   
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)


   
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)


   
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)


   
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)


   
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)


   
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)


   
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)


   
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)


Site gets thousand of hits per minute, exceptions are about once an hour. Other 
resin sites seem fine, but this site is tc.
Any suggestion on what to do?




.V
ps: for fun: http://phonezoo.com/PhotosHome.do (the "recent" banner on top is 
flex rotating and calling hessian java and generating these exceptions. 









  

Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ 
___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest