Re: PHP & Java

From: Date: Mon, 25 Sep 2000 22:50:11 +0000
Subject: Re: PHP & Java
Groups: php.general 
Request: Send a blank email to php-general+get-17376@lists.php.net to get a copy of this message
Yes, there's a bug in ext/java with passing arrays. The only workaround I could find was to not use arrays at all. I've been passing arrays as a String (using implode and explode). I tried both the Blackdown JDK1.2.2 and the ibm-jdk118 and this problem appears under both. See http://bugs.php.net/?id=6616 for more details. -Mike > Has anyone got this to work properly? I made a simple java class that > returns a string array and nothing else. When I use this class from my PHP > script, it will work, say every 10th time. Every other hit will give either > IllegalAccessException or "Couldn't start JVM". > > Should I go for the servlet model instead? I'm not sure I like Tomcat. What > alternatives do I have? Roxen? > > I use PHP4.02 and Blackdown JDK1.2.2 FCS and Apache 1.3.12 under SuSE > Linux6.3. > > Any clues? > > /Johan -- Mike Bridge <bridge@gsnet.com> Global Sourcing Network

« previous php.general (#17376) next »