Re: [Resin-interest] hessian init endless loop (line 182, 300, 194, 300, 194, etc.)
Scott Ferguson <[email protected]> Wed, 6 Jun 2007 08:50:28 -0700
| Newsgroups | gmane.text.xml.hessian.interest,gmane.text.xml.resin.user |
|---|---|
| Message-ID | <[email protected]> |
--===============0832927403== Content-Type: multipart/alternative; boundary=Apple-Mail-35-974366066 --Apple-Mail-35-974366066 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed On Jun 5, 2007, at 8:04 PM, Vic Cekvenich wrote: > OK, here is how I patched it to make it work in HessianServlet: I added the bug report as: http://bugs.caucho.com/view.php?id=1779 It'll be fixed for 3.1.2. -- Scott > > // in method > private void init(....... > service.init(); // instead of service.init(getSeverltConfig(); > > This is if you use IOC api/home hessian, old code works as hessian > servlet. Above "fix" should work for both. > > I'd love for this to be patched into the builds so I do not have to > use > "my hessian". > > .V > > > Vic Cekvenich wrote: >> Went back to java 1.5.012 ... same! >> .V >>> Vic Cekvenich wrote: >>>> (Love resin, Love hessina, been using both for a while). >>>> >>>> I do a simple hessian service... like I always did, and it goes to >>>> init endless loop. Bellow is the browser output. >>>> To test hessian normally I just have havingate to it's url to get >>>> the "error" hessian requires a post. Now I get this endless init >>>> loop. --Apple-Mail-35-974366066 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=ISO-8859-1 <HTML><BODY style=3D"word-wrap: break-word; -khtml-nbsp-mode: space; = -khtml-line-break: after-white-space; "><BR><DIV><DIV>On Jun 5, 2007, at = 8:04 PM, Vic Cekvenich wrote:</DIV><BR = class=3D"Apple-interchange-newline"><BLOCKQUOTE type=3D"cite"><P = style=3D"margin: 0.0px 0.0px 0.0px 0.0px"><FONT face=3D"Helvetica" = size=3D"3" style=3D"font: 12.0px Helvetica">OK, here is how I patched it = to make it work in HessianServlet:</FONT></P></BLOCKQUOTE><DIV><BR = class=3D"khtml-block-placeholder"></DIV>I added the bug report as:=A0<A = href=3D"http://bugs.caucho.com/view.php?id=3D1779">http://bugs.caucho.com/= view.php?id=3D1779</A></DIV><DIV><BR = class=3D"khtml-block-placeholder"></DIV><DIV>It'll be fixed for = 3.1.2.</DIV><DIV><BR class=3D"khtml-block-placeholder"></DIV><DIV>-- = Scott</DIV><DIV><BR><BLOCKQUOTE type=3D"cite"> <P style=3D"margin: 0.0px = 0.0px 0.0px 0.0px; font: 12.0px Helvetica; min-height: 14.0px"><BR></P> = <P style=3D"margin: 0.0px 0.0px 0.0px 0.0px"><FONT face=3D"Helvetica" = size=3D"3" style=3D"font: 12.0px Helvetica">// in method</FONT></P> <P = style=3D"margin: 0.0px 0.0px 0.0px 0.0px"><FONT face=3D"Helvetica" = size=3D"3" style=3D"font: 12.0px Helvetica">private void = init(.......</FONT></P> <P style=3D"margin: 0.0px 0.0px 0.0px = 0.0px"><FONT face=3D"Helvetica" size=3D"3" style=3D"font: 12.0px = Helvetica">service.init(); // instead of = service.init(getSeverltConfig();</FONT></P> <P style=3D"margin: 0.0px = 0.0px 0.0px 0.0px; font: 12.0px Helvetica; min-height: 14.0px"><BR></P> = <P style=3D"margin: 0.0px 0.0px 0.0px 0.0px"><FONT face=3D"Helvetica" = size=3D"3" style=3D"font: 12.0px Helvetica">This is if you use IOC = api/home hessian, old code works as hessian<SPAN = class=3D"Apple-converted-space">=A0</SPAN></FONT></P> <P style=3D"margin: = 0.0px 0.0px 0.0px 0.0px"><FONT face=3D"Helvetica" size=3D"3" = style=3D"font: 12.0px Helvetica">servlet. Above "fix" should work for = both.</FONT></P> <P style=3D"margin: 0.0px 0.0px 0.0px 0.0px; font: = 12.0px Helvetica; min-height: 14.0px"><BR></P> <P style=3D"margin: 0.0px = 0.0px 0.0px 0.0px"><FONT face=3D"Helvetica" size=3D"3" style=3D"font: = 12.0px Helvetica">I'd love for this to be patched into the builds so I = do not have to use<SPAN = class=3D"Apple-converted-space">=A0</SPAN></FONT></P> <P style=3D"margin: = 0.0px 0.0px 0.0px 0.0px"><FONT face=3D"Helvetica" size=3D"3" = style=3D"font: 12.0px Helvetica">"my hessian".</FONT></P> <P = style=3D"margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica; = min-height: 14.0px"><BR></P> <P style=3D"margin: 0.0px 0.0px 0.0px = 0.0px"><FONT face=3D"Helvetica" size=3D"3" style=3D"font: 12.0px = Helvetica">.V</FONT></P> <P style=3D"margin: 0.0px 0.0px 0.0px 0.0px; = font: 12.0px Helvetica; min-height: 14.0px"><BR></P> <P style=3D"margin: = 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica; min-height: = 14.0px"><BR></P> <P style=3D"margin: 0.0px 0.0px 0.0px 0.0px"><FONT = face=3D"Helvetica" size=3D"3" style=3D"font: 12.0px Helvetica">Vic = Cekvenich wrote:</FONT></P> <BLOCKQUOTE type=3D"cite"><P style=3D"margin: = 0.0px 0.0px 0.0px 10.0px"><FONT face=3D"Helvetica" size=3D"3" = style=3D"font: 12.0px Helvetica">Went back to java 1.5.012 ... = same!</FONT></P> <P style=3D"margin: 0.0px 0.0px 0.0px 10.0px"><FONT = face=3D"Helvetica" size=3D"3" style=3D"font: 12.0px = Helvetica">.V</FONT></P> <BLOCKQUOTE type=3D"cite"><P style=3D"margin: = 0.0px 0.0px 0.0px 20.0px"><FONT face=3D"Helvetica" size=3D"3" = style=3D"font: 12.0px Helvetica">Vic Cekvenich wrote:</FONT></P> = <BLOCKQUOTE type=3D"cite"><P style=3D"margin: 0.0px 0.0px 0.0px = 30.0px"><FONT face=3D"Helvetica" size=3D"3" style=3D"font: 12.0px = Helvetica">(Love resin, Love hessina, been using both for a = while).</FONT></P> <P style=3D"margin: 0.0px 0.0px 0.0px 30.0px; font: = 12.0px Helvetica; min-height: 14.0px"><BR></P> <P style=3D"margin: 0.0px = 0.0px 0.0px 30.0px"><FONT face=3D"Helvetica" size=3D"3" style=3D"font: = 12.0px Helvetica">I do a simple hessian service... like I always did, = and it goes to<SPAN class=3D"Apple-converted-space">=A0</SPAN></FONT></P> = <P style=3D"margin: 0.0px 0.0px 0.0px 30.0px"><FONT face=3D"Helvetica" = size=3D"3" style=3D"font: 12.0px Helvetica">init endless loop. Bellow is = the browser output.</FONT></P> <P style=3D"margin: 0.0px 0.0px 0.0px = 30.0px"><FONT face=3D"Helvetica" size=3D"3" style=3D"font: 12.0px = Helvetica">To test hessian normally I just have havingate to it's url to = get<SPAN class=3D"Apple-converted-space">=A0</SPAN></FONT></P> <P = style=3D"margin: 0.0px 0.0px 0.0px 30.0px"><FONT face=3D"Helvetica" = size=3D"3" style=3D"font: 12.0px Helvetica">the "error" hessian requires = a post. Now I get this endless init loop.</FONT></P> = </BLOCKQUOTE></BLOCKQUOTE></BLOCKQUOTE></BLOCKQUOTE></DIV><BR></BODY></HTM= L>= --Apple-Mail-35-974366066-- --===============0832927403== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ hessian-interest mailing list [email protected] http://maillist.caucho.com/mailman/listinfo/hessian-interest --===============0832927403==--