[Resin-interest] resin 4 socket-policy-file

2009-08-16 Thread Vic Cekvenich
In resin 3.x there was socket-policy-file config, where do I put that in 4.x? Here is the full setting from 3.x that worked great. !-- define the servers in the cluster -- server id= address=127.0.0.1 port=6800 protocol port=843

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 vcekveni...@gmail.com wrote: I am trying to reproduce

[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-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: user-name requires compiled JNI. Check the $RESIN_HOME/libexec or $RESIN_HOME/libexec64 directory for libresin_os.so. [EMAIL PROTECTED] bin]# help?

[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

[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

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

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

Re: [Resin-interest] Comet param via hessian

2008-09-13 Thread Vic Cekvenich
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 servelet... hint? Try this: Create a bean that shared between

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 hello world or example

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

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

[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?

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

[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

[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

[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 protocol port=414 type=com.caucho.protocols.flash.SocketPolicyProtocol ... But it does not say where in resin.conf to put that section. Where

[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 =

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 the error hessian requires

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 hessian normally I just have havingate to it's url

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

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