Re: [Resin-interest] Comet param via hessian

2008-09-28 Thread Vic Cekvenich
That seems to work! Thank you. .V >>> >>> Try this: Create a bean that shared between the comet servlet and a >>> Hessian POJO/servlet within the same web-app. ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mail

Re: [Resin-interest] Comet param via hessian

2008-09-29 Thread Vic Cekvenich
OK, that did not work!!! To recap: I am trying to pass some value to hessian comet from action script.(ex: member id & string "room name"). Since from .as you can't pass a param to the hessian comet servlet (I wonder why?) and there is no BAM example for action script(and I do not know if BAM w

Re: [Resin-interest] Comet param via hessian

2008-09-29 Thread Vic Cekvenich
OK, that did not work!!! To recap: I am trying to pass some value to hessian comet from action script.(ex: member id & string "room name"). Since from .as you can't pass a param to the hessian comet servlet (I wonder why?) and there is no BAM example for action script(and I do not know if BAM w

[Resin-interest] BAM presentation next week?

2008-10-16 Thread Vic Cekvenich
Emil, what is the url for your upcoming presentation on Bam in bay area again? I had it, signed up, then lost it. .V ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest

[Resin-interest] hessian: flash snap broken?!

2008-10-28 Thread Vic Cekvenich
I download latest hessian flash source snap (10/18) w/ latest Resin Java server side snap 3.2.1 (10/8)... and I now get a npe in flash source doing a simple hessian call. I reverted back to release hessian flash, works fine. This is just the simple year old stuff, call and return an array of maps -

[Resin-interest] hessian: toDictionary(..); toMap(); and reverse

2008-12-03 Thread Vic Cekvenich
(I am waiting on comet... and in the mean time will write my own nio socket server) I need help finding methods in .as that encode fromStreamToDictionary(..) and dictionaryToStream(..) and in Java from streamToMap(..) and mapToStream(..) So can I get some help finding such methods or maybe it's a

[Resin-interest] resin (non-pro) 3.2.0.x won't start.... error w/ watchdog:

2008-12-10 Thread Vic Cekvenich
[EMAIL PROTECTED] bin]# ./resin.sh start Resin/3.2.0 can't start -server '' for watchdog at 127.0.0.1:6600. com.caucho.config.ConfigException: requires compiled JNI. Check the $RESIN_HOME/libexec or $RESIN_HOME/libexec64 directory for libresin_os.so. [EMAIL PROTECTED] bin]# help? __

[Resin-interest] bam sudoku example

