|
From: <php...@li...> - 2009-09-13 22:06:39
|
> I have just looked at the code, pipes are NOT used if $this->host is
> not
> 127.0.0.1.
Ok, well I am using that IP to connect to the bridge:
define ("JAVA_HOSTS", "127.0.0.1:9676");
> Why have you switched off the local channel in the back end if both
> components are running on the same machine?
I have no idea! There are so many options for the bridge that it is
unfortunately a bit of information overload for me.
I have not worked heavily on the innards of server design, especially
on UNIX, and frankly I don't have a very good understanding of how
unix options such as pipe/socket/channels?/etc work. I really only
understand it on the IP side.
I would be grateful if you could elucidate these for me, or point me
to a good "guide" to them, or simply just tell me what to do :)
Right now I am just running the standalone server like so:
java -server -Xmx1200m -Dphp.java.bridge.default_log_level=5 -jar /
path/to/JavaBridge.jar SERVLET:9676 2>$LOGFILE 1>$LOGFILE &
on the same machine as PHP.
In the near future I might have the Java server on a single instance
and have 2 web servers both talk to the same java bridge server over IP.
Thanks!
Alan
>
> On Sep 13, 2009 11:45 PM, "Jost Bekemeier" <jos...@go...
> >
> wrote:
>
> Hi,
>
> Yes, if your back end rejects the local fifo (in promiscuous mode),
> Java.inc
> creates a new pair and tries again in the next request.
>
> The fifos are only used on security enhanced linux, please disable
> them by
> setting JAVA_PIPE_DIR to null.
>
> Thank you very much for reporting this bug. -- It has been there
> since 5
> years. I guess you are the first person who enabled promiscuous mode
> in the
> back end w/o setting the host value in the front end.
>
> Regards,
> Jost Boekemeier
>
>>> On Sep 13, 2009 11:07 PM, <php...@li...
>>> >
> wrote: > > Oops the imag...
>
> us...@li... wrote: > My /tmp directory ran out of
> space (or
> inodes or something) to...
>
>>>> You can see that the bridge exhausted all inodes on /dev/shm then
>>>> as >
>> soon as that was ful...
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
> 30-Day
> trial. Simplify your report design, integration and deployment - and
> focus on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now. http://p.sf.net/sfu/bobj-july
> _______________________________________________
> php-java-bridge-users mailing list
> php...@li...
> https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users
|