Re: [Resin-interest] 3.2 breaks host-deploy
On Sep 9, 2008, at 4:16 PM, Brad Bourne wrote: this resin.xml conf snippet used to work prior to the 3.2 release and in some 3.2 alpha snapshot releases. It now seems like resin ignores it completely. host-deploy host-name=www.${host.name} path=C:\Applications\workspace\ host-default web-app-deploy path=./ /host-default /host-deploy I've added a bug report for this. There was an important, but fairly complicated bug fix related to the host deployment, and your case was probably broken by it. It's less straightforward than it looks because the ${host.name} needs to be treated as a macro for the deployed hosts, not an immediately evaluated item. -- Scott ___ 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] comet hessian param
oing standard things, like this from Flex: _push= new HessianStreamingService(pushReg); //servlet _push.responder=this; and this on server: public boolean service(ServletRequest request, ServletResponse response, CometController comet) throws IOException, ServletException { HttpServletRequest req = (HttpServletRequest) request; HttpServletResponse res = (HttpServletResponse) response; Hessian2StreamingOutput out; out = new Hessian2StreamingOutput(res.getOutputStream()); req.setAttribute(comet.hessian, out); //String roomId = req.getParameter(roomID); Question: How do I pass a param to the service? (like the last line commented out) For example a room. Comet is a servlet, and I should be able to pass it a parm from hessian somehow. It does not have to be as easy as calling the regualr hessian service, but some way to pass a message from HessianStreamingService that I can then read during the registration of the comet. tia, .V ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest
Re: [Resin-interest] comet hessian param
On Wed, Sep 10, 2008 at 09:56:45AM -0700, Vic Cekvenich wrote: oing standard things, like this from Flex: _push= new HessianStreamingService(pushReg); //servlet _push.responder=this; and this on server: public boolean service(ServletRequest request, ServletResponse response, CometController comet) throws IOException, ServletException { HttpServletRequest req = (HttpServletRequest) request; HttpServletResponse res = (HttpServletResponse) response; Hessian2StreamingOutput out; out = new Hessian2StreamingOutput(res.getOutputStream()); req.setAttribute(comet.hessian, out); //String roomId = req.getParameter(roomID); Question: How do I pass a param to the service? (like the last line commented out) For example a room. Comet is a servlet, and I should be able to pass it a parm from hessian somehow. It does not have to be as easy as calling the regualr hessian service, but some way to pass a message from HessianStreamingService that I can then read during the registration of the comet. Hi Vic, The Hessian Flex streaming service is not bidirectional at the moment. That will probably wait until Servlet 3.0 so we can put out a reasonable example. Until then, you can use two services, one a streaming service and one a traditional Hessian RPC service. Take care, Emil Emil Ong Chief Evangelist Caucho Technology, Inc. Tel. (858) 456-0300 mailto:[EMAIL PROTECTED] http://blog.caucho.com/ 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
Re: [Resin-interest] comet hessian param
Yes, having 2 is OK. But I have no way to register one w/ the other. Any idea how I know who is who? I really needs this, even if I hack it. If I can pass something from Flex to the comet servlet. If bam does it w/ actionscript? .V The Hessian Flex streaming service is not bidirectional at the moment. That will probably wait until Servlet 3.0 so we can put out a reasonable example. Until then, you can use two services, one a streaming service and one a traditional Hessian RPC service. ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest
Re: [Resin-interest] comet hessian param
On Wed, Sep 10, 2008 at 01:09:32PM -0700, Vic Cekvenich wrote: Yes, having 2 is OK. But I have no way to register one w/ the other. Any idea how I know who is who? I really needs this, even if I hack it. If I can pass something from Flex to the comet servlet. If bam does it w/ actionscript? Yup, BAM is much better suited to this. You can send messages and queries over the same channel using BAM in AS. Emil .V The Hessian Flex streaming service is not bidirectional at the moment. That will probably wait until Servlet 3.0 so we can put out a reasonable example. Until then, you can use two services, one a streaming service and one a traditional Hessian RPC service. ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest Emil Ong Chief Evangelist Caucho Technology, Inc. Tel. (858) 456-0300 mailto:[EMAIL PROTECTED] http://blog.caucho.com/ 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