users@glassfish.java.net

Re: Glassfish as a service on windows: asadmin create-service fails

From: Sathyan Catari <Sathyan.Catari_at_oracle.com>
Date: Mon, 13 Sep 2010 11:04:28 -0700

  Could you try running the command like this?
asadmin create-service --name <Name of the Service>

Also I would recommend using a name other than GlassFish for the service
as you have run through this command many times and your system might(?)
need cleanup.

Thanks
-Sathyan

On 9/13/10 11:02 AM, glassfish_at_javadesktop.org wrote:
> Can anyone on the Glassfish team tell me if there's a way to work around this critical bug?
>
> https://glassfish.dev.java.net/issues/show_bug.cgi?id=13377
>
> I need to run Glassfish 3.1 as a service on Windows 2003, and the asadmin create-service command does not work on that platform. Its documentation, additionally, is written for Solaris only, so there doesn't seem to be any documentation describing what this command actually does. Consequently, I don't know how to work around it.
>
> All of the other blog entries (Ryan Delaplante's famous entry, for example) that concern running Glassfish as a service on Windows are for versions earlier than 3, and rely on the presence of an appserv.exe file in the Glassfish distribution. I see no such file.
>
> I'm really stuck here and could use any workaround at all, no matter how hacky or disgusting. Thanks very much in advance.
>
> Best,
> Laird
> [Message sent by forum member 'ljnelson']
>
> http://forums.java.net/jive/thread.jspa?messageID=482542
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>