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
(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
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
[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?
(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
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
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
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
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
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
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,
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
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?
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
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
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
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
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 =
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
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
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
21 matches
Mail list logo