On Thursday 20 November 2008 03:21:08 pm Alexis Moussine-Pouchkine wrote:
> On Nov 20, 2008, at 14:22, Corey wrote:
> > On Thursday 20 November 2008 03:12:58 pm Alexis Moussine-Pouchkine
> >
> > wrote:
> >> 'pkg' is your friend:
> >> http://docs.sun.com/app/docs/doc/820-4495/ghapp?l=en&a=view -Alexis
> >
> > Most excellent - many thanks!
>
> Sure. Let us know how it works!
>
Ok, so I've spent the last few hours getting to know glassfish a bit -
reading docs, installing, trying out various commands, successfully
deploying a grails app locally, and to a remote server via asadmin,
etc. etc.
I just now got to a point where I thought I'd try out the shared-war
feature.
It works fine when doing so locally; but when I try to deploy the
shared-war to the remote glassfish server with asadmin -H, the
following strange behavior occurs:
using the following command from my local machine:
asadmin deploy -H myserver --libraries $GRAILS_HOME/lib/glassfish-grails.jar
MyApp-0.1.war
* the above asadmin command completes _immediately_, displaying the
"Command deploy executed successfully." message
* however, going to
http://myserver:8080/MyApp-0.1 results in a "HTTP Status
503"
* to make things even more confusing, executing 'asadmin list-applications'
on the remote myserver, displays:
"
MyApp-0.1 <web>
Command list-applications executed successfully.
"
... as if it is deployed after all.
Am I doing something wrong, or is the shared-war feature not compatible with
remote asadmin deployment?
Any help is appreciated.
> -Alexis
>
> >> On Nov 20, 2008, at 14:08, Corey wrote:
> >>> Hello!
> >>>
> >>> I'm beginning the process of evaluating glassfish (v3-prelude).
> >>>
> >>> Regarding the grails support - particularly, the shared-war feature:
> >>> is it meant to be used on a production server, or is the shared-war
> >>> intended for use only on development/testing machines?
> >>>
> >>> I ask because, after reading GrailsGettingStarted wiki page, it's
> >>> easy enough to see what is needed to deploy a shared-war on one's
> >>> local development box, but I seem to be missing what else is
> >>> needed to deploy onto a remote production server - i.e.; I expect
> >>> I need to install the GlassFish support for Grails framework on
> >>> the production server's glassfish instance in order for the
> >>> shared-war to work? If so, how would I install that add-on onto
> >>> a remote headless server - updatetool is not going to be of
> >>> use there... is there a cli interface to updatetool, or some
> >>> other way of installing add-ons via command line?
> >>>
> >>> Thanks!
> >>>
> >>>
> >>> ---------------------------------------------------------------------
> >>> 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
> >
> > ---------------------------------------------------------------------
> > 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