[rjb-users] can't create Java VM

rjb-users at rubyforge.org rjb-users at rubyforge.org
Wed Nov 14 05:25:03 EST 2007


Yes I set the values in the Rails context as indicated by the docs and
the help in the Litespeed forum.

The output of the code you gave me is:
JAVA_HOME=/usr/java/jdk1.5.0_08/
LD_LIBRARY_PATH=/usr/java/jdk1.5.0_08/jre/lib/i386/:/usr/java/jdk1.5.0_08/jre/lib/i386/client/:./
CurrentDir=/usr/local/lsws/verkoop

So it appears as if everything is set correctly.

Kind regards,

Nick


On Nov 14, 2007 10:39 AM,  <rjb-users at rubyforge.org> wrote:
> 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
>
>
> _______________________________________________
> rjb-users mailing list
> rjb-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rjb-users
>
>


More information about the rjb-users mailing list