quality@glassfish.java.net

Re: deploydir deprecated

From: Dick Davies <rasputnik_at_hellooperator.net>
Date: Fri, 29 Aug 2008 16:39:21 +0100

On Fri, Aug 29, 2008 at 4:29 PM, Survivant 00 <survivant00_at_gmail.com> wrote:
> I asked yesterday how to deploy a appplication without creating a war. I
> receive the answer : use deploydir command but it's deprecated.. will the
> deploy command works too ?
>
> C:\glassfishv3-preludeb21\bin>asadmin.bat deploydir
> "C:\Temp\PHP\quercus-3.1.6"
> WARNING : deploydir command deprecated. Please use deploy command instead.
>
> Command deploydir executed successfully.
> C:\glassfishv3-preludeb21\bin>
>
>
> After that the application is deployed. I tested it
> http://localhost:8484/quercus-3.1.6
>
> and it works.. but I was expecting that the application to be copied into
> C:\glassfishv3-preludeb21\glassfish\domains\domain1\applications .

No, deploydir just runs the webapp out of whatever directory you gave it.
It only works locally, and means you can't cluster the app - probably why it's
deprecated :)



-- 
Rasputnik :: Jack of All Trades - Master of Nuns
http://number9.hellooperator.net/