[STDERR] Can not start JVM:

#1
[STDERR] Can not start JVM:

java -classpath "../vendor/plugins/railsxls/lib/poi-2.5.1-final-20040804.jar:../vendor/plugins/railsxls/lib:/usr/lib/ruby/site_ruby/1.8/yajb/yajb.jar" jbridge.BridgeBuilder jbridge.comm.binstream.BStream_JBServer -remoteport:50536 -logLevel:normal

This error occurs every time when i'm using the java poi-api in rails over jbridge.
I guess it's a security restriction or something like that. It works well under webrick or mongrel, but not under litespeed. any hints?

thx
 

mistwang

LiteSpeed Staff
#2
I think it is mostly likely due to the "Memory Soft/Hard Limit" set for the ruby process. You can try increase the limit under "Server"->"Ruby" and "Server"->"Security".
Also, double check what environment variable is required for the JVM, and add them to the "Ruby" environment.
 
Top