2008-12-29 Thread Vic Cekvenich
I am trying to reproduce the bam sudoku example from the magazine. What version of resin should I use? (4?) What version of "hessian" .as? (http://hessian.caucho.com has 2008/10/16 snap source) .V ___ resin-interest mailing list resin-interes

Re: [Resin-interest] bam sudoku example

2009-01-02 Thread Vic Cekvenich
(hope everyone had a good holidays) Following up:... what version of resin (4.0?) and .as hessian (2008/10/16 snap source?) should I use to duplicate bam/sudoku/hessian write up? tia, .V On Mon, Dec 29, 2008 at 4:08 PM, Vic Cekvenich wrote: > I am trying to reproduce the bam sudoku exam

[Resin-interest] resin 4

2009-08-16 Thread Vic Cekvenich
In resin 3.x there was config, where do I put that in 4.x? Here is the full setting from 3.x that worked great. /workspace/browser/webSrv/crossdomain.xml Right after cluster. I see that SocketPolicy

[Resin-interest] Container information from servlet

2006-10-20 Thread Vic Cekvenich
How do I get the information about the resin container from the servlets init method? I need the containers ip and port it's on. I can't get it from service(req, resp) as that has not happened yet. I want to set a servlet to load at container start up, and at that time execute a method to tell m

Re: [Resin-interest] hessian init endless loop (line 182, 300, 194, 300, 194, etc.)

2007-06-05 Thread Vic Cekvenich
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 th

Re: [Resin-interest] hessian init endless loop (line 182, 300, 194, 300, 194, etc.)

2007-06-05 Thread Vic Cekvenich
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 hessi

Re: [Resin-interest] hessian init endless loop (line 182, 300, 194, 300, 194, etc.)

2007-06-05 Thread Vic Cekvenich
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

[Resin-interest] Flex Hessian (push)

2007-09-10 Thread Vic Cekvenich
http://hessian.caucho.com/ria - Outstanding! I will be using this right away, I was looking for an open source binary protocol for as3, and have used hessian in the past, no more need for Data Service product and the loads of jars it comes w/. Question: is there a way to do a push to flex and l

[Resin-interest] hessian flex (Stream Error)

2007-09-10 Thread Vic Cekvenich
I get Error #2044: Unhandled IOErrorEvent:. text=Error #2032: Stream Error. at hessian.client::HessianOperation/send() trying to duplicate the 2 flex hessian examples on the site. Here is working java client: public static void main(String args[]) { String url = "http://loca

[Resin-interest] CI/Hudson

2007-12-14 Thread Vic Cekvenich
(I am a resin fan) A great tool for developmnet, next step in ANT is Hudson, better than Lunut for CI. It really improves porductivity. It works w/ most containers (tomcat, jetty) but w/ resin it has some security role issue. How to work w/ Hudson and have it "secure"? Also, what tools are the

[Resin-interest] http://hessian.caucho.com/comet

2007-12-26 Thread Vic Cekvenich
http://hessian.caucho.com/comet has this section: "The following code would be added to your resin.conf file: Socket policy file server configuration ... " But it does not say where in resin.conf to put that section. Where would I this section? (before/after). tia, .V _

Re: [Resin-interest] http://hessian.caucho.com/comet

2007-12-29 Thread Vic Cekvenich
07 at 04:59:04PM -0800, Vic Cekvenich wrote: > http://hessian.caucho.com/comet has this section: > > "The following code would be added to your resin.conf file: > > Socket policy file server configuration > > > ... " > > >

[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) a

Re: [Resin-interest] hessian-flex SocketTimeoutException

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

Re: [Resin-interest] new snapshot available

2008-01-11 Thread Vic Cekvenich
Great, thx. .V - Original Message From: Scott Ferguson <[EMAIL PROTECTED]> To: General Discussion for the Resin application server Sent: Friday, January 11, 2008 2:08:29 PM Subject: [Resin-interest] new snapshot available A new snapshot is available. We've just finished week 4 of th

[Resin-interest] class loader question on linux?

2008-01-11 Thread Vic Cekvenich
I wonder if someone on the list has an idea as to what to try in this situation. I used to in resin 2.x use the "class loader hack" config, not sure now why. I now have potentially a class loader issue loading native code, but ... no hints I get from logs. The code bellow I am using, works great

Re: [Resin-interest] class loader question on linux?

2008-01-14 Thread Vic Cekvenich
Thx Scott again! So I can put java code in resin lib, but... the native .so code, should that also go there? tia, .V The java classes for any JNI code should normally be at the system classloader level, e.g. in resin/ext-lib, not in WEB-INF/lib. The JDK only lets you load a native library o

[Resin-interest] Hessian-Flash: An SWF file is on anothre domain(ex: facebook) and it needs to call my service. How?

2008-01-24 Thread Vic Cekvenich
If I deploy SWF on remote server (ex: social networks) but I want it to call my servers' services (not same one that loaded swf), how? Normally I just say /srvName from Flash Hessian to my resin java server. Would http://pointCast.com/srvName work from a remote domain w/ out sandbox issues? Work

[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, ServletEx

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

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. &g

Re: [Resin-interest] comet hessian param

2008-09-11 Thread Vic Cekvenich
Thank you!!!In the mean time. there has to be a way that I can hack sending some param to the registartion servlet... .V On Thu, Sep 11, 2008 at 8:34 AM, Emil Ong <[EMAIL PROTECTED]> wrote: > On Wed, Sep 10, 2008 at 04:31:08PM -0700, Vic Cekvenich wrote: > > Is there a

[Resin-interest] Comet param via hessian

2008-09-11 Thread Vic Cekvenich
I posted b4, repost as BAM won't be ready in .as and I need this now. There has to be a way to hack hessian to pass a param to the comet servelet... hint? doing standard things, like this from Flex: _push= new HessianStreamingService("pushReg"); //servlet _push.responder=this; and this on serve

Re: [Resin-interest] Comet param via hessian

2008-09-13 Thread Vic Cekvenich
et hessian" comes in and gets those out of the session if they exist? From then on the 2 would be "locked". That works? .V Emil Ong wrote: > On Thu, Sep 11, 2008 at 08:53:25PM -0700, Vic Cekvenich wrote: >> >> There has to be a way to hack hessian to pass

Re: [Resin-interest] Comet param via hessian

2008-09-13 Thread Vic Cekvenich
omId = "456". > Then "comet hessian" comes in and gets those out of the session if they > exist? > From then on the 2 would be "locked". > That works? > > .V > > > > Emil Ong wrote: >> On Thu, Sep 11, 2008 at 08:53:25PM -

Re: [Resin-interest] Comet param via hessian

2008-09-13 Thread Vic Cekvenich
et hessian" comes in and gets those out of the session if they exist? >From then on the 2 would be "locked". That works? .V Emil Ong wrote: On Thu, Sep 11, 2008 at 08:53:25PM -0700, Vic Cekvenich wrote: There has to be a way to hack hessian to pass a param to the comet se