From: <php...@li...> - 2011-01-13 08:14:36
|
Hello, i had a similar problem in a different context. I guess your problem is not the php-java-bridge. On a virtual host you often have very limited memory available. How much memory did you order for your virtual server? You can use linux commands like free -m to find out how your current memory usage is. Look at your error message. Quite at the start it says: Caused by: java.io.IOException: Cannot run program "/usr/lib/jvm/java-6-openjdk/ jre/bin/java": java.io.IOException: error=12, Cannot allocate memory So find out how much memory you have available and then adjust the start scripts of the php test program and of your tomcat. Look for the java options -Xms and -Xmx Documentation: http://download.oracle.com/javase/6/docs/technotes/tools/solaris/java.html Also dont run too many jvm instances at the same time. I believe the php-java-bridge test programm starts its own jvm, so dont start the test while tomcat is runing. I think your virtual machine might not have enough memory for both instances. Regards, David On Wed, Jan 12, 2011 at 1:55 PM, < php...@li...> wrote: > Please see http://php-java-bridge.sourceforge.net/pjb/installation.php > > With "original software" I mean Java from Oracle and Tomcat from Apache. > The > crap shipped with Debian OS doesn't work. > > ------------------------------------------------------------------------------ > Protect Your Site and Customers from Malware Attacks > Learn about various malware tactics and how to avoid them. Understand > malware threats, the impact they can have on your business, and how you > can protect your company and customers by using code signing. > http://p.sf.net/sfu/oracle-sfdevnl > _______________________________________________ > php-java-bridge-users mailing list > php...@li... > https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users > |