Re: [Resin-interest] 3.2 breaks host-deploy

2008-09-10 Thread Scott Ferguson

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.
>
> path="C:\Applications\workspace\">
>
>
>
>

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

2008-09-10 Thread Vic Cekvenich
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

2008-09-10 Thread Emil Ong
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] 3.2 breaks host-deploy

2008-09-10 Thread Brad Bourne
Thanks.
It appears this broke sometime AFTER the resin-3.2.s080731 snapshot (it 
works under resin-3.2.s080731 but not resin-3.2.s080903).
The logs do show the host name is not being set. So, it sounds like you 
have a good idea what went wrong - thanks also for submitting the bug 
report.

Brad.


This is what Scott Ferguson said on 9/10/2008 9:17 AM:
> 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.
>>
>>> path="C:\Applications\workspace\">
>>
>>
>>
>>
>> 
>
> 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 mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


Re: [Resin-interest] comet hessian param

2008-09-10 Thread Vic Cekvenich
>
> 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


[Resin-interest] Does not load jars from any app's WEB-INF/lib

2008-09-10 Thread John Mikich

I have a strange problem. My Resin 3.2.0 (it's the same with 3.1.6)
installation on the first box (Windows XP) works fine. When I tried
installing identical configuration on another box (Windows 2000), I get a
strange problem: None of the jars in any deployed application's WEB-INF/lib
directory are getting loaded?! This basically makes Resin unusable on the
second box.

My configurations are pretty much default settings from the initial
installation. I would appreciate if anyone can share their opinions about
this. Thank you.


-
John Mikich
~ Life is a journey, enjoy your ride! ~
-- 
View this message in context: 
http://www.nabble.com/Does-not-load-jars-from-any-app%27s-WEB-INF-lib-tp19422524p19422524.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] comet hessian param

2008-09-10 Thread Emil Ong
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


Re: [Resin-interest] comet hessian param

2008-09-10 Thread Vic Cekvenich
Is there a hello world or example on using .as BAM?
tia,
.V

On Wed, Sep 10, 2008 at 3:48 PM, Emil Ong <[EMAIL PROTECTED]> wrote:

> 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
>
___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest