users@glassfish.java.net

Re: Glassfish 3.0.1 - Jython / Django setup problem

From: durr <lettfeti_at_gmail.com>
Date: Wed, 16 Jun 2010 20:13:27 -0700 (PDT)

I figured it out and it was as simple as anticipated:
the problem with the asadmin create-jvm-options -Djython.home="path" was
that i needed the full path and
C:\... doesn't work so i used "/path_to_jython".


durr wrote:
>
> Hello.
> I'm having an array of problems installing jython/django using.
> I'm on windows 7
> using Netbeans 6.9
> Glassfish 3.0.1
> Environment variables:
> JYTHON_HOME : pointing to C:\Jython\
> JAVA_HOME, ANT_HOME, PYTHON_HOME all set to individual setups, i don't
> have AS_HOME set for the glassfish binaries.
> by using updatetools.exe i've installed addons jython environment and
> container.
> I used
> http://weblogs.java.net/blog/vivekp/archive/2009/06/run_django_appl_1.html
> as a reference,
> 1) After using the update tool, the jython binary doesn't work in cmd
> (maybe it's not supposed to?)
> I do have jython set up on the machine though with environmental variables
> set to it but i've tried disabling without any success.
> 2) After installing django using the regular Jython binary ("C:\Jython")
> i'm trying to create a jvm-option
> C:\Program Files (x86)\glassfish-3.0.1\glassfish\>bin\asadmin
> create-jvm-options -Djython.home="what do i put here"?
> this is supposed to be the home of the jython binary right? as in
> C:\Jython\bin\jyton.bat or something along those lines? at any rate that
> fails and subsequently the deployment of a test project
> The Error message:
> jython.home jython does not exist
> Am i doing something wrong here?
> I'd appreciate any sort of help that can be provided
> with thanks
> Lettfeti
>

-- 
View this message in context: http://old.nabble.com/Glassfish-3.0.1---Jython---Django-setup-problem-tp28909942p28910021.html
Sent from the java.net - glassfish users mailing list archive at Nabble.com.