[rjb-users] can't create Java VM

rjb-users at rubyforge.org rjb-users at rubyforge.org
Wed Nov 14 04:39:20 EST 2007


Hi,

Can you add the action method below in your controller ?

def showenv
  render :text => "JAVA_HOME=#{ENV['JAVA_HOME']}<br/>LD_LIBRARY_PATH=#{ENV['LD_LIBRARY_PATH']}<br/>CurrentDir=#{Dir.pwd}"
end

If you can, please show me the output.

Regards

On Wed, 14 Nov 2007 18:27:34 +0900
rjb-users at rubyforge.orgさん wrote:

> Hi,
> 
> Did you set these values in Rails Contexts ?
> 
> On Mon, 12 Nov 2007 20:51:36 +0100
> rjb-users at rubyforge.orgさん wrote:
> 
> > Just added JAVA_HOME and LD_LIBRARY_PATH to my environment variables
> > of Litespeed as described in
> > http://www.litespeedtech.com/docs/webserver/config/rails/#env.
> > Restarted the server, executed the script again, but I still get the
> > same error. How can I debug this? Thanks.
> > 
> > Kind regards,
> > 
> > Nick
> > _______________________________________________
> > rjb-users mailing list
> > rjb-users at rubyforge.org
> > http://rubyforge.org/mailman/listinfo/rjb-users
> 
> -- 
> arton
> 

-- 
arton



More information about the rjb-users mailing list