users@glassfish.java.net

Re: Issue with GlasFish-v3 and Jython

From: Vivek Pandey <Vivek.Pandey_at_Sun.COM>
Date: Fri, 04 Sep 2009 05:42:17 -0700

Alexis Moussine-Pouchkine wrote:
> Vivek,
>
> On Sep 4, 2009, at 14:22, Vivek Pandey wrote:
>
>> Stefan Filatov wrote:
>>> Wow
>>>
>>> Very quick answer :) :) Didn't expect :)
>>>
>>> I got GlassFish from here:
>>> http://download.java.net/maven/esb/open-esb/fuji/fujiglassfish/1.0-M8-SNAPSHOT/fujiglassfish-1.0-M8-SNAPSHOT.jar
>>>
>>> It glassfish with openEsb project. i will need esb service in my
>>> future projects, that's why i got that one.
>>>
>>
>> Is this using glassfish v3 preview or latter build? It might so
>> happen that its using one of the glassfish build where something
>> might be broken. Please note that jython container is a plugin module
>> so if a particular glassfish build has lets say some API change or
>> some incompatible change jython container may not work. I need to see
>> the server.log. See below...
>
> It seems that while the build is fairly recent, there is no
> updatecenter available in this version.
> Can gf-jython-connector.jar and jython-grizzly.jar be downloaded
> manually and placed into the glassfish/modules directory?
>
On a similar request from some other user, the jython container is also
available as zip bunlde. See
https://glassfish-scripting.dev.java.net/servlets/ProjectDocumentList?expandFolder=11375&folderID=0.

There is associated Readme.txt that tells how to install it.

-vivek.

> -Alexis
>
>>> The issue is that i don't see such row with GlassFish Jython
>>> container in the update tool list.
>>>
>>> i found package with Jython container here:
>>> https://glassfish-scripting.dev.java.net/files/documents/8474/141056/glassfish-jython-container.zip
>>>
>>>
>>> but i'm not sure that i install it correct: i just unpackaged it to
>>> the folder /glassfish/modules/
>>>
>>> Yes, i have installed Jython 2.5 and Django 1.1
>>>
>>> Then i do next:
>>> $ asadmin create-jvm-options -Djython.home=/my_dir/jython/2.5.0
>>>
>>> going to my application folder
>>>
>>> $ cd my_application
>>> $ asadmin deploy .
>>>
>>> and when i try deploy application a got error, that i described
>>> earlier:
>>> "remote failure: There is no installed container capable of handling
>>> this application com.sun.enterprise.deploy.shared.FileArchive_at_93f0c6
>>> Command deploy failed."
>>>
>>> BTW, how can i do stack trace?
>>>
>> Look inside server.log. For example for default domain1, server.log
>> is located at glassfishv3/glassfish/domains/domain1/logs/server.log
>>
>> -vivek.
>>> Regards, Stefan
>>>
>>> 2009/9/4 Vivek Pandey <Vivek.Pandey_at_sun.com
>>> <mailto:Vivek.Pandey_at_sun.com>>
>>>
>>> Hi Stefan,
>>>
>>> I guess I need more info so that I can see whats going on. Few
>>> questions,
>>>
>>> - What glassfish v3 build you are trying? Latest Jython container
>>> as well as Jython 2.5 runtime is available on updatecenter.
>>> - Can you provide the complete stack trace? Also do you have
>>> jython installed. Also Django on top of Jython. See [1] as a
>>> reference.
>>>
>>> vivek.
>>>
>>>
>>> [1]http://weblogs.java.net/blog/2009/06/05/run-django-applications-glassfish-v3-preview
>>>
>>>
>>>
>>>
>>> Stefan Filatov wrote:
>>>
>>> Hello, Trying to do use Jython container to run Python
>>> applications on GlassFishv3. But when i open update tool,
>>> there is no Jython container in the list. Then i found package
>>> with Jython container on this site. Unpackaged it at the
>>> glassfish/modules directory. when i try to deploy some python
>>> application i get next error: " emote failure: There is no
>>> installed container capable of handling this application
>>> com.sun.enterprise.deploy.shared.FileArchive_at_93f0c6 Command
>>> deploy failed. " About my environment: Ubuntu 9.0.4;
>>> GlassFishv3; Python2.5; Django1.1 Can you advise? Regards,
>>> Stefan
>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
>>> <mailto:users-unsubscribe_at_glassfish.dev.java.net>
>>> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>>> <mailto:users-help_at_glassfish.dev.java.net>
>>>
>>>
>>>
>>>
>>> --
>>> σ υΧΑΦΕΞΙΕΝ, ζΙΜΑΤΟΧ σΤΕΖΑΞ
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